RE: [Nant-users] Logging failures or successes

2003-10-20 Thread Nicklas Norling
Sorry to say, this did not work either. The logfile is
still locked, even with autoflush turned on.

C:\Harv> nant release

  





  

ziplogs:

  [zip] Zipping 2 files to C:\Harv\BuildLogs.zip.
C:\Harv\main.build(69,6):
 Zip file 'C:\Harv\BuildLogs.zip' could not be created.
 The process cannot access the file "C:\Harv\Release.log" because it is
being used by another proces

The ziplogs target is called on


Maybe I should report this as a bug on either NAnt or NAntContrib?
Shurely this ought to work for effective logging?

/Nicke

-Original Message-
From: Nicklas Norling [mailto:[EMAIL PROTECTED] 
Sent: den 17 oktober 2003 12:19
To: 'N. V.'; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Logging failures or successes


Hi Nick.

Thanks for the tip, that's pretty much exactly what I need!
Got to look closer at things in NAntContrib I guess.

/Nicke


---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] [RE-SENT] How to react on the value of nant.settings.currentframework during build

2003-10-20 Thread Brar Piening
Hi there,

to build our .Net Data Provider I have to treat some issues when building
for the .Net Compact Framework (prepare resx-files, disable design time
support, include different assemblies, ...).
Is there any way to find out which framework I'm building for (at runtime)?
Im thinking of something like http://www.enterpriselinuxforum.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Nant Link task issue...

2003-10-20 Thread Marion Nalepa
I'm using Nant to build a C++ project, and the one example I could find
shows all the lib files listed with the task, like this



my question is -- what's the difference between the 'options' parameter on the link 
task
and the arg (Array) nested element.

Could the libs be listed with the arg array? Anybody have a sample of what this would 
look like?

Thanks,

-M- 



---
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Solution task & Localization

2003-10-20 Thread Dmitriy Bezugliy




Hi everybody
I am new to using Nant .
When using solution task local resourses not 
generated ...
Am i something missed ?
Regards,
Dmitry 
Bezuglyy
amid@bkc.com.ua


Re: [Nant-users] Logging failures or successes

2003-10-20 Thread Gert Driesen
Are you closing (not just stopping) the Release.log recorder in your
"failure" target ?

I attached an example of a working build file.

Note, when you close the Recorder in the failure target, the final build
result will not yet have been written to the log, so I don't think its
useful for you anyway.  I don't think we can change this behaviour as this
would mean that the build output that's generated in the failure target will
not be available to other loggers that send out the results when the
BuildFinished event is raised.

Gert

- Original Message - 
From: "Nicklas Norling" <[EMAIL PROTECTED]>
To: "'N. V.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 9:28 AM
Subject: RE: [Nant-users] Logging failures or successes


> Sorry to say, this did not work either. The logfile is
> still locked, even with autoflush turned on.
>
> C:\Harv> nant release
>
>   
> 
> 
> 
>  target="release"/>
> 
>   
>
> ziplogs:
>
>   [zip] Zipping 2 files to C:\Harv\BuildLogs.zip.
> C:\Harv\main.build(69,6):
>  Zip file 'C:\Harv\BuildLogs.zip' could not be created.
>  The process cannot access the file "C:\Harv\Release.log" because it is
> being used by another proces
>
> The ziplogs target is called on
> 
>
> Maybe I should report this as a bug on either NAnt or NAntContrib?
> Shurely this ought to work for effective logging?
>
> /Nicke
>
> -Original Message-
> From: Nicklas Norling [mailto:[EMAIL PROTECTED]
> Sent: den 17 oktober 2003 12:19
> To: 'N. V.'; [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Logging failures or successes
>
>
> Hi Nick.
>
> Thanks for the tip, that's pretty much exactly what I need!
> Got to look closer at things in NAntContrib I guess.
>
> /Nicke
>
>
> ---
> This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
> The Event For Linux Datacenter Solutions & Strategies in The Enterprise
> Linux in the Boardroom; in the Front Office; & in the Server Room
> http://www.enterpriselinuxforum.com
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>

   

   
 
 error
 
   

   
 
 
	
		
	
 
   

 

Re: [Nant-users] [RE-SENT] How to react on the value of nant.settings.currentframework during build

2003-10-20 Thread Jaroslaw Kowalski
I do it like this:

 
 
 
 
 
 

which calls a dynamically calculated target name based on the
currentframework. All you need to do is to provide bodies for the "build-*"
targets. I use "depends", but that's not necessary.

Jarek

- Original Message - 
From: "Brar Piening" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 12:03 PM
Subject: [Nant-users] [RE-SENT] How to react on the value of
nant.settings.currentframework during build


> Hi there,
>
> to build our .Net Data Provider I have to treat some issues when building
> for the .Net Compact Framework (prepare resx-files, disable design time
> support, include different assemblies, ...).
> Is there any way to find out which framework I'm building for (at
runtime)?
> Im thinking of something like http://www.enterpriselinuxforum.com
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



---
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users