changeset 4294:cce932bdf120

RT-31634 Ensemble8 ant jar fails: failed to create task or type javafx:com.sun.javafx.tools.and:application
author dmasada
date Mon, 15 Jul 2013 15:08:11 -0700
parents ab0736381727
children a1f0f26e732e
files apps/samples/Ensemble8/build.xml apps/samples/Ensemble8/nbproject/project.properties
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/apps/samples/Ensemble8/build.xml	Mon Jul 15 17:21:12 2013 +0300
+++ b/apps/samples/Ensemble8/build.xml	Mon Jul 15 15:08:11 2013 -0700
@@ -121,7 +121,12 @@
     
     <target name="jfx-deployment">
         <!-- Delete the Ensemble8.jar build by netbeans as we will build one with JavaFX packager -->
-        <delete file="${dist.jar}"/>  
+        <delete file="${dist.jar}"/>
+       <!-- tasks for deployment and executable jars -->
+        <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
+                 uri="javafx:com.sun.javafx.tools.ant"
+                 classpath="${platform.home}/lib/ant-javafx.jar"/>
+         
         <fx:application id="ensemble8"
                         name="${application.title}"
                         mainClass="ensemble.EnsembleApp"/>
--- a/apps/samples/Ensemble8/nbproject/project.properties	Mon Jul 15 17:21:12 2013 +0300
+++ b/apps/samples/Ensemble8/nbproject/project.properties	Mon Jul 15 15:08:11 2013 -0700
@@ -27,7 +27,6 @@
 dist.javadoc.dir=${dist.dir}/javadoc
 endorsed.classpath=
 excludes=
-file.reference.ant-javafx.jar=/Users/debram/projects/jdk8b96/jdk1.8.0.jdk/Contents/Home/lib/ant-javafx.jar
 file.reference.jfxrt.jar=../../../../artifacts/sdk/rt/lib/ext/jfxrt.jar
 file.reference.lucene-core-3.2.0.jar=lib/lucene-core-3.2.0.jar
 file.reference.lucene-grouping-3.2.0.jar=lib/lucene-grouping-3.2.0.jar