<!-- ====================================================================== -->
<!-- to declare the project all targets -->
<!-- ====================================================================== -->
<target name="usage">
<echo>This is help infomation of the TopEng-CSP System build tool </echo>
<echo>usage: ant [target] </echo>
<echo>target description dependence </echo>
<echo>usage to display this help infomation N/A </echo>
<echo>clear to delete some directories and files before will build N/A </echo>
<echo>init to initialize,make some necessary directories N/A </echo>
<echo>ccget to get all source code from clearcase with specified path init </echo>
<echo>i18n to encode source code ccget </echo>
<echo>compile to compile source code ccget </echo>
<echo>resource to collect necessary resource files N/A </echo>
<echo>jar to run jar-command with source code compile/encoding </echo>
<echo>test to run test suits jar </echo>
<echo>javadoc to create javadoc ccget </echo>
<echo>jsp to pre-compile jsp files,and check error ccget </echo>
<echo>war to create war file jsp </echo>
<echo>dest to pack all project file jar/war/javadoc/test </echo>
<echo>ccupdate to check in the latest package files to clearcase server dest </echo>
<echo>deploy to deploy in the latest package files to to app server dest </echo>
</target>
<target name="init">
<delete dir="${dest.dir}" />
<mkdir dir="${dest.dir}" />
<mkdir dir="${dest.dir}/classes" />
<mkdir dir="${dest.dir}/WebRoot/WEB-INF/classes" />
<mkdir dir="${dest.dir}/WebRoot/WEB-INF/lib" />
</target>
<target name="ccget" description="get/update src from ClearCase ">
<ccupdate viewpath="${cc.viewpath}/java/bc1/${module.name}" graphical="false" overwrite="true" currenttime="true" rename="false" />
</target>
<target name="i18n">
<native2ascii encoding="UTF-8" src="${project.home}/WebRoot/WEB-INF/i18n" dest="${project.home}/WebRoot/WEB-INF/i18n" includes="**/chd_zh_CN.orgin" ext=".properties" />
</target>
<target name="compile" depends="init">
<javac destdir="${dest.dir}/classes" bootclasspathref="class.path" encoding="utf-8" debug="false" deprecation="false" nowarn="on" source="1.5" target="1.5"
fork="true" memoryInitialSize="256m" memoryMaximumSize="1024m">
<src path="${project.home}" />
<include name="c_pics_src/**/*.java" />
</javac>
</target>
<target name="jar" depends="compile">
<copy todir="${dest.dir}/classes">
<fileset dir="${project.home}/c_pics_src">
<include name="**/**/*.*" />
<exclude name="**/*.java"/>
<exclude name="**/test"/>
<exclude name="**/test/**/*.*"/>
</fileset>
</copy>
<jar destfile="${dest.dir}/csp-c-bsf-ha.jar">
<fileset dir="${dest.dir}/classes" includes="com/huawei/csp/customization/bsf/**/*.*" excludes="test/**/*.*" />
</jar>
<jar destfile="${dest.dir}/csp-c-pics-ha.jar">
<fileset dir="${dest.dir}/classes" includes="com/huawei/csp/customization/pics/**/*.*" excludes="test/**/*.*" />
</jar>
</target>
分享到:
相关推荐
Both web applications are disabled by removing<br> $CATALINA_BASE/conf/Catalina/localhost/admin.xml<br> and<br> $CATALINA_BASE/conf/Catalina/localhost/manager.xml.<br><br><br>================<br>...
使用NetBeans将Java工程打包成JAR包非常简单,只需要在build.xml文件中添加上述代码,并且修改相应的属性值即可。 知识点: * 在NetBeans中使用Ant脚本来打包Java工程成JAR包 * 使用`<target>`元素来定义一个Ant...
Aria2 支持 JSON-RPC 和 XML-RPC 接口远程调用。 Start.bat 带命令行窗口输出启动 Aria2 Start.vbs 不带命令行窗口启动 Aria2 Stop.bat 停止 Aria2 Status.bat 查看 Aria2 进程状态 Restart.bat 重启 Aria2 ...
包括Android布局,弹窗,配色,单击事件,UI,精美炫酷的activity切换动画和空间动画,是新手必备的源码,内含相关的Dome 25件。 - - 文件夹 PATH 列表 卷序列号为 4E8D-6931 C:. │ .txt │ Android-UI-新手必备...
2、配置环境变量,将解压缩的路径(你的硬盘:\放的文件夹下\apache-ant-1.8.4\bin),配置在环境变量的path路径下,输入ant看效果。 3、部署本项目,运行构建看效果。 说明:这个是一个项目开发的辅助工具,比较...
String xmlString = " <note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note> " ; ChensoXMLDocument document = ChensoXMLDocument . ...
UnrealSetupCacheBuilder 一个为虚幻引擎4源Setup.bat创建本地缓存的简单工具 用法 在具有互联网连接的PC上 运行Setup.bat 运行这个工具 ...您的引擎路径> /Engine/Build/Commit.gitdeps.xml 在第2行中,将B
当你要将多个应用发布到多个推广渠道的时候,你会针对每一个渠道为android应用添加相应的渠道号,这样工作量会很大。这时你会想:如果有某种...用编译脚本build.xml,2.java调用ant,3.bat批处理文件(也是调用ant)
2. 增加了UICC,在SDK v7.0A下也可以编译.xml文件,使用ribbon 3. 美化了.ico图标和toolbar.bmp,新图标和位图具有Alpha通道。 4. 为winCE和winMobile添加setup100.js安装文件,使其支持VS2010。 5. 集成了一个安装...
│ javaapk.com文件列表生成工具.bat │ JavaApk源码说明.txt │ 点这里查看更多优质源码~.url │ 目录列表.txt │ ├─手机端源代码 │ └─AndroidBookProject2 │ │ .classpath │ │ .project │ │ ...
首先将apk文件后缀改为zip并解压,得到其中的classes.dex,它就是java文件编译再通过dx工具打包而成的,将classes.dex复制到dex2jar.bat所在目录dex2jar-0.0.9.9文件夹。 在命令行下定位到dex2jar.bat所在目录,...
首先将apk文件后缀改为zip并解压,得到其中的classes.dex,它就是java文件编译再通过dx工具打包而成的,将classes.dex复制到dex2jar.bat所在目录dex2jar-0.0.9.9文件夹。 在命令行下定位到dex2jar.bat所在目录,...
java项目ant打包脚本,包括环境变量设置,打包脚本等信息,共有三个文件 ant.bat、build.xml、setEnv.cmd
双击bin\build.bat 选择war 即会生成一个release\easyjf-iula-0.1.0.war文件,把该文件拷到tomcat的webapps目录下面,重启tomcat即可。 4、运行程序 http://localhost:8080/easyjf-iula-0.1.0/ 首先添加一个会议...
2. 增加了UICC及VS2010安装脚本(环境变量添加,UICC拷贝及.props文件路径添加),在SDK v7.0A的v100工具链下也可以编译.xml文件并使用ribbon, 脚本执行后默认工程可自动包含WTL include 目录。 3. 美化了.ico图标和...
首先进入bin目录,在bin目录下有一个build.xml文件,然后执行如下命令: ant 在aglets平台安装时,我们可以看到当前Aglet版本的信息。像其他的Java应用程序一样,Aglet平台需要通过Java policy文件(通常是....
将要反编译的APK后缀名改为.rar或则 .zip,并解压,得到其中的额classes.dex文件(它就是java文件编译再通过dx工具打包而成的),将获取到的classes.dex放到之前解压出来的工具dex2jar-0.0.9.15 文件夹内, ...
build.xml”修改属性 windows.browser 的值为浏览器的启动 文件对应的位置。如我一直使用 chrome ,配置如下: <property name="windows.browser" value="C:/Documents and Settings/dragon/Local Settings/...
在WTL(build12085)的基础上做出的修改如下: 1. 为rc文件增加原生中文支持...4. 自编写Installation.bat文件,自动设置环境变量和.props文件的Include路径添加 5. 添加winCE和winMobile的setup100.js文件以支持VS2010
(用于从DataDictionary xml文件生成消息和字段类) 从命令行:dotnet 2.0.0或更高版本 从Visual Studio:版本2017或更高版本 代码生成 要从数据字典重新生成消息和字段类源,您需要Ruby和Nokogiri gem: gem ...