RE: [nant-dev] Command line parsing bug

2002-12-11 Thread Dag Christensen
First the obvious to stay on topic, just so that I can include a neat
little hint :-)

Either there should be a try-catch around the Path.GetFullPath method, or
(better) use Directory.GetFiles and loop through the files found to allow
wildcards.

So the tip: if you want to avoid typing full directory and file names in
NT or later, modify the following registry keys:

HTLM\Software\Microsoft\Command Processor
CompletionChar=9
PathCompletionChar=9

Both are DWORDS. Start cmd.exe and you can use TAB to complete file names
and loop through the matches found.

Dag

-Original Message-
From: Brian Davis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 5:47 PM
To: [EMAIL PROTECTED]
Subject: [nant-dev] Command line parsing bug


New user to nant - not at the stage of trying to fix bugs myself yet, so
for
now I'll just report it as instructed :)

-

Probably worth catching errors like the one pasted below...
(I was attempting to avoid typing the full name of the build file)


D:\Temp>nant -buildfile:mybuildfile*
INTERNAL ERROR
System.ArgumentException: Illegal characters in path.
   at System.Security.Permissions.FileIOPermission.HasIllegalCha
   at System.Security.Permissions.FileIOPermission.AddPathList(F
h)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOP
   at System.IO.Path.GetFullPath(String path)
   at SourceForge.NAnt.Location.Init(String fileName, Int32 line
   at SourceForge.NAnt.Location..ctor(String fileName)
   at SourceForge.NAnt.Project.LoadBuildFile(String source)
   at SourceForge.NAnt.Project..ctor(String source)
   at SourceForge.NAnt.NAnt.Main(String[] args)

Please send bug report to [EMAIL PROTECTED]





_
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



RE: [nant-dev] C# project file compiler - support for .csproj files in NAnt?

2002-11-14 Thread Dag Christensen
Off topic, but would it be much work providing a nightly build or archive
of Nantcontrib? My company is Microsoft-only and has thus blocked cvs
access in the firewall. The extras folder in the nant nightly build
contains the slingshot folder but it is empty.

I just signed on to this list, so please excuse me if this question has
been posted and answered before.

Best regards,

Dag Christensen

-Original Message-
From: Bernard Vander Beken [mailto:Bernard.VanderBeken@;tectrade.net]
Sent: Thursday, November 14, 2002 9:53 AM
To: Matthew Mastracci; [EMAIL PROTECTED]
Subject: RE: [nant-dev] C# project file compiler - support for .csproj
files in NAnt?


Hello Matthew,

Your description sounds like what SLiNgshot does, a tool and a task that
are already included in the NAntContrib [1] project.
It converts VS.NET solutions to NAnt build files, as in the following
example:




 
 
 



However, the tool does not support all project types.  Projects in C++
and C# are supported, including Web Projects.
If your compiler/task does the same as SLiNgshot, you may want to help
enhancing it.

Best regards,

Bernard

[1] http://nantcontrib.sourceforge.net/

> -Original Message-
> From: Matthew Mastracci [mailto:matt@;aclaro.com]
> Sent: Wednesday, November 13, 2002 7:20 PM
> To: [EMAIL PROTECTED]
> Subject: [nant-dev] C# project file compiler - support for
> .csproj files in NAnt?
>
>
> I've written a compiler for C# project files (.csproj) that
> could easily
> be set up to support VB.NET (.vbproj) project files as well.  It's
> fairly complete and supports compilation for Web, winexe,
> exe's, dll's
> and all the other project types I've thrown at it.
>
> I would like to contribute this to the NAnt project, if someone is
> willing to integrate it, or tell me where the best place is
> to put it.
>  It needs some error checking (and maybe some sanity checking
> :)), but
> otherwise it is feature-complete for C#.
>
> Let me know if anyone is interested!
>
>
>
>
> ---
> This sf.net email is sponsored by: Are you worried about
> your web server security? Click here for a FREE Thawte
> Apache SSL Guide and answer your Apache SSL security
> needs: http://www.gothawte.com/rd523.html
> ___
> Nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>


---
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers
###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers