I looks to be like this task deletes any files in the project with an svn status of Unversioned or Ignored. Digging future it seems to use another open source project from Softect, subversionsharp and AprSharp that are actuall linked to subversion 1.4 library files.
So, I am going to try and replicate this function with vanilla nant. I would think I can do an svn status, capture the output to a file and then loop through the file and do the same thing. IF anyone already wrote something that does this and can share, it would be appreciated. BOb -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Archer Sent: Tuesday, August 12, 2008 12:53 PM To: Gert Driesen; Brass Tilde; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] svn failed to start Well... svn is not failing to start now. Perhaps this is due to me fixing the corruption in my project file. I see now that I am getting an error on the svncleantree task which is a custom CI Factory task. I have no idea what it does, perhaps someone else here does or Jay is watching. This must have been hidden before because this is wrapped in a trycatch tag. Here is the error. Build Error: NAnt.Core.BuildException The type initializer for 'Softec.AprSharp.Apr' threw an exception. in c:\Development\AmsiSuite\trunk\Build\Packages\Subversion\SourceControl.T arget.xml line: 67 col: 10 at CIFactory.NAnt.Tasks.SvnCleanTree.ExecuteTask() in c:\Projects\CI Factory\1.0\Product\Production\Nant\CIFactory.NAnt.Subversion.Tasks\Task s\SvnCleanTree.cs:line 131 at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Task.cs:line 177 at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Target.cs:line 247 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Project.cs:line 897 at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Tasks\CallTask.cs:line 143 at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Task.cs:line 177 at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Target.cs:line 247 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Project.cs:line 897 at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Tasks\CallTask.cs:line 143 at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Task.cs:line 177 at NAnt.Core.TaskContainer.ExecuteChildTasks() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\TaskContainer.cs:line 143 at NAnt.Core.TaskContainer.ExecuteTask() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\TaskContainer.cs:line 113 at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Task.cs:line 177 at NAnt.Contrib.Tasks.TryCatchTask.ExecuteTask() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Contrib.Tasks\Tasks\TryCatchTas k.cs:line 242 at NAnt.Core.Task.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Task.cs:line 177 at NAnt.Core.Target.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Target.cs:line 247 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Project.cs:line 897 at NAnt.Core.Project.Execute() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Project.cs:line 849 at NAnt.Core.Project.Run() in c:\Projects\CI Factory\1.0\Product\Production\Nant\NAnt.Core\Project.cs:line 934 Also getting this in the error log: The type initializer for 'Softec.AprSharp.Apr' threw an exception. The type initializer for 'Softec.AprSharp.Apr' threw an exception. Unable to load DLL 'libapr': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1) Anyone know what libapr is or what application it is talking about? BTW: This all started after I upgraded svn to 1.5. BOb -----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 11:58 AM To: Bob Archer; 'Brass Tilde'; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] svn failed to start Bob, Can you run the build in debug mode (NAnt.exe -debug ...) and post the (relevant) output. Gert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Archer Sent: dinsdag 12 augustus 2008 17:39 To: Brass Tilde; nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] svn failed to start Yes, I have tried several different things on the exec tag... C:\Program Files\Subversion\svn C:\Program Files\Subversion\svn.exe C:\Progra~1\Subversion\svn C:\Progra~1\Subversion\svn.exe I also tried by putting the path in a property, both the long form and the short form and doing: ${SvnBinPath}\svn ${SvnBinPath}\svn.exe I also tried adding an environment tag to the exec tag to set the PATH variable. Here to I tried the long and short path form. Argh!!! BOb -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brass Tilde Sent: Tuesday, August 12, 2008 11:22 AM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] svn failed to start Bob Archer <[EMAIL PROTECTED]> wrote: > Sorry, I'm really stuck here. Does anyone else have any ideas why I > would be getting a fail to start message with the exec tag. (BTW: The > SVN tag works, I just can't seem to get it to do what I want it to > do.) Have you tried using the fully qualified path in the program attribute's value, rather than relying on the path? I've generally found that easier than attempting to rely on the path or to make sure it's correct. Silly, I know, but there it is. Brad ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users