[Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Philip Van Hoof
When I try to use NAnt with the latest mono available in red-carpet I am
getting this error:

[EMAIL PROTECTED] xnet]$ nant
ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
 
** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
assembly Microsoft.JScript
 
** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
assembly Microsoft.JScript
 
** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
assembly NAnt.Win32Tasks
INTERNAL ERROR
 
An exception was thrown by the type initializer for NAnt.Core.
TypeFactory
 
For more information regarding the cause of the build failure, enable
log4net using the instructions in NAnt.exe.config and run the build
again.
 
Please send bug report to [EMAIL PROTECTED]
[EMAIL PROTECTED] xnet]$ mono --version
Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
[EMAIL PROTECTED] xnet]$



With log4net
[EMAIL PROTECTED] xnet]$ nant
ïlog4net: log4net assembly [log4net, Version=1.2.0.30714,
Culture=neutral, PublicKeyToken=null]. Loaded from [/usr/local/nant/bin/
log4net.dll]. (.NET Runtime [1.1.4322.573] on Unix 5.1.2600.0)
log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.
Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository for assembly
[NAnt]
log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1450.0,
Culture=neutral, PublicKeyToken=null] Loaded From [/usr/local/nant/bin/
NAnt.exe]
log4net: DefaultRepositorySelector: Assembly [NAnt] does not have a
DomainAttribute specified.
log4net: DefaultRepositorySelector: Assembly [NAnt] using domain
[log4net-default-domain] and repository type [log4net.Repository.
Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository for domain
[log4net-default-domain] using type [log4net.Repository.Hierarchy.
Hierarchy]
log4net: DOMConfigurator: configuring repository [log4net-default-
domain] using file [/usr/local/nant/bin/NAnt.exe.config] watching for
file updates
log4net: DOMConfigurator: configuring repository [log4net-default-
domain] using file [/usr/local/nant/bin/NAnt.exe.config]
log4net: DOMConfigurator: configuring repository [log4net-default-
domain] using stream
log4net: DOMConfigurator: loading XML configuration
log4net: DOMConfigurator: Configuring Repository [log4net-default-
domain]
log4net: DOMConfigurator: Configuration update mode [Merge].
log4net: DOMConfigurator: Logger [root] Level string is [ERROR].
log4net: DOMConfigurator: Logger [root] level set to [name="ERROR",
value=7].
log4net: DOMConfigurator: Loading Appender [ConsoleAppender] type:
[log4net.Appender.ConsoleAppender]
log4net: DOMConfigurator: Setting Property [ConversionPattern] to String
value [[%c{2}:%m  - [%x] <%X{auth}>]%n]
log4net: DOMConfigurator: Setting Property [Layout] to object [log4net.
Layout.PatternLayout]
log4net: DOMConfigurator: Created Appender [ConsoleAppender]
log4net: DOMConfigurator: Adding appender named [ConsoleAppender] to
logger [root].
log4net: DOMConfigurator: Hierarchy Threshold [OFF]
log4net: DefaultRepositorySelector: Creating repository for assembly
[NAnt.Core]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
Version=0.84.1450.0, Culture=neutral, PublicKeyToken=null] Loaded From
[/usr/local/nant/bin/NAnt.Core.dll]
log4net: DefaultRepositorySelector: Assembly [NAnt.Core] does not have a
DomainAttribute specified.
log4net: DefaultRepositorySelector: Assembly [NAnt.Core] using domain
[log4net-default-domain] and repository type [log4net.Repository.
Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: domain [log4net-default-domain]
already exisits, using repository type [log4net.Repository.Hierarchy.
Hierarchy]
NAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
 
** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
assembly Microsoft.JScript
 
** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
assembly Microsoft.JScript
 
** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
assembly NAnt.Win32Tasks
INTERNAL ERROR
 
An exception was thrown by the type initializer for NAnt.Core.
TypeFactory
 
For more information regarding the cause of the build failure, enable
log4net using the instructions in NAnt.exe.config and run the build
again.
 
Please send bug report to [EMAIL PROTECTED]
[EMAIL PROTECTED] xnet]$



-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org (change the From-field)
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=c

Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Jaroslaw Kowalski
Enter your nant directory (where nant.build) is located and rebuild it by
using:

$ make clean
$ make all

Your rebuilt binaries go to build/mono-1.0.unix/nant-*/bin/

Jarek

- Original Message - 
From: "Philip Van Hoof" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 10:11 AM
Subject: [Nant-users] Trying to use NAnt with mono 0.28


