在NAnt Build中实现自动版本号更新
2005-08-28 10:25
453 查看
两种方式:
1.在NAnt Build 中使用UpdateVersion小程序
<project name="ExecTest" default="test">
<tstamp/>
<target name="test" description="tests using exec to run UpdateVersion.exe">
<echo message="********************************************************************"/>
<echo message="** Running UpdateVersion.exe."/>
<exec program="UpdateVersion.exe" commandline="-b MonthDay -s 2002-01-21 -i Input.txt -o
Output.txt" verbose="true" failonerror="true" />
<echo message="** End of Tests"/>
<echo message="********************************************************************"/>
</target>
</project>
2.直接参考UpdateVersion的build文件,在NAnt中使用脚本
1.在NAnt Build 中使用UpdateVersion小程序
<project name="ExecTest" default="test">
<tstamp/>
<target name="test" description="tests using exec to run UpdateVersion.exe">
<echo message="********************************************************************"/>
<echo message="** Running UpdateVersion.exe."/>
<exec program="UpdateVersion.exe" commandline="-b MonthDay -s 2002-01-21 -i Input.txt -o
Output.txt" verbose="true" failonerror="true" />
<echo message="** End of Tests"/>
<echo message="********************************************************************"/>
</target>
</project>
2.直接参考UpdateVersion的build文件,在NAnt中使用脚本
相关文章推荐
- Shell实现自动更新目录名称与文件中版本号信息与时间戳
- Android应用程序实现自动更新功能4_实现的整体代码
- iOS应用程序之如何获取版本号实现应用更新
- Android应用自动更新功能的代码实现
- SVN自动更新测试服务器工作副本(C#写winform程序实现)
- 用web服务与.net配合实现自动更新(原创)
- [Android]一句话实现APP自动更新(带通知栏)
- 一小段JS代码实现静态页面点击数的自动更新(使用AJAX)
- Android应用自动更新功能的实现
- Android应用自动更新功能的代码实现
- wpf学习笔记 NotifyPropertyChanged实现数据变化自动更新UI
- Android应用自动更新功能的代码实现
- Tidftp实现自动更新程序
- 软件自动更新功能的实现
- 编译一次自动更新版本号
- Android应用的自动升级、更新模块的实现
- 实现时间Widget自动更新
- Android应用自动更新功能的实现!!!
- 简单的自动更新程序实现
- PHP,操作多个用户,多个线程的session,实现用户登陆状态session值的自动更新