📄 build.xml
字号:
<project name="xml.dom" default="all" basedir=".">
<property environment="env"/>
<property file="../../../examples.properties"/>
<property name="build.compiler" value="${compiler}"/>
<!-- set global properties for this build -->
<property name="source" value="."/>
<target name="all" depends="compile.client, copy"/>
<!-- Compile Client class into the clientclasses directory -->
<target name="compile.client">
<javac srcdir=".."
destdir="${client.classes.dir}"
includes="Client.java"
/>
</target>
<!-- Copy the .jsp files into Examples Web App -->
<target name="copy">
<copy todir="${ex.webapp.dir}">
<fileset dir="${source}">
<include name="Dom.jsp"/>
</fileset>
</copy>
</target>
<!-- Run the example -->
<target name="run">
<java classname="examples.xml.Client" fork="yes" failonerror="true">
<arg line="http://localhost:${port}/examplesWebApp/Dom.jsp stock_quote.xml"/>
<classpath>
<pathelement path="${ex.classpath}"/>
</classpath>
</java>
</target>
</project>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -