建立工程資源文件
文件內容是下面一行內容
classpath=build\\classes
package hello
public class HelloAnt {
public static void main(String[] args) {
System
}
}
C:\workspace\ant
Buildfile: build
[echo] pulling in property files
init:
[echo] init
[delete] Deleting directory C:\workspace\ant
[mkdir] Created dir: C:\workspace\ant
compile:
[echo] compile the java source files
[javac] Compiling
main:
[echo] calling java to run this java project
[java] hello ant
BUILD SUCCESSFUL
Total time:
C:\workspace\ant
[
From:http://tw.wingwit.com/Article/program/Java/ky/201311/29295.html