title: ojdeploy - ant task compile application
body: <p>I am trying to use ojdeploy to compile and build an ADF application through an AntTask. </p>
  
  <p>The ojdeploy task works fine when I specify not to compile the project by adding the line
      </p>
  
  <p>The ojdeploy task is unable to find several jars required to build the application which I have specified.</p>
  
  <p>I can't find any documentation which describe the use of the ojdeploy to compile applications which makes me think that it does not work.</p>
  
  <p>The ant task I have is below. My thoughts are that the ojdeploy task does not have the jars required to build the project on its classpath. I can't see a way to add these jars to the classpath however.</p>
  
  <p>ojdeploy task:</p>
  
  <pre><code> &lt;target name="deploy" description="Deploy JDeveloper profiles"&gt;
      &lt;property name="status" value="${env.WORKSPACE}/deploy/ojdeploy-statuslog.xml"/&gt;
      &lt;taskdef name="ojdeploy"
               classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
               uri="oraclelib:OJDeployAntTask"
               classpathref="classpath"/&gt;      
      &lt;ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                    executable="${env.oracle.middleware}/jdeveloper/jdev/bin/ojdeploy.exe"
                    failonerror="true"
                    ora:buildscript="${env.WORKSPACE}/deploy/ojdeploy-build.xml"
                    ora:statuslog="C:/Oracle/Middleware/ojdeploy-statuslog.xml"&gt;
          &lt;ora:deploy&gt;
              &lt;ora:parameter name="workspace"
                         value="${env.WORKSPACE}/JWS.jws"/&gt;
              &lt;ora:parameter name="profile"
                         value="*"/&gt;
              &lt;!--&lt;ora:parameter name="nocompile" value="true"/&gt;--&gt;
              &lt;ora:parameter name="outputfile"
                         value="${env.WORKSPACE}/deploy/${deployment.profile.name}"/&gt;
        &lt;/ora:deploy&gt;
      &lt;/ora:ojdeploy&gt;
    &lt;/target&gt;   
  </code></pre>