Instead of just looking for $SGE_ROOT specifically hunting for $SGE_ROOT/lib/drmaa.jar to enable early grid engine builds.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5407 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
31a2575c7b
commit
63e1625cc5
|
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
<property environment="env"/>
|
<property environment="env"/>
|
||||||
|
|
||||||
|
<property name="drmaa.file" value="${env.SGE_ROOT}/lib/drmaa.jar" />
|
||||||
|
|
||||||
<patternset id="java.source.pattern">
|
<patternset id="java.source.pattern">
|
||||||
<include name="**/*.java"/>
|
<include name="**/*.java"/>
|
||||||
<exclude name="**/playground/**" unless="include.playground" />
|
<exclude name="**/playground/**" unless="include.playground" />
|
||||||
|
|
@ -109,7 +111,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="init.gridengine" depends="init" if="include.gridengine">
|
<target name="init.gridengine" depends="init" if="include.gridengine">
|
||||||
<copy todir="lib" file="${env.SGE_ROOT}/lib/drmaa.jar"/>
|
<copy todir="lib" file="${drmaa.file}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="resolve" depends="init.resolve,init,init.gridengine"
|
<target name="resolve" depends="init.resolve,init,init.gridengine"
|
||||||
|
|
@ -162,7 +164,7 @@
|
||||||
<!-- Include Grid Engine in the compile if SGE_ROOT is available. -->
|
<!-- Include Grid Engine in the compile if SGE_ROOT is available. -->
|
||||||
<!-- Based off of http://wikis.sun.com/display/GridEngine/Automating+Grid+Engine+Functions+Through+DRMAA -->
|
<!-- Based off of http://wikis.sun.com/display/GridEngine/Automating+Grid+Engine+Functions+Through+DRMAA -->
|
||||||
<condition property="include.gridengine">
|
<condition property="include.gridengine">
|
||||||
<isset property="env.SGE_ROOT"/>
|
<available file="${drmaa.file}"/>
|
||||||
</condition>
|
</condition>
|
||||||
|
|
||||||
<!-- Get the pipeline run type. Default to dry. -->
|
<!-- Get the pipeline run type. Default to dry. -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue