ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Joshi" <rjo...@hotmail.com>
Subject Java arguments.
Date Mon, 09 Jul 2001 19:54:09 GMT
<html><DIV>hi!</DIV>
<DIV>I am trying to serialize Deployment descriptor for the WL4.5 version. Using ANT
to make the jar.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am not able to figure out what is wrong with the following argument</DIV>
<DIV>****</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&lt;target name="compile" depends=""&gt;</DIV>
<DIV>&nbsp; &lt;javac srcdir="${source}" destdir="/weblogic/myserver" includes="**/*.java"/&gt;</DIV>
<DIV>&nbsp; &lt;java fork="yes" classname="weblogic.ejb.utils.DDCreator" taskname="ddCreator"
failonerror="true"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;arg value="-dir ${tempdir}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;arg value="-outputfile DD.ser"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;arg value="${source}/DeploymentDescriptor.txt"/&gt;<BR>&nbsp; &lt;/java&gt;</DIV>
<DIV><BR>&nbsp; &lt;java fork="yes" classname="weblogic.ejbc" taskname="ejbC"
failonerror="true"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;arg value="-compiler
javac.exe -d ${tempdir} ${tempdir}/DD.ser" /&gt;<BR>&nbsp; &lt;/java&gt;<BR>&nbsp;&lt;/target&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>****</DIV>
<DIV>&nbsp;</DIV>
<DIV>I get an error message..</DIV>
<DIV>&nbsp;</DIV>
<DIV>[ddCreator] java.lang.IllegalArgumentException: Unrecognized option or flag, -dir
\tmp<BR>[ddCreator] Usage: java weblogic.ejb.utils.DDCreator [options] &lt;DD textfile&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>******</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any clues? Has anyone used ANT to compile the WL4.5 jars?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Rajesh.</DIV>
<DIV>&nbsp;</DIV><br clear=all><hr>Get your FREE download of MSN
Explorer at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>

Mime
View raw message