If you want a quicker ojdeploy experience and you are not on 11.1.2.... and using OJServer the following may help you (along with ojdeply Memory Settings should give you the best you are going to get without splitting the build up and running in parallel):
The more you consolidate your deploys under a single ojdeploy the faster the build:
eg: the first one should be slower
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.model.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"> <ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.model.name}"/>
<ora:parameter name="profile" value="${project.model.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"> <ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.name}"/>
<ora:parameter name="profile" value="${project.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml">
<ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.model.name}"/>
<ora:parameter name="profile" value="${project.model.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy><ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.name}"/>
<ora:parameter name="profile" value="${project.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
The more you consolidate your deploys under a single ojdeploy the faster the build:
eg: the first one should be slower
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.model.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"> <ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.model.name}"/>
<ora:parameter name="profile" value="${project.model.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"> <ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.name}"/>
<ora:parameter name="profile" value="${project.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${ojdeploy.path}" failonerror="true"
ora:statuslog="${basedir}/${oracle.jdeveloper.deploy.dir}/${project.deploy.name}-ojdeploy-statuslog.xml"
ora:buildscript="${basedir}/${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml">
<ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.model.name}"/>
<ora:parameter name="profile" value="${project.model.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy><ora:deploy>
<ora:parameter name="workspace" value="${workspace.fixed.location}"/>
<ora:parameter name="project" value="${project.name}"/>
<ora:parameter name="profile" value="${project.deploy.name}"/>
<ora:parameter name="nodatasources" value="true"/>
<ora:parameter name="basedir" value="${basedir}"/>
<ora:parameter name="nocompile" value="${nocompile}"/>
<ora:parameter name="clean" value="true"/>
</ora:deploy>
</ora:ojdeploy>
Comments
Post a Comment