I want to run Ant scripts from within a Java program. For this I found Run ant from Java but it requires the build.xml to reside in the filesystem. However I'd like to run the build script either to be on the classpath (inside a jar) or maybe even come via the network.
Is it possible to make Ant process a build script coming via an InputStream?