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

copy command with SvnAnt strange behavior

From: Jörg Uhlmann <joerg.uhlmann_at_gmx.de>
Date: 2004-09-16 18:31:23 CEST

Hello,
another question.
I write an ant script to release a version of my package from the trunc
folder into tags folder of the svn-repository.

an extract of the build.xml:
   <target name="build_version">
      <svn>
        <copy
            srcUrl="${myProject.trunc}"
            destUrl="${myProject.tags}/${myProject}_${version}"
            message="Version ${version"
            />
      </svn>
  </target>

The Variables are correct set to the repository.
myProject.trunc = file:///C:/repository/myProject/trunc
myProject.tags = file:///C:/repository/myProject/tags

Then i call ant.
It worked fine. The new branch in the tags folder are successfully
created under the correct version name.
file:///C:/repository/myProject/tags/myProject_1.03/...all Subfolders

Then i called ant again, without changes. And now! SvnAnt create a
subfolder trunc into the tags branch.

Example:
file:///C:/repository/myProject/tags/myProject_1.03/trunc/...all Subfolders

I expected a error, but not a new branch trunc.

Where is my problem?
Received on Fri Sep 17 02:31:23 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.