Hi!
We have started using the svn ant task and it is a nice tool, which works
fine. There is however have a problem when tagging. We have a number of
different projects that are tagged individually and sometimes the tag names
are reused. This requires the following procedure:
1. Create the new tag directory (NEW_TAG) under tags, using the svn ant
mkdir command
2. Copy the project from trunk to NEW_TAG, using the svn ant copy command
This works fine when the NEW_TAG directory does not exists, but if it
already exists the mkdir command fails, which results in that only the first
project to be tagged with a certain tag will succeed. This was a bit
annoying behavior and in order to fix this I checked out the code from the
Subversion repository and added a new attribute failOnError. If this
attribute is true it will work the same as
before (default behavior), but if it is false the mkdir command will only
log that it failed to create the directory and continue. This makes the task
more versatile.
Attached to the mail is the updated Mkdir.java file. Please consider adding
this to the code base.
/Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Aug 21 16:26:58 2007