java编译 ant

阅读更多
Tutorial: Hello World with Ant
http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html

javac - Java programming language compiler
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html

jar-The Java Archive Tool
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/jar.html


java编译 ant_第1张图片



java编译 ant_第2张图片


如果照做的话jar不能运行程序~~~

--------------------------------------------------------

用ant的

java编译 ant_第3张图片

build.xml文件:



    
	
         
    

    
        
        
    

    
        
        
            
                
            
        
    

    
        
    




  • java编译 ant_第4张图片
  • 大小: 32.1 KB
  • java编译 ant_第5张图片
  • 大小: 27.8 KB
  • java编译 ant_第6张图片
  • 大小: 28.1 KB
  • 查看图片附件

你可能感兴趣的:(Java,Ant,J2SE,Windows,SUN)