[nant-dev] [ nant-Bugs-929632 ] testname in nunit2 task does not function

2004-04-05 Thread SourceForge.net
Bugs item #929632, was opened at 2004-04-05 10:52
Message generated for change (Comment added) made by nucleon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: NucleoN (nucleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: testname in nunit2 task does not function

Initial Comment:
Build script:







Results in:

NAnt 0.85 (Build 0.85.1554.0; net-1.0.win32; nightly; 3-
4-2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/dotnet/xyz/Product/R02_00/xyz.build
Target(s) specified: test
 [echo] Using 'net-1.1' framework on 'win32' platform.

test:

 [echo] Testing in: p:\bin\components

BUILD FAILED

D:\dotnet\xyz\Product\R02_00\xyz.build(163,6):
NUnit error.
Object reference not set to an instance of an object.

Total time: 0.6 seconds.

When the testname attribute is not used, all tested are 
execeuted correctly


--

>Comment By: NucleoN (nucleon)
Date: 2004-04-06 08:30

Message:
Logged In: YES 
user_id=632162

OK. I will try that. 
Btw I expected that testname would match a method marked 
with [Test], not a fixture. So in case of type A.B.C with 
method Q as a test, it should be A.B.C.Q? 

Still I expect another exception in this case, maybe 
something like "Test not found. Please specify the full name 
of the Fixture, followed by the method name"

--

Comment By: Gert Driesen (drieseng)
Date: 2004-04-05 12:03

Message:
Logged In: YES 
user_id=707851

If I'm not mistaken, you can only specify the full class name 
of a TestFixture that you want to execute in the testname 
attribute.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-929919 ] Resources Improperly gets identified in CSC task

2004-04-05 Thread SourceForge.net
Bugs item #929919, was opened at 2004-04-05 13:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929919&group_id=31650

Category: Tasks
Group: 0.8.4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Dang (mndang)
Assigned to: Nobody/Anonymous (nobody)
Summary: Resources Improperly gets identified in CSC task

Initial Comment:

In the Nant.Dotnet project,
PerformSearchForResourceLinkage method.
Nant reads the .cs file and look for the first occurance 
of the keywords "namespace" and "class".  "class" was 
the problem in my case.

matchClassName.Groups["class"];

It seems that one of the developers here put a region 
tag between the using and namespace 
declaration/keywords in 2 .cs files.  The region
tag contained a long list of comments that included the 
word "class".  So naturally the method would read the 
word next to "class", which happened to be "adds".  
Therefore, the reason for the problem of resource files 
being generated with the same identity resulting in a 
failed fuild was it picked up the word after "class".

e.g.

using System;
...

#region mycomments

/** Notes *

blah blah blah
blah blah blah
blah class adds more blah <== here was problem

blah blah blah blah

/

#end region

namespace my.namespace
{
public class myclass 
{
blah blah;
}
}

How can we make sure that the namespace and class 
keywords pick up the correct information to genereate 
the resource files correctly?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929919&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] RE: Infragistics Licensing in builds (apologies in advance)

2004-04-05 Thread Horsfield, Peter A
Title: RE: Infragistics Licensing in builds (apologies in advance)





Update:


   I took my own advice and deleted the CreateWithContext call and try/catch block from my local CVS copy
of NAnt. I built NAnt, and the build then worked, and the license files were embedded.


Over the next few days I hope to test this app, but as I said, it is not mine, and I may not be able to test it fully.
I'll try to create a test case I guess... but deleting the CreateWithContext call may have ramifications that I'm
not aware of. 


Freaks me out :)


Peter



 -Original Message-
From:   Horsfield, Peter A  
Sent:   Monday, April 05, 2004 4:39 PM
To: '[EMAIL PROTECTED]'
Subject:    Infragistics Licensing in builds (apologies in advance)


Nant CVS 0.85 - 1.0 Framework - Win32


How is this issue coming along? I first encountered it last Friday when my new ASP.NET build failed.


I have an idea what the problem is.


Bear with me, (I'm new to this). Implementing licensing involves two steps on the suppliers side...


1. Add a license provider attribute to indicate how to get the license 
2. Add a piece of code into the constructor for the control that checks if the license is valid


Well Infragistics took a small liberty, and created


    UltraLicenseBaseAttribute


which does NOT  extend LicenseProviderAttribute ( so what's it good for? )

If this is how Infragistics are marking their components as licensed, then they could still validate licensing 
through change the code in the constructor, but Nant would never find the LicenseProvider correctly.


This would explain:


[license] Is licensed : False


And may also explain the exception deep in LicenseManager.CreateWithContext.


Is it possible to create the license file without the step that includes creating an instance? Otherwise, I'm stuck. I really don't want to change the solution file not to build the license file since I'm not the creator of it and it would break the VS builds.

(Most of) a debug log attached for the error.
 << File: infralicensebug.log >> 


Peter


- Note another message coming with an update





>>> The information contained in this e-mail transmission is privileged and/or confidential intended solely for the exclusive use of the individual addressee. If you are not the intended addressee you are hereby notified that any retention, disclosure or other use is strictly prohibited. If you have received this notification in error, please immediately contact the sender and delete the material.




[nant-dev] Infragistics Licensing in builds (apologies in advance)

2004-04-05 Thread Horsfield, Peter A
Title: Infragistics Licensing in builds (apologies in advance)





Nant CVS 0.85 - 1.0 Framework - Win32


How is this issue coming along? I first encountered it last Friday when my new ASP.NET build failed.


I have an idea what the problem is.


Bear with me, (I'm new to this). Implementing licensing involves two steps on the suppliers side...


1. Add a license provider attribute to indicate how to get the license 
2. Add a piece of code into the constructor for the control that checks if the license is valid


Well Infragistics took a small liberty, and created


    UltraLicenseBaseAttribute


which does NOT  extend LicenseProviderAttribute ( so what's it good for? )

If this is how Infragistics are marking their components as licensed, then they could still validate licensing 
through change the code in the constructor, but Nant would never find the LicenseProvider correctly.


This would explain:


[license] Is licensed : False


And may also explain the exception deep in LicenseManager.CreateWithContext.


Is it possible to create the license file without the step that includes creating an instance? Otherwise, I'm stuck. I really don't want to change the solution file not to build the license file since I'm not the creator of it and it would break the VS builds.

(Most of) a debug log attached for the error.
 <> 


Peter


- Note another message coming with an update





>>> The information contained in this e-mail transmission is privileged and/or confidential intended solely for the exclusive use of the individual addressee. If you are not the intended addressee you are hereby notified that any retention, disclosure or other use is strictly prohibited. If you have received this notification in error, please immediately contact the sender and delete the material.




infralicensebug.log
Description: Binary data


[nant-dev] task for NAnt :)

2004-04-05 Thread Matthew Mastracci
or, "when Microsoft went open-source."

Looks like Microsoft has finally jumped on the true "open source" 
bandwagon with the release of WiX - an XML to MSI compiler.

It's unfortunately not under a GPL-compatible license (preventing direct 
linking), but the command-line interface would work just fine for most 
purposes, I believe.

An installer-builder (an alternative to NSIS) would certainly be a 
useful tool to help round-out the NAnt toolset.

See here for more info:
http://blogs.msdn.com/robmen
Matt.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-910095 ] Ignored project in a solution are not ignored

2004-04-05 Thread SourceForge.net
Bugs item #910095, was opened at 2004-03-04 16:16
Message generated for change (Comment added) made by zixthree
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=910095&group_id=31650

Category: Tasks
Group: 0.85
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Maxime Thibeault (zixthree)
Assigned to: Gert Driesen (drieseng)
Summary: Ignored project in a solution are not ignored

Initial Comment:
Project that should be ignored (not to be build) are not 
ignored when building with solution task. They are 
however when build with Visual Studio.

--

>Comment By: Maxime Thibeault (zixthree)
Date: 2004-04-05 09:32

Message:
Logged In: YES 
user_id=417571

Look fixed to me with nant-0.85-20040403. Thank you.

--

Comment By: Gert Driesen (drieseng)
Date: 2004-04-02 00:09

Message:
Logged In: YES 
user_id=707851

Can you verify whether this issue is fixed for you ??

--

Comment By: Gert Driesen (drieseng)
Date: 2004-03-08 16:12

Message:
Logged In: YES 
user_id=707851

This is now really really fixed in cvs ... I'll try to upload a new 
nightly later today ...

--

Comment By: Maxime Thibeault (zixthree)
Date: 2004-03-08 15:22

Message:
Logged In: YES 
user_id=417571

As of NAnt 0.85 (Build 0.85.1528.0; net-1.0.win32; nightly; 
2004-03-08), project are still not ignored. I tested this with 
the solution in TestIgnore.zip.

--

Comment By: Maxime Thibeault (zixthree)
Date: 2004-03-08 15:21

Message:
Logged In: YES 
user_id=417571

As of NAnt 0.85 (Build 0.85.1528.0; net-1.0.win32; nightly; 
2004-03-08), project are still not ignored. I tested this with 
the solution in TestIgnore.zip.

--

Comment By: Gert Driesen (drieseng)
Date: 2004-03-05 08:33

Message:
Logged In: YES 
user_id=707851

This is now fixed in cvs and will be available in the next 
nightly build (http://nant.sourceforge.net/nightly/builds).

Can you try this using the latest nightly and report back ?

Thanks for the report !

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=910095&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-929656 ] nunit2 task executed tests perform badly

2004-04-05 Thread SourceForge.net
Bugs item #929656, was opened at 2004-04-05 12:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929656&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: NucleoN (nucleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: nunit2 task executed tests perform badly

Initial Comment:
I compared the runtimes of a set of unittests between 
te nunit-gui and the nunit2 nant task.

For some reason, the unit tests took 10 times as long to 
run with the nant task as with the nunit-gui.

This might have a relationship with the fact that an 
oracle database (using ODP.NET) is accessed from the 
components being tested, and that for instance maybe 
connection pooling isnt working for the nant scenario for 
some reason...

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929656&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-929632 ] testname in nunit2 task does not function

2004-04-05 Thread SourceForge.net
Bugs item #929632, was opened at 2004-04-05 10:52
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: NucleoN (nucleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: testname in nunit2 task does not function

Initial Comment:
Build script:







Results in:

NAnt 0.85 (Build 0.85.1554.0; net-1.0.win32; nightly; 3-
4-2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/dotnet/xyz/Product/R02_00/xyz.build
Target(s) specified: test
 [echo] Using 'net-1.1' framework on 'win32' platform.

test:

 [echo] Testing in: p:\bin\components

BUILD FAILED

D:\dotnet\xyz\Product\R02_00\xyz.build(163,6):
NUnit error.
Object reference not set to an instance of an object.

Total time: 0.6 seconds.

When the testname attribute is not used, all tested are 
execeuted correctly


--

>Comment By: Gert Driesen (drieseng)
Date: 2004-04-05 12:03

Message:
Logged In: YES 
user_id=707851

If I'm not mistaken, you can only specify the full class name 
of a TestFixture that you want to execute in the testname 
attribute.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] [ nant-Bugs-929632 ] testname in nunit2 task does not function

2004-04-05 Thread SourceForge.net
Bugs item #929632, was opened at 2004-04-05 10:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: NucleoN (nucleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: testname in nunit2 task does not function

Initial Comment:
Build script:







Results in:

NAnt 0.85 (Build 0.85.1554.0; net-1.0.win32; nightly; 3-
4-2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/dotnet/xyz/Product/R02_00/xyz.build
Target(s) specified: test
 [echo] Using 'net-1.1' framework on 'win32' platform.

test:

 [echo] Testing in: p:\bin\components

BUILD FAILED

D:\dotnet\xyz\Product\R02_00\xyz.build(163,6):
NUnit error.
Object reference not set to an instance of an object.

Total time: 0.6 seconds.

When the testname attribute is not used, all tested are 
execeuted correctly


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=929632&group_id=31650


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers