0 Replies Latest reply: Mar 24, 2013 11:23 PM by user2932712 RSS

    jvmargs not being placed in jnlp file by ant deploy task

    user2932712
      Hi

      I have an ant deploy task as given below. I run ant to produce the jnlp file. Everything works ok, EXCEPT the jvmargs, and the enclosing platform element, are not copied into the jnlp file.

      Is this the intended behaviour?

      thanks
      graham


      -- ant task ---

      <project name="BuildInfoView" xmlns:fx="javafx:com.sun.javafx.tools.ant">

      <taskdef
           resource="com/sun/javafx/tools/ant/antlib.xml"
           uri="javafx:com.sun.javafx.tools.ant"
           classpath="/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/lib/ant-javafx.jar"/>

      <fx:deploy
      outdir="../installation/bin"
           outfile="infoview"
      width="800"
           height="500"
           embeddedWidth="100%"
           embeddedHeight="100%">

           <fx:application
                name="Infoview"
                mainClass="com.ods.infoview.Main">
           </fx:application>

           <fx:info
                title="InfoView"
                description="InfoView"
                vendor="OrangeDog">
           </fx:info>

           <fx:permissions elevated="true"/>

           <fx:platform javafx="2.2+">
           <fx:jvmarg value="-Xmx400"/>
           </fx:platform>

      <!--
      cacheCertificates="true"/>
      -->

           <fx:resources>
                <fx:fileset dir="../gradle/output/"/>
           </fx:resources>
      </fx:deploy>

      </project>