java/SuperPostak/nbproject/build-impl.xml
changeset 3 03d27d3b3f7b
parent 0 e76872ad5226
child 5 bea5d9e11d37
     1.1 --- a/java/SuperPostak/nbproject/build-impl.xml	Sun Nov 23 22:19:20 2008 +0100
     1.2 +++ b/java/SuperPostak/nbproject/build-impl.xml	Sat Feb 28 17:57:14 2009 +0100
     1.3 @@ -153,7 +153,7 @@
     1.4              <attribute default="${includes}" name="includes"/>
     1.5              <attribute default="${excludes}" name="excludes"/>
     1.6              <attribute default="${javac.debug}" name="debug"/>
     1.7 -            <attribute default="" name="sourcepath"/>
     1.8 +            <attribute default="/does/not/exist" name="sourcepath"/>
     1.9              <element name="customize" optional="true"/>
    1.10              <sequential>
    1.11                  <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}">
    1.12 @@ -219,13 +219,13 @@
    1.13              </sequential>
    1.14          </macrodef>
    1.15      </target>
    1.16 -    <target name="-init-macrodef-nbjpda">
    1.17 +    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
    1.18          <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
    1.19              <attribute default="${main.class}" name="name"/>
    1.20              <attribute default="${debug.classpath}" name="classpath"/>
    1.21              <attribute default="" name="stopclassname"/>
    1.22              <sequential>
    1.23 -                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
    1.24 +                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
    1.25                      <classpath>
    1.26                          <path path="@{classpath}"/>
    1.27                      </classpath>
    1.28 @@ -256,6 +256,12 @@
    1.29          <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
    1.30              <istrue value="${have-jdk-older-than-1.4}"/>
    1.31          </condition>
    1.32 +        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
    1.33 +            <os family="windows"/>
    1.34 +        </condition>
    1.35 +        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
    1.36 +            <isset property="debug.transport"/>
    1.37 +        </condition>
    1.38      </target>
    1.39      <target depends="-init-debug-args" name="-init-macrodef-debug">
    1.40          <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
    1.41 @@ -265,7 +271,7 @@
    1.42              <sequential>
    1.43                  <java classname="@{classname}" dir="${work.dir}" fork="true">
    1.44                      <jvmarg line="${debug-args-line}"/>
    1.45 -                    <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
    1.46 +                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
    1.47                      <jvmarg line="${run.jvmargs}"/>
    1.48                      <classpath>
    1.49                          <path path="@{classpath}"/>
    1.50 @@ -315,6 +321,13 @@
    1.51          <ant antfile="${project.JFTable}/build.xml" inheritall="false" target="jar"/>
    1.52          <ant antfile="${project.Postak}/build.xml" inheritall="false" target="jar"/>
    1.53      </target>
    1.54 +    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
    1.55 +    <target depends="init" name="-check-automatic-build">
    1.56 +        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
    1.57 +    </target>
    1.58 +    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
    1.59 +        <antcall target="clean"/>
    1.60 +    </target>
    1.61      <target depends="init,deps-jar" name="-pre-pre-compile">
    1.62          <mkdir dir="${build.classes.dir}"/>
    1.63      </target>
    1.64 @@ -335,7 +348,7 @@
    1.65          <!-- Empty placeholder for easier customization. -->
    1.66          <!-- You can override this target in the ../build.xml file. -->
    1.67      </target>
    1.68 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
    1.69 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
    1.70      <target name="-pre-compile-single">
    1.71          <!-- Empty placeholder for easier customization. -->
    1.72          <!-- You can override this target in the ../build.xml file. -->
    1.73 @@ -349,7 +362,7 @@
    1.74          <!-- Empty placeholder for easier customization. -->
    1.75          <!-- You can override this target in the ../build.xml file. -->
    1.76      </target>
    1.77 -    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
    1.78 +    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
    1.79      <!--
    1.80                  ====================
    1.81                  JAR BUILDING SECTION