Skip to main content
Last updated August 15, 2012 14:27, by gkbrown
Feedicon  

Java Application Bundler Wiki

System Requirements

  • Mac OS X 10.7 or later
  • Java 7 update 6 or later
  • Ant 1.8.2 or later
  • JavaFX 2.2 Samples (for building test project only; copy to ~/bin/javafx-samples-2.2.0)

Instructions

  • Copy appbundler-1.0.jar to Ant lib directory (e.g. ~/bin/apache-ant-1.8.2/lib).
  • Add taskdef to Ant build script; e.g.:

<taskdef name="bundleapp" classname="com.oracle.appbundler.AppBundlerTask"/>

  • Use <bundleapp> task:

    <bundleapp outputdirectory="."
        name="Test"
        displayname="Test"
        identifier="com.oracle.javafx.swing.Test"
        shortversion="1.0"
        applicationCategory="public.app-category.developer-tools"
        mainclassname="com/javafx/main/Main">
        <runtime dir="${env.JAVA_HOME}"/>
        <classpath file="${user.home}/bin/javafx-samples-2.2.0/SwingInterop.jar"/>
        <option value="-Dapple.laf.useScreenMenuBar=true"/>
    </bundleapp>

  • See documentation in downloads folder for more info.
 
 
Close
loading
Please Confirm
Close