How to integrate svn into ant
来源:互联网 发布:网络远程教育报名条件 编辑:程序博客网 时间:2024/05/17 01:33
1. install subverison
1.1 Download source copy and dependent libratries:
src: http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz
dep: http://subversion.tigris.org/downloads/subversion-deps-1.4.5.tar.gz
1.2 Extract the dowloaded packages to some location.
1.3 Build subversion:
./configure --prefix=[Your/Specified/Location]
./make
./make install
1.4 Add [SubVersionLocation]/bin to PATH.
2. Install svnant
2.1 Check out svnant source code using subversion (user name: guest; password: none)
svn co http://subclipse.tigris.org/svn/subclipse/trunk/svnant/ svnant
2.2 Modify build.properties:
Add this property "targetJvm=1.5"
2.3 Build svnant
ant makeDistrib
2.4 copy and unzip the zip file generated in build directory to [svnant home]
3. Use <svn> in ant script
3.1 Modify your build.xml
add the following definition to your build.xml file:
<path id= "svnant.classpath" >
<fileset dir= "/PATH/TO/YOUR/EXTRACTED/SVNANT-ZIP" >
<include name= "*.jar" />
</fileset>
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" />3.1 Then you can use <svn> task in ant script
For more detailed information about how to use <svn> task, please refer to http://subclipse.tigris.org/svnant/svn.html
- How to integrate svn into ant
- How to integrate XBAP application into Java applet container?
- How to Integrate AdWhirl into a Cocos2D Game
- How to Integrate jVectorMap
- How to write custom static code analysis rules and integrate them into Visual Studio 2010
- How to write custom static code analysis rules and integrate them into Visual Studio 2010
- How to Integrate a 3rd party SDK into Plugin-X
- How to integrate Struts2 into Web Application and small sample//TODO Verify!!!
- how to integrate Facebook SDK
- How to integrate struts i18n to displaytag
- how to integrate OPENH264 to webrtc sdk
- Axure RP Pro - jQuery - How to integrate jQuery into HTML prototype document generated by Axure RP Pro
- Axure RP Pro - jQuery - How to integrate jQuery into HTML prototype document generated by Axure RP Pro
- HOW TO INTEGRATE TOMACAT AND APACHE
- How to integrate Asymptote with Beamer
- How to integrate LDAP in Perl?
- How to get the SVN info use ANT
- Create stored procedure and integrate it into linq to entities
- asp.net C#图片上传+预览
- 论坛使用的30种音乐播放器
- 学习上溯造型和下溯造型 【转载一篇】
- 多个LCD下修改DISPLAY与TOUCHP驱动的经验
- SQL4414N “DB2 管理服务器”处于不活动状态 的处理
- How to integrate svn into ant
- OpenCms创建网站过程图解——献给OpenCms的初学者们
- 自己写的一个函数:根据月分打印月历【SQL版】
- e.Item.ItemType
- 几种javascript函数定义的区别
- 无法启动“帮助和支持中心”的几种解决方法
- 盗版xp成功验证成正版,享受正版增值服务!
- ThinkPad T23键盘拆卸示范(视频)
- 老师们的克星