build.xml

来自「This crimson.jar for java,is s used for 」· XML 代码 · 共 55 行

XML
55
字号
<?xml version="1.0"?> <!-- ===================================================================		    Ant build file for example programThis is a build file for use with the Ant build tool.  Seehttp://jakarta.apache.org/ant/index.html for more info.  This build.xmlfile has been tested with ant version 1.2.     =================================================================== --><project name="SAXTagCount" default="main" basedir=".">  <!-- The distribution top directory -->  <property name="top" value="../.." />  <!-- Common classpath -->  <path id="project-classpath">    <pathelement location="." />    <pathelement location="${top}/jaxp.jar" />    <pathelement location="${top}/crimson.jar" />    <pathelement location="${top}/xalan.jar" />  </path>  <!-- Compile the example program -->  <target name="compile">    <javac srcdir=".">      <classpath refid="project-classpath" />      <exclude name="**/,**" />      <exclude name="**/SCCS/**" />    </javac>  </target>    <!-- Run the example program with a sample input file.  Note, when this       target is executed, ant may prefix the output with "[java]".  Run       the program with "java" directly to avoid this. -->  <target name="run">    <java classname="SAXTagCount" fork="yes">      <arg value="-v" />      <arg value="../samples/book-order.xml" />      <classpath refid="project-classpath" />    </java>  </target>  <target name="clean">    <delete>      <fileset dir="." includes="*.class" />    </delete>  </target>  <target name="main" depends="compile,run" /></project>

⌨️ 快捷键说明

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