Tuesday, May 24, 2011

OJDeploy again

Windows 64bit problems:
My build would not fail on windows despite the failonerror property.
I had to use the ojdeploy64.exe to get my build to return the failure the ojdeploy.exe just would not give me a failed build. (using 64bit jvm)

Linux problems:
Use failonerror property. ie

    <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
       executable="${ojdeploy.path}"
       failonerror="true"
       ora:statuslog="ojdeploy-statuslog.xml"
       ora:buildscript="ojdeploy-build.xml">

No comments:

Post a Comment