I need to execute an Ant script with my Java file. I also want the option of running individual targets from within the build.xml file. Can somebody give me some hints as to how this can be done?
Ant ant = new Ant(); ant.setProperty("item", "blahblah"); ant.setProperty("inputdir", "blahblah"); ant.setProperty("outputdir", "blahblah"); ant.setAntfile("buildhtml.xml"); ant.execute();
Is that a spider in your hair? Here, threaten it with this tiny ad:
a bit of art, as a gift, the permaculture playing cards