Hi,

I switched to an <exec> task after seeing a colleague was using it to
perform a svn update task.  When I added the svn.exe to my PATH it
worked straight off - I didn't bother to go back and try <svn>.

But for debug purposes I've just tried to execute the following task:

<svn command="export" uri="${subversion.url}"
destination="${dependentProject.dir}" username="${subversion.username}"
password="${subversion.password}" />

And I do not get a NullReferenceException anymore!!!  

However the build fails with:
"External Program Failed: C:\WINDOWS\svn.exe (return code was 1)"

and splurges a uses page - I assume I've got the parameters wrong on the
svn task?

This is just for your info as I'm quite happy to use the <exec> task!

Thanks

Jenny

-----Original Message-----
From: Marcin Hoppe [mailto:[EMAIL PROTECTED] 
Sent: 10 June 2005 11:23
To: Vincent Chu
Cc: Jennifer Brandon; [email protected]
Subject: Re: [nant-dev] Nant svn export

On 6/10/05, Vincent Chu <[EMAIL PROTECTED]> wrote:
> Maybe if you run nant again with debug on (-debug+) and send us the
> output, it'd help us pinpoint the problem ?

A few weeks ago a similar problem appeared (it thrown a
NullReferenceException when svn.exe was not available) on the user/dev
list and is now fixed in CVS. I wonder if this is the same problem or
a different one.

Best regards!
Marcin




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to