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