not necessary. There has been a recent patch to get slingshot workign with 1.1. It was pretty simple. The only real difference is a version attribute in the header. The change is in cvs. ie it won't be in any of the recent releases.

Ian

indeed, slingshot can't deal w/ 1.1 format. slingshot has fallen into disfavour since the solution task showed up.
i'm not sure it'll ever get updated to deal w/ 1.1.


thinking....
ah.  what if you used the regex task to parse a 1.1 sln file and wrote
out a 1.0 sln file from the results?  then the latter would be slingshot
compatible.
oh, i'm wild!

/jean



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Garmaev
Sent: Wednesday, September 03, 2003 09:04
To: [EMAIL PROTECTED]
Subject: [Nant-users] RE: Nant-users digest, Vol 1 #377 - 2 msgs



Eric,


I tried slingshot based on your email and it doesn't
work. It says the solution file has a wrong format.
My assumption is that .NET 1.1 version has different format
Of sln and csproj files and slingshot has not been changed for 1.1.

Here...
slingshot -nant -sln OnDotNetSolution.sln >>.\OnDotNetSolution.build

Unhandled Exception: System.ApplicationException: this is not a 'Microsoft Visual Studio Solution File, Format Version 7.00' file
at SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)
at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter textWriter, String sln, Hashtable parameters, Hashtable
uriMap)
at SLiNgshoT_Console.Main(String[] args)




Tried to run it from NAnt based on task reference example
in nantcontrib:


<slingshot solution="MySolution.sln" format="nant" output="MySolution.build"> <parameters>
<option name="build.basedir" value="..\bin"/>
</parameters> </slingshot>
<nant buildfile="MySolution.build"/>


and it say something about build.basedir not specified.

Vladimir

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 10:45 PM
To: [EMAIL PROTECTED]
Subject: Nant-users digest, Vol 1 #377 - 2 msgs


Send Nant-users mailing list submissions to
        [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/nant-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than "Re: Contents of Nant-users digest..."


Today's Topics:


  1. Re: slingshot task (Eric Fetzer)
  2. RE: SCP server (Erick Thompson)

--__--__--

Message: 1
Date: Tue, 2 Sep 2003 08:12:48 -0700 (PDT)
From: Eric Fetzer <[EMAIL PROTECTED]>
Subject: Re: [Nant-users] slingshot task
To: Ian MacLean <[EMAIL PROTECTED]>
Cc: 'Nant Users' <[EMAIL PROTECTED]>

--0-1952756430-1062515568=:33108
Content-Type: text/plain; charset=us-ascii

Yes Ian, only when using the map option. Thanks - Eric

Ian MacLean <[EMAIL PROTECTED]> wrote:Thanks Eric,
So its only for web projects that this is failing, is that right ?

Ian



Sorry Ian, forgot to post this one. Defintely looks like a easy bug
fix, but again, can't debug if I can't get the build


working. Here's

my command:

slingshot -nant build.basedir=bin -sln ProCard.Centre.Web.sln -map
http://localhost/Centre/ . > buildWeb.build

and my output:

D:\projects\procard\Centre\Web>slingshot -nant

build.basedir=bin -sln


ProCard.Centre.Web.sln -map http://localhost/Centr
e/ . > buildWeb.build
Unhandled Exception: System.IO.FileNotFoundException: Could


not find

file "D:\projects\procard\Centre\Web\.ProCard.Centr
e.Web.csproj".
File name:


"D:\projects\procard\Centre\Web\.ProCard.Centre.Web.csproj"


at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boole
an useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XPath.XPathDocument.Load(XmlReader reader)
at System.Xml.XPath.XPathDocument.Init(XmlReader reader)
at System.Xml.XPath.XPathDocument..ctor(String uri)
at SLiNgshoT.Core.Project.Read(String path)
at SLiNgshoT.Core.Solution.AddProject(String projectLine)
at SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)
at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter textWriter, String sln, Hashtable parameters
, Hashtable uriMap)
at SLiNgshoT_Console.Main(String[] args)


When looking for the solution file, he's putting a "." in

front of the


.sln filename. I've also tried hardcoding the path in which case I get one of the following 2 errors:

D:\projects\procard\Centre\Web>slingshot -nant

build.basedir=bin -sln


ProCard.Centre.Web.sln -map http://localhost/Centr
e/ D:\projects\procard\Centre\Web > buildWeb.build
Unhandled Exception: System.IO.FileNotFoundException: Could


not find

file "D:\projects\procard\Centre\WebProCard.Centre.
Web.csproj".
File name: "D:\projects\procard\Centre\WebProCard.Centre.Web.csproj"
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boole
an useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XPath.XPathDocument.Load(XmlReader reader)
at System.Xml.XPath.XPathDocument.Init(XmlReader reader)
at System.Xml.XPath.XPathDocument..ctor(String uri)
at SLiNgshoT.Core.Project.Read(String path)
at SLiNgshoT.Core.Solution.AddProject(String projectLine)
at SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)
at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter textWriter, String sln, Hashtable parameters
, Hashtable uriMap)
at SLiNgshoT_Console.Main(String[] args)
D:\projects\procard\Centre\Web>slingshot -nant


build.basedir=bin -sln

ProCard.Centre.Web.sln -map http://localhost/Centr
e/ D:\projects\procard\Centre\Web\ > buildWeb.build
Unhandled Exception: System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFull
Path)
at




System.Security.Permissions.FileIOPermission.AddPathList(FileI
OPermissionAcc
ess


access, String[] pathListOrig, Boo
lean checkForDuplicates, Boolean needFullPath, Boolean


copyPathList)

at



System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAcc


ess
access, String[] pathList, Boolean check
ForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at SLiNgshoT.Core.NAntWriter.writeCopyRef(String referenceName, String configurationName)
at SLiNgshoT.Core.NAntWriter.WriteCopyRefsTargets(Solution solution)
&nb! sp; at SLiNgshoT.Core.NAntWriter.WriteStartSolution(Solution solution)
at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter textWriter, String sln, Hashtable parameters
, Hashtable uriMap)
at SLiNgshoT_Console.Main(String[] args)


