Ignore:
Timestamp:
Apr 6, 2009 10:40:22 PM (11 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
2c84cddd
Parents:
495558a
Message:

2009-04-06 sponge

SimpleScheduler? SimpleTimer2 debugging added.
Fix build files for desktopgui.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/nbproject/build-impl.xml

    r495558a r3766724  
    153153            <attribute default="${excludes}" name="excludes"/>
    154154            <attribute default="${javac.debug}" name="debug"/>
    155             <attribute default="" name="sourcepath"/>
     155            <attribute default="/does/not/exist" name="sourcepath"/>
    156156            <element name="customize" optional="true"/>
    157157            <sequential>
     
    219219        </macrodef>
    220220    </target>
    221     <target name="-init-macrodef-nbjpda">
     221    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
    222222        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
    223223            <attribute default="${main.class}" name="name"/>
     
    225225            <attribute default="" name="stopclassname"/>
    226226            <sequential>
    227                 <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="dt_socket">
     227                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
    228228                    <classpath>
    229229                        <path path="@{classpath}"/>
     
    256256            <istrue value="${have-jdk-older-than-1.4}"/>
    257257        </condition>
     258        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
     259            <os family="windows"/>
     260        </condition>
     261        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
     262            <isset property="debug.transport"/>
     263        </condition>
    258264    </target>
    259265    <target depends="-init-debug-args" name="-init-macrodef-debug">
     
    265271                <java classname="@{classname}" dir="${work.dir}" fork="true">
    266272                    <jvmarg line="${debug-args-line}"/>
    267                     <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
     273                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
    268274                    <jvmarg line="${run.jvmargs}"/>
    269275                    <classpath>
     
    312318            -->
    313319    <target depends="init" name="deps-jar" unless="no.deps"/>
     320    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
     321    <target depends="init" name="-check-automatic-build">
     322        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
     323    </target>
     324    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
     325        <antcall target="clean"/>
     326    </target>
    314327    <target depends="init,deps-jar" name="-pre-pre-compile">
    315328        <mkdir dir="${build.classes.dir}"/>
     
    332345        <!-- You can override this target in the ../build.xml file. -->
    333346    </target>
    334     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
     347    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
    335348    <target name="-pre-compile-single">
    336349        <!-- Empty placeholder for easier customization. -->
     
    346359        <!-- You can override this target in the ../build.xml file. -->
    347360    </target>
    348     <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
     361    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
    349362    <!--
    350363                ====================
Note: See TracChangeset for help on using the changeset viewer.