void () { doTest(""" <fx:fileset id="all_but_jarDeployVersion" dir="temp" includes="**/*.jar"> <exclude name="jarDeployVersion.jar"> </exclude> </fx:fileset> <fx:fileset id="all_jarDeployVersion" dir="temp" includes="**/*.jar"> </fx:fileset> <fx:application id="jarDeployVersion_id" name="jarDeployVersion" mainClass="Main" version="4.2"> </fx:application> <fx:jar destfile="temp/jarDeployVersion.jar"> <fx:application refid="jarDeployVersion_id"> </fx:application> <fileset dir="temp" excludes="**/*.jar"> </fileset> <fx:resources> <fx:fileset refid="all_but_jarDeployVersion"> </fx:fileset> </fx:resources> <manifest> <attribute name="Implementation-Version" value="4.2"> </attribute> </manifest> </fx:jar> <fx:deploy width="800" height="400" updatemode="background" outdir="temp/deploy" outfile="jarDeployVersion"> <fx:application refid="jarDeployVersion_id"> </fx:application> <fx:resources> <fx:fileset refid="all_jarDeployVersion"> </fx:fileset> </fx:resources> </fx:deploy> """, Collections.singletonMap(VERSION, "4.2")); }