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>
<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>
[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