i have created self-contained application using javafx deployment task i.e. <fx:deploy>. run application command prompt , passes arguments. supposed run on command prompt ui gets open. when run executable jar using
java -jar app.jar -action:backup it run on command prompt.
<target name="exe" depends="signedjar"> <fx:deploy width="800" height="600" nativebundles="all" outdir="${dist}/winx86" outfile="${app.name}" verbose="true"> <fx:info title="${app.title}"/> <fx:application name="${app.title}" mainclass="${main.class} toolkit=swing"/> <fx:resources> <fx:fileset file="${app.name}.jar"/> <fx:fileset dir="${workingfolder}/temp"/> </fx:resources> <fx:platform> <fx:jvmarg value="-xms500m"/> <fx:jvmarg value="-xmx1g"/> <fx:jvmarg value="-xx:newratio=2"/> <fx:jvmarg value="-xx:maxpermsize=250m"/> </fx:platform> </fx:deploy> </target> what additionally need specify in <fx:deploy> passes command line arguments application jar?
Comments
Post a Comment