void () { doTest(""" <fx:fileset id="all_but_jarDeployTemplate" dir="temp" includes="**/*.jar"> <exclude name="jarDeployTemplate.jar"> </exclude> </fx:fileset> <fx:fileset id="all_jarDeployTemplate" dir="temp" includes="**/*.jar"> </fx:fileset> <fx:application id="jarDeployTemplate_id" name="jarDeployTemplate" mainClass="Main"> </fx:application> <fx:jar destfile="temp/jarDeployTemplate.jar"> <fx:application refid="jarDeployTemplate_id"> </fx:application> <fileset dir="temp" excludes="**/*.jar"> </fileset> <fx:resources> <fx:fileset refid="all_but_jarDeployTemplate"> </fx:fileset> </fx:resources> </fx:jar> <fx:deploy width="800" height="400" updatemode="background" outdir="temp/deploy" outfile="jarDeployTemplate" placeholderId="app-placeholder-id"> <fx:application refid="jarDeployTemplate_id"> </fx:application> <fx:resources> <fx:fileset refid="all_jarDeployTemplate"> </fx:fileset> </fx:resources> <fx:template file="${basedir}/app_template.html" tofile="temp/deploy/app_template.html"> </fx:template> </fx:deploy> """, Map.of( TEMPLATE, "/project_dir/app_template.html", PLACEHOLDER, "app-placeholder-id", BASE_DIR_PATH, "/project_dir") ); }