<?xml version="1.0" encoding="UTF-8"?>
<project name="Packaging Generator for SFG" default="_packaging_generation_">
<path id="project.classpath">
<fileset dir="webapp/WEB-INF/lib" >
<include name="*.jar"/>
</fileset>
<fileset dir="setup/ide" >
<include name="*.jar"/>
</fileset>
</path>
<target name="_packaging_generation_" depends="clean,init,build,N65591,copy" />
<target name="build" depends="init">
<javac debug="on"
debuglevel="lines,vars,source"
source="1.5"
target="1.5"
destdir="webapp/WEB-INF/classes">
<src path="java/au/com" />
<src path="java/au/gov" />
<classpath refid="project.classpath" />
<compilerarg value="-Xlint:unchecked"/>
</javac>
</target>
<target name="N65591" description="SkillsForGrowth.war">
<mkdir dir="deploy" />
<jar destfile="deploy/SkillsForGrowth.war" manifest="webapp/META-INF/MANIFEST.MF">
<zipfileset dir="webapp"/>
<!--<zipfileset dir="lib" prefix="WEB-INF/lib"/>-->
<zipfileset dir="resources" prefix="WEB-INF/classes"/>
</jar>
</target>
<target name="init">
<mkdir dir="webapp/WEB-INF/classes"/>
</target>
<property name="tomcat.dir" value="D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps">
</property>
<target name="clean">
<delete dir="webapp/WEB-INF/classes"/>
<delete dir="deploy"/>
<delete dir="${tomcat.dir}\SkillsForGrowth"/>
</target>
<target name="copy">
<delete>
<fileset dir="${tomcat.dir}">
<include name="SkillsForGrowth.war" />
</fileset>
</delete>
<copy todir="${tomcat.dir}">
<fileset dir="deploy">
<include name="SkillsForGrowth.war" />
</fileset>
</copy>
</target>
</project>
分享到:
相关推荐
ANT文件详解 ant介绍 ANT 命令
NULL 博文链接:https://chenhailong.iteye.com/blog/1876732
这是一个ANT自编译的程序,可以在myeclipse下创建ant文件,根据代码配置,下载后直接可以用。
ant的配置文件ant的配置文件ant的配置文件ant的配置文件
Project元素是Ant文件的根元素,Ant构建文件中至少应该包含一个project元素,否则会发生错误。在每个project元素下面可以包含多个target元素。project的属性包括: name : 项目名称 default:当调用时没有指定...
NULL 博文链接:https://lgstarzkhl.iteye.com/blog/627619
Ant 配置文件详解 Ant 各种详细配置应有尽有!!!
ant 配置文件集合
这是一套蚂蚁设计(Antdesign)组件的sketch文档,可用于设计和产品原型
文件说明:ant文件中 key.store=加密文件 key.alias=alias名称 key.store.password=加密密码 key.alias.password=alias密码 umeng_channels=baidu,google,umeng //渠道包,用逗号分隔 output.apk.dir=F:\...
通过freemark模板制定模板文件,支持ant一键生成,内置详细的doc说明文档 内置完整的jar包。无需编译 一键生成。可结合自己的需求进行改动和调整。灵活、通用 可以完美的集成在各个项目中,下载记得好评。 有使用上...
jmeter+ant 持续集成build.xml文件,直接使用ant命令执行jmeter脚本文件,得到图形测试报告
主要介绍了Ant Design Pro 下实现文件下载的实现代码,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
ant的build配置文件;
ant的介绍pdf文件 ant的介绍pdf文件 ant的介绍pdf文件
ant环境配置,ant文件编写,ant使用技巧,ant开发实例
该程序为Ant的扩展任务,在拷贝文本格式的文件的同时替换文件中的Ant表达式,类似于 ${property.name},属性值来自于Ant脚本加载的属性文件,如果没有属性文件中没有定义相关属性,那么保留原来的表达式;...
maven下通用的ant配置文件,只要0积分。只需修改11行末尾的target/自己的工程名即可。
ant执行 target 前先判断文件是否存在,只有文件存在才执行。
ps抢红包神器