Task for "javapackager"?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Task for "javapackager"?

Roger Whitcomb
Hi all,
                Does anyone use "javapackager" with Ant?  It has a ton of options, and can be run with just <exec ..., so does anyone see any benefit to having an Ant task that wraps this utility?

Thanks,
Roger Whitcomb

Reply | Threaded
Open this post in threaded view
|

AW: Task for "javapackager"?

Jan Matèrne (jhm)
Not sure, if this is the right one.
Did you have a look at ant-javafx.jar?
I have found that in JDK-1.8.0_77/lib and it contains an AntLib definition
at
com\sun\javafx\tools\ant\antlib.xml


<antlib>
    <macrodef name="init-ant">
       <sequential>
         <!-- This is not JavaFX version and should not be updated
everytime!
              This is ant API version and need to be updated every time
              ant task is updated.
              First number is updated if changes are not compatible. -->
         <property name="javafx.ant.version" value="1.3"/>
       </sequential>
    </macrodef>

    <typedef name="application"
                 classname="com.sun.javafx.tools.ant.Application"/>
    <typedef name="platform"
                 classname="com.sun.javafx.tools.ant.Platform"/>
    <typedef name="resources"
                 classname="com.sun.javafx.tools.ant.Resources"/>
    <typedef name="fileset"
                 classname="com.sun.javafx.tools.ant.FileSet"/>
    <typedef name="preferences"
                 classname="com.sun.javafx.tools.ant.Preferences"/>
    <typedef name="permissions"
                 classname="com.sun.javafx.tools.ant.Permissions"/>

    <taskdef name="jar"
                 classname="com.sun.javafx.tools.ant.FXJar"/>
    <taskdef name="deploy"
                 classname="com.sun.javafx.tools.ant.DeployFXTask"/>
    <taskdef name="signjar"
                 classname="com.sun.javafx.tools.ant.FXSignJarTask"/>
    <taskdef name="csstobin"
                 classname="com.sun.javafx.tools.ant.CSSToBinTask"/>
</antlib>


Jan

> -----Ursprüngliche Nachricht-----
> Von: Roger Whitcomb [mailto:[hidden email]]
> Gesendet: Donnerstag, 17. August 2017 16:20
> An: Ant Users List
> Betreff: Task for "javapackager"?
>
> Hi all,
>                 Does anyone use "javapackager" with Ant?  It has a ton
> of options, and can be run with just <exec ..., so does anyone see any
> benefit to having an Ant task that wraps this utility?
>
> Thanks,
> Roger Whitcomb



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]