make/build.xml

Print this page




  19  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 
  21  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  or visit www.oracle.com if you need additional information or have any
  23  questions.
  24 -->
  25 
  26 <project name="nashorn" default="test" basedir="..">
  27   <import file="build-nasgen.xml"/>
  28   <import file="code_coverage.xml"/>
  29 
  30   <target name="init-conditions">
  31     <!-- loading locally defined resources and properties. NB they owerwrite default ones defined later -->
  32     <property file="${user.home}/.nashorn.project.local.properties"/>
  33 
  34     <loadproperties srcFile="make/project.properties"/>
  35     <path id="dist.path">
  36          <pathelement location="${dist.dir}"/>
  37     </path>
  38     <path id="nashorn.boot.prefix.path">
  39       <pathelement location="${dist.dir}"/>
  40     </path>
  41     <property name="boot.class.path" value="-Xbootclasspath/a:=&quot;${toString:nashorn.boot.prefix.path}&quot;"/>
  42     <condition property="svn.executable" value="/usr/local/bin/svn" else="svn">
  43       <available file="/usr/local/bin/svn"/>
  44     </condition>
  45     <condition property="hg.executable" value="/usr/local/bin/hg" else="hg">
  46       <available file="/usr/local/bin/hg"/>
  47     </condition>
  48     <condition property="git.executable" value="/usr/local/bin/git" else="git">
  49       <available file="/usr/local/bin/git"/>
  50     </condition>
  51     <!-- check if testng.jar is avaiable -->
  52     <available property="testng.available" file="${file.reference.testng.jar}"/>
  53     <!-- check if Jemmy ang testng.jar are avaiable -->
  54     <condition property="jemmy.jfx.testng.available" value="true">
  55       <and>
  56         <available file="${file.reference.jemmyfx.jar}"/>
  57         <available file="${file.reference.jemmycore.jar}"/>
  58         <available file="${file.reference.jemmyawtinput.jar}"/>
  59         <available file="${file.reference.jfxrt.jar}"/>
  60         <isset property="testng.available"/>
  61       </and>




  19  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 
  21  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  or visit www.oracle.com if you need additional information or have any
  23  questions.
  24 -->
  25 
  26 <project name="nashorn" default="test" basedir="..">
  27   <import file="build-nasgen.xml"/>
  28   <import file="code_coverage.xml"/>
  29 
  30   <target name="init-conditions">
  31     <!-- loading locally defined resources and properties. NB they owerwrite default ones defined later -->
  32     <property file="${user.home}/.nashorn.project.local.properties"/>
  33 
  34     <loadproperties srcFile="make/project.properties"/>
  35     <path id="dist.path">
  36          <pathelement location="${dist.dir}"/>
  37     </path>
  38     <path id="nashorn.boot.prefix.path">
  39       <pathelement location="${dist.jar}"/>
  40     </path>
  41     <property name="boot.class.path" value="-Xbootclasspath/p:&quot;${toString:nashorn.boot.prefix.path}&quot;"/>
  42     <condition property="svn.executable" value="/usr/local/bin/svn" else="svn">
  43       <available file="/usr/local/bin/svn"/>
  44     </condition>
  45     <condition property="hg.executable" value="/usr/local/bin/hg" else="hg">
  46       <available file="/usr/local/bin/hg"/>
  47     </condition>
  48     <condition property="git.executable" value="/usr/local/bin/git" else="git">
  49       <available file="/usr/local/bin/git"/>
  50     </condition>
  51     <!-- check if testng.jar is avaiable -->
  52     <available property="testng.available" file="${file.reference.testng.jar}"/>
  53     <!-- check if Jemmy ang testng.jar are avaiable -->
  54     <condition property="jemmy.jfx.testng.available" value="true">
  55       <and>
  56         <available file="${file.reference.jemmyfx.jar}"/>
  57         <available file="${file.reference.jemmycore.jar}"/>
  58         <available file="${file.reference.jemmyawtinput.jar}"/>
  59         <available file="${file.reference.jfxrt.jar}"/>
  60         <isset property="testng.available"/>
  61       </and>