nb-build-impl.xml.svn-base

来自「cqME :java framework for TCK test.」· SVN-BASE 代码 · 共 345 行 · 第 1/2 页

SVN-BASE
345
字号
<!-- $Id$  Copyright 1996-2007 Sun Microsystems, Inc. All Rights Reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details (a copy is included at /legal/license.txt).  You should have received a copy of the GNU General Public License version 2 along with this work; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 or visit www.sun.com if you need additional information or have any questions.--><project name="impl" default="jar" basedir=".."         xmlns:projdeps2="http://www.netbeans.org/ns/ant-project-references/2">        <target name="run-test"            description="Starts the test in NetBeans IDE.">        <!--            Starts the test in NetBeans IDE using the Java ME platform specified            in the projects' properies.        -->        <nb-run jadfile="${dist.dir}/${dist.jad}"                 jarfile="${dist.dir}/${dist.jar}"                 jadurl="${dist.jad.url}"                 device="${platform.device}"                 platformhome="${platform.home}"                 platformtype="${platform.type}"                 execmethod="${run.method}"                 securitydomain="${evaluated.run.security.domain}"                 commandline="${platform.runcommandline}"                 classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}"                 cmdoptions="${run.cmd.options}"/>    </target>        <target name="debug"            depends="init, dist, wait-for-remote-startup"            if="netbeans.home"            description="Starts debugging test in NetBeans IDE.">        <!--            Starts debugging the test in NetBeans IDE using the Java ME platform            specified in the projects' properies. If needed, starts the remote            component of the test.        -->        <parallel>            <antcall target="run-remote"/>            <sequential>                <antcall target="wait-for-remote-startup"/>                <nb-run jadfile="${dist.dir}/${dist.jad}"                         jarfile="${dist.dir}/${dist.jar}"                         device="${platform.device}"                         platformhome="${platform.home}"                         platformtype="${platform.type}"                         execmethod="${run.method}"                         securitydomain="${evaluated.run.security.domain}"                         commandline="${platform.debugcommandline}"                         classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}"                         cmdoptions="${run.cmd.options}"                        debug="true"                        debugsuspend="true"                        debugserver="true"                        debuggeraddressproperty="jpda.port"/>            </sequential>            <sequential>                <sleep seconds="5"/>                <antcall target="nb-me-debug"/>            </sequential>        </parallel>    </target>        <target name="nb-me-debug" if="netbeans.home">        <nb-kjava-debug address="${jpda.port}"                         name="${app.codename}"                        timeout="30000"                        period="2000">            <bootclasspath>                <path path="${platform.bootclasspath}"/>            </bootclasspath>            <classpath>                <path path="${dist.dir}/${dist.jar}"/>            </classpath>            <sourcepath>                <path path="${src.dir}"/>            </sourcepath>        </nb-kjava-debug>    </target>        <target name="preverify" depends="init, compile"            description="Starts the preverifier integrated in NetBeans IDE.">        <!--            Uses the NetBeans IDE integrated preverifier to preverify the test            classes. Which preverifier to use is defined by the Java ME platform            selected in the projects' properties.        -->        <nb-preverify                srcdir="${build.classes.dir}"                destdir="${build.preverified.dir}"                configuration="${platform.configuration}"                platformhome="${platform.home}"                platformtype="${platform.type}"                commandline="${platform.preverifycommandline}">            <classpath refid="preverify.classpath"/>        </nb-preverify>    </target>        <target name="init-impl"             depends="exists.platform.active,                     exists.platform.configuration,                     exists.platform.profile"            description="Defines NetBeans IDE specific properties.">        <fail unless="libs.j2me_ant_ext.classpath">                Classpath to J2ME Ant extension library                 (libs.j2me_ant_ext.classpath property) is not set. For example:                location of                 mobility/modules/org-netbeans-modules-kjava-antext.jar                 file in the IDE installation directory.</fail>        <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>        <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>        <fail unless="src.dir">Must set src.dir</fail>        <fail unless="build.dir">Must set build.dir</fail>        <fail unless="build.classes.dir">Must set build.classes.dir</fail>        <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>        <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>        <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>        <fail unless="dist.dir">Must set dist.dir</fail>        <fail unless="dist.jar">Must set dist.jar</fail>        <fail unless="dist.jad">Must set dist.jad</fail>        <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>        <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>        <property name="abilities" value=""/>        <property name="debug.level" value="debug"/>        <property name="obfuscator.classpath" value=""/>        <property name="kjava.configuration" value=""/>        <property name="platform.type" value="UEI-1.0"/>        <property name="platform.device" value=""/>        <property name="obfuscation.level" value="0"/>        <property name="sign.enabled" value="false"/>        <property name="dist.jad.url" value="file://"/>        <property name="javac.source" value="1.3"/>        <property name="javac.target" value="1.1"/>        <property name="javac.encoding" value="${file.encoding}"/>        <property name="run.cmd.options" value=""/>        <condition property="no.deps">            <istrue value="${no.dependencies}"/>        </condition>        <condition property="no.javadoc.preview">            <isfalse value="${javadoc.preview}"/>        </condition>        <condition property="filter.excludes.evaluated" value="${filter.excludes},**/*Test.java,**/test,**/test/**">            <istrue value="${filter.exclude.tests}"/>        </condition>        <property name="filter.excludes.evaluated" value="${filter.excludes}"/>        <condition property="evaluated.run.security.domain" value="">            <isfalse value="${run.use.security.domain}"/>        </condition>        <condition property="deployment.do.override.jarurl" value="">            <istrue value="${deployment.override.jarurl}"/>        </condition>        <property name="evaluated.run.security.domain" value="${run.security.domain}"/>        <condition property="config.active.name" value="DefaultConfiguration">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?