ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurdev Parmar" <gpar...@versant.com>
Subject java task
Date Tue, 29 Jan 2002 23:50:13 GMT
Hi,
Is this how you would translate the below given java command to an
equivalent java task?

java command:
${JDK_HOME}/bin/java -Dproject.home=${PROJ_HOME} -classpath ${CP}
project.Classname -keepgenerated -compiler ${JDK_HOME}/bin/javac -classpath
${OUT_DIR};${CP} ${OUT_DIR}/project.jar ${PROJECT_DIR}

<java classname="project.Classname">
  <arg line=" -keepgenerated -compiler ${JDK_HOME}/bin/javac -classpath
${OUT_DIR}:${CP} ${OUT_DIR}/project.jar ${PROJECT_DIR}" />
  <classpath>
    <pathelement path="${CP}"/>
  </classpath>
  <jvmarg value="-Dproject.home=${PROJ_HOME}"/>
 </java>


Thanks,
Gurdev


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message