Use ant checkout sourcecode from CVS/SVN
来源:互联网 发布:node.js 教程 pdf 编辑:程序博客网 时间:2024/06/05 18:10
build.xml for CVS
<?xml version="1.0"?><project name="Example Remote Build for CVS" default="checkout" basedir="."><property name="local_root" value="local_project_root"/><property name="remote_cvsroot" value=":pserver:builder@server_ip:/cvsroot" /> <target name="checkout"> <cvspass cvsroot=":pserver:builder@server_ip:/cvsroot" password="builder"/> <echo message="Checking out the required sources from CVS"/> <cvs cvsroot="${remote_cvsroot}" quiet="true" command="checkout -P dir/project_name" dest="${local_root}" compression="true" /> </target> </project>
build.xml for SVN
when we want to use ant checkout code from SVN, we need svnant tool which SVN supported.
For more information, please refer to the following links.
http://subclipse.tigris.org/svnant/svn.html
<?xml version="1.0"?>
<project name="Example Remote Build" default="checkout" basedir="."><property name="ant_home_lib" value="...../apache-ant-1.9.3/lib"/><property name="local_root" value="local_project_root/"/><!-- the following jar is needed to SVN --> <path id="svnant.classpath"> <pathelement location="${ant_home_lib}/svnant.jar"/> <pathelement location="${ant_home_lib}/svnkit.jar"/> <pathelement location="${ant_home_lib}/svnClientAdapter.jar"/> <pathelement location="${ant_home_lib}/svnjavahl.jar"/> <pathelement location="${ant_home_lib}/*.jar"/> </path> <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="svnant.classpath" /> <svnSettingsvnkit="false"javahl="false"username="name" password="pwd"id="svn.settings"/> <target name="checkout"> <svn refid="svn.settings" > <checkout url="http://ip/repos/prject_name/trunk/" destPath="${local_root}" revision="HEAD"/> </svn> </target> </project>
----
阅读全文
0 0
- Use ant checkout sourcecode from CVS/SVN
- Ant从CVS checkout项目
- svn checkout failure from sourceforge
- 使用Ant从svn检出代码(check out resource from svn use ant)
- Cannot checkout from svn: Cannot run program "svn"和 Can't use Subversion command line client:svn
- 用ant脚本checkout svn项目
- ant从cvs服务期checkout工程注意事项!
- mvn(即maven)、ant、svn、cvs、git
- Cannot checkout from svn:svn:E720183:Can't create directory
- 以ant方式从visual svn server checkout
- CVS checkout on windows ANT Build: invalid CEN header (bad signature)
- SVN checkout
- SVN checkout
- jenkins fail to checkout from svn-write-through
- use cvs
- OceanBase Quick Start From Sourcecode
- linux的svn&cvs客户端安装及ant部署
- SVN 出现Cannot checkout from svn: Server SSL certificate rejected无法导出文件
- php中比rbac更好的权限认证的方式auth认证类
- DATE_FORMAT(public_time,'%Y-%m-%d %H:%i:%S') + xml中 > <
- ImportError:DLL load failed:%1 不是有效的Win32应用程序
- Mac下Tesseract-OCR文字识别新手使用入门
- 今天发现word2003在打开表格文档时有的会显示不正常
- Use ant checkout sourcecode from CVS/SVN
- C:\ProgramData\Microsoft Visual Studio\10.0\TraceDebugging .iTrace文件文件很大
- SpringMVC中JSP取不到ModelAndView的数据原因
- 仿微信侧滑ListView item滑动布局
- 人工智能实践峰会-----看业界大咖如何见证AI落地与探索
- Tomcat 8 部署项目时 报错
- Oracle基础——SQL语句类型
- Reactor模式详解及 三种模式演变
- CRT连接不上linux虚拟机