why is call stack not logged

2010-09-30 Thread removeps-generic
In Main.java they have try { try { runBuild(coreLoader); exitCode = 0; } catch (ExitStatusException ese) { exitCode = ese.getStatus(); if (exitCode != 0) { throw ese;

"NoSuchMethodError: com.sun.xml.bind.DatatypeConverterImpl" exception when running XJC task

2009-01-29 Thread removeps-generic
Hi. I'm getting java.lang.NoSuchMethodError: com.sun.xml.bind.DatatypeConverterImpl._parseInteger(Ljava/lang/CharSequence;)Ljava/math/BigInteger; My ant file is It's strange, because jaxb-impl.jar does contain c

How to make exec not run by timestamp?

2008-12-29 Thread removeps-generic
How can I make the exec task smart enough so that it won't do anything if the file generated by the task has already been created? For example, does nothing the second time. Not sure how it works, but maybe if the timestamp of destFile.txt is equal to or larger than srcFile.txt than nothi

how to make replace task not expand Java properties like ${user.home}

2008-11-18 Thread removeps-generic
Hi. I'm writing an ant task to replace APPBASE with ${user.home}/public_html The command does replaces APPBASE, but it expands ${user.home}. I don't want it to expand this variable as I will be copying server.xml to another location, and the expanded value of the Java property is differ