RE: [Nant-users] Output from exec command lost

2003-12-13 Thread Breen, Patrick
Invoke devenv.com instead of devenv.exe (both should be in the same
directory).  It will pipe output to the stdout which will then be
captured by Nant.

Patrick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Dagg
Sent: Friday, December 12, 2003 6:47 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Output from exec command lost


I have a script with the following task:



Whenever I execute this script with Nant, however, the only results
displayed to the console are success or failure.  All of the devenv
output (e.g. build results from individual projects in the solution
file) that you get when devenv is executed outside of nant are lost.
Does anyone have any idea how to get said output to display on the
console?

I've tried setting the "verbose" property to true.  Didn't help.

Note: I'm using Nat 0.8.3 (2003-11-28).

Thanks.



Bill Dagg
Senior Software Engineer, IT Department
Custom House Global Foreign Exchange
604.630.0968

[EMAIL PROTECTED]
http://www.customhouse.com



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] and Web Projects

2003-12-13 Thread Gert Driesen
Nick,

The matching between an url and a path is case-sensitive, so you should
change http://localhost/Gloria/gloria.csproj to
http://localhost/gloria/gloria.csproj

Gert

- Original Message - 
From: "Nick Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 5:26 PM
Subject: [Nant-users]  and Web Projects


Hi,

I have a solution task that loads a solution that contains a web project.  I
dont want to use
WebDAV.  I have setup a Map:



http://localhost/Gloria/gloria.csproj";
path="D:\Projects\Gloria\Source\Production\Syngenta\Gloria\UI\Gloria\gloria.
csproj" />



However, nant reports the following error:

" [nant] D:\Projects\Gloria\Source\Production\NAnt
Scripts\Syngenta.Gloria.Web.nant

Buildfile: file:///D:/Projects/Gloria/Source/Production/NAnt
Scripts/Syngenta.Gloria.Web.nant
Target(s) specified: build

build:


Syngenta.Gloria.Web:

 [echo] Syngenta/Gloria/UI/gloria/gloria.csproj
 [solution] Starting solution build.

BUILD FAILED

Error checking whether 'http://localhost/gloria/gloria.csproj' is an
enterprise template
project.
 The remote server returned an error: (403) Forbidden.

Total time: 0.2 seconds."

I have tried switching IIS off, and on and I get the same error each time.
There is a virtual
directory setup too, but I dont want the web server to be used if possible.

Has anybody got any ideas as to why this may be failing?

I am using the latest RC, RC1.

Regards


=
nick.robinson
site : www.fromconcept.co.uk
blog : www.fromconcept.co.uk/weblog.aspx


BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer
ends 21st December 2003. The way the internet was meant to be.
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] and Web Projects

2003-12-13 Thread Gert Driesen
Nick,

This issue is now fixed in CVS.  Can you try today's nightly build
(http://nant.sourceforge.net/nightly/builds) which should be available in a
few minutes ?

Thanks,

Gert
- Original Message - 
From: "Nick Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 5:33 PM
Subject: Re: [Nant-users]  and Web Projects


I found an earlier message that mentioned Windows Server 2003.  I am usng
Windows 2000
Professional.  However, switching full access onto in IIS seemed to get me
further.  Now I get the
following error:

 [nant] D:\Projects\Gloria\Source\Production\NAnt
Scripts\Syngenta.Gloria.Web.nant

Buildfile: file:///D:/Projects/Gloria/Source/Production/NAnt
Scripts/Syngenta.Gloria.Web.nant
Target(s) specified: build

build:


Syngenta.Gloria.Web:

 [echo] Syngenta/Gloria/UI/gloria/gloria.csproj
 [solution] Starting solution build.
 [solution] Only C#, VB.NET and C++ projects are supported.
Skipping project
'GloriaWebSetup\GloriaWebSetup.vdproj'.

BUILD FAILED

INTERNAL ERROR

System.ArgumentException: URI formats are not supported.
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.Path.GetFullPath(String path)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection
tfc, String outputDir, String path)
   at NAnt.VSNet.Solution.LoadProjects()
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList
additionalProjects, ArrayList
referenceProjects, TempFileCollection tfc, SolutionTask solutio
nTask, WebMapCollection webMappings, FileSet excludesProjects, String
outputDir)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]

Total time: 0.4 seconds.

Anybody any ideas?

Thanks,

Nick.



 --- Nick Robinson <[EMAIL PROTECTED]> wrote: > Hi,
