RE: [nant-dev] NAnt and Gump -- getting closer...

2004-09-08 Thread Clayton Harbour
  Clayton was wondering if we could use References inside NAnt, and 
  Gump write a pre-defined include file [it does something 
 similar when 
  it run Maven]. Does this idea have legs? Will it work for 
 compiles and 
  tests?
 
 I don't think it would work for tests.  Can you specify the 
 path to nunit.core.dll at runtime for NAnt's nunit task - 
 or maybe before runtime, but to a value that may be different 
 every day?

Hi, sorry I am ringing in so late it has been a long day.  Adam I think
we were talking more or less about the include file that could be used
to override a path in a build file (i.e. a lib directory).  So the
referencing file/ build master file would look something like this:
include buildfile=my.local.xml failonerror=false/

csc target=exe output=HelloWorld.exe debug=true
nowarn
!-- do not report warnings for missing XML
comments --
warning number=0519 /
/nowarn
sources
include name=**/*.cs /
/sources
resources dynamicprefix=true prefix=HelloWorld
include name=**/*.resx /
/resources
references
  include name=${lib.dir}/MyLibrary.dll/
include name=System.dll /
include name=System.Data.dll /
/references
/csc

And then in your local copy of gump you would override lib.dir:
property name=lib.dir value=/my/new/lib/dir
readonly=true/

Applying this to the NAnt.build file would give you the ability to point
at a different bin folder (pseudo build file):

!-- in include file --
property name=lib.dir value=/my/root/lib/dir/
property name=lib.family.dir
value=${path::combine(lib.root, lib.family.dir)} readonly=true/

!-- and in NAnt.build this line would now point at your new lib root
path
if the include was added to the build script
--
property name=lib.framework.dir
value=${path::combine(lib.family.dir,
framework::get-version(framework::get-target-framework()))}
dynamic=true /


It would not allow you to change the nunit/ binary at runtime though
but you could recompile with a freshly built bin dependancy tree...which
would in effect allow you to run with a different version of nunit.

It is late so I hope that makes sense :-).


Cheers,


Clayton


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47alloc_id808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1023986 ] delay-sign task fails

2004-09-08 Thread SourceForge.net
Bugs item #1023986, was opened at 2004-09-07 23:02
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1023986group_id=31650

Category: Tasks
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard J Foster (richardjfoster)
Assigned to: Nobody/Anonymous (nobody)
Summary: delay-sign task fails

Initial Comment:
The delay-sign task appears to be attempting to use an
executable called delay-sign.exe. I have no such
executable available. Shouldn't it be trying to use sn -R?

Development environment: Visual Studio 2003 Professional.

--

Comment By: Gert Driesen (drieseng)
Date: 2004-09-08 09:30

Message:
Logged In: YES 
user_id=707851

What version of NAnt are you using ? I have no problems 
using the delay-sign task in the 0.85 nightly builds 
(http://nant.sourceforge.net/nightly/builds).


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1023986group_id=31650


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Question

2004-09-08 Thread Giuseppe Greco
Hi guys,
I'm trying to use NAnt with .NET 2.0:

nant -defaultframework:net-2.0

... but it looks like NAnt doesn't care:

BUILD FAILED

The SDK for the 'net-1.1' framework is not available or not configured.

Total time: 0.1 seconds.

Any idea?
j3d.



Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-1023986 ] delay-sign task fails

2004-09-08 Thread SourceForge.net
Bugs item #1023986, was opened at 2004-09-07 17:02
Message generated for change (Comment added) made by richardjfoster
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1023986group_id=31650

Category: Tasks
Group: None
Status: Deleted
Resolution: Invalid
Priority: 1
Submitted By: Richard J Foster (richardjfoster)
Assigned to: Nobody/Anonymous (nobody)
Summary: delay-sign task fails

Initial Comment:
The delay-sign task appears to be attempting to use an
executable called delay-sign.exe. I have no such
executable available. Shouldn't it be trying to use sn -R?

Development environment: Visual Studio 2003 Professional.

--

Comment By: Richard J Foster (richardjfoster)
Date: 2004-09-08 08:55

Message:
Logged In: YES 
user_id=635936

Oops. My bad. I had downloaded the 0.85 nightly, but my path
variable was such that the 0.84 executable was found first.
The 0.85 nightly build works as advertised!

--

Comment By: Gert Driesen (drieseng)
Date: 2004-09-08 03:30

