I have a configuration where I checkout the following from my repository:
/DNA non-recursive --> /DNA
/DNA/ums recursive --> /DNA/ums
I do this so that i can get some properties file at the root level, but not have
to checkout the entire DNA tree.
Everything builds and publishes to ivy just fine. However, when I try to label,
it fails with the following error (it looks like it's trying to delete something out of a
tag, which is not a valid operation in subversion). Instead, if you checkout multiple trees
from the same branch/revision in the same subversion repository, it should only attempt the
label creation once. I know this is a headache with subversion if you end up with two disparate
trees, or multiple revisions/branches in the same checkout, but there needs to be some sort of
useful solution to this.
2007-04-05 21:07:07,895 [Thread-2017] INFO - Checking necessary condition of step "label".
2007-04-05 21:07:07,895 [Thread-2017] INFO - Condition satisfied, running step "label".
2007-04-05 21:07:07,896 [Thread-2017] INFO - Labeling repository: DNA
2007-04-05 21:07:07,897 [Thread-2017] INFO - Label source path: /DNA/
2007-04-05 21:07:08,026 [Thread-2032] WARN - svn: URL '
http://svn.fiberlink.com:8000/svn/dna/tags/dna-dna-reorg-qa-0/DNA' non-existent in that revision
2007-04-05 21:07:08,234 [Thread-2036] WARN - svn: URL '
http://svn.fiberlink.com:8000/svn/dna/tags/dna-dna-reorg-qa-0' non-existent in that revision
2007-04-05 21:07:08,236 [Thread-2017] INFO - Seems that url "
http://svn.fiberlink.com:8000/svn/dna/tags/dna-dna-reorg-qa-0" does not exist, creating...
2007-04-05 21:07:10,341 [Thread-2017] INFO - Label source path: /DNA/ums
2007-04-05 21:07:10,464 [Thread-2017] WARN - Destination url "
http://svn.fiberlink.com:8000/svn/dna/tags/dna-dna-reorg-qa-0/DNA/ums" already exists, deleting...
2007-04-05 21:07:10,606 [Thread-2044] WARN - svn: MERGE request failed on '/svn/dna/tags/dna-dna-reorg-qa-0/DNA'
2007-04-05 21:07:10,606 [Thread-2044] WARN - svn: 'pre-commit' hook failed with error output:
2007-04-05 21:07:10,606 [Thread-2044] WARN - You can not check in changes in tags.
2007-04-05 21:07:10,606 [Thread-2044] WARN - Make a branch and make your changes there.
2007-04-05 21:07:10,608 [Thread-2017] ERROR - Step "label" is failed: ERROR: Failed to run command: Executing 'svn' with arguments:
'delete'
'
http://svn.fiberlink.com:8000/svn/dna/tags/dna-dna-reorg-qa-0/DNA/ums'
'-m'
'Label applied by QuickBuild'
'--non-interactive'
'--quiet'
'--username'
'********'
'--password'
'******'
The ' characters around the executable and arguments are
not part of the command.
, returned code: 1
svn -m "applying label" copy DNA http://svn.fiberlink.com/svn/dna/tags/test1
with no ill effects. granted this is all from the same branch/revision that i checked out, but
it's a good start to changing the subversion labelling technique at least for this special case.