>
> I have a solution task that loads a solution that contains a web project.
I dont want to use
> WebDAV.  I have setup a Map:
>
> 
> 
> http://localhost/Gloria/gloria.csproj";
>
path="D:\Projects\Gloria\Source\Production\Syngenta\Gloria\UI\Gloria\gloria.
csproj" />
> 
> 
>
> However, nant reports the following error:
>
> " [nant] D:\Projects\Gloria\Source\Production\NAnt
Scripts\Syngenta.Gloria.Web.nant
>
> Buildfile: file:///D:/Projects/Gloria/Source/Production/NAnt
> Scripts/Syngenta.Gloria.Web.nant
> Target(s) specified: build
>
> build:
>
>
> Syngenta.Gloria.Web:
>
>  [echo] Syngenta/Gloria/UI/gloria/gloria.csproj
>  [solution] Starting solution build.
>
> BUILD FAILED
>
> Error checking whether 'http://localhost/gloria/gloria.csproj' is
an enterprise template
> project.
>  The remote server returned an error: (403) Forbidden.
>
> Total time: 0.2 seconds."
>
> I have tried switching IIS off, and on and I get the same error each time.
There is a virtual
> directory setup too, but I dont want the web server to be used if
possible.
>
> Has anybody got any ideas as to why this may be failing?
>
> I am using the latest RC, RC1.
>
> Regards
>
>
> =
> nick.robinson
> site : www.fromconcept.co.uk
> blog : www.fromconcept.co.uk/weblog.aspx
>
> 
> BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer
ends 21st December
> 2003. The way the internet was meant to be.
> http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
>
>
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users

=
nick.robinson
site : www.fromconcept.co.uk
blog : www.fromconcept.co.uk/weblog.aspx


BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer
ends 21st December 2003. The way the internet was meant to be.
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and

[Nant-users] Property and function names

2003-12-13 Thread Jaroslaw Kowalski
Hi!

Quick Summary: This message discusses changes that are going to be made to
NAnt, which may break your build files in future releases. Before we make
it, we'd like to hear your opinion on the subject

As you may know, there's an ongoing effort to implement expression evaluator
for NAnt. We'll be supporting expressions in all places where property
expansion is supported now. We'll use the same tag: ${...} for both property
expansion and embedded expressions.

Recently, we've discussed various naming conventions for properties and
functions. I'd like to present you with the results, expecting to hear your
opinion.

Please let us know if the proposed changes to naming conventions would break
any of your existing build scripts.

Scroll to the end of this message for instruction for downloading a test
release of NAnt with expression evaluator.

Jarek

PROPERTY NAMES:
===


Currently, NAnt imposes no restrictions on property names. Basically any
string can be a property name: "[EMAIL PROTECTED](*&[EMAIL PROTECTED]", "12345" or 
even "+,-,*,/".
This may cause problems with expression evaluator, so we've decided to
formalize the naming conventions.




A valid property name is a sequence of the following characters:

letters 'A' through 'Z' (uppercase or lowercase)
digits '0' through '9'
'_'(underscore)
'.' (dot)
'-' (dash or minus)

The property name must start with a letter or an underscore and must end
with a letter, underscore or digit.




The following would be legal property names:

propertyname
property.name.with.dots
property-name-with-dashes
property.name-with.both-dots.and-dashes
__property__
property1
property1.0
property2.0.0
_property-2-1__
property-1-name_
property-1.0-name

The following property names would be ILLEGAL:

[EMAIL PROTECTED]@$!@ (contains illegal characters)
.a (starts with a dot)
-a (starts with a dash)
1a (starts with a digit)
a.aaa.a.a.a.a- (ends with a dash)
a.aaa.a.a.a.a. (ends with a dot)


FUNCTION NAMES:
===


We need to formally define function names so that they are clean, readable,
maintainable and allow for future expansion. We've decided to follow XPath
style of naming functions. Additionally we've introduced the concept of
prefixes (namespaces) so that similar functions can be groupped by category.



Names of all functions available in expression evaluator will have the
following form:

prefix::function-name-with-dashes-to-separate-words()

The prefix is a sequence of the following characters:

letters (a-z - lowercase only)
digits (0-9)

The prefix must start with a letter.

"function-name-with-dashes-to-separate-words" is a sequence of the following
characters:

letters (a-z - lowercase only)
digits '0' through '9'
'-' (dash)

Function name must start with a letter and must not end with a dash.

Prefix and function name are separated by a double colon operator "::".



The following function names are LEGAL:

string::starts-with()
cvs::get-file-revision()
nant::property-exists()
file::exists()
directory::exists()
office2000::get-msword-path()
linux::is-kernel-2-6()

The following would be ILLEGAL function names:

::() (prefix must be lowercase)
1::bbb() (prefix must not start with a digit)
::BBB-() (function name must not end with a dash)
::0123aaaBBB() (function name must not start with a digit)
::-()(function name must not start with a dash)
linux::is-kernel-2.6() (contains disallowed character)
linux::is-kernel-2_6() (contains disallowed character)


HOW TO GET IT:
==

There's a test release of NAnt with expression evaluator support available
at:

http://jaak.sav.net/nant-ee/nant-ee-test4.zip (built with .NET 1.1)

The code is in CVS in branch "EE-patches" so you may try to compile.

You are encouraged to try to use it on your build files to see if they don't
break.

The ZIP contains preliminary user documentation for functions
(doc/help/functions.html), so you can see what is going to be available.

There's a command line option to disable expression evaluator. Use it if you
have problems and send us the bug report.

If you like screenshots and VIM is your favourite editor, look at the
upcoming feature:

http://jaak.sav.net/nant-ee/vim-screenshot.gif



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users