Bugs item #745582, was opened at 2003-05-29 17:50
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=745582&group_id=54790

Category: None
Group: None
Status: Closed
Resolution: Out of Date
Priority: 5
Submitted By: Martin Hanson (martin-hanson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Slingshot does not handle mapped web project paths

Initial Comment:
The static WriteSolution method in Driver.cs of 
Slingshot does not handle mapped web project paths. 
This is because the relative path of the web project 
actually comes out as an absolute path. I noticed this 
after converting slingshot to work with VS2003 and .NET 
1.1

I have applied a workaround for now by changing this 
block of code in WriteSolution in Driver.cs FROM:

if ( ! Path.IsPathRooted( path ) ) 
{
        path = Path.GetFullPath( 
solution.SolutionDirectory + "\" 
                        + project.RelativePath 
+ "\" + path );
}

TO:

if ( ! Path.IsPathRooted( path ) ) 
{
        if(Path.IsPathRooted(project.RelativePath))
        {
                path = Path.GetFullPath( 
project.RelativePath + "\" + path );
        }
        else
        {
                path = Path.GetFullPath( 
solution.SolutionDirectory + "\" 
                                + 
project.RelativePath + "\" + path );
        }
}


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

>Comment By: Gert Driesen (drieseng)
Date: 2004-09-19 08:38

Message:
Logged In: YES 
user_id=707851

No, as I mentioned before : SlingShot is now deprecated, and 
bug fixing is no longer performed on it, unless someone steps 
up to volunteer.

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

Comment By: Phil (phadley22)
Date: 2004-09-18 21:05

Message:
Logged In: YES 
user_id=1124233

Has this bug fix been inserted into the latest build of NAnt-
Contrib?

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

Comment By: Gert Driesen (drieseng)
Date: 2004-08-02 14:51

Message:
Logged In: YES 
user_id=707851

slingshot has been deprecated

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

Comment By: Mark Dowell (luckyhunter)
Date: 2003-12-19 17:40

Message:
Logged In: YES 
user_id=932250

Brilliant!  You fixed the problem I had.  I now have another 
problem, did you find that slingshot does not set the 
dependency order correctly when working with web projects?  
In my case it attempts to build my windows client before 
building the web service!

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=474851&aid=745582&group_id=54790


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to