I think I just ended up using the exec tag for some of the fringe svn
stuff I needed to do rather than fight with the svn task.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken
Parrish
Sent: Wednesday, April 09, 2008 2:34 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Subversion <svn> syntax confusion - what is uri
attribute used for ??

 

Nant Users,

I am confused about the 'uri' parameter needed for the many of the
Subversion <svn> tasks (NantContrib).  A good example is the syntax for
the 'svn copy' command.  In this case, both arguments in the copy
command reference locations in the repository--not local directories.

The NantContrib documentation is very unclear about what needs to be in
the 'uri' attribute, but the attribute IS REQUIRED.

>From the command line, I might enter:

svn copy -m "my revision message"
http://mysvnserver.com/svn/myProject/trunk
http://mysvnserver.com/svn/myProject/tags/1.0

If I wish to use the <svn> task, I am confused as to what should go in
the 'uri' attribute of the <svn> tag:

<svn command="copy" uri="What goes here (required)?" verbose="true"
username="myUsername" password="myPassword" >
    <arg value="http://mysvnserver.com/svn/myProject/trunk"; />
    <arg value="$http://mysvnserver.com/svn/myProject/tags/1.0"; />
    <arg value="-m my_revision_message" />
</svn>

In general, I am uncertain what I need in the 'uri' attribute as
compared to URI/pathnames in the arguments.

Does anyone have any insight into this?

Thanks,

Ken Parrish
Gomez, Inc.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to