tools/Jemmy/JemmyFX/build.xml

Print this page




  56     <target name="-post-clean">
  57         <delete dir="${docks.dir}" failonerror="false"/>
  58         <delete dir="${basedir}/target"/>
  59     </target>
  60     <target name="-pre-init" unless="no.need.to.find.java.fx">
  61         <ant antfile="../../../detect_javafx-nb.xml" inheritall="true">
  62             <property name="basedir" location="${basedir}/../../.."/>
  63             <property name="property.file" value="${basedir}/nbproject/private/private.properties"/>
  64         </ant>
  65     </target>
  66     <target name="-post-init">
  67         <ant antfile="build.xml" target="get-jemmy-core" inheritall="false" inheritrefs="false" dir=".."/>
  68     </target>
  69     <target name="-pre-compile">
  70         <delete file="${basedir}/build/classes/org/jemmy/fx/jemmy.properties" failonerror="false"/>
  71         <mkdir dir="${docks.dir}"/>
  72     </target>
  73     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend, read-profile" if="have.sources" name="-do-compile">
  74         <echo message="Compiling  ${profile.includes} but not ${profile.excludes}"/>
  75         <mkdir dir="${src.docks.dir}"/>



  76         <javac sourcepath="" srcdir="${src.dir}" destdir="${build.classes.dir}" classpath="${javac.classpath}" includes="${profile.includes}" excludes="${profile.excludes}">
  77             <compilerarg value="-processor"/>
  78             <compilerarg value="org.jemmy.support.Proccessor"/>
  79             <compilerarg value="-Aactions=docks,dump"/>
  80             <compilerarg value="-s"/>
  81             <compilerarg value="${basedir}/${src.docks.dir}"/>

  82         </javac>
  83         <copy todir="${build.classes.dir}">
  84             <fileset dir="${src.docks.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  85             <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  86         </copy>
  87     </target>
  88     <target name="-post-compile">
  89         <javac srcdir="${docks.dir}" destdir="${build.classes.dir}" classpath="${javac.classpath}"/>
  90         <echo message="Copying prop file"/>
  91         <copy file="src/org/jemmy/fx/jemmy.properties" tofile="${basedir}/build/classes/org/jemmy/fx/jemmy.properties"/>
  92         <tstamp/>
  93         <echo message="build=${DSTAMP}${TSTAMP}" file="${basedir}/build/classes/org/jemmy/fx/jemmy.properties" append="true"/>
  94     </target>
  95     <target depends="test-single" name="test"/>
  96     <target name="warn-no-core-sources" unless="jemmy.core.source">
  97         <echo>
  98 No Jemmy core sources! 
  99 Sources are available from jemmy.java.net.
 100 Specify the location by jemmy.core.source variable.
 101         </echo>




  56     <target name="-post-clean">
  57         <delete dir="${docks.dir}" failonerror="false"/>
  58         <delete dir="${basedir}/target"/>
  59     </target>
  60     <target name="-pre-init" unless="no.need.to.find.java.fx">
  61         <ant antfile="../../../detect_javafx-nb.xml" inheritall="true">
  62             <property name="basedir" location="${basedir}/../../.."/>
  63             <property name="property.file" value="${basedir}/nbproject/private/private.properties"/>
  64         </ant>
  65     </target>
  66     <target name="-post-init">
  67         <ant antfile="build.xml" target="get-jemmy-core" inheritall="false" inheritrefs="false" dir=".."/>
  68     </target>
  69     <target name="-pre-compile">
  70         <delete file="${basedir}/build/classes/org/jemmy/fx/jemmy.properties" failonerror="false"/>
  71         <mkdir dir="${docks.dir}"/>
  72     </target>
  73     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend, read-profile" if="have.sources" name="-do-compile">
  74         <echo message="Compiling  ${profile.includes} but not ${profile.excludes}"/>
  75         <mkdir dir="${src.docks.dir}"/>
  76         <condition property="__addExports1" value="" else="--add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.skin=ALL-UNNAMED">
  77             <isset property="noAddExports" />
  78         </condition>
  79         <javac sourcepath="" srcdir="${src.dir}" destdir="${build.classes.dir}" classpath="${javac.classpath}" includes="${profile.includes}" excludes="${profile.excludes}">
  80             <compilerarg value="-processor"/>
  81             <compilerarg value="org.jemmy.support.Proccessor"/>
  82             <compilerarg value="-Aactions=docks,dump"/>
  83             <compilerarg value="-s"/>
  84             <compilerarg value="${basedir}/${src.docks.dir}"/>
  85             <compilerarg line="${__addExports1}"/>
  86         </javac>
  87         <copy todir="${build.classes.dir}">
  88             <fileset dir="${src.docks.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  89             <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
  90         </copy>
  91     </target>
  92     <target name="-post-compile">
  93         <javac srcdir="${docks.dir}" destdir="${build.classes.dir}" classpath="${javac.classpath}"/>
  94         <echo message="Copying prop file"/>
  95         <copy file="src/org/jemmy/fx/jemmy.properties" tofile="${basedir}/build/classes/org/jemmy/fx/jemmy.properties"/>
  96         <tstamp/>
  97         <echo message="build=${DSTAMP}${TSTAMP}" file="${basedir}/build/classes/org/jemmy/fx/jemmy.properties" append="true"/>
  98     </target>
  99     <target depends="test-single" name="test"/>
 100     <target name="warn-no-core-sources" unless="jemmy.core.source">
 101         <echo>
 102 No Jemmy core sources!
 103 Sources are available from jemmy.java.net.
 104 Specify the location by jemmy.core.source variable.
 105         </echo>