You right about the explicit add. I guess I am spoiled by Tortoise letting me
add/commit files all during the commit phase.
If that command is the full command line that the svn task has problems. It
isn't passing the command, the username or password, etc. I wasn't sure if it
was using the command line or hitting the libs directly which it may be doing.
It appears that the command attrbitue of the svn command isn't being passed to
the command line. I added an arg to pass the command and that seemed to work.
Or, I'm not using this task at it is expecting me to.
I also changed from the fileset to arg file= but fileset was in the
documentation as being supported.
Seems to be working now.
BOb
________________________________
From: [EMAIL PROTECTED] on behalf of Brass Tilde
Sent: Fri 10/5/2007 3:01 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] svn task
Bob Archer <[EMAIL PROTECTED]> wrote:
> I am trying to use the svn task. Basically, I want to commit a file
> to the repository. The file may or may not have been in the repo
> before. I don't think that matters.... comminting the file should
> implicitly add it.
Well, it matters to *Subversion*. The Subversion command line client
won't commit a file that hasn't been explicitly added. Now, whether or
not it matters to the svn task, I don't know. That a question that
task's documentation should answer.
> But, I am getting an error. Is there any way to see the full command
> line that this task runs?
> [svn] Starting 'C:\Program Files\Subversion\bin\svn.exe ( "-m
> DbGhost update script auto generated by release
> build.")' in
> 'C:\Development\eFinancials\trunk'
The above line from your output *should* be the full command.
> Here is my task and the error message:
>
> <svn command="ci" uri="${svn.uri}" username="build" password="build"
> verbose="true" >
> <arg value="-m DbGhost update script auto generated by release
> build."/>
> <fileset
> basedir="${project::get-base-directory()}/sql/eMaintSupportFiles">
> <include
> name="${project::get-name()+rel.previousversion.fn}To${build.version.fn}.sql"/>
> </fileset>
> </svn>
Does the file in the <include /> actually exist, i.e. if you <echo />
the value specified in the name attribute above, does anything show up?
I wonder if the <fileset /> is actually used. You could try just adding
that file as another <arg />, since, based on the output, those are
being passed properly.
Brad
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users