首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > IT 认证 > 其它认证 > ant build.xml ha ha ha
【标  题】:ant build.xml ha ha ha
【关键字】:ant,build.xml,ha,ha
【来  源】:http://blog.chinaunix.net/article.php?articleId=44801&blogId=3534

ant build.xml ha ha ha

<?xml version="1.0" ?>
<project name="secondbuild" default="execute" >
 <description>Compiles and runs a simple program</description>
 <target name="init">
  <mkdir dir="build/classes" />
  <mkdir dir="dist" />
 </target>
 <target name="compile" depends="init"
  description="Compiles the source code">
  <javac srcdir="src"
   destdir="build/classes"
  />
 </target>
 <target name="archive" depends="compile"
  description="Creates the JAR file">
  <jar destfile="dist/project.jar"
   basedir="build/classes"
  />
 </target>
 <target name="clean" depends="init"
  description="Removes the temporary directories used">
  <delete dir="build" />
  <delete dir="dist" />
 </target>
 <target name="execute" depends="compile"
  description="Runs the program">
  <echo level="warning" message="running" />
  <java
   classname="Main"
   classpath="build/classes">
  </java>
 </target>
</project>

jaxp 解析 xml:【上一篇】
My sumarization after passing the exam of 310-015:【下一篇】
【相关文章】
  • Socks Chains in Windows
  • RealPlayer "SMIL" File Handling Remote Buffer Over
  • Mac OSX[CF_CHARSET_PATH]: local root exploit.
  • Hacked! Your Company...
  • Hispread P2P Backup and Sharing System
  • 什么是HASH函数,信息摘要(Message Digest)和MD2,MD4,MD5?
  • What is PeerCast?
  • Who/What is Oddsock.org
  • DoS攻击工具原理分析[新型网络DoS(拒绝服务)攻击漏洞 - "Naptha"]
  • Google hack第二版下载
  • 【随机文章】
  • 数字证书的基础知识
  • 构建新型宽带接入网
  • c语言难点(我转的)
  • AM用按钮来控制动画的播放与停止我可以理解
  • uml 物理视图
  • 项目实践之路(2)
  • 教你十种提高Linux系统安全性的招数(1)
  • 数据库中主键的选择和使用
  • tree(3)
  • WebSphere快速入门(12)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.