<?xml version="1.0" encoding="UTF-8"?>
<project basedir=".." name="FreeCol-IDE">
    <import file="../build.xml"/>
    <!-- TODO: edit the following target according to your needs -->
    <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#debugj2se) -->
    <target depends="package" description="Runs the game" name="debug-nb">
        <nbjpdastart addressproperty="jpda.address" name="FreeCol" transport="dt_socket"/>
        <java fork="true" jar="FreeCol.jar">
            <jvmarg value="-Xmx1G"/>
            <jvmarg value="-Xdebug"/>
            <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
        </java>
    </target>
    <target name="-profile-check">
        <startprofiler freeform="true"/>
    </target>
    <!-- TODO: edit the following target according to your needs -->
    <!-- (more info: http://netbeans.org/kb/articles/freeform-config.html#profilej2se) -->
    <target depends="-profile-check" description="Runs the game" if="profiler.configured" name="profile-nb">
        <java fork="true" jar="FreeCol.jar">
            <jvmarg value="-Xmx1G"/>
            <jvmarg line="${agent.jvmargs}"/>
        </java>
    </target>
</project>
