📄 build.xml
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -