[xep-support] getting failed XEP build to make ant task fail

From: Mark Giffin <mgiffin@earthlink.net>
Date: Mon Jan 07 2013 - 16:57:50 PST

I'm using Apache Ant to run XEP like this:

     <exec dir="." executable="cmd.exe" failonerror="true">
       <arg line="/c xep -valid -fo output.fo -out output\reference.pdf"/>
     </exec>

Even though I use ant's @failonerror="true" attribute, the ant script
does not fail when the XEP build fails. I get this error before XEP gets
going, but ant still says the build was successful:

...
[exec] Error occurred during initialization of VM
[exec] Could not reserve enough space for object heap
[exec] Could not create the Java virtual machine.

BUILD SUCCESSFUL

I am running ant from inside the Jenkins CI tool. I would like it if XEP
could return -1 or something to tell ant that it failed. Is this possible?

Thanks,
Mark

!DSPAM:87,50eb6f179854018628093!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Mon Jan 7 16:58:03 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 07 2013 - 16:58:08 PST