AW: AW: [izpack-users] libs

Klaus klaus at vommond.de
Sat Mar 11 19:45:25 CET 2006


Hi,

I have solved the problem by acvoiding xerces. But there arises the next
question :-(. I need to call an ant file. I use the following code:

Project ant = new Project();
ProjectHelper helper = new ProjectHelperImpl();
ant.init();
helper.parse(ant, new File(installPath + "/" + BUILD_FILE));
ant.executeTarget(BUILD_ANT_SCHEMA);
ant.executeTarget(BUILD_ANT_DEPLOY);

But this build.xml won't be executed. There is an NullPointerException. If I
call ant from the command line the file will be executed! A have added
nearly all of the ant libs. I can't explain that behaviour.

Thx,

Klaus





More information about the izpack-users mailing list