> When I try to use NAnt with the latest mono available in red-carpet I am
> getting this error:
>
> [EMAIL PROTECTED] xnet]$ nant
> ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
> Copyright (C) 2001-2003 Gerry Shaw
> http://nant.sourceforge.net
>
>
> ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> assembly Microsoft.JScript
>
> ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> assembly Microsoft.JScript
>
> ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> assembly NAnt.Win32Tasks
> INTERNAL ERROR
>
> An exception was thrown by the type initializer for NAnt.Core.
> TypeFactory
>
> For more information regarding the cause of the build failure, enable
> log4net using the instructions in NAnt.exe.config and run the build
> again.
>
> Please send bug report to [EMAIL PROTECTED]
> [EMAIL PROTECTED] xnet]$ mono --version
> Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
> [EMAIL PROTECTED] xnet]$
>
>
>
> With log4net
> [EMAIL PROTECTED] xnet]$ nant
> ïlog4net: log4net assembly [log4net, Version=1.2.0.30714,
> Culture=neutral, PublicKeyToken=null]. Loaded from [/usr/local/nant/bin/
> log4net.dll]. (.NET Runtime [1.1.4322.573] on Unix 5.1.2600.0)
> log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.
> Repository.Hierarchy.Hierarchy]
> log4net: DefaultRepositorySelector: Creating repository for assembly
> [NAnt]
> log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1450.0,
> Culture=neutral, PublicKeyToken=null] Loaded From [/usr/local/nant/bin/
> NAnt.exe]
> log4net: DefaultRepositorySelector: Assembly [NAnt] does not have a
> DomainAttribute specified.
> log4net: DefaultRepositorySelector: Assembly [NAnt] using domain
> [log4net-default-domain] and repository type [log4net.Repository.
> Hierarchy.Hierarchy]
> log4net: DefaultRepositorySelector: Creating repository for domain
> [log4net-default-domain] using type [log4net.Repository.Hierarchy.
> Hierarchy]
> log4net: DOMConfigurator: configuring repository [log4net-default-
> domain] using file [/usr/local/nant/bin/NAnt.exe.config] watching for
> file updates
> log4net: DOMConfigurator: configuring repository [log4net-default-
> domain] using file [/usr/local/nant/bin/NAnt.exe.config]
> log4net: DOMConfigurator: configuring repository [log4net-default-
> domain] using stream
> log4net: DOMConfigurator: loading XML configuration
> log4net: DOMConfigurator: Configuring Repository [log4net-default-
> domain]
> log4net: DOMConfigurator: Configuration update mode [Merge].
> log4net: DOMConfigurator: Logger [root] Level string is [ERROR].
> log4net: DOMConfigurator: Logger [root] level set to [name="ERROR",
> value=7].
> log4net: DOMConfigurator: Loading Appender [ConsoleAppender] type:
> [log4net.Appender.ConsoleAppender]
> log4net: DOMConfigurator: Setting Property [ConversionPattern] to String
> value [[%c{2}:%m  - [%x] <%X{auth}>]%n]
> log4net: DOMConfigurator: Setting Property [Layout] to object [log4net.
> Layout.PatternLayout]
> log4net: DOMConfigurator: Created Appender [ConsoleAppender]
> log4net: DOMConfigurator: Adding appender named [ConsoleAppender] to
> logger [root].
> log4net: DOMConfigurator: Hierarchy Threshold [OFF]
> log4net: DefaultRepositorySelector: Creating repository for assembly
> [NAnt.Core]
> log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
> Version=0.84.1450.0, Culture=neutral, PublicKeyToken=null] Loaded From
> [/usr/local/nant/bin/NAnt.Core.dll]
> log4net: DefaultRepositorySelector: Assembly [NAnt.Core] does not have a
> DomainAttribute specified.
> log4net: DefaultRepositorySelector: Assembly [NAnt.Core] using domain
> [log4net-default-domain] and repository type [log4net.Repository.
> Hierarchy.Hierarchy]
> log4net: DefaultRepositorySelector: domain [log4net-default-domain]
> already exisits, using repository type [log4net.Repository.Hierarchy.
> Hierarchy]
> NAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
> Copyright (C) 2001-2003 Gerry Shaw
> http://nant.sourceforge.net
>
>
> ** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
> assembly Microsoft.JScript
>
> ** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
> assembly Microsoft.JScript
>
> ** (/usr/local/nant/bin/NAnt.exe:5855): WARNING **: Could not find
> assembly NAnt.Win32Tasks
> INTERNAL ERROR
>
> An exception was thrown by the type initializer for NAnt.Core.
> TypeFactory
>
> For more information regarding the cause of the build failure, enable
> log4net using the instructions in NAnt.exe.config and run the build
> again.
>
> Please se

[Nant-users] Adding dependencies between subprojects using task

2003-12-31 Thread Karmous S. (Saber)
Hi there,

We're trying to add dependencies between subprojects, when we're using a
root nant build file, which is used to create subprojects. The subprojects
are not explicitly named in the root build file. How can we realize that
subproject A, depends on subproject B to be built.


Regards


Saber


DISCLAIMER*** 
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en 
gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die 
voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be 
passed on to, or made available for use by any person other than the 
addressee(s). Fortis rules out any and every liability resulting from 
any electronic transmission.
***



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Philip Van Hoof

On Wed, 2003-12-31 at 10:21 +0100, Jaroslaw Kowalski wrote:
> Enter your nant directory (where nant.build) is located and rebuild it by
> using:
> 
> $ make clean
> $ make all

Gives me this error:

make[1]: Entering directory `/usr/local/nant'
if test x = xWindows_NT; then make windows-nant; else make linux-nant;
fi
make[2]: Entering directory `/usr/local/nant'
mono bin/NAnt.exe -buildfile:NAnt.build build
ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
Framework 'mono-1.0' does not exist or is not specified in the NAnt
configuration file. Defaulting to no known framework.
Buildfile: file://usr/local/nant/NAnt.build
Target(s) specified: build
 
BUILD FAILED
 
/usr/local/nant/NAnt.build(3,5):
Property 'nant.settings.currentframework' has not been set.
 
Total time: 0.1 seconds.
 
make[2]: *** [linux-nant] Error 1
make[2]: Leaving directory `/usr/local/nant'
make[1]: *** [nant] Error 2
make[1]: Leaving directory `/usr/local/nant'
make: *** [all] Error 2
[EMAIL PROTECTED] nant]#



> Your rebuilt binaries go to build/mono-1.0.unix/nant-*/bin/
> 
> Jarek
> 
> - Original Message - 
> From: "Philip Van Hoof" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 31, 2003 10:11 AM
> Subject: [Nant-users] Trying to use NAnt with mono 0.28
> 
> 
> > When I try to use NAnt with the latest mono available in red-carpet I am
> > getting this error:
> >
> > [EMAIL PROTECTED] xnet]$ nant
> > ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
> > Copyright (C) 2001-2003 Gerry Shaw
> > http://nant.sourceforge.net
> >
> >
> > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > assembly Microsoft.JScript
> >
> > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > assembly Microsoft.JScript
> >
> > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > assembly NAnt.Win32Tasks
> > INTERNAL ERROR
> >
> > An exception was thrown by the type initializer for NAnt.Core.
> > TypeFactory
> >
> > For more information regarding the cause of the build failure, enable
> > log4net using the instructions in NAnt.exe.config and run the build
> > again.
> >
> > Please send bug report to [EMAIL PROTECTED]
> > [EMAIL PROTECTED] xnet]$ mono --version
> > Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
> > [EMAIL PROTECTED] xnet]$
> >
> >
> >
> > With log4net
> > [EMAIL PROTECTED] xnet]$ nant
> > ïlog4net: log4net assembly [log4net, Version=1.2.0.30714,
> > Culture=neutral, PublicKeyToken=null]. Loaded from [/usr/local/nant/bin/
> > log4net.dll]. (.NET Runtime [1.1.4322.573] on Unix 5.1.2600.0)
> > log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.
> > Repository.Hierarchy.Hierarchy]
> > log4net: DefaultRepositorySelector: Creating repository for assembly
> > [NAnt]
> > log4net: DefaultRepositorySelector: Assembly [NAnt, Version=0.84.1450.0,
> > Culture=neutral, PublicKeyToken=null] Loaded From [/usr/local/nant/bin/
> > NAnt.exe]
> > log4net: DefaultRepositorySelector: Assembly [NAnt] does not have a
> > DomainAttribute specified.
> > log4net: DefaultRepositorySelector: Assembly [NAnt] using domain
> > [log4net-default-domain] and repository type [log4net.Repository.
> > Hierarchy.Hierarchy]
> > log4net: DefaultRepositorySelector: Creating repository for domain
> > [log4net-default-domain] using type [log4net.Repository.Hierarchy.
> > Hierarchy]
> > log4net: DOMConfigurator: configuring repository [log4net-default-
> > domain] using file [/usr/local/nant/bin/NAnt.exe.config] watching for
> > file updates
> > log4net: DOMConfigurator: configuring repository [log4net-default-
> > domain] using file [/usr/local/nant/bin/NAnt.exe.config]
> > log4net: DOMConfigurator: configuring repository [log4net-default-
> > domain] using stream
> > log4net: DOMConfigurator: loading XML configuration
> > log4net: DOMConfigurator: Configuring Repository [log4net-default-
> > domain]
> > log4net: DOMConfigurator: Configuration update mode [Merge].
> > log4net: DOMConfigurator: Logger [root] Level string is [ERROR].
> > log4net: DOMConfigurator: Logger [root] level set to [name="ERROR",
> > value=7].
> > log4net: DOMConfigurator: Loading Appender [ConsoleAppender] type:
> > [log4net.Appender.ConsoleAppender]
> > log4net: DOMConfigurator: Setting Property [ConversionPattern] to String
> > value [[%c{2}:%m  - [%x] <%X{auth}>]%n]
> > log4net: DOMConfigurator: Setting Property [Layout] to object [log4net.
> > Layout.PatternLayout]
> > log4net: DOMConfigurator: Created Appender [ConsoleAppender]
> > log4net: DOMConfigurator: Adding appender named [ConsoleAppender] to
> > logger [root].
> > log4net: DOMConfigurator: Hierarchy Threshold [OFF]
> > log4net: DefaultRepositorySelector: Creating repository for assembly
> > [NAnt.Core]
> > log4net: DefaultRepositorySelector: Assembly [NAnt.Core,
> > Version=0.84.1450.0, Culture=neutral, PublicKeyToken=null] Loaded From
> 

Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Jaroslaw Kowalski
Open bin/NAnt.exe.config, find:



To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 10:55 AM
Subject: Re: [Nant-users] Trying to use NAnt with mono 0.28


>
> On Wed, 2003-12-31 at 10:21 +0100, Jaroslaw Kowalski wrote:
> > Enter your nant directory (where nant.build) is located and rebuild it
by
> > using:
> >
> > $ make clean
> > $ make all
>
> Gives me this error:
>
> make[1]: Entering directory `/usr/local/nant'
> if test x = xWindows_NT; then make windows-nant; else make linux-nant;
> fi
> make[2]: Entering directory `/usr/local/nant'
> mono bin/NAnt.exe -buildfile:NAnt.build build
> ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
> Copyright (C) 2001-2003 Gerry Shaw
> http://nant.sourceforge.net
>
> Framework 'mono-1.0' does not exist or is not specified in the NAnt
> configuration file. Defaulting to no known framework.
> Buildfile: file://usr/local/nant/NAnt.build
> Target(s) specified: build
>
> BUILD FAILED
>
> /usr/local/nant/NAnt.build(3,5):
> Property 'nant.settings.currentframework' has not been set.
>
> Total time: 0.1 seconds.
>
> make[2]: *** [linux-nant] Error 1
> make[2]: Leaving directory `/usr/local/nant'
> make[1]: *** [nant] Error 2
> make[1]: Leaving directory `/usr/local/nant'
> make: *** [all] Error 2
> [EMAIL PROTECTED] nant]#
>
>
>
> > Your rebuilt binaries go to build/mono-1.0.unix/nant-*/bin/
> >
> > Jarek
> >
> > - Original Message - 
> > From: "Philip Van Hoof" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 31, 2003 10:11 AM
> > Subject: [Nant-users] Trying to use NAnt with mono 0.28
> >
> >
> > > When I try to use NAnt with the latest mono available in red-carpet I
am
> > > getting this error:
> > >
> > > [EMAIL PROTECTED] xnet]$ nant
> > > ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
> > > Copyright (C) 2001-2003 Gerry Shaw
> > > http://nant.sourceforge.net
> > >
> > >
> > > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > > assembly Microsoft.JScript
> > >
> > > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > > assembly Microsoft.JScript
> > >
> > > ** (/usr/local/nant/bin/NAnt.exe:5619): WARNING **: Could not find
> > > assembly NAnt.Win32Tasks
> > > INTERNAL ERROR
> > >
> > > An exception was thrown by the type initializer for NAnt.Core.
> > > TypeFactory
> > >
> > > For more information regarding the cause of the build failure, enable
> > > log4net using the instructions in NAnt.exe.config and run the build
> > > again.
> > >
> > > Please send bug report to [EMAIL PROTECTED]
> > > [EMAIL PROTECTED] xnet]$ mono --version
> > > Mono JIT compiler version 0.28, (C) 2002, 2003 Ximian, Inc.
> > > [EMAIL PROTECTED] xnet]$
> > >
> > >
> > >
> > > With log4net
> > > [EMAIL PROTECTED] xnet]$ nant
> > > ïlog4net: log4net assembly [log4net, Version=1.2.0.30714,
> > > Culture=neutral, PublicKeyToken=null]. Loaded from
[/usr/local/nant/bin/
> > > log4net.dll]. (.NET Runtime [1.1.4322.573] on Unix 5.1.2600.0)
> > > log4net: DefaultRepositorySelector: defaultRepositoryType [log4net.
> > > Repository.Hierarchy.Hierarchy]
> > > log4net: DefaultRepositorySelector: Creating repository for assembly
> > > [NAnt]
> > > log4net: DefaultRepositorySelector: Assembly [NAnt,
Version=0.84.1450.0,
> > > Culture=neutral, PublicKeyToken=null] Loaded From
[/usr/local/nant/bin/
> > > NAnt.exe]
> > > log4net: DefaultRepositorySelector: Assembly [NAnt] does not have a
> > > DomainAttribute specified.
> > > log4net: DefaultRepositorySelector: Assembly [NAnt] using domain
> > > [log4net-default-domain] and repository type [log4net.Repository.
> > > Hierarchy.Hierarchy]
> > > log4net: DefaultRepositorySelector: Creating repository for domain
> > > [log4net-default-domain] using type [log4net.Repository.Hierarchy.
> > > Hierarchy]
> > > log4net: DOMConfigurator: configuring repository [log4net-default-
> > > domain] using file [/usr/local/nant/bin/NAnt.exe.config] watching for
> > > file updates
> > > log4net: DOMConfigurator: configuring repository [log4net-default-
> > > domain] using file [/usr/local/nant/bin/NAnt.exe.config]
> > > log4net: DOMConfigurator: configuring repository [log4net-default-
> > > domain] using stream
> > > log4net: DOMConfigurator: loading XML configuration
> > > log4net: DOMConfigurator: Configuring Repository [log4net-default-
> > > domain]
> > > log4net: DOMConfigurator: Configuration update mode [Merge].
> > > log4net: DOMConfigurator: Logger [root] Level string is [ERROR].
> > > log4net: DOMConfigurator: Logger [root] level set to [name="ERROR",
> > > value=7].
> > > log4net: DOMConfigurator: Loading Appender [ConsoleAppender] type:
> > > [log4net.Appender.ConsoleAppender]
> > > log4net: DOMConfigurator: Setting Property [ConversionPattern] to
String
> > > value [[%c{2}:%m  - [%x] <%X{auth}>]%n]
> > > log4net: DOMConfigurator: Setting Property [Layout] to object
[log4net.
> > > Layout.PatternLayout]

Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Philip Van Hoof
On Wed, 2003-12-31 at 11:13 +0100, Jaroslaw Kowalski wrote:
> Open bin/NAnt.exe.config, find:
> 
> 
>  
> 
> and update your paths accordingly:
> 
> In my case it is:
> 
> sdkdirectory="/opt/mono/bin"
> frameworkdirectory="/opt/mono/bin"
> frameworkassemblydirectory="/opt/mono/lib"

