SVN ANT for eclipse
http://www.blogjava.net/wile
sun/archive/2008/03/17/186693.html
在ANT中使用SVN
1.到http://subclipse.tigris.org/servlets/ProjectDocumentList?
folderID=1731&
expandFolder=1731&folderID=1926直接下载
svnant-1.1.0-RC2.
zip 2.准备Build.xml
<!-- svn的classpath-->
<path
id="ant.svn.classpath">
<
fileset dir="${bas
edir}/lib">
<i
nclude name="*.jar" />
</fileset>
</path>
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
<classpath refid="ant.svn.classpath" />
</taskdef>
3.加入你的下载配置就可以了
http://home.
phpchina.com/blog-2638-186846.html
svnant-1.3.1.zip
解压放到D:\Program Files\MyEclipse 10\Common\plugins\org.apache.ant_1.8.2.v20110505-1300\lib
subversion提交时出现malfo
rmed network data错误
http://betterman-zeng.blogbus.com/logs/6547101.html
========================================================================
<property name="ant.home" value="D:/ant165" />
<property name="svn.UserName" value="pandy.pan" />
<property name="svn.UserPassword" value="l*
ls#IO:P" />
<property name="svn.URL" value="svn://10.11.60.253/ODEC/CITYU-RGMS/source/cityu-webapp" />
<!-- SVN ANT -->
<path id="ant.svn.classpath">
<fileset dir="${ant.home}/lib">
<include name="*.jar" />
</fileset>
</path>
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
<classpath refid="ant.svn.classpath" />
</taskdef>
<target name="checkout" description="checkout full web project">
<svn username="${svn.UserName}" password="${svn.UserPassword}">
<checkout url="${svn.URL}" revision="HEAD" destPath="dest" />
</svn>
</target>