Re: example of correctly consuming an Ant project programmatically

2012-05-31 Thread Mitch Gitman
Nicolas, thanks. I think this is what I'm looking for. Here's the relevant passage from Launcher: URL[] jars = getJarArray( libURLs, userURLs, systemURLs, Locator.getToolsJar()); … URLClassLoader loader = new URLClassLoader(jars); Thread.currentThread().setConte

Re: example of correctly consuming an Ant project programmatically

2012-05-31 Thread Nicolas Lalevée
Le 31 mai 2012 à 18:33, Mitch Gitman a écrit : > Can someone point me to a good, reference example of consuming an Ant > project programmatically? The code needs to have access to the > org.apache.tools.ant.Project object. > > I have been able to do this, but with just one catch. Below are the >

example of correctly consuming an Ant project programmatically

2012-05-31 Thread Mitch Gitman
Can someone point me to a good, reference example of consuming an Ant project programmatically? The code needs to have access to the org.apache.tools.ant.Project object. I have been able to do this, but with just one catch. Below are the relevant lines of Java code: Project project = new Project()