[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: copy command with SvnAnt strange behavior

From: Jörg Uhlmann <joerg.uhlmann_at_gmx.de>
Date: 2004-09-21 19:26:52 CEST

Cédric Chabanois schrieb:

> Jörg Uhlmann wrote:
>
>> Is this the correct place to post questions to SvnAnt?
>> Jörg
>>
> Yes it is.
> This is a strange behaviour, however I think you would have the same
> behaviour using svn copy.
>
> Did you try using javahl or command line interface ?
>
> Cédric
>
I use javahl. The classpath i use is set on the svnjavahl.jar
an extract of the build.xml:

<?xml version="1.0"?>
<project name="svn-test" basedir="." default="build_version">
  <property file="build.properties" />
  <path id="project.classpath">
    <pathelement location="${svnjavahl.jar}" />
    <pathelement location="${svnant.jar}" />
    <pathelement location="${svnClientAdapter.jar}" />
  </path>
 
  <taskdef resource="svntask.properties" classpathref="project.classpath"/>

  <target name="build_version">
     <svn>
       <copy
           srcUrl="${myProject.trunc}"
           destUrl="${myProject.tags}/${myProject}_${version}"
           message="Version ${version}"
           />
     </svn>
 </target>
</project>

an extract of the build.properties:
lib.dir=lib
svnjavahl.jar=${lib.dir}/svnjavahl.jar
svnant.jar=${lib.dir}/svnant.jar
svnClientAdapter.jar=${lib.dir}/svnClientAdapter.jar
myProject.trunc = file:///C:/repository/myProject/trunc
myProject.tags = file:///C:/repository/myProject/tags
version=1.03

Jörg
Received on Wed Sep 22 03:26:52 2004

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.