I changed the paths from /usr/local/* to /usr/bin and /usr/lib (I am
using the mono 0.28 RPM package). Now I am getting this error:

[EMAIL PROTECTED] xnet]$ nant
ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
Buildfile: file://mnt/data/Projects/xnet/xnet.build
 
BUILD FAILED
 
INTERNAL ERROR
 
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeInitializationException:
An exception was thrown by the type initializer for NAnt.DotNet.Tasks.
CompilerBase ---> System.NullReferenceException: A null value was found
where an object instance was required
in <0x00117> NAnt.DotNet.Tasks.CompilerBase:.cctor ()
--- End of inner exception stack trace ---
 
in (unmanaged) NAnt.DotNet.Tasks.CompilerBase:.ctor ()
in <0x0003d> NAnt.DotNet.Tasks.CscTask:.ctor ()
in (unmanaged) /usr/lib/libmono.so.0 [0x4005c8a3]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27)
[0x400aa690]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4)
[0x400ab452]
in (unmanaged) /usr/lib/libmono.so.0 [0x400b1612]
in <0x0009c> System.Reflection.MonoCMethod:Invoke (object,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo)
--- End of inner exception stack trace ---
 
in <0x000e4> System.Reflection.MonoCMethod:Invoke (object,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo)
in <0x00022> System.Reflection.MonoCMethod:Invoke (System.Reflection.
BindingFlags,System.Reflection.Binder,object[],System.Globalization.
CultureInfo)
in <0x0026b> System.Activator:CreateInstance (System.Type,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo,object[])
in <0x00050> System.Reflection.Assembly:CreateInstance (string,bool,
System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo,object[])
in <0x00060> NAnt.Core.TaskBuilder:CreateTask ()
in <0x00111> NAnt.Core.TypeFactory:CreateTask (System.Xml.XmlNode,NAnt.
Core.Project)
in <0x00017> NAnt.Core.Project:CreateTask (System.Xml.XmlNode,NAnt.Core.
Target)
in <0x00019> NAnt.Core.Project:CreateTask (System.Xml.XmlNode)
in <0x00459> NAnt.Core.Project:InitializeProjectDocument (System.Xml.
XmlDocument)
in <0x00270> NAnt.Core.Project:Execute ()
in <0x00173> NAnt.Core.Project:Run ()
 
 
Please send bug report to [EMAIL PROTECTED]
 
Total time: 0.1 seconds.
 
[EMAIL PROTECTED] xnet]$



> You may have installed mono somewhere else.
> This needs to be done every time you install a new version of nant.
> 
> Jarek
> 

-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org (change the From-field)
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Gert Driesen
You need to have ICU support enabled in Mono, as the NAnt compilers also
deal with localization ...

Gert

- Original Message - 
From: "Philip Van Hoof" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 12:53 PM
Subject: Re: [Nant-users] Trying to use NAnt with mono 0.28


On Wed, 2003-12-31 at 11:13 +0100, Jaroslaw Kowalski wrote:
> Open bin/NAnt.exe.config, find:
>
> 
>  
>
> and update your paths accordingly:
>
> In my case it is:
>
> sdkdirectory="/opt/mono/bin"
> frameworkdirectory="/opt/mono/bin"
> frameworkassemblydirectory="/opt/mono/lib"

I changed the paths from /usr/local/* to /usr/bin and /usr/lib (I am
using the mono 0.28 RPM package). Now I am getting this error:

[EMAIL PROTECTED] xnet]$ nant
ïNAnt 0.84 (Build 0.84.1450.0; net-1.0.win32; rc 2; 12/21/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file://mnt/data/Projects/xnet/xnet.build

BUILD FAILED

INTERNAL ERROR

System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeInitializationException:
An exception was thrown by the type initializer for NAnt.DotNet.Tasks.
CompilerBase ---> System.NullReferenceException: A null value was found
where an object instance was required
in <0x00117> NAnt.DotNet.Tasks.CompilerBase:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) NAnt.DotNet.Tasks.CompilerBase:.ctor ()
in <0x0003d> NAnt.DotNet.Tasks.CscTask:.ctor ()
in (unmanaged) /usr/lib/libmono.so.0 [0x4005c8a3]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27)
[0x400aa690]
in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4)
[0x400ab452]
in (unmanaged) /usr/lib/libmono.so.0 [0x400b1612]
in <0x0009c> System.Reflection.MonoCMethod:Invoke (object,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x000e4> System.Reflection.MonoCMethod:Invoke (object,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo)
in <0x00022> System.Reflection.MonoCMethod:Invoke (System.Reflection.
BindingFlags,System.Reflection.Binder,object[],System.Globalization.
CultureInfo)
in <0x0026b> System.Activator:CreateInstance (System.Type,System.
Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo,object[])
in <0x00050> System.Reflection.Assembly:CreateInstance (string,bool,
System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.
Globalization.CultureInfo,object[])
in <0x00060> NAnt.Core.TaskBuilder:CreateTask ()
in <0x00111> NAnt.Core.TypeFactory:CreateTask (System.Xml.XmlNode,NAnt.
Core.Project)
in <0x00017> NAnt.Core.Project:CreateTask (System.Xml.XmlNode,NAnt.Core.
Target)
in <0x00019> NAnt.Core.Project:CreateTask (System.Xml.XmlNode)
in <0x00459> NAnt.Core.Project:InitializeProjectDocument (System.Xml.
XmlDocument)
in <0x00270> NAnt.Core.Project:Execute ()
in <0x00173> NAnt.Core.Project:Run ()


Please send bug report to [EMAIL PROTECTED]

Total time: 0.1 seconds.

[EMAIL PROTECTED] xnet]$



> You may have installed mono somewhere else.
> This needs to be done every time you install a new version of nant.
>
> Jarek
>

-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org (change the From-field)
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Philip Van Hoof
On Wed, 2003-12-31 at 13:09 +0100, Gert Driesen wrote:
> You need to have ICU support enabled in Mono, as the NAnt compilers also
> deal with localization ...
 
How do I enable this with the mono 0.28 packages?

-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org (change the From-field)
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Gert Driesen
- Original Message - 
From: "Philip Van Hoof" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 2:38 PM
Subject: Re: [Nant-users] Trying to use NAnt with mono 0.28


> On Wed, 2003-12-31 at 13:09 +0100, Gert Driesen wrote:
> > You need to have ICU support enabled in Mono, as the NAnt compilers also
> > deal with localization ...
>
> How do I enable this with the mono 0.28 packages?

Not sure if this is possible at all ... I think ICU support was added post
0.28.

I guess you could just comment out the code in the CompilerBase static
constructor if you don't intend to build localized apps.

Gert



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] Trying to use NAnt with mono 0.28

2003-12-31 Thread Scott Ford
0.29 has been out since December 2, see if upgrading helps.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert
Driesen
Sent: Wednesday, December 31, 2003 8:45 AM
To: Philip Van Hoof
Cc: Jaroslaw Kowalski; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Trying to use NAnt with mono 0.28

- Original Message - 
From: "Philip Van Hoof" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Cc: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 2:38 PM
Subject: Re: [Nant-users] Trying to use NAnt with mono 0.28


> On Wed, 2003-12-31 at 13:09 +0100, Gert Driesen wrote:
> > You need to have ICU support enabled in Mono, as the NAnt compilers
also
> > deal with localization ...
>
> How do I enable this with the mono 0.28 packages?

Not sure if this is possible at all ... I think ICU support was added
post
0.28.

I guess you could just comment out the code in the CompilerBase static
constructor if you don't intend to build localized apps.

Gert



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] arg... if task or some other conditional

2003-12-31 Thread Ryan Cromwell
I have created a script task which populates a property solution.projects with a | delimited string.  This is all fine and dandy, but web projects return web urls.  I could use DirectoryServices to look up the physical path of the url while still in the script, but i really want to use the NAntContrib iisdirinfo task.  I can do this without issue as well, but the problem is I can't figure out how to set a conditional.  I need to do the following: 

This won't work though, because the foreach item is not a file/directory.  Can anyone suggest a way to use the if task or soemthing else.
 
Thanks everybody
 Expand your wine savvy — and get some great new recipes — at MSN Wine. 


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] arg... if task or some other conditional

2003-12-31 Thread Jaroslaw Kowalski
If you want to use a stable nant version - that can't be easily done. There
could be a solution
If you download the latest daily build, you'll see support for expressions
and functions.

Your condition can be written as:





You can get the latest nightly build at:

http://nant.sf.net/builds

Jarek

- Original Message - 
From: "Ryan Cromwell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 4:10 PM
Subject: [Nant-users] arg... if task or some other conditional


> I have created a script task which populates a property solution.projects
with a | delimited string.  This is all fine and dandy, but web projects
return web urls.  I could use DirectoryServices to look up the physical path
of the url while still in the script, but i really want to use the
NAntContrib iisdirinfo task.  I can do this without issue as well, but the
problem is I can't figure out how to set a conditional.  I need to do the
following:
>
> 
>  
>   
>  
> 
>
>
> This won't work though, because the foreach item is not a file/directory.
Can anyone suggest a way to use the if task or soemthing else.
>
>
>
> Thanks everybody
>
>
>
> --
--
> Expand your wine savvy — and get some great new recipes — at MSN
Wine. --- This SF.net
email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or
just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn
everything from the bash shell to sys admin. Click now!
http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___ Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Nant question

2003-12-31 Thread Waldinger, Jamie
Title: Nant question





Hi,


I am new to Nant and trying to automate the build for a mostly .NET project. However, there is one component of the project that is written in MS Visual C++ 6.0. Hence instead of a '.sln' file, it has a '.dsw' file. Can I compile this solution in the same way that I would a .NET solution using the  task in Nant? If not, how can I do this?

Thanks very much,


Jamie Waldinger





Re: [Nant-users] Nant question

2003-12-31 Thread Jaroslaw Kowalski
AFAIK, there's no direct support for building *.dsw solutions.

You may want to use  task on "msdev.com", like this:



For a full list of options, execute "msdev.com /?".

This isn't the best option, because it requires you to have VS6.0 installed.

Jarek

- Original Message - 
From: "Waldinger, Jamie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 5:25 PM
Subject: [Nant-users] Nant question


> Hi,
>
> I am new to Nant and trying to automate the build for a mostly .NET
project.
> However, there is one component of the project that is written in MS
Visual
> C++ 6.0. Hence instead of a '.sln' file, it has a '.dsw' file. Can I
compile
> this solution in the same way that I would a .NET solution using the
>  task in Nant? If not, how can I do this?
>
> Thanks very much,
>
> Jamie Waldinger
>



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] arg... if task or some other conditional

2003-12-31 Thread Scott Hernandez
If you must run a release version, you can do something like this:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02208.html

It combines foreach/regex/if to do what you want. You will need to return
True/False on finding the http in the start of the string, but this can be
down with regular expressions. Just don't ask me to do it, but I think it is
in the archives somewhere :)

Good luck :)

- Original Message - 
From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
To: "Ryan Cromwell" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, December 31, 2003 7:18 AM
Subject: Re: [Nant-users] arg... if task or some other conditional


> If you want to use a stable nant version - that can't be easily done.
There
> could be a solution
> If you download the latest daily build, you'll see support for expressions
> and functions.
>
> Your condition can be written as:
>
> 
>
> 
>
> You can get the latest nightly build at:
>
> http://nant.sf.net/builds
>
> Jarek
>
> - Original Message - 
> From: "Ryan Cromwell" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 31, 2003 4:10 PM
> Subject: [Nant-users] arg... if task or some other conditional
>
>
> > I have created a script task which populates a property
solution.projects
> with a | delimited string.  This is all fine and dandy, but web projects
> return web urls.  I could use DirectoryServices to look up the physical
path
> of the url while still in the script, but i really want to use the
> NAntContrib iisdirinfo task.  I can do this without issue as well, but the
> problem is I can't figure out how to set a conditional.  I need to do the
> following:
> >
> >  property="projectFile">
> >  
> >   

[Nant-users] Nant help

2003-12-31 Thread Waldinger, Jamie
Title: Nant help





Hi,


I am looking at Nant to automate builds of a .NET project. My question is, can I do checkouts, checkins, and labelling of code that resides in VSS, all from Nant? I don't see any tasks that indicate such is possible. 

Please reply to: [EMAIL PROTECTED] - I am not subscribed to the nant-users list.


Thanks much,


Jamie





[Nant-users] .84 and PostBuild steps

2003-12-31 Thread Kinsman,Chris








We use PostBuild steps in our project files to copy files to
our common build directory and to provide some functionality that Nant provides
automatically.

 

Problem is that with the release of Nant .84 the post build
steps are getting run by Nant and failing because the files they copy aren’t
where they expect them to be!  Is there a way short of recompiling Nant to
indicate in the solution task to ignore those steps?  BTW I did read through
the source and didn’t see an obvious way and for now we are running with
a patched version that doesn’t run PostBuildEvents.

 

 

Thanks,

 

Chris








Re: [Nant-users] Nant help

2003-12-31 Thread William E Caputo
Jamie:
>My question is, can I do checkouts, checkins, and labelling of code that 
resides in VSS, all from Nant? 
>I don't see any tasks that indicate such is possible. 

Check out the VSS tasks in NAntContrib:
http://nantcontrib.sourceforge.net/help/tasks/index.html

Best,
Bill

William E. Caputo
ThoughtWorks, Inc.
http://www.williamcaputo.com

idia ktesis, koine chresis





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Nant help

2003-12-31 Thread Scott Hernandez
Title: Nant help



Yes, take a look at the nantcontrib tasks. http://nantcontrib.sf.net
 
You can also search the archives 
(nantcontrib/nant) at mail-archive.com for tips and tricks.

  - Original Message - 
  From: 
  Waldinger, Jamie 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Tuesday, December 30, 2003 1:38 
  PM
  Subject: [Nant-users] Nant help
  
  Hi, 
  I am looking at Nant to automate builds of a .NET 
  project. My question is, can I do checkouts, checkins, and labelling of code 
  that resides in VSS, all from Nant? I don't see any tasks that indicate such 
  is possible. 
  Please reply to: [EMAIL PROTECTED] - I am not 
  subscribed to the nant-users list. 
  Thanks much, 
  Jamie