<project basedir="." default="svntag">
<!-- all properties are in build.properties -->
<property file="../build.properties" />
<property name="svn-user" value="${svn.user}"/>
<property name="svn-password" value="${svn.password}"/>
<path id="classpath">
<fileset dir="/opt/ant/lib">
<include name="**/*.jar" />
</fileset>
</path>
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
<classpath refid="classpath" />
</taskdef>
<target name="svntag">
<tstamp/>
<svn username="${svn-user}" password="${svn-password}">
<copy Description="tag" srcPath="/opt/checkout/tag" destUrl= http://ip/svn/test message="tag this repository">
</copy>
</svn>
</target>
</project>
<!-- all properties are in build.properties -->
<property file="../build.properties" />
<property name="svn-user" value="${svn.user}"/>
<property name="svn-password" value="${svn.password}"/>
<path id="classpath">
<fileset dir="/opt/ant/lib">
<include name="**/*.jar" />
</fileset>
</path>
<taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask">
<classpath refid="classpath" />
</taskdef>
<target name="svntag">
<tstamp/>
<svn username="${svn-user}" password="${svn-password}">
<copy Description="tag" srcPath="/opt/checkout/tag" destUrl= http://ip/svn/test message="tag this repository">
</copy>
</svn>
</target>
</project>