*/Ian MacLean /* wrote:

What about running slingshot.exe from the commandline ?

does that work

?

Ian



I quit using slingshot quite a while back when solution

came to be.

It seems to have stopped working. I've upgraded NAnt &

NAntContrib

several times since then. I'm just living off of the binaries in Contrib because I can't manage to get it built. I can get

the build

to work, but when I go to put the binaries in NAnt's bin folder,


I get


a not recognized type of error.

That change to my build file didn't do it Jean. I still get the


same


error with that. If I could get a build to work, I'd try

to debug,

but rc2 doesn't have the NAntContrib source, only binaries.

Thanks,
Eric

*/Jean Rajotte /* wrote:

eric,
! ; it does look like the syntax is as advertized.
i thought you had other slingshot tasks in your projects. what's different here? as i look in the code for SlingshotTask, i see there's some confusion about how OptionSets are iterated.


pls. try

something crazy like the following and see whether it goes:



output="MySolution.build">

*
*


value="."/>





if that's so, it's really wacky but at least you're


going. the code

i'm talking about is the following in SlingshotTask.cs.

it's there

because i'd found inconsistencies in how returns options...

! /// Converts an to a
cref="Hashtable"/>.
private Hashtable OptionSetToHashtable(OptionSet options, string optionSetName) {


Hashtable convertedOptions = new Hashtable();

if (options != null) {
foreach (object option in options) {
string name;
string value;
if ( option is OptionValue ) {
OptionValue ov = (OptionValue) option;
name = ov.Name;
value = ov.Value;
} else if ( option is OptionElement ) {
OptionElement oe = (OptionElement) option;
name = oe.OptionName;
value = oe.Value;
} else {
throw new BuildException( string.Format( "Invalid
Option type {0} in {1} OptionSet", option.GetType(),


optionSetName) );


}
Log.WriteLine( LogPrefix + " -- {0} = {1}", name, value );

// name must be specified
if (name == null) {
st! ring msg = String.Format("Unspecified
name for <{0}> option '{1}'", optionSetName, name);
throw new BuildException(msg);
// value must be specified
} else if (value == null) {
string msg = String.Format("Unspecified
value for <{0}> option '{1}'", optionSetName, name);
throw new BuildException(msg);
} else {
convertedOptions.Add(name, value);
&nb! sp; }
}
}

return convertedOptions;
}

}

HTH ! ??

/jean


-----Original Message-----
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On


Behalf Of *Eric

Fetzer
*Sent:* Wednesday, August 27, 2003 17:09
*To:* Nant Users
*Subject:* [Nant-users] slingshot task

I'm experiencing a problem with slingshot:

D:\projects\procard>nant -f:BuildWebBuild.build
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net
Buildfile: file:///D:/projects/procard/BuildWebBuild.build
[slingshot] Converting ProCard.Centre.Web.sln to MySolution.build using nant format [slingshot] -- option = bin
Total time: 0 seconds.
BUILD FAILED
The option 'build.basedir' is required.


My option contains build.basedir as follows:



format="nant" output="MySolution.build">





value="."/>




I'm ! having the problem no matter which version of the


binaries I

download. Anybody have a clue?

Thanks,
Eric




----------------------------------------------------------------------


--


Do you Yahoo!?
SBC Yahoo! DSL

- Now only $29.95 per month!




----------------------------------------------------------------------


--


Do you Yahoo!?
SBC Yahoo! DSL

- Now only $29.95 per month!





----------------------------------------------------------------------


--
Do you Yahoo!?
SBC Yahoo! DSL


- Now only $29.95 per month!





--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! --0-1952756430-1062515568=:33108 Content-Type: text/html; charset=us-ascii

<DIV>Yes Ian, only when using the map option.&nbsp; Thanks -
Eric<BR><BR><B><I>Ian MacLean &lt;[EMAIL PROTECTED]&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #1010ff 2px solid">Thanks Eric,<BR>So its only for web projects
that this is failing, is that right ?<BR><BR>Ian<BR><BR>&gt; Sorry Ian,
forgot to post this one. Defintely looks like a easy bug <BR>&gt; fix, but
again, can't debug if I can't get the build working. Here's <BR>&gt; my
command:<BR>&gt; <BR>&gt; slingshot -nant build.basedir=bin -sln
ProCard.Centre.Web.sln -map <BR>&gt; http://localhost/Centre/ . &gt;
buildWeb.build<BR>&gt; <BR>&gt; and my output:<BR>&gt; <BR>&gt;
D:\projects\procard\Centre\Web&gt;slingshot -nant build.basedir=bin -sln
<BR>&gt; ProCard.Centre.Web.sln -map http://localhost/Centr<BR>&gt; e/ .
&gt; buildWeb.build<BR>&gt; Unhandled Exception:
System.IO.FileNotFoundException: Could not find <BR>&gt; file
"D:\projects\procard\Centre\Web\.ProCard.Centr<BR>&gt;
e.Web.csproj".<BR>&gt; File name:
"D:\projects\procard\Centre\Web\.ProCard.Centre.Web.csproj"<BR>&gt; at
System.IO.__Error.WinIOError(Int32 errorCode, String str)<BR>&gt; at
System.IO.FileStream..ctor(String path, FileMode mode, <BR>&gt; FileAccess
access, FileShare share, Int32 bufferSize, Boole<BR>&gt; an useAsync, String
msgPath, Boolean bFromProxy)<BR>&gt; at System.IO.FileStream..ctor(String
path, FileMode mode, <BR>&gt; FileAccess access, FileShare share)<BR>&gt; at
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials <BR>&gt;
credentials)<BR>&gt; at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri,
String <BR>&gt; role, Type ofObjectToReturn)<BR>&gt; at
System.Xml.XmlTextReader.CreateScanner()<BR>&gt; at
System.Xml.XmlTextReader.Init()<BR>&gt; at
System.Xml.XmlTextReader.Read()<BR>&gt; at
System.Xml.XmlValidatingReader.ReadWithCollectTextToken()<BR>&gt; at
System.Xml.XmlValidatingReader.Read()<BR>&gt; at
System.Xml.XPath.XPathDocument.Load(XmlReader reader)<BR>&gt; at
System.Xml.XPath.XPathDocument.Init(XmlReader reader)<BR>&gt; at
System.Xml.XPath.XPathDocument..ctor(String uri)<BR>&gt; at
SLiNgshoT.Core.Project.Read(String path)<BR>&gt; at
SLiNgshoT.Core.Solution.AddProject(String projectLine)<BR>&gt; at
SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)<BR>&gt; at
SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, <BR>&gt;
TextWriter textWriter, String sln, Hashtable parameters<BR>&gt; , Hashtable
uriMap)<BR>&gt; at SLiNgshoT_Console.Main(String[] args)<BR>&gt;<BR>&gt;
When looking for the solution file, he's putting a "." in front of the
<BR>&gt; .sln filename. I've also tried hardcoding the path in which case I
<BR>&gt; get one of the following 2 errors:<BR>&gt; <BR>&gt;
D:\projects\procard\Centre\Web&gt;slingshot -nant build.basedir=bin -sln
<BR>&gt; ProCard.Centre.Web.sln -map http://localhost/Centr<BR>&gt; e/
D:\projects\procard\Centre\Web &gt; buildWeb.build<BR>&gt; Unhandled
Exception: System.IO.FileNotFoundException: Could not find <BR>&gt; file
"D:\projects\procard\Centre\WebProCard.Centre.<BR>&gt; Web.csproj".<BR>&gt;
File name: "D:\projects\procard\Centre\WebProCard.Centre.Web.csproj"<BR>&gt;
at System.IO.__Error.WinIOError(Int32 errorCode, String str)<BR>&gt; at
System.IO.FileStream..ctor(String path, FileMode mode, <BR>&gt; FileAccess
access, FileShare share, Int32 bufferSize, Boole<BR>&gt; an useAsync, String
msgPath, Boolean bFromProxy)<BR>&gt; at System.IO.FileStream..ctor(String
path, FileMode mode, <BR>&gt; FileAccess access, FileShare share)<BR>&gt; at
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials <BR>&gt;
credentials)<BR>&gt; at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri,
String <BR>&gt; role, Type ofObjectToReturn)<BR>&gt; at
System.Xml.XmlTextReader.CreateScanner()<BR>&gt; at
System.Xml.XmlTextReader.Init()<BR>&gt; at
System.Xml.XmlTextReader.Read()<BR>&gt; at
System.Xml.XmlValidatingReader.ReadWithCollectTextToken()<BR>&gt; at
System.Xml.XmlValidatingReader.Read()<BR>&gt; at
System.Xml.XPath.XPathDocument.Load(XmlReader reader)<BR>&gt; at
System.Xml.XPath.XPathDocument.Init(XmlReader reader)<BR>&gt; at
System.Xml.XPath.XPathDocument..ctor(String uri)<BR>&gt; at
SLiNgshoT.Core.Project.Read(String path)<BR>&gt; at
SLiNgshoT.Core.Solution.AddProject(String projectLine)<BR>&gt; at
SLiNgshoT.Core.Solution.Read(String path, Hashtable uriMap)<BR>&gt; at
SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, <BR>&gt;
TextWriter textWriter, String sln, Hashtable parameters<BR>&gt; , Hashtable
uriMap)<BR>&gt; at SLiNgshoT_Console.Main(String[] args)<BR>&gt;
D:\projects\procard\Centre\Web&gt;slingshot -nant build.basedir=bin -sln
<BR>&gt; ProCard.Centre.Web.sln -map http://localhost/Centr<BR>&gt; e/
D:\projects\procard\Centre\Web\ &gt; buildWeb.build<BR>&gt; Unhandled
Exception: System.NotSupportedException: The given path's <BR>&gt; format is
not supported.<BR>&gt; at
System.Security.Util.StringExpressionSet.CanonicalizePath(Stri
ng <BR>&gt;
path, Boolean
needFullPath)<BR>&gt; at
System.Security.Util.StringExpressionSet.AddExpressions(String
[] <BR>&gt;
str, Boolean checkForDuplicates, Boolean needFull<BR>&gt; Path)<BR>&gt; at
<BR>&gt;
System.Security.Permissions.FileIOPermission.AddPathList(FileI
OPermissionAcc
ess <BR>&gt; access, String[] pathListOrig, Boo<BR>&gt; lean
checkForDuplicates, Boolean needFullPath, Boolean copyPathList)<BR>&gt; at
<BR>&gt;
System.Security.Permissions.FileIOPermission..ctor(FileIOPermi
ssionAccess
<BR>&gt; access, String[] pathList, Boolean check<BR>&gt; ForDuplicates,
Boolean needFullPath)<BR>&gt; at System.IO.Path.GetFullPath(String
path)<BR>&gt; at SLiNgshoT.Core.NAntWriter.writeCopyRef(String
referenceName, <BR>&gt; String configurationName)<BR>&gt; at
SLiNgshoT.Core.NAntWriter.WriteCopyRefsTargets(Solution solution)<BR>&gt;
&amp;nb! sp; at SLiNgshoT.Core.NAntWriter.WriteStartSolution(Solution
<BR>&gt; solution)<BR>&gt; at
SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, <BR>&gt;
TextWriter
textWriter, String sln, Hashtable parameters<BR>&gt; , Hashtable
uriMap)<BR>&gt; at SLiNgshoT_Console.Main(String[] args)<BR>&gt;<BR>&gt;
*/Ian MacLean <[EMAIL PROTECTED]>/* wrote:<BR>&gt;<BR>&gt; What about
running slingshot.exe from the commandline ? does that<BR>&gt; work
?<BR>&gt;<BR>&gt; Ian<BR>&gt;<BR>&gt; &gt; I quit using slingshot quite a
while back when solution came to be.<BR>&gt; &gt; It seems to have stopped
working. I've upgraded NAnt &amp; NAntContrib<BR>&gt; &gt; several times
since then. I'm just living off of the binaries in<BR>&gt; &gt; Contrib
because I can't manage to get it built. I can get the build<BR>&gt; &gt; to
work, but when I go to put the binaries in NAnt's bin folder,<BR>&gt; I
get<BR>&gt; &gt; a not recognized type of error.<BR>&gt; &gt;<BR>&gt; &gt;
That change to my build file didn't do it Jean. I still get the<BR>&gt;
same<BR>&gt; &gt; error with that. If I could get a build to work, I'd try
to debug,<BR>&gt; &gt; but rc2 doesn't have the
NAntContrib source, only binaries.<BR>&gt; &gt;<BR>&gt; &gt;
Thanks,<BR>&gt; &gt; Eric<BR>&gt; &gt;<BR>&gt; &gt; */Jean Rajotte /*
wrote:<BR>&gt; &gt;<BR>&gt; &gt; eric,<BR>&gt; &gt;! ; it does look like the
syntax is as advertized.<BR>&gt; &gt; i thought you had other slingshot
tasks in your projects. what's<BR>&gt; &gt; different here?<BR>&gt; &gt; as
i look in the code for SlingshotTask, i see there's some<BR>&gt; &gt;
confusion about how OptionSets are iterated. pls. try something<BR>&gt; &gt;
crazy like the following and see whether it goes:<BR>&gt; &gt;<BR>&gt;
&gt;<BR>&gt; &gt;<BR>&gt; &gt; output="MySolution.build"&gt;<BR>&gt;
&gt;<BR>&gt; &gt; *<BR>&gt; &gt; *<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;
value="."/&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;
&gt; if that's so, it's really wacky but at least you're going.<BR>&gt; &gt;
the code i'm talking about is the following in SlingshotTask.cs.<BR>&gt;
&gt; it's there because i'd found inconsistencies in
how<BR>&gt; &gt; returns options...<BR>&gt; &gt;<BR>&gt; &gt; ! ///
Converts an to a<BR>&gt; &gt; cref="Hashtable"/&gt;.<BR>&gt; &gt; private
Hashtable OptionSetToHashtable(OptionSet options,<BR>&gt; &gt; string
optionSetName) {<BR>&gt; &gt;<BR>&gt; &gt; Hashtable convertedOptions = new
Hashtable();<BR>&gt; &gt;<BR>&gt; &gt; if (options != null) {<BR>&gt; &gt;
foreach (object option in options) {<BR>&gt; &gt; string name;<BR>&gt; &gt;
string value;<BR>&gt; &gt; if ( option is OptionValue ) {<BR>&gt; &gt;
OptionValue ov = (OptionValue) option;<BR>&gt; &gt; name = ov.Name;<BR>&gt;
&gt; value = ov.Value;<BR>&gt; &gt; } else if ( option is OptionElement )
{<BR>&gt; &gt; OptionElement oe = (OptionElement) option;<BR>&gt; &gt; name
= oe.OptionName;<BR>&gt; &gt; value = oe.Value;<BR>&gt; &gt; } else
{<BR>&gt; &gt; throw new BuildException( string.Format( "Invalid<BR>&gt;
&gt; Option type {0} in {1} OptionSet", option.GetType(),<BR>&gt;
optionSetName) );<BR>&gt; &gt; }<BR>&gt; &gt;
Log.WriteLine( LogPrefix + " -- {0} = {1}", name, value );<BR>&gt;
&gt;<BR>&gt; &gt; // name must be specified<BR>&gt; &gt; if (name == null)
{<BR>&gt; &gt; st! ring msg = String.Format("Unspecified<BR>&gt; &gt; name
for &lt;{0}&gt; option '{1}'", optionSetName, name);<BR>&gt; &gt; throw new
BuildException(msg);<BR>&gt; &gt; // value must be specified<BR>&gt; &gt; }
else if (value == null) {<BR>&gt; &gt; string msg =
String.Format("Unspecified<BR>&gt; &gt; value for &lt;{0}&gt; option '{1}'",
optionSetName, name);<BR>&gt; &gt; throw new BuildException(msg);<BR>&gt;
&gt; } else {<BR>&gt; &gt; convertedOptions.Add(name, value);<BR>&gt; &gt;
&amp;nb! sp; }<BR>&gt; &gt; }<BR>&gt; &gt; }<BR>&gt; &gt;<BR>&gt; &gt;
return convertedOptions;<BR>&gt; &gt; }<BR>&gt; &gt;<BR>&gt; &gt; }<BR>&gt;
&gt;<BR>&gt; &gt; HTH ! ??<BR>&gt; &gt;<BR>&gt; &gt; /jean<BR>&gt;
&gt;<BR>&gt; &gt;<BR>&gt; &gt; -----Original Message-----<BR>&gt; &gt;
*From:* [EMAIL PROTECTED]<BR>&gt; &gt;
[mailto:[EMAIL PROTECTED] *On Behalf Of<BR>&gt; &gt;
*Eric Fetzer<BR>&gt; &gt; *Sent:* Wednesday, August 27, 2003 17:09<BR>&gt;
&gt; *To:* Nant Users<BR>&gt; &gt; *Subject:* [Nant-users] slingshot
task<BR>&gt; &gt;<BR>&gt; &gt; I'm experiencing a problem with
slingshot:<BR>&gt; &gt;<BR>&gt; &gt; D:\projects\procard&gt;nant
-f:BuildWebBuild.build<BR>&gt; &gt; NAnt version 0.8.3 Copyright (C)
2001-2003 Gerry Shaw<BR>&gt; &gt; http://nant.sourceforge.net<BR>&gt; &gt;
Buildfile: file:///D:/projects/procard/BuildWebBuild.build<BR>&gt; &gt;
[slingshot] Converting ProCard.Centre.Web.sln to<BR>&gt; &gt;
MySolution.build using nant format<BR>&gt; &gt; [slingshot] -- option =
bin<BR>&gt; &gt; Total time: 0 seconds.<BR>&gt; &gt; BUILD FAILED<BR>&gt;
&gt; The option 'build.basedir' is required.<BR>&gt; &gt;<BR>&gt; &gt; My
option contains build.basedir as follows:<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;
&gt;<BR>&gt; &gt; format="nant" output="MySolution.build"&gt;<BR>&gt;
&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;
value="."/&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;
&gt; I'm ! having the problem no matter which version of the
binaries<BR>&gt; &gt; I download. Anybody have a clue?<BR>&gt; &gt;<BR>&gt;
&gt; Thanks,<BR>&gt; &gt; Eric<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;
--------------------------------------------------------------
----------<BR>
&gt; &gt; Do you Yahoo!?<BR>&gt; &gt; SBC Yahoo! DSL<BR>&gt; &gt;<BR>&gt;
&gt; - Now only $29.95 per month!<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;
--------------------------------------------------------------
----------<BR>
&gt; &gt; Do you Yahoo!?<BR>&gt; &gt; SBC Yahoo! DSL<BR>&gt; &gt;<BR>&gt;
&gt; - Now only $29.95 per month!<BR>&gt;<BR>&gt;<BR>&gt;
--------------------------------------------------------------
----------<BR>
&gt; Do you Yahoo!?<BR>&gt; SBC Yahoo! DSL <BR>&gt; <HTTP: pa.yahoo.com
*http: rd.yahoo.com evt="1207/*http://promo.yahoo.com/sbc/";><BR>&gt; - Now
only $29.95 per month! <BR><BR><BR></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a
href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http:


//promo.yahoo.


com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!
--0-1952756430-1062515568=:33108--


--__--__--


Message: 2
Subject: RE: [Nant-users] SCP server
Date: Tue, 2 Sep 2003 11:50:38 -0700
From: "Erick Thompson" <[EMAIL PROTECTED]>
To: "Ian MacLean" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>

Server. There are some great clients out there, but I want to sync up a
local project with a remote server as part of the build process.


Thanks,
Erick



-----Original Message-----
From: Ian MacLean [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 9:01 PM
To: Erick Thompson
Cc: [EMAIL PROTECTED]
Subject: Re: [Nant-users] SCP server
=20
=20
Server or client ? One of the best clients I found is here :
http://www.colorado.edu/its/docs/authenticate/printouts/win_ssh.html
Ian
=20


What are people using for a Windows SCP server? I am=20


thinking the cygwin


would be the most obvious was to go, but I would like to

avoid it if


possible (installs too many other things at the same time).=20


Does anyone


know of a native Windows SCP server?

Thanks,
Erick



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
=20



=20
=20
=20



--__--__--


_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


End of Nant-users Digest




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to