I have just started writing up my ant scripts and have hit a roadblock. I
can't seem to get the javac task to recognize more than 1 jar file in my
classpath.
Here are my two attempts:
Attempt 1:
<javac srcdir="${ejbsrc}" destdir="${ejbbuild}"
classpath="${utildir}/oasis-util.jar,${ejbbuild},${jboss-lib-ext}/ejb.jar,${
jboss-lib-ext}/jndi.jar,${jboss-lib-ext}/activation.jar,${jboss-lib}/jdbc2_0
-stdext.jar"/>
Attempt 2:
<javac srcdir="${ejbsrc}" destdir="${ejbbuild}">
<classpath>
<pathelement location="${utildir}/oasis-util.jar"/>
<pathelement location="${jboss-lib-ext}/ejb.jar"/>
<pathelement location="${jboss-lib-ext}/jndi.jar"/>
<pathelement location="${jboss-lib-ext}/activation.jar"/>
<pathelement location="${jboss-lib}/jdbc2_0-stdext.jar"/>
<pathelement location="${ejbbuild}"/>
</classpath>
Attempt 1 will get the first jar but no others. Attempt 2 doesn't seem to
pick up any.
Any ideas on what I'm doing wrong? Suggestions for proper alternatives?
Thanks,
Bill Pfeiffer