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-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 OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer