Changeset 63 for trunk/Swing


Ignore:
Timestamp:
08/19/08 11:40:29 (11 years ago)
Author:
kuo.chaoyi
Message:

增加教學範例-Wrapper & AutoBoxing.

Location:
trunk/Swing/SwingStepDemo/nbproject
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Swing/SwingStepDemo/nbproject/build-impl.xml

    r55 r63  
     1<<<<<<< .mine 
    12<?xml version="1.0" encoding="UTF-8"?> 
    23<!-- 
     
    641642    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/> 
    642643</project> 
     644======= 
     645<?xml version="1.0" encoding="UTF-8"?> 
     646<!-- 
     647*** GENERATED FROM project.xml - DO NOT EDIT  *** 
     648***         EDIT ../build.xml INSTEAD         *** 
     649 
     650For the purpose of easier reading the script 
     651is divided into following sections: 
     652 
     653  - initialization 
     654  - compilation 
     655  - jar 
     656  - execution 
     657  - debugging 
     658  - javadoc 
     659  - junit compilation 
     660  - junit execution 
     661  - junit debugging 
     662  - applet 
     663  - cleanup 
     664 
     665        --> 
     666<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="SwingStepDemo-impl"> 
     667    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/> 
     668    <!--  
     669                ====================== 
     670                INITIALIZATION SECTION  
     671                ====================== 
     672            --> 
     673    <target name="-pre-init"> 
     674        <!-- Empty placeholder for easier customization. --> 
     675        <!-- You can override this target in the ../build.xml file. --> 
     676    </target> 
     677    <target depends="-pre-init" name="-init-private"> 
     678        <property file="nbproject/private/config.properties"/> 
     679        <property file="nbproject/private/configs/${config}.properties"/> 
     680        <property file="nbproject/private/private.properties"/> 
     681    </target> 
     682    <target depends="-pre-init,-init-private" name="-init-user"> 
     683        <property file="${user.properties.file}"/> 
     684        <!-- The two properties below are usually overridden --> 
     685        <!-- by the active platform. Just a fallback. --> 
     686        <property name="default.javac.source" value="1.4"/> 
     687        <property name="default.javac.target" value="1.4"/> 
     688    </target> 
     689    <target depends="-pre-init,-init-private,-init-user" name="-init-project"> 
     690        <property file="nbproject/configs/${config}.properties"/> 
     691        <property file="nbproject/project.properties"/> 
     692    </target> 
     693    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init"> 
     694        <available file="${manifest.file}" property="manifest.available"/> 
     695        <condition property="manifest.available+main.class"> 
     696            <and> 
     697                <isset property="manifest.available"/> 
     698                <isset property="main.class"/> 
     699                <not> 
     700                    <equals arg1="${main.class}" arg2="" trim="true"/> 
     701                </not> 
     702            </and> 
     703        </condition> 
     704        <condition property="manifest.available+main.class+mkdist.available"> 
     705            <and> 
     706                <istrue value="${manifest.available+main.class}"/> 
     707                <isset property="libs.CopyLibs.classpath"/> 
     708            </and> 
     709        </condition> 
     710        <condition property="have.tests"> 
     711            <or> 
     712                <available file="${test.src.dir}"/> 
     713            </or> 
     714        </condition> 
     715        <condition property="have.sources"> 
     716            <or> 
     717                <available file="${src.dir}"/> 
     718            </or> 
     719        </condition> 
     720        <condition property="netbeans.home+have.tests"> 
     721            <and> 
     722                <isset property="netbeans.home"/> 
     723                <isset property="have.tests"/> 
     724            </and> 
     725        </condition> 
     726        <condition property="no.javadoc.preview"> 
     727            <and> 
     728                <isset property="javadoc.preview"/> 
     729                <isfalse value="${javadoc.preview}"/> 
     730            </and> 
     731        </condition> 
     732        <property name="run.jvmargs" value=""/> 
     733        <property name="javac.compilerargs" value=""/> 
     734        <property name="work.dir" value="${basedir}"/> 
     735        <condition property="no.deps"> 
     736            <and> 
     737                <istrue value="${no.dependencies}"/> 
     738            </and> 
     739        </condition> 
     740        <property name="javac.debug" value="true"/> 
     741        <property name="javadoc.preview" value="true"/> 
     742        <property name="application.args" value=""/> 
     743        <property name="source.encoding" value="${file.encoding}"/> 
     744        <condition property="javadoc.encoding.used" value="${javadoc.encoding}"> 
     745            <and> 
     746                <isset property="javadoc.encoding"/> 
     747                <not> 
     748                    <equals arg1="${javadoc.encoding}" arg2=""/> 
     749                </not> 
     750            </and> 
     751        </condition> 
     752        <property name="javadoc.encoding.used" value="${source.encoding}"/> 
     753        <property name="includes" value="**"/> 
     754        <property name="excludes" value=""/> 
     755        <property name="do.depend" value="false"/> 
     756        <condition property="do.depend.true"> 
     757            <istrue value="${do.depend}"/> 
     758        </condition> 
     759        <condition else="" property="javac.compilerargs.jaxws" value="-Djava.endorsed.dirs='${jaxws.endorsed.dir}'"> 
     760            <and> 
     761                <isset property="jaxws.endorsed.dir"/> 
     762                <available file="nbproject/jaxws-build.xml"/> 
     763            </and> 
     764        </condition> 
     765    </target> 
     766    <target name="-post-init"> 
     767        <!-- Empty placeholder for easier customization. --> 
     768        <!-- You can override this target in the ../build.xml file. --> 
     769    </target> 
     770    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check"> 
     771        <fail unless="src.dir">Must set src.dir</fail> 
     772        <fail unless="test.src.dir">Must set test.src.dir</fail> 
     773        <fail unless="build.dir">Must set build.dir</fail> 
     774        <fail unless="dist.dir">Must set dist.dir</fail> 
     775        <fail unless="build.classes.dir">Must set build.classes.dir</fail> 
     776        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail> 
     777        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail> 
     778        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail> 
     779        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail> 
     780        <fail unless="dist.jar">Must set dist.jar</fail> 
     781    </target> 
     782    <target name="-init-macrodef-property"> 
     783        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1"> 
     784            <attribute name="name"/> 
     785            <attribute name="value"/> 
     786            <sequential> 
     787                <property name="@{name}" value="${@{value}}"/> 
     788            </sequential> 
     789        </macrodef> 
     790    </target> 
     791    <target name="-init-macrodef-javac"> 
     792        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3"> 
     793            <attribute default="${src.dir}" name="srcdir"/> 
     794            <attribute default="${build.classes.dir}" name="destdir"/> 
     795            <attribute default="${javac.classpath}" name="classpath"/> 
     796            <attribute default="${includes}" name="includes"/> 
     797            <attribute default="${excludes}" name="excludes"/> 
     798            <attribute default="${javac.debug}" name="debug"/> 
     799            <attribute default="" name="sourcepath"/> 
     800            <element name="customize" optional="true"/> 
     801            <sequential> 
     802                <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}"> 
     803                    <classpath> 
     804                        <path path="@{classpath}"/> 
     805                    </classpath> 
     806                    <compilerarg line="${javac.compilerargs} ${javac.compilerargs.jaxws}"/> 
     807                    <customize/> 
     808                </javac> 
     809            </sequential> 
     810        </macrodef> 
     811        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3"> 
     812            <attribute default="${src.dir}" name="srcdir"/> 
     813            <attribute default="${build.classes.dir}" name="destdir"/> 
     814            <attribute default="${javac.classpath}" name="classpath"/> 
     815            <sequential> 
     816                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}"> 
     817                    <classpath> 
     818                        <path path="@{classpath}"/> 
     819                    </classpath> 
     820                </depend> 
     821            </sequential> 
     822        </macrodef> 
     823        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3"> 
     824            <attribute default="${build.classes.dir}" name="destdir"/> 
     825            <sequential> 
     826                <fail unless="javac.includes">Must set javac.includes</fail> 
     827                <pathconvert pathsep="," property="javac.includes.binary"> 
     828                    <path> 
     829                        <filelist dir="@{destdir}" files="${javac.includes}"/> 
     830                    </path> 
     831                    <globmapper from="*.java" to="*.class"/> 
     832                </pathconvert> 
     833                <delete> 
     834                    <files includes="${javac.includes.binary}"/> 
     835                </delete> 
     836            </sequential> 
     837        </macrodef> 
     838    </target> 
     839    <target name="-init-macrodef-junit"> 
     840        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3"> 
     841            <attribute default="${includes}" name="includes"/> 
     842            <attribute default="${excludes}" name="excludes"/> 
     843            <attribute default="**" name="testincludes"/> 
     844            <sequential> 
     845                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true"> 
     846                    <batchtest todir="${build.test.results.dir}"> 
     847                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}"> 
     848                            <filename name="@{testincludes}"/> 
     849                        </fileset> 
     850                    </batchtest> 
     851                    <classpath> 
     852                        <path path="${run.test.classpath}"/> 
     853                    </classpath> 
     854                    <syspropertyset> 
     855                        <propertyref prefix="test-sys-prop."/> 
     856                        <mapper from="test-sys-prop.*" to="*" type="glob"/> 
     857                    </syspropertyset> 
     858                    <formatter type="brief" usefile="false"/> 
     859                    <formatter type="xml"/> 
     860                    <jvmarg line="${run.jvmargs}"/> 
     861                </junit> 
     862            </sequential> 
     863        </macrodef> 
     864    </target> 
     865    <target depends="-init-debug-args" name="-init-macrodef-nbjpda"> 
     866        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1"> 
     867            <attribute default="${main.class}" name="name"/> 
     868            <attribute default="${debug.classpath}" name="classpath"/> 
     869            <attribute default="" name="stopclassname"/> 
     870            <sequential> 
     871                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}"> 
     872                    <classpath> 
     873                        <path path="@{classpath}"/> 
     874                    </classpath> 
     875                </nbjpdastart> 
     876            </sequential> 
     877        </macrodef> 
     878        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1"> 
     879            <attribute default="${build.classes.dir}" name="dir"/> 
     880            <sequential> 
     881                <nbjpdareload> 
     882                    <fileset dir="@{dir}" includes="${fix.classes}"> 
     883                        <include name="${fix.includes}*.class"/> 
     884                    </fileset> 
     885                </nbjpdareload> 
     886            </sequential> 
     887        </macrodef> 
     888    </target> 
     889    <target name="-init-debug-args"> 
     890        <property name="version-output" value="java version &quot;${ant.java.version}"/> 
     891        <condition property="have-jdk-older-than-1.4"> 
     892            <or> 
     893                <contains string="${version-output}" substring="java version &quot;1.0"/> 
     894                <contains string="${version-output}" substring="java version &quot;1.1"/> 
     895                <contains string="${version-output}" substring="java version &quot;1.2"/> 
     896                <contains string="${version-output}" substring="java version &quot;1.3"/> 
     897            </or> 
     898        </condition> 
     899        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none"> 
     900            <istrue value="${have-jdk-older-than-1.4}"/> 
     901        </condition> 
     902        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem"> 
     903            <os family="windows"/> 
     904        </condition> 
     905        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}"> 
     906            <isset property="debug.transport"/> 
     907        </condition> 
     908    </target> 
     909    <target depends="-init-debug-args" name="-init-macrodef-debug"> 
     910        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3"> 
     911            <attribute default="${main.class}" name="classname"/> 
     912            <attribute default="${debug.classpath}" name="classpath"/> 
     913            <element name="customize" optional="true"/> 
     914            <sequential> 
     915                <java classname="@{classname}" dir="${work.dir}" fork="true"> 
     916                    <jvmarg line="${debug-args-line}"/> 
     917                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/> 
     918                    <jvmarg line="${run.jvmargs}"/> 
     919                    <classpath> 
     920                        <path path="@{classpath}"/> 
     921                    </classpath> 
     922                    <syspropertyset> 
     923                        <propertyref prefix="run-sys-prop."/> 
     924                        <mapper from="run-sys-prop.*" to="*" type="glob"/> 
     925                    </syspropertyset> 
     926                    <customize/> 
     927                </java> 
     928            </sequential> 
     929        </macrodef> 
     930    </target> 
     931    <target name="-init-macrodef-java"> 
     932        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1"> 
     933            <attribute default="${main.class}" name="classname"/> 
     934            <element name="customize" optional="true"/> 
     935            <sequential> 
     936                <java classname="@{classname}" dir="${work.dir}" fork="true"> 
     937                    <jvmarg line="${run.jvmargs}"/> 
     938                    <classpath> 
     939                        <path path="${run.classpath}"/> 
     940                    </classpath> 
     941                    <syspropertyset> 
     942                        <propertyref prefix="run-sys-prop."/> 
     943                        <mapper from="run-sys-prop.*" to="*" type="glob"/> 
     944                    </syspropertyset> 
     945                    <customize/> 
     946                </java> 
     947            </sequential> 
     948        </macrodef> 
     949    </target> 
     950    <target name="-init-presetdef-jar"> 
     951        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1"> 
     952            <jar compress="${jar.compress}" jarfile="${dist.jar}"> 
     953                <j2seproject1:fileset dir="${build.classes.dir}"/> 
     954            </jar> 
     955        </presetdef> 
     956    </target> 
     957    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar" name="init"/> 
     958    <!-- 
     959                =================== 
     960                COMPILATION SECTION 
     961                =================== 
     962            --> 
     963    <target depends="init" name="deps-jar" unless="no.deps"/> 
     964    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/> 
     965    <target depends="init" name="-check-automatic-build"> 
     966        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/> 
     967    </target> 
     968    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build"> 
     969        <antcall target="clean"/> 
     970    </target> 
     971    <target depends="init,deps-jar" name="-pre-pre-compile"> 
     972        <mkdir dir="${build.classes.dir}"/> 
     973    </target> 
     974    <target name="-pre-compile"> 
     975        <!-- Empty placeholder for easier customization. --> 
     976        <!-- You can override this target in the ../build.xml file. --> 
     977    </target> 
     978    <target if="do.depend.true" name="-compile-depend"> 
     979        <j2seproject3:depend/> 
     980    </target> 
     981    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-compile-depend" if="have.sources" name="-do-compile"> 
     982        <j2seproject3:javac/> 
     983        <copy todir="${build.classes.dir}"> 
     984            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> 
     985        </copy> 
     986    </target> 
     987    <target name="-post-compile"> 
     988        <!-- Empty placeholder for easier customization. --> 
     989        <!-- You can override this target in the ../build.xml file. --> 
     990    </target> 
     991    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/> 
     992    <target name="-pre-compile-single"> 
     993        <!-- Empty placeholder for easier customization. --> 
     994        <!-- You can override this target in the ../build.xml file. --> 
     995    </target> 
     996    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single"> 
     997        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> 
     998        <j2seproject3:force-recompile/> 
     999        <j2seproject3:javac excludes="" includes="${javac.includes}" sourcepath="${src.dir}"/> 
     1000    </target> 
     1001    <target name="-post-compile-single"> 
     1002        <!-- Empty placeholder for easier customization. --> 
     1003        <!-- You can override this target in the ../build.xml file. --> 
     1004    </target> 
     1005    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/> 
     1006    <!-- 
     1007                ==================== 
     1008                JAR BUILDING SECTION 
     1009                ==================== 
     1010            --> 
     1011    <target depends="init" name="-pre-pre-jar"> 
     1012        <dirname file="${dist.jar}" property="dist.jar.dir"/> 
     1013        <mkdir dir="${dist.jar.dir}"/> 
     1014    </target> 
     1015    <target name="-pre-jar"> 
     1016        <!-- Empty placeholder for easier customization. --> 
     1017        <!-- You can override this target in the ../build.xml file. --> 
     1018    </target> 
     1019    <target depends="init,compile,-pre-pre-jar,-pre-jar" name="-do-jar-without-manifest" unless="manifest.available"> 
     1020        <j2seproject1:jar/> 
     1021    </target> 
     1022    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class"> 
     1023        <j2seproject1:jar manifest="${manifest.file}"/> 
     1024    </target> 
     1025    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available"> 
     1026        <j2seproject1:jar manifest="${manifest.file}"> 
     1027            <j2seproject1:manifest> 
     1028                <j2seproject1:attribute name="Main-Class" value="${main.class}"/> 
     1029            </j2seproject1:manifest> 
     1030        </j2seproject1:jar> 
     1031        <echo>To run this application from the command line without Ant, try:</echo> 
     1032        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/> 
     1033        <property location="${dist.jar}" name="dist.jar.resolved"/> 
     1034        <pathconvert property="run.classpath.with.dist.jar"> 
     1035            <path path="${run.classpath}"/> 
     1036            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/> 
     1037        </pathconvert> 
     1038        <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo> 
     1039    </target> 
     1040    <target depends="init,compile,-pre-pre-jar,-pre-jar" if="manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries"> 
     1041        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/> 
     1042        <pathconvert property="run.classpath.without.build.classes.dir"> 
     1043            <path path="${run.classpath}"/> 
     1044            <map from="${build.classes.dir.resolved}" to=""/> 
     1045        </pathconvert> 
     1046        <pathconvert pathsep=" " property="jar.classpath"> 
     1047            <path path="${run.classpath.without.build.classes.dir}"/> 
     1048            <chainedmapper> 
     1049                <flattenmapper/> 
     1050                <globmapper from="*" to="lib/*"/> 
     1051            </chainedmapper> 
     1052        </pathconvert> 
     1053        <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/> 
     1054        <copylibs compress="${jar.compress}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}"> 
     1055            <fileset dir="${build.classes.dir}"/> 
     1056            <manifest> 
     1057                <attribute name="Main-Class" value="${main.class}"/> 
     1058                <attribute name="Class-Path" value="${jar.classpath}"/> 
     1059            </manifest> 
     1060        </copylibs> 
     1061        <echo>To run this application from the command line without Ant, try:</echo> 
     1062        <property location="${dist.jar}" name="dist.jar.resolved"/> 
     1063        <echo>java -jar "${dist.jar.resolved}"</echo> 
     1064    </target> 
     1065    <target name="-post-jar"> 
     1066        <!-- Empty placeholder for easier customization. --> 
     1067        <!-- You can override this target in the ../build.xml file. --> 
     1068    </target> 
     1069    <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/> 
     1070    <!-- 
     1071                ================= 
     1072                EXECUTION SECTION 
     1073                ================= 
     1074            --> 
     1075    <target depends="init,compile" description="Run a main class." name="run"> 
     1076        <j2seproject1:java> 
     1077            <customize> 
     1078                <arg line="${application.args}"/> 
     1079            </customize> 
     1080        </j2seproject1:java> 
     1081    </target> 
     1082    <target name="-do-not-recompile"> 
     1083        <property name="javac.includes.binary" value=""/> 
     1084    </target> 
     1085    <target depends="init,-do-not-recompile,compile-single" name="run-single"> 
     1086        <fail unless="run.class">Must select one file in the IDE or set run.class</fail> 
     1087        <j2seproject1:java classname="${run.class}"/> 
     1088    </target> 
     1089    <!-- 
     1090                ================= 
     1091                DEBUGGING SECTION 
     1092                ================= 
     1093            --> 
     1094    <target depends="init" if="netbeans.home" name="-debug-start-debugger"> 
     1095        <j2seproject1:nbjpdastart name="${debug.class}"/> 
     1096    </target> 
     1097    <target depends="init,compile" name="-debug-start-debuggee"> 
     1098        <j2seproject3:debug> 
     1099            <customize> 
     1100                <arg line="${application.args}"/> 
     1101            </customize> 
     1102        </j2seproject3:debug> 
     1103    </target> 
     1104    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/> 
     1105    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto"> 
     1106        <j2seproject1:nbjpdastart stopclassname="${main.class}"/> 
     1107    </target> 
     1108    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/> 
     1109    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single"> 
     1110        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> 
     1111        <j2seproject3:debug classname="${debug.class}"/> 
     1112    </target> 
     1113    <target depends="init,-do-not-recompile,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/> 
     1114    <target depends="init" name="-pre-debug-fix"> 
     1115        <fail unless="fix.includes">Must set fix.includes</fail> 
     1116        <property name="javac.includes" value="${fix.includes}.java"/> 
     1117    </target> 
     1118    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix"> 
     1119        <j2seproject1:nbjpdareload/> 
     1120    </target> 
     1121    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/> 
     1122    <!-- 
     1123                =============== 
     1124                JAVADOC SECTION 
     1125                =============== 
     1126            --> 
     1127    <target depends="init" name="-javadoc-build"> 
     1128        <mkdir dir="${dist.javadoc.dir}"/> 
     1129        <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}"> 
     1130            <classpath> 
     1131                <path path="${javac.classpath}"/> 
     1132            </classpath> 
     1133            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}"> 
     1134                <filename name="**/*.java"/> 
     1135            </fileset> 
     1136        </javadoc> 
     1137    </target> 
     1138    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview"> 
     1139        <nbbrowse file="${dist.javadoc.dir}/index.html"/> 
     1140    </target> 
     1141    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/> 
     1142    <!-- 
     1143                ========================= 
     1144                JUNIT COMPILATION SECTION 
     1145                ========================= 
     1146            --> 
     1147    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test"> 
     1148        <mkdir dir="${build.test.classes.dir}"/> 
     1149    </target> 
     1150    <target name="-pre-compile-test"> 
     1151        <!-- Empty placeholder for easier customization. --> 
     1152        <!-- You can override this target in the ../build.xml file. --> 
     1153    </target> 
     1154    <target if="do.depend.true" name="-compile-test-depend"> 
     1155        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/> 
     1156    </target> 
     1157    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test"> 
     1158        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/> 
     1159        <copy todir="${build.test.classes.dir}"> 
     1160            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> 
     1161        </copy> 
     1162    </target> 
     1163    <target name="-post-compile-test"> 
     1164        <!-- Empty placeholder for easier customization. --> 
     1165        <!-- You can override this target in the ../build.xml file. --> 
     1166    </target> 
     1167    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/> 
     1168    <target name="-pre-compile-test-single"> 
     1169        <!-- Empty placeholder for easier customization. --> 
     1170        <!-- You can override this target in the ../build.xml file. --> 
     1171    </target> 
     1172    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single"> 
     1173        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> 
     1174        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/> 
     1175        <j2seproject3:javac classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/> 
     1176        <copy todir="${build.test.classes.dir}"> 
     1177            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> 
     1178        </copy> 
     1179    </target> 
     1180    <target name="-post-compile-test-single"> 
     1181        <!-- Empty placeholder for easier customization. --> 
     1182        <!-- You can override this target in the ../build.xml file. --> 
     1183    </target> 
     1184    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/> 
     1185    <!-- 
     1186                ======================= 
     1187                JUNIT EXECUTION SECTION 
     1188                ======================= 
     1189            --> 
     1190    <target depends="init" if="have.tests" name="-pre-test-run"> 
     1191        <mkdir dir="${build.test.results.dir}"/> 
     1192    </target> 
     1193    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run"> 
     1194        <j2seproject3:junit testincludes="**/*Test.java"/> 
     1195    </target> 
     1196    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run"> 
     1197        <fail if="tests.failed">Some tests failed; see details above.</fail> 
     1198    </target> 
     1199    <target depends="init" if="have.tests" name="test-report"/> 
     1200    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/> 
     1201    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/> 
     1202    <target depends="init" if="have.tests" name="-pre-test-run-single"> 
     1203        <mkdir dir="${build.test.results.dir}"/> 
     1204    </target> 
     1205    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single"> 
     1206        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail> 
     1207        <j2seproject3:junit excludes="" includes="${test.includes}"/> 
     1208    </target> 
     1209    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single"> 
     1210        <fail if="tests.failed">Some tests failed; see details above.</fail> 
     1211    </target> 
     1212    <target depends="init,-do-not-recompile,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/> 
     1213    <!-- 
     1214                ======================= 
     1215                JUNIT DEBUGGING SECTION 
     1216                ======================= 
     1217            --> 
     1218    <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test"> 
     1219        <fail unless="test.class">Must select one file in the IDE or set test.class</fail> 
     1220        <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/> 
     1221        <delete file="${test.report.file}"/> 
     1222        <mkdir dir="${build.test.results.dir}"/> 
     1223        <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}"> 
     1224            <customize> 
     1225                <syspropertyset> 
     1226                    <propertyref prefix="test-sys-prop."/> 
     1227                    <mapper from="test-sys-prop.*" to="*" type="glob"/> 
     1228                </syspropertyset> 
     1229                <arg value="${test.class}"/> 
     1230                <arg value="showoutput=true"/> 
     1231                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/> 
     1232                <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/> 
     1233            </customize> 
     1234        </j2seproject3:debug> 
     1235    </target> 
     1236    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test"> 
     1237        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/> 
     1238    </target> 
     1239    <target depends="init,-do-not-recompile,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/> 
     1240    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test"> 
     1241        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/> 
     1242    </target> 
     1243    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/> 
     1244    <!-- 
     1245                ========================= 
     1246                APPLET EXECUTION SECTION 
     1247                ========================= 
     1248            --> 
     1249    <target depends="init,compile-single" name="run-applet"> 
     1250        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> 
     1251        <j2seproject1:java classname="sun.applet.AppletViewer"> 
     1252            <customize> 
     1253                <arg value="${applet.url}"/> 
     1254            </customize> 
     1255        </j2seproject1:java> 
     1256    </target> 
     1257    <!-- 
     1258                ========================= 
     1259                APPLET DEBUGGING  SECTION 
     1260                ========================= 
     1261            --> 
     1262    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet"> 
     1263        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail> 
     1264        <j2seproject3:debug classname="sun.applet.AppletViewer"> 
     1265            <customize> 
     1266                <arg value="${applet.url}"/> 
     1267            </customize> 
     1268        </j2seproject3:debug> 
     1269    </target> 
     1270    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/> 
     1271    <!-- 
     1272                =============== 
     1273                CLEANUP SECTION 
     1274                =============== 
     1275            --> 
     1276    <target depends="init" name="deps-clean" unless="no.deps"/> 
     1277    <target depends="init" name="-do-clean"> 
     1278        <delete dir="${build.dir}"/> 
     1279        <delete dir="${dist.dir}"/> 
     1280    </target> 
     1281    <target name="-post-clean"> 
     1282        <!-- Empty placeholder for easier customization. --> 
     1283        <!-- You can override this target in the ../build.xml file. --> 
     1284    </target> 
     1285    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/> 
     1286</project> 
     1287>>>>>>> .r57 
  • trunk/Swing/SwingStepDemo/nbproject/genfiles.properties

    r55 r63  
     1<<<<<<< .mine 
    12build.xml.data.CRC32=290a2ef8 
    23build.xml.script.CRC32=93a3b358 
     
    78nbproject/build-impl.xml.script.CRC32=4c8a5713 
    89nbproject/build-impl.xml.stylesheet.CRC32=61b4e419 
     10======= 
     11build.xml.data.CRC32=290a2ef8 
     12build.xml.script.CRC32=93a3b358 
     13build.xml.stylesheet.CRC32=be360661 
     14# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 
     15# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
     16nbproject/build-impl.xml.data.CRC32=290a2ef8 
     17nbproject/build-impl.xml.script.CRC32=4c8a5713 
     18nbproject/build-impl.xml.stylesheet.CRC32=61b4e419 
     19>>>>>>> .r57 
  • trunk/Swing/SwingStepDemo/nbproject/private/private.properties

    r55 r63  
    1 jaxws.endorsed.dir=C:\\Program Files\\NetBeans 6.5 Beta\\java2\\modules\\ext\\jaxws21\\api 
    2 user.properties.file=C:\\Documents and Settings\\Administrator\\.netbeans\\6.5beta\\build.properties 
     1<<<<<<< .mine 
     2user.properties.file=/Users/chaoyi/.netbeans/6.5beta/build.properties 
     3======= 
     4user.properties.file=/Users/chaoyi/.netbeans/6.5beta/build.properties 
     5>>>>>>> .r57 
Note: See TracChangeset for help on using the changeset viewer.