Message:
Logged In: YES 
user_id=707851

What version of NAnt are you using ? I have no problems 
using the delay-sign task in the 0.85 nightly builds 
(http://nant.sourceforge.net/nightly/builds).


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=402868aid=1023986group_id=31650


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Question

2004-09-08 Thread Gert Driesen
Giuseppe,
What version of NAnt are you using ? I think there might have been an issue 
with this a while ago ...

Gert
- Original Message - 
From: Giuseppe Greco [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 2:05 PM
Subject: [nant-dev] Question


Hi guys,
I'm trying to use NAnt with .NET 2.0:
nant -defaultframework:net-2.0
... but it looks like NAnt doesn't care:
BUILD FAILED
The SDK for the 'net-1.1' framework is not available or not configured.
Total time: 0.1 seconds.
Any idea?
j3d.

Giuseppe Greco
::agamura::
phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Question

2004-09-08 Thread Giuseppe Greco
I'm using the version released on 4th September...

j3d.

 Giuseppe,

 What version of NAnt are you using ? I think there might have been an
 issue
 with this a while ago ...

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 2:05 PM
 Subject: [nant-dev] Question


 Hi guys,
 I'm trying to use NAnt with .NET 2.0:

 nant -defaultframework:net-2.0

 ... but it looks like NAnt doesn't care:

 BUILD FAILED

 The SDK for the 'net-1.1' framework is not available or not configured.

 Total time: 0.1 seconds.

 Any idea?
 j3d.


 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers





Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Question

2004-09-08 Thread Gert Driesen
Giuseppe,
I'm unable to reproduce that issue here. Can you package up a small repro 
for this ?

Thanks,
Gert
- Original Message - 
From: Giuseppe Greco [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: Giuseppe Greco [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 2:35 PM
Subject: Re: [nant-dev] Question


I'm using the version released on 4th September...
j3d.
Giuseppe,
What version of NAnt are you using ? I think there might have been an
issue
with this a while ago ...
Gert
- Original Message -
From: Giuseppe Greco [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004 2:05 PM
Subject: [nant-dev] Question

Hi guys,
I'm trying to use NAnt with .NET 2.0:
nant -defaultframework:net-2.0
... but it looks like NAnt doesn't care:
BUILD FAILED
The SDK for the 'net-1.1' framework is not available or not configured.
Total time: 0.1 seconds.
Any idea?
j3d.

Giuseppe Greco
::agamura::
phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



Giuseppe Greco
::agamura::
phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Question

2004-09-08 Thread Giuseppe Greco
Gert,

Just try with a resgen task like this:

resgen
  input=${assembly}.${culture}.resx
  output=${build.dir}/bin/${culture}/${assembly}.${culture}.resources/

The csc task, for example, works fine.

J3d.

 Giuseppe,

 I'm unable to reproduce that issue here. Can you package up a small repro
 for this ?

 Thanks,

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: Giuseppe Greco [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 2:35 PM
 Subject: Re: [nant-dev] Question


 I'm using the version released on 4th September...

 j3d.

 Giuseppe,

 What version of NAnt are you using ? I think there might have been an
 issue
 with this a while ago ...

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 2:05 PM
 Subject: [nant-dev] Question


 Hi guys,
 I'm trying to use NAnt with .NET 2.0:

 nant -defaultframework:net-2.0

 ... but it looks like NAnt doesn't care:

 BUILD FAILED

 The SDK for the 'net-1.1' framework is not available or not
 configured.

 Total time: 0.1 seconds.

 Any idea?
 j3d.


 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers





Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Announcement mailing list

2004-09-08 Thread Gert Driesen
Hi,
We've now added a nant-announce list in which new releases of NAnt and third 
party products that are related to NAnt will be announced.

Posts to the list will be moderated, so this is guaranteed to be a low 
traffic list.

To subscribe : http://lists.sourceforge.net/lists/listinfo/nant-announce
The NAnt Team 


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] Question

2004-09-08 Thread Giuseppe Greco
Gert,

I'm really sorry!!!

In one of my build files there was a zombie like this

property name=nant.settings.currentframework value=net-1.1/
readregistry
  property=framework.dir
  key=Software\Microsoft\.NETFramework\InstallRoot
  hive=LocalMachine/

I'm getting old... that is it!

Thanks,
j3d.

 Giuseppe,

 I still cannot reproduce this here.

 Are you sure you're actually targeting the 2.0 framework ?

 Can you try this (with a valid resx file) :

 project name=test
  echo message=Targeting
 ${framework::get-description(framework::get-target-framework())} /
  resgen input=test.resx output=test.resources/
 /project

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: Giuseppe Greco [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 3:13 PM
 Subject: Re: [nant-dev] Question


 Gert,

 Just try with a resgen task like this:

 resgen
  input=${assembly}.${culture}.resx
  output=${build.dir}/bin/${culture}/${assembly}.${culture}.resources/

 The csc task, for example, works fine.

 J3d.

 Giuseppe,

 I'm unable to reproduce that issue here. Can you package up a small
 repro
 for this ?

 Thanks,

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: Gert Driesen [EMAIL PROTECTED]
 Cc: Giuseppe Greco [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 2:35 PM
 Subject: Re: [nant-dev] Question


 I'm using the version released on 4th September...

 j3d.

 Giuseppe,

 What version of NAnt are you using ? I think there might have been an
 issue
 with this a while ago ...

 Gert

 - Original Message -
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 08, 2004 2:05 PM
 Subject: [nant-dev] Question


 Hi guys,
 I'm trying to use NAnt with .NET 2.0:

 nant -defaultframework:net-2.0

 ... but it looks like NAnt doesn't care:

 BUILD FAILED

 The SDK for the 'net-1.1' framework is not available or not
 configured.

 Total time: 0.1 seconds.

 Any idea?
 j3d.


 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




 
 Giuseppe Greco

 ::agamura::

 phone:  +41 (0)91 604 67 65
 mobile: +41 (0)76 390 60 32
 email:  [EMAIL PROTECTED]
 web:www.agamura.com
 


 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




 ---
 This SF.Net email is sponsored by BEA Weblogic Workshop
 FREE Java Enterprise J2EE developer tools!
 Get your free copy of BEA WebLogic Workshop 8.1 today.
 http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers




Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click

Re: [nant-dev] Question

2004-09-08 Thread Gert Driesen
- Original Message - 
From: Giuseppe Greco [EMAIL PROTECTED]
To: Gert Driesen [EMAIL PROTECTED]
Cc: Giuseppe Greco [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 5:52 AM
Subject: Re: [nant-dev] Question


Gert,
I'm really sorry!!!
You should be ... just kidding ;-)
In one of my build files there was a zombie like this
property name=nant.settings.currentframework value=net-1.1/
readregistry
 property=framework.dir
 key=Software\Microsoft\.NETFramework\InstallRoot
 hive=LocalMachine/
I'm getting old... that is it!
We should actually use a task for switching target framework, and output a 
message to the build log ...

Gert 


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] Bug report as requested.

2004-09-08 Thread Ian Ringrose



C:\src\wrb_build_testnantNAnt 0.84 (Build 
0.84.1455.0; net-1.0.win32; release; 26/12/2003)Copyright (C) 2001-2003 
Gerry Shawhttp://nant.sourceforge.net

Buildfile: file:///C:/src/wrb_build_test/wrb.buildTarget(s) 
specified: debug

debug:

BUILD FAILED

INTERNAL ERROR

System.IO.FileNotFoundException: 
path=[C:\src\wrb\Booking\bin]fileType=[Repository]File not 
found. at 
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchSingle(String path, FileType 
fileType) at 
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(ArrayList 
folders, String directory) at 
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(ArrayList 
folders, String directory) at 
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(ArrayList 
folders, String directory) at 
ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdate(String 
directory) at 
NAnt.SourceControl.Tasks.UpdateTask.PopulateFolders(WorkingDirectory 
workingDirectory) at 
NAnt.SourceControl.Tasks.UpdateTask.CreateCommand() at 
NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask() at 
NAnt.Core.Task.Execute() at 
NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String 
targetName, Boolean forceDependencies) at 
NAnt.Core.Project.Execute() at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED].

Total time: 0.6 seconds.

--

build file:


project default='debug'
property name="nant.settings.currentframework" value="net-1.1"/
target name='debug' 
cvs-update
destination=".."
cvsroot=":pserver:[EMAIL PROTECTED]:/cvsroot"
password="xxx"
module="wrb" / 
solution 
solutionfile='ResourceBooking.sln'
configuration='Debug' 
failonerror='false'
/
/target
/project


[nant-dev] Bug: Internal error

2004-09-08 Thread Ayende Rahien








I got the following error:

D:\Code Tools\Boar\Buildnant

NAnt 0.84 (Build
0.84.1455.0; net-1.0.win32; release; 26/12/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///D:/Code
Tools/Boar/Build/Boar.Build

Target(s) specified: Compile



BUILD FAILED



INTERNAL ERROR



System.ArgumentException: Xml node
has not been mapped.

 at
NAnt.Core.LocationMap.GetLocation(XmlNode
node)

 at
NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)

 at
NAnt.Core.Project.Execute()

 at
NAnt.Core.Project.Run()



Please send bug report to [EMAIL PROTECTED]



Total time: 0 seconds.









On the following .build file:



?xml version=1.0?

project name=Boar default=Compile
basedir=..

 property
name=Build.Dir value=Bin/

 property
name=Build.Tests.Results value=Build\Logs/

 property
name=Vendor.Lib.Dir value=Vendor\Lib/

 property
name=Docs.Dir value=Docs/

 property
name=Src.Dir value=Src/

 property
name=Tests.Dir value=Tests/

 property
name=Build.Prod.Dir value=${Build.Dir}\Production/

 property
name=Build.Tests.Dir value=${Build.Dir}\Tests/

 !--property
name=Indext.Dir value=Index/--

 property
name=Debug value=true/

 !-- Need to add some way to reference files --

 

 target
name=Prepare

  mkdir
dir=${Build.Prod.Dir}/

  mkdir
dir=${Build.Tests.Dir}/

 /target

 

 target
name=Compile depends=Prepare

  csc target=library
output=${Build.Prod.Dir}Boar.Data.dll
debug=${Debug}

   sources

includes
name=${Src.Dir}\*.cs/

   /sources

  /csc

 /target

 

 target
name=Compile.Tests depends=Compile

  csc target=library
output=${Build.Tests.Dir}\Tests.dll debug=${Debug}
verbos=true

   sources

includes
name=${Tests.Dir}\*.cs/

   /sources

   references

includes
name=${Vendor.Lib.Dir}\*.dll/

includes
name=${Build.Prod.Dir}\*.dll/

   /references

  /csc

 /target

 

 target
name=Run.Tests depends=Compile.Tests

  nunit2

   formatter
type=Xml usefile=true extension=.xml
outputdir=${Build.Dir}results /

   test

assemblies

 includes
name=${Build.Tests.Dir}\*.dll
/

/assemblies

   /test

  /nunit2

 /target

 configuration

  runtime

 assemblyBinding
xmlns=urn:schemas-microsoft-com:asm.v1

 dependentAssembly

 assemblyIdentity
name=nunit.framework publicKeyToken=96d09a1eb7f44a77
culture=Neutral / 

bindingRedirect
oldVersion=2.0.6.0 newVersion=2.1.4.0
/ 

   /dependentAssembly

 /assemblyBinding


/runtime


/configuration

/project








[nant-dev] RE: NAnt Nunit 2

2004-09-08 Thread Ayende Rahien








I did some digging using Filemon and discovered that it wants the
nunit.framework.dll right next to the test case dll.

Anyone can tell me why?



In addition, I cant get the tests
to execute, I get the following message:

[nunit2] Tests run: 0, Failures: 0, Not
run: 0, Time: 0 seconds



There are 25 tests there, and using nunit-console I can run and verify them all, what is wrong?



Here is my directory structure:

D:\Code Tools\Boardir /ad/b/s

D:\Code Tools\Boar\Bin

D:\Code Tools\Boar\Build

D:\Code Tools\Boar\Docs

D:\Code Tools\Boar\Src

D:\Code Tools\Boar\Tests  I got the Tests.dll here, and I added nunit.framework.dll

D:\Code Tools\Boar\Vendor

D:\Code Tools\Boar\Bin\Production  My production code, that the Tests are
testing.

D:\Code Tools\Boar\Bin\Tests

D:\Code Tools\Boar\Build\Logs

D:\Code Tools\Boar\Vendor\Lib

D:\Code Tools\Boar\Vendor\Src













From: Ayende Rahien
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 09, 2004
7:08 AM
To:
'[EMAIL PROTECTED]'
Subject: NAnt  Nunit 2





Im trying to run a simple test script and I get an
error:

Anyone can help me?

I added the following to Nant.exe.config




nant taskpath=.\optional


runtime

 assemblyBinding
xmlns=urn:schemas-microsoft-com:asm.v1

  dependentAssembly

 assemblyIdentity
name=nunit.framework publicKeyToken=96d09a1eb7f44a77
culture=Neutral / 

 bindingRedirect
oldVersion=2.0.6.0 newVersion=2.1.4.0 / 

  /dependentAssembly

 /assemblyBinding

  /runtime

 

As well as to my test case, but it doesnt work.

Please help.



The error is below (and I got Nunit.framework 2.1.4
referenced from the test case as well as in the same directory as Nant.exe



D:\Code Tools\Boar\Buildnant Run.Tests

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release;
26/12/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///D:/Code Tools/Boar/Build/Boar.Build

Target(s) specified: Run.Tests



Prepare:





Compile:





Compile.Tests:





Run.Tests:



[Core.Task:nunit2 Generated Exception - [] ]

Exception: NAnt.Core.BuildException

Message: NUnit 2.0 Error:

Source: NAnt.NUnit2Tasks

 at NAnt.NUnit2.Tasks.NUnit2Task.RunSingleRemoteTest(NUnit2Test
test, String t

estAssembly, EventListener listener)

 at
NAnt.NUnit2.Tasks.NUnit2Task.RunRemoteTest(NUnit2Test test, EventListener

listener)

 at
NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask()

 at
NAnt.Core.Task.Execute()



Nested Exception



Exception: System.IO.FileNotFoundException

Message: File or assembly name nunit.framework, or one of
its dependencies, was

not found.

Source: mscorlib



Server stack trace:

 at
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B

oolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Ass

embly locationHint, StackCrawlMark stackMark)

 at
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean

stringized, Evidence assemblySecurity, StackCrawlMark
stackMark)

 at
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as

semblySecurity, StackCrawlMark stackMark)

 at
System.Activator.CreateInstance(String assemblyName, String typeName, Bool

ean ignoreCase, BindingFlags bindingAttr, Binder binder,
Object[] args, CultureI

nfo culture, Object[] activationAttributes, Evidence
securityInfo, StackCrawlMar

k stackMark)

 at
System.Activator.CreateInstance(String assemblyName, String typeName, Bool

ean ignoreCase, BindingFlags bindingAttr, Binder binder,
Object[] args, CultureI

nfo culture, Object[] activationAttributes, Evidence
securityInfo)

 at
System.AppDomain.CreateInstance(String assemblyName, String typeName, Bool

ean ignoreCase, BindingFlags bindingAttr, Binder binder,
Object[] args, CultureI

nfo culture, Object[] activationAttributes, Evidence
securityAttributes)

 at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(M

ethodBase mb, Object[] args, Object server, Int32 methodPtr,
Boolean fExecuteInC

ontext, Object[] outArgs)

 at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMes

sage msg, Int32 methodPtr, Boolean fExecuteInContext)



Exception rethrown at [0]:

 at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req

Msg, IMessage retMsg)

 at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData msgDa

ta, Int32 type)

 at
System.AppDomain.CreateInstance(String assemblyName, String typeName, Bool

ean ignoreCase, BindingFlags bindingAttr, Binder binder,
Object[] args, CultureI

nfo culture, Object[] activationAttributes, Evidence
securityAttributes)

 at
NAnt.NUnit2.Tasks.NUnit2TestDomain.CreateTestRunner(AppDomain domain)

 at
NAnt.NUnit2.Tasks.NUnit2TestDomain.RunTest(String testcase, String assembl

yFile, String configFilePath, EventListener listener)

 at
NAnt.NUnit2.Tasks.NUnit2Task.RunSingleRemoteTest(NUnit2Test test, String t

estAssembly, EventListener listener)





[Core.Project:Build failed. - [] ]

Exception: 

Re: [nant-dev] RE: NAnt Nunit 2

2004-09-08 Thread Gert Driesen
- Original Message - 
From: Ayende Rahien [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 6:44 AM
Subject: [nant-dev] RE: NAnt  Nunit 2


I did some digging using Filemon and discovered that it wants the
nunit.framework.dll right next to the test case dll.
Anyone can tell me why?
That was a bug in NAnt 0.84.
In addition, I can't get the tests to execute, I get the following 
message:
[nunit2] Tests run: 0, Failures: 0, Not run: 0, Time: 0 seconds
Again, this is because the version of NUnit that you used to build your test 
assembly does not match the version of NUNit that NAnt uses to run the 
tests.

You should use an assembly binding redirect in the application configuration 
file of your test assembly.

Gert 


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers