void () { doTest(""" <fx:fileset id="all_but_jarDeploySigned" dir="temp" includes="**/*.jar"> <exclude name="jarDeploySigned.jar"> </exclude> </fx:fileset> <fx:fileset id="all_jarDeploySigned" dir="temp" includes="**/*.jar"> </fx:fileset> <fx:application id="jarDeploySigned_id" name="jarDeploySigned" mainClass="Main"> </fx:application> <fx:jar destfile="temp/jarDeploySigned.jar"> <fx:application refid="jarDeploySigned_id"> </fx:application> <fileset dir="temp" excludes="**/*.jar"> </fileset> <fx:resources> <fx:fileset refid="all_but_jarDeploySigned"> </fx:fileset> </fx:resources> </fx:jar> <fx:deploy width="800" height="400" updatemode="background" outdir="temp/deploy" outfile="jarDeploySigned"> <fx:permissions elevated="true"> </fx:permissions> <fx:application refid="jarDeploySigned_id"> </fx:application> <fx:resources> <fx:fileset refid="all_jarDeploySigned"> </fx:fileset> </fx:resources> </fx:deploy> """, Collections.singletonMap(SIGNED, "true")); }