modules/fxpackager/src/main/java/com/sun/javafx/tools/ant/DeployFXTask.java

Print this page
rev 6889 : RT-36724 - JavaFX Packager Renaming
Summary: Move java code around to new packages.


  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  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 package com.sun.javafx.tools.ant;
  27 
  28 import java.io.File;
  29 import java.util.LinkedList;
  30 import java.util.List;
  31 import com.sun.javafx.tools.ant.Platform.Jvmarg;
  32 import com.sun.javafx.tools.ant.Platform.Property;
  33 import com.sun.javafx.tools.packager.DeployParams;
  34 import com.sun.javafx.tools.packager.Log;
  35 import com.sun.javafx.tools.packager.PackagerException;
  36 import com.sun.javafx.tools.packager.PackagerLib;
  37 import com.sun.javafx.tools.packager.bundlers.Bundler.BundleType;
  38 import org.apache.tools.ant.BuildException;
  39 import org.apache.tools.ant.DynamicAttribute;
  40 import org.apache.tools.ant.Task;
  41 import org.apache.tools.ant.types.DataType;
  42 
  43 /**
  44  * Generates package for Web deployment and redistribution of application.
  45  * Package includes of set of jar files, JNLP file and HTML file.
  46  *
  47  * Minimal example:
  48  * <pre>
  49  *   &lt;fx:deploy width="600" height="400"
  50  *                 outdir="web-dist" outfile="Fish"&gt;
  51  *       &lt;info title="Sample application"/&gt;
  52  *       &lt;fx:application refid="myapp"/&gt;
  53  *       &lt;fx:resources refid="myresources"/&gt;
  54  *   &lt;/fx:deploy&gt;




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  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 package com.sun.javafx.tools.ant;
  27 
  28 import java.io.File;
  29 import java.util.LinkedList;
  30 import java.util.List;
  31 import com.sun.javafx.tools.ant.Platform.Jvmarg;
  32 import com.sun.javafx.tools.ant.Platform.Property;
  33 import com.sun.javafx.tools.packager.DeployParams;
  34 import com.oracle.tools.packager.Log;
  35 import com.sun.javafx.tools.packager.PackagerException;
  36 import com.sun.javafx.tools.packager.PackagerLib;
  37 import com.sun.javafx.tools.packager.bundlers.Bundler.BundleType;
  38 import org.apache.tools.ant.BuildException;
  39 import org.apache.tools.ant.DynamicAttribute;
  40 import org.apache.tools.ant.Task;
  41 import org.apache.tools.ant.types.DataType;
  42 
  43 /**
  44  * Generates package for Web deployment and redistribution of application.
  45  * Package includes of set of jar files, JNLP file and HTML file.
  46  *
  47  * Minimal example:
  48  * <pre>
  49  *   &lt;fx:deploy width="600" height="400"
  50  *                 outdir="web-dist" outfile="Fish"&gt;
  51  *       &lt;info title="Sample application"/&gt;
  52  *       &lt;fx:application refid="myapp"/&gt;
  53  *       &lt;fx:resources refid="myresources"/&gt;
  54  *   &lt;/fx:deploy&gt;