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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users