Title: Message
The Slingshot command line utility and task are very much deprecated.  I suggest using the <solution> task instead.
 
Gert
----- Original Message -----
Sent: Wednesday, March 10, 2004 8:40 PM
Subject: [Nant-users] Unhandled Exception when using SLingShot

Can anyone tell me why I'm getting the following exception when it hits my references?  I am using the following command line:
 
C:\GenerationsSeries\EID\2.0\WEBSUPPORT>slingshot -nant build.basedir=c:\Intepub\wwwroot\Reynolds\GenerationsSeries\DeskingPortal -map
http://localhost/ C:\Inetpub\wwwroot\
    
    <includes name="C:\Inetpub\wwwroot\Reynolds\GenerationsSeries\DeskingPortal\UserControls\VinDecodeCriteria.ascx.cs" />
      </sources>
      <references
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 needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplic
ates, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates,
Boolean needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at SLiNgshoT.Core.Driver.WriteSolution(SolutionWriter writer, TextWriter textWriter, String sln, Hashtable parameters, Hashtable uri
Map)
   at SLiNgshoT_Console.Main(String[] args)
 
C:\GenerationsSeries\EID\2.0\WEBSUPPORT>
 
Thanks,

Evan A. Bonnett
Reynolds and Reynolds, IT
ERA Integrated Desking Development
937-485-8577
58577

-----Original Message-----
From: Morris, Jason [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 3:33 PM
To: NanT Forum
Subject: FW: [Nant-users] Deployment Issue

looks like the first send didn't go through


From: Morris, Jason
Sent: Monday, March 08, 2004 7:29 PM
To: NanT Forum
Subject: RE: [Nant-users] Deployment Issue

I think this is applicable to this forum since we are talking about using nAnt...if I am mistaken, please let me know and Steve and I will take this offline.
 
I have defined several nAnt target, one for each of the environments that my application gets installed to.  The environments are
 
local
development
integration
pre-production
production
 
On my local development box, my "local" target preps the machine with all the latest code (does a CVS update), copies any 3rd party dlls that are needed, constructs virtual directories and anything else that is needed.  Then I open my *.sln and do my coding.  When I want to build, then I use VS.NET to do the build as I am working.  If I add any references, create a new project, etc, then I have to go into my build script and make the necessary modification.  I don't use the <solution> task since I started my script before it was available and I feel the extra control of the build process is worth the extra maintenance.
 
Now, when I am ready to move my code in the "Development" environment, I execute my "development" target.  This target does all the things to build, test, and copy the code out to the development server.  As you probably guessed, I execute similar targets for my integration, pre-prod and production environments, however with these I don't rebuild or retest my code, I just copy the files out to these servers.  My development build actually creates a versioned copy of my code that I just reference in these scripts.  So, on my build server, I have a directory structure like
 
    ./MyApp/MyApp-1.0.0.1/...
    ./MyApp/MyApp-1.0.0.2/...
    ./MyApp/MyApp-1.0.0.3/...
    etc
 
I am greatly simplifying my build process, but I hope you get the idea.
 
Except in the local development environment, all builds are done with nAnt.  This prevents missed steps in the build process.
 
My experience has only been with web application deployment, since my group only builds web apps.  I think there are a lot of others on the list that have experience with other types of builds.
 
Jason


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hawkes
Sent: Monday, March 08, 2004 2:40 AM
To: NanT Forum
Subject: [Nant-users] Deployment Issue

Hi,
 
Thanks Jason the Copy task worked a treat.
 
Although I am not there yet I am interested to
know how you guys are doing your final
deployment builds, Nant or VS?
 
Although slightly off topic for this form I think, I am
interested to hear about yor experiences for say For example,
client only apps, client / server deployments and web
based deployments.
 
TIA
 
Steve
 

Reply via email to