Ant构建在linux中失败,但在windows中工作

Ant构建在linux中失败,但在windows中工作,linux,jenkins,ant,jdeveloper,Linux,Jenkins,Ant,Jdeveloper,我正在重写构建脚本以在linux中工作。下面是我写的 <exec dir="${basedir}/CalcMgrUI" executable="/bin/bash"> <arg value="-c" /> <arg value="${ojdeploy} -buildfile ${vobDir}/CalMgrADFUI/CalMgrUI/calmgr-ojdepl

我正在重写构建脚本以在linux中工作。下面是我写的

<exec dir="${basedir}/CalcMgrUI" executable="/bin/bash">
        <arg value="-c" />
          <arg value="${ojdeploy} -buildfile ${vobDir}/CalMgrADFUI/CalMgrUI/calmgr-ojdeploybuild.xml -clean -forcerewrite -statuslogfile  ${vobDir}/CalMgrADFUI/build-status.log>ojdeploy.log 2>&amp;1"/>
        </exec>
请帮我找出问题所在


Cannot open ojdeploy build file file:/scratch/jenkins/CalMgrADFUI/CalMgrUI/calmgr-ojdeploybuild.xml
Error: Deploy can't recognize the JDK version