Intelliware Logo

We recently spent much time debugging a build issue that resulted from an Ant-Contrib <trycatch>. Due to a missing <catch> element, an error that occurred within the <try>element went unreported. …

Intelliware Logo

<target name=”posgresql-validate”> <exec executable=”tasklist” outputproperty=”output”> <arg value=”/FI”/> <arg value=”&quot;IMAGENAME eq postgres.exe&quot;”/> </exec> <condition property=”postgres.running”> <contains string=”${output}” substring=”postgres.exe”/> </condition> <fail unless=”postgres.running”> Postgres is not running. Please install and start postgres. </fail> …

Intelliware Logo

I ran into a little gotcha with the Ant exec the other day, and thought I’d share it with you. If you’re familiar with the Unix shell (or even the …

Intelliware Logo

Please be careful when setting memory-related JVM options in the ANT_OPTS environment variable: our currently recommended value is ‘-Xmx1024m’, and it should only be changed when one of our Ant …