< ?xml versi encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for -->

<project name="shore-abs" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
    <description>Builds, tests, and runs the project shore-abs.</description>
    <import file="nbproject/build-impl.xml"/>
    
    <target name="-pre-jfx-jar" depends="copy-build-properties" />
    
    <target name="copy-build-properties" >
        <copy file="config${file.separator}abs-client-build.properties" 
              todir="${basedir}${file.separator}${build.classes.dir}${file.separator}/config" />
    </target>
    <target name="-post-jfx-deploy" depends="-check-jfx-deployment">
        <fx:application id="abs-client" name="${application.title}" 
                        mainClass="${javafx.main.class}"/>
       
        <fx:deploy width="100" height="100" includeDT="false"
                  nativeBundles="all"
                  embeddedWidth="100%" embeddedHeight="100%"
                  outdir="${basedir}/${dist.dir}" embedJNLP="true"
                  outfile="${application.title}" verbose="true">
            <fx:application refId="abs-client"/>
            <fx:resources>
                <fx:fileset dir="${basedir}/${dist.dir}" includes="shore-abs.jar"/>
                <fx:fileset dir="${basedir}/${dist.dir}" includes="lib/**"/>
                <fx:fileset type="license" dir="${basedir}" includes="license.rtf"/>
            </fx:resources> 
            <fx:info title="${application.title}"
                     vendor="${application.vendor}"                  
            />
        </fx:deploy>
    </target>

</project>

Add a code snippet to your website: www.paste.org