📄 build.xml.svn-base
字号:
<?xml version="1.0"?><!-- $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="Sample TestSuite" default="dist" basedir=".."> <property file="build/local.properties"/> <property file="build/build.properties"/> <property name="dist" location="${basedir}-build"/> <property name="build" location="${dist}/build"/> <property name="buildfiles" location="${basedir}/build"/> <property name="testsuite.dir" location="${dist}/SampleTestSuite"/> <property name="testsuite.lib.dir" location="${testsuite.dir}/lib"/> <property name="testsuite.tests.dir" location="${testsuite.dir}/tests"/> <property name="nonpreverified.classes.dir" location="${build}/tests-nonpreverified"/> <property name="preverified.classes.dir" location="${testsuite.dir}/classes/preverified"/> <property name="shared.resources.dir" location="${testsuite.dir}/classes/shared"/> <property name="testclasses.lst" location="${shared.resources.dir}/testclasses.lst"/> <property name="javatest.jar" location="${basedir}/lib/javatest.jar"/> <property name="mefw.jar" location="${basedir}/lib/j2mefw_jt.jar"/> <property name="interviewlib.jar" location="${basedir}/lib/interviewlib.jar"/> <property name="jh.jar" location="${basedir}/lib/jh.jar"/> <property name="midp.agent.jar" location="${basedir}/lib/midp_agent.jar"/> <property name="preverifier" location="${MIDP_HOME}/bin/preverify"/> <target name="init"> <mkdir dir="${dist}"/> <mkdir dir="${build}"/> <mkdir dir="${testsuite.dir}"/> <mkdir dir="${testsuite.lib.dir}"/> <copy todir="${testsuite.lib.dir}"> <fileset dir="${basedir}/lib"/> </copy> <copy file="${buildfiles}/testsuite.jtt" todir="${testsuite.dir}"/> <copy todir="${testsuite.tests.dir}"> <fileset dir="${basedir}/tests"/> </copy> <mkdir dir="${build}/sample_jt"/> <javac srcdir="${basedir}/src" destdir="${build}/sample_jt" classpath="${javatest.jar}:${mefw.jar}:${interviewlib.jar}:${jh.jar}" includeJavaRuntime="no" includeAntRuntime="no" debug="yes" /> <!-- copy resources --> <copy todir="${build}/sample_jt"> <fileset dir="${basedir}/src" includes="**/*.properties **/*.jhm **/*.hs **/*.css **/*.html"/> </copy> <jar destfile="${testsuite.lib.dir}/sample_jt.jar" basedir="${build}/sample_jt"/> <mkdir dir="${nonpreverified.classes.dir}"/> <javac srcdir="${basedir}/tests" destdir="${nonpreverified.classes.dir}" bootclasspath="${midp.agent.jar}:${CLDC_CLASSES}:${MIDP_SPEC_CLASSES}" includeJavaRuntime="no" includeAntRuntime="no" debug="yes" target="1.1" source="1.2" /> <mkdir dir="${preverified.classes.dir}"/> <mkdir dir="${shared.resources.dir}"/> <copy file="build/testclasses.lst" tofile="${testclasses.lst}"/> <exec executable="${preverifier}" dir="${build}/tests-nonpreverified" failonerror="yes"> <env key="LANG" value="C"/> <arg line="-classpath"/> <arg path="${midp.agent.jar}:${CLDC_CLASSES}:${MIDP_SPEC_CLASSES}:${PREVERIFIER_EXTRA_PATH}"/> <arg line="-d ${preverified.classes.dir}"/> <arg line="${nonpreverified.classes.dir}"/> </exec> </target> <target name="clean" description="Full cleanup."> <delete dir="${build}"/> <delete dir="${dist}"/> </target> <target name="dist" depends="init"> </target></project>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -