ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Russell Stocum" <bsto...@paychex.com>
Subject Re: Java arguments.
Date Mon, 09 Jul 2001 20:40:40 GMT
just a quick thought,  \tmp << the "\" isn't a unix directory separator
its "/", could that be the problem?

-Ben

Rajesh Joshi wrote:

> hi!I am trying to serialize Deployment descriptor for the WL4.5
> version. Using ANT to make the jar. I am not able to figure out what
> is wrong with the following argument****  <target name="compile"
> depends="">  <javac srcdir="${source}" destdir="/weblogic/myserver"
> includes="**/*.java"/>  <java fork="yes"
> classname="weblogic.ejb.utils.DDCreator" taskname="ddCreator"
> failonerror="true">
>         <arg value="-dir ${tempdir}"/>
>         <arg value="-outputfile DD.ser"/>
>         <arg value="${source}/DeploymentDescriptor.txt"/>
>   </java>
>   <java fork="yes" classname="weblogic.ejbc" taskname="ejbC"
> failonerror="true">
>     <arg value="-compiler javac.exe -d ${tempdir} ${tempdir}/DD.ser"
> />
>   </java>
>  </target> **** I get an error message.. [ddCreator]
> java.lang.IllegalArgumentException: Unrecognized option or flag, -dir
> \tmp
> [ddCreator] Usage: java weblogic.ejb.utils.DDCreator [options] <DD
> textfile> ****** Any clues? Has anyone used ANT to compile the WL4.5
> jars? Thanks in advance. Rajesh.
>
>
> -----------------------------------------------------------------------
> Get your FREE download of MSN Explorer at http://explorer.msn.com

Mime
View raw message