將一個簡單的類(Sample)進行編譯
package powerwind;
import javax
public class Sample {
public static void main(String[] args) throws Exception {
if (args
JOptionPane
else
JOptionPane
}
}
ant文件
注意
<?xml version=
<!
<!
<!
<project name=
<description>用於學習的簡單ant工程文件</description>
<!
<property environment=
<property file=
<property name=
<property name=
<property name=
<property name=
<property name=
<!
<path id=
<fileset dir=
<include name=
</fileset>
</path>
[
From:http://tw.wingwit.com/Article/program/Java/ky/201311/29161.html