<!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
<project name="${project.name}" default="ssh" basedir=".">
<property file="build.properties" />
<echo message="${apppath}/${src}/${properties.name}" />
<loadproperties srcfile="${apppath}/${src}/${properties.name}" />
<path id="lib">
<fileset dir="${runtime.lib}">
<include name="*.jar" />
</fileset>
<fileset dir="${misc}/lib">
<include name="*.jar" />
</fileset>
</path>
<target name="packing" depends="javac">
<jar destfile="${runtime.lib}/vvgoo-${module.code}.jar" basedir="${classout}" includes="${jarinclude}" />
</target>
<!--
<target name="deletejar">
<delete file="${runtime.lib}/te-${module.code}.jar"/>
</target>
-->
<target name="copyrRleasefile">
<echo message="${releasedist}"></echo>
<echo message="${web}"></echo>
<copy todir="${releasedist}" preservelastmodified="true" overwrite="false">
<fileset dir="${web}" includes="${copyincludes}" excludes="${copyexcludes}" />
</copy>
</target>
<target name="releaseTest" depends="struts.doclet,copyrRleasefile">
</target>
<target name="spring.doclet">
<taskdef name="springdoclet" classname="xdoclet.modules.spring.SpringDocletTask">
<classpath refid="lib" />
</taskdef>
<springdoclet destdir="${web}/WEB-INF" excludedtags="@version, @author, @todo, @Override,@WebParam" force="true" verbose="true" mergeDir="${misc}/spring">
<fileset dir="${src}">
<exclude name="**/webservice/*.java"/>
<include name="**/*.java" />
</fileset>
<springxml validateXML="true" destinationFile="dos-${module.code}.xml" />
</springdoclet>
</target>
<target name="struts.doclet">
<taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="lib"/>
<webdoclet destdir="${web}/WEB-INF" mergeDir="${misc}/struts" excludedtags="@version, @author, @todo, @Override,@" force="true" verbose="true">
<fileset dir="${src}">
<include name="**/*.java" />
</fileset>
<strutsconfigxml version="1.1" destinationFile="struts-config.xml" />
</webdoclet>
</target>
<target name="refactor">
<copy todir="${mappingspath}/${module.code}" preservelastmodified="true" overwrite="true" flatten="true">
<fileset dir="${src}">
<include name="**/*.hbm.xml" />
</fileset>
</copy>
<copy todir="${jutilPath}/mappings" preservelastmodified="true" overwrite="true" flatten="true">
<fileset dir="${src}">
<include name="**/*.hbm.xml" />
</fileset>
</copy>
<delete>
<fileset dir="${src}" includes="**/*.hbm.xml" />
</delete>
</target>
<target name="javac" >
<javac classpath="C:\Java\jdk1.5\bin\javac.exe" srcdir="${src}" destdir="${classout}" />
</target>
<target name="ssh" depends="spring.doclet,struts.doclet">
</target>
</project>
分享到:
相关推荐
Use the links below to download a source distribution of Ant from one of our mirrors. It is good practice to verify the integrity of the distribution files, especially if you are using one of our ...
02 实验手册之Ant1
例子 rar 博文链接:https://anxin587.iteye.com/blog/129347
1. 将lib/jocky-ant.jar copy 至ANT_HOME/lib下。 2. 在ant配置文件中添加 3. 设置Jocky的一些基本属性,包括jocky.jar包的位置,以及混淆编译级别: 4. 当设置jocky的enable属性为true时,此时,Ant脚本中的javac...
ant 官方包 ,含有所有相关的文档,源码,版本1.9.4
apache-ant-1.6.0-bin.zip 做jsp开发过程要用到的源码!
ant ant ant antant ant ant antant ant ant ant
ant和tomcat开发包,需要的朋友可以下载
ant ant下载 ant配置ant ant下载 ant配置ant ant下载 ant配置
开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-1.9.6开发工具 ant-...ant-1.9.6开发工具 ant-1
org.apache.tools.ant.XmlLogger$1 org.apache.tools.mail.MailMessage org.apache.tools.tar.TarConstants org.apache.tools.ant.taskdefs.Ant org.apache.tools.ant.taskdefs.Apt org.apache.tools.ant....
ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解ant 讲解
ant配置ant配ant配置ant配置置
ant用法说明用法说明用法说明
ANT文件详解 ant介绍 ANT 命令
ANT COLONY ANT COLONY ANT COLONY ANT COLONY ANT COLONY ANT COLONY ANT COLONY ANT COLONY ANT COLONY
原因是安装的是ant1.105版本对应的jdk是1-8,而我项目环境是1.7,版本不一致导致的问题
1,什么是ant ant是构建工具 2,什么是构建 概念到处可查到,形象来说,你要把代码从某个地方拿来,编译,再拷贝到某个地方去等等操作,当然不仅与此,但是主要用来干这个 3,ant的好处 跨平台 --因为ant是使用java实现...