Wednesday, September 22, 2010

ant and ojdeploy

oracle.jdeveloper.ojdeploy.path=/Oracle/Middleware/jdeveloper/jdev/bin/ojdeploy
application.name=Common
<target name="buildJar">
<exec executable="${ojdeploy.path}" dir="${basedir}/${application.name}">
    <arg line="-workspace ${basedir}/${application.name}/${application.name}.jws"/>
    <arg line="-project ${application.name}"/>
    <arg line="-profile ${application.name}"/>
    <arg line="-nodatasources"/>
    <arg line="-forcerewrite"/>
    <arg line="-basedir ${basedir}/${application.name}"/>
  </exec>
</target>

No comments:

Post a Comment