Hippo can't handle our web project.  It has Satellite Assemblies.  Nor can <solution>.  Slingshot would build (when it was working) a .build file that I could do a few global substitutions on to make it work.  Sounds like this is on the docket, but it can't come soon enough for me...


Daya Sharma <[EMAIL PROTECTED]> wrote:
I would recommend you use either the task of Nant or use
http://www.leadit.be/buildfilebuilder/Default.aspx online Hippo a tool to
convert VS's project file into Nant build files. You can make a build file
for each project.

-daya
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erick
Thompson
Sent: Thursday, August 28, 2003 1:39 PM
To: Nant Users
Subject: RE: Soltuion task (was RE: [Nant-users] slingshot task)


I think I figured out the problem. In the solution file, the primary web
project was set with an HTTP path, so I assume that NAnt was attempting
to use WebDAV, which doesn't work on my system.

On a related note, is there any way to get the project/file informatio
out of the solution task? Once it's finished running, I'd like to be
able to copy the built files. I can hardcode the project paths, but I
don't like that idea. NAnt needs to parse out the file locations to
build, so if I could get this info out, it would be very helpful.

Thanks,
Erick


> -----Original Message-----
> From: Erick Thompson
> Sent: Thursday, August 28, 2003 11:14 AM
> To: Eric Fetzer; Nant Users
> Subject: Soltuion task (was RE: [Nant-users] slingshot task)
>
>
> Jeeze, I didn't even see the solution task. That's going to
> make my life
> a lot easier. :-P
>
> I'm playing around with it; what exactly does it do with a
> web project?
> When I execute NAnt with a very basic config (just the
> solution task), I
> get an error with HTTP 403 (forbidden). Shouldn't it just generate the
> compiled projects file? I'm not seeing why it should be dealing with
> HTTP at all.
>
> Thanks,
> Erick
>
> -----Original Message-----
> From: Eric Fetzer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 7:38 AM
> To: [EMAIL PROTECTED]; 'Nant Users'
> Subject: RE: [Nant-users] slingshot task
>
>
> 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 <[EMAIL PROTECTED]>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">
>
>
>

>
> http://localhost"
> 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) {
> string 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);
> }
> }
> }
>
> 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:
>
>
> > 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
> mo.yahoo.c
om/sbc/> Yahoo! DSL - Now only $29.95 per month!



_____

Do you Yahoo!?
SBC
om/sbc/> Yahoo! DSL - Now only $29.95 per month!



-------------------------------------------------------
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


> ATTACHMENT part 2 application/ms-tnef name=winmail.dat


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Reply via email to