Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to specify ejbdeploy classpath arugement in Ant

 
Simon Song
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I follow the Ant sample from SG246134, but I need specify the classpath for ejbdeploy. I just failed to make it in the Ant, the arguments cannot be appended correctly. Any suggestion?
<target name="deploy" unless="ejb.deploy.uptodate">
<echo>Deploying EJB JAR file</echo>
<exec executable="${global.was.dir}/bin/ejbdeploy.bat" dir="${global.was.dir}/bin">
<arg value="${ejb.jar.file}"/>
<arg value="${global.temp.dir}"/>
<arg value="${global.temp.dir}/${ejb.jar.name}"/>
<arg value='-cp "d:\lib\log4j.jar;d:\lib\parser.jar"'/>
<arg value="-quiet"/>
</exec>
<move file="${global.temp.dir}/${ejb.jar.name}" tofile="${ejb.jar.file}"/>
<echo>Finished deploying EJB JAR file</echo>
</target>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic