tools/FxTestRunner/plugin_support.xml

Print this page




  18  *
  19  * You should have received a copy of the GNU General Public License version
  20  * 2 along with this work; if not, write to the Free Software Foundation,
  21  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  22  *
  23  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  24  * or visit www.oracle.com if you need additional information or have any
  25  */
  26 -->
  27 <project name="plugin_utility" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
  28 
  29     <!-- ============================================================== -->
  30     <!--                          plugin support                        -->
  31     <!-- ============================================================== -->
  32 <!--    <target name="dist-plugin" depends="check-javafx-home, check-compiled" unless="testbase.readonly">  -->
  33     <target name="dist-plugin" depends="check-compiled" unless="testbase.readonly">
  34         <basename property="suitename" file="${basedir}"/>
  35         
  36 
  37 
  38         <echo message="debug: ant-javafx.jar = ${javafx.home}/../lib/ant-javafx.jar"/>

  39 
  40         <condition property="file.reference.ant-javafx.jar" value="${javafx.home}/../lib/ant-javafx.jar" else="${javafx.rt}/../lib/ant-javafx.jar">

  41             <isset property="javafx.home"/>
  42         </condition>
  43         <echo message="debug: file.reference.ant-javafx.jar = ${file.reference.ant-javafx.jar}"/>
  44 
  45         <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
  46                  uri="javafx:com.sun.javafx.tools.ant"
  47                  classpath="${file.reference.ant-javafx.jar}"/>
  48 
  49         <jar destfile="${dist.dir}/${suitename}-web.jar">
  50             <fileset dir="${build.classes.dir}"/>
  51             <fileset dir="${build.test.classes.dir}"/>
  52             <manifest>
  53                 <attribute name="Implementation-Vendor" value="Oracle"/>
  54                 <attribute name="Implementation-Title" value="FXSQE Plugin Test"/>
  55                 <attribute name="Implementation-Version" value="1.0"/>
  56             </manifest>
  57         </jar>
  58 
  59         <jar destfile="../../tools/FxTestRunner/dist/FxTestRunner.jar"  update="true" >
  60           <manifest>




  18  *
  19  * You should have received a copy of the GNU General Public License version
  20  * 2 along with this work; if not, write to the Free Software Foundation,
  21  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  22  *
  23  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  24  * or visit www.oracle.com if you need additional information or have any
  25  */
  26 -->
  27 <project name="plugin_utility" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
  28 
  29     <!-- ============================================================== -->
  30     <!--                          plugin support                        -->
  31     <!-- ============================================================== -->
  32 <!--    <target name="dist-plugin" depends="check-javafx-home, check-compiled" unless="testbase.readonly">  -->
  33     <target name="dist-plugin" depends="check-compiled" unless="testbase.readonly">
  34         <basename property="suitename" file="${basedir}"/>
  35         
  36 
  37 
  38         <echo message="debug: ant-javafx.jar = ${javafx.home}/lib/ant-javafx.jar"/>

  39 
  40         <condition property="file.reference.ant-javafx.jar" value="${javafx.home}/lib/ant-javafx.jar" else="${javafx.rt}/lib/ant-javafx.jar">

  41             <isset property="javafx.home"/>
  42         </condition>
  43         <echo message="debug: file.reference.ant-javafx.jar = ${file.reference.ant-javafx.jar}"/>
  44 
  45         <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
  46                  uri="javafx:com.sun.javafx.tools.ant"
  47                  classpath="${file.reference.ant-javafx.jar}"/>
  48 
  49         <jar destfile="${dist.dir}/${suitename}-web.jar">
  50             <fileset dir="${build.classes.dir}"/>
  51             <fileset dir="${build.test.classes.dir}"/>
  52             <manifest>
  53                 <attribute name="Implementation-Vendor" value="Oracle"/>
  54                 <attribute name="Implementation-Title" value="FXSQE Plugin Test"/>
  55                 <attribute name="Implementation-Version" value="1.0"/>
  56             </manifest>
  57         </jar>
  58 
  59         <jar destfile="../../tools/FxTestRunner/dist/FxTestRunner.jar"  update="true" >
  60           <manifest>