I have made this work (see extract from my buildfile below) but it is
not a very elegant solution. I was wondering if anyone out there has
come up with something better.
Thanks, Ken.
Note that the property ${jetace.jars} corresponds to the 6 jars I
found in the path that jetace.bat uses to launch jetace.
<java fork="yes" classname="com.ibm.ejb.jetjar.JetAceMain"
dir="${websphere.ccproxy.dir}" >
<jvmarg value="-DJETACE_WORK_DIR=${jetace.work.dir}" />
<!-- I have passed in the classpath using this kludge rather
than the normal classpath structure for a reason - Ant
substitutes values in classpath elements and jvmargs in
different ways. Although java will interpret them the
same way, JetAce seems to have a check which
demands that the JETACE_WORK_DIR looks exactly the same
in the -D arg and the classpath. -->
<jvmarg value="-cp" />
<jvmarg value="${jetace.work.dir}{path.separator}${jetace.jars}"
/>
<arg value="ccproxy-websphere.xml" />
</java>