void () { doTest(""" <fx:fileset id="all_but_jarDeployTitle" dir="temp" includes="**/*.jar"> <exclude name="jarDeployTitle.jar"> </exclude> </fx:fileset> <fx:fileset id="all_jarDeployTitle" dir="temp" includes="**/*.jar"> </fx:fileset> <fx:application id="jarDeployTitle_id" name="jarDeployTitle" mainClass="Main"> </fx:application> <fx:jar destfile="temp/jarDeployTitle.jar"> <fx:application refid="jarDeployTitle_id"> </fx:application> <fileset dir="temp" excludes="**/*.jar"> </fileset> <fx:resources> <fx:fileset refid="all_but_jarDeployTitle"> </fx:fileset> </fx:resources> <manifest> <attribute name="Implementation-Title" value="My App"> </attribute> </manifest> </fx:jar> <fx:deploy width="800" height="400" updatemode="background" outdir="temp/deploy" outfile="jarDeployTitle"> <fx:application refid="jarDeployTitle_id"> </fx:application> <fx:info title="My App"> </fx:info> <fx:resources> <fx:fileset refid="all_jarDeployTitle"> </fx:fileset> </fx:resources> </fx:deploy> """, Collections.singletonMap(TITLE, "My App")); }