RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, sorry I haven't had a chance to sort through my email for the past 
couple of days.  Could you try running the command in verbose mode (adding 
verbose="true" to the  task or passing in -verbose on the 
commandline will do this) and send me the checkout string that you are working 
with and any other information that looks interesting.  If the file is large 
you can just send it to my account.
 
A couple of more notes, the  task should come before you do a 
checkout (this adds an entry to the .cvspass file in your home directory.  
Final note you could try with the attribute usesharpcvslib="false" and see if 
that corrects the issue.  If so please still send the full verbose output to 
me.  Thanks!
 
Clayton
 
 

-Original Message- 
From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: Wed 2/16/2005 1:07 AM 
To: Nant 
Cc: 
Subject: [Nant-users] Can Some one bail me out? CVS Check out


Still Stuck here. Can some one bail me out?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of 
Richard Poole
Sent: Tuesday, February 15, 2005 5:16 PM
To: Nant
Subject: RE: [Nant-users] CVS Check out


We're on 1.11.16. Could be? Like I said... no trouble with the 
FreeBSD version of the CVS server, only the Linux (Red Hat) version. It's 
difficult to tell exactly what's causing the problem, but everything points at 
the CVS server.

  _  

From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: 15 February 2005 11:40
To: Richard Poole; Nant
Subject: RE: [Nant-users] CVS Check out


Im on cvs-1.11.2-5
 
Would that be a Issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of Richard Poole
Sent: Tuesday, February 15, 2005 3:59 PM
To: 'Srivathsan K'; Nant
Subject: RE: [Nant-users] CVS Check out


I've had no end of trouble checking stuff out of CVS 
with NAnt but I think it's more to do with our CVS server (a very recent stable 
build running on Red Hat) than the CVS tasks. You may be in a similar boat. We 
have experimented with a FreeBSD CVS server and both the CVS tasks and SmartCVS 
(the CVS client we use) seem to work fine with that.
 
I also doubt it helps having the cvs-password task 
after the cvs-checkout task, but I could be wrong.
 
Cheers,
Richard.

  _  

From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: 15 February 2005 10:17
To: Nant
Subject: [Nant-users] CVS Check out


Hi All,
 
I have a windows C# net application in CVS Repo. I need 
to pull all files related to this project on to a Folder which I created say 
for e.g. d:\NantBuilds.
 
Here's my build file. Though I get successfull build I 
dont see the folder for the Project created under the Directory d:\NantBuilds. 
What am I doing wrong?
 
 


 
 



Thanks in Advance
 
Srivats
 
-
If you're trying to achieve, there will be roadblocks. 
I've had them; everybody has had them. But obstacles don't have to stop you. If 
you run into a wall, don't turn around and give up. Figure out how to climb it, 
go through it, or work around it. -- Michael Jordan 
 
 



DISCLAIMER: The information contained in this e-mail is 
confidential and may be privileged. It is intended for the addressee only. If 
you are not the intended recipient, please delete this e-mail immediately. The 
contents of this email must not be disclosed or copied without the sender's 
consent. We cannot accept any responsibility for viruses, so please scan all 
attachments. The statements and opinions expressed in this message are those of 
the author and do not necessarily reflect those of the company. The 

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Srivathsan K
Hi,
Really appreciate your feedback and this is what my build file looks like after 
you suggested changes

 


 
 

 


I want the files under "New" folder. and here's the info that I get with -v on 
the commandline.

Framework 'net-1.0' is invalid and has not been loaded : The 'System.dll' assemb
ly does not exist in framework assembly directory 
'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705'.

Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:
\WINDOWS\Microsoft.NET\Framework\v2.0.40607' does not exist.

Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory '
C:\sscli\build\v1.x86fstchk.rotor' does not exist.

Buildfile: file:///D:/NantBuilds/Test.build
Base Directory: D:\NantBuilds.

Thanks in advance.

Srivats

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Clayton
Harbour
Sent: Thursday, February 17, 2005 9:49 PM
To: Srivathsan K; Nant
Subject: RE: [Nant-users] Can Some one bail me out? CVS Check out


Hi there, sorry I haven't had a chance to sort through my email for the past 
couple of days.  Could you try running the command in verbose mode (adding 
verbose="true" to the  task or passing in -verbose on the 
commandline will do this) and send me the checkout string that you are working 
with and any other information that looks interesting.  If the file is large 
you can just send it to my account.
 
A couple of more notes, the  task should come before you do a 
checkout (this adds an entry to the .cvspass file in your home directory.  
Final note you could try with the attribute usesharpcvslib="false" and see if 
that corrects the issue.  If so please still send the full verbose output to 
me.  Thanks!
 
Clayton
 
 

-Original Message- 
From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: Wed 2/16/2005 1:07 AM 
To: Nant 
Cc: 
Subject: [Nant-users] Can Some one bail me out? CVS Check out


Still Stuck here. Can some one bail me out?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of 
Richard Poole
Sent: Tuesday, February 15, 2005 5:16 PM
To: Nant
Subject: RE: [Nant-users] CVS Check out


We're on 1.11.16. Could be? Like I said... no trouble with the 
FreeBSD version of the CVS server, only the Linux (Red Hat) version. It's 
difficult to tell exactly what's causing the problem, but everything points at 
the CVS server.

  _  

From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: 15 February 2005 11:40
To: Richard Poole; Nant
Subject: RE: [Nant-users] CVS Check out


Im on cvs-1.11.2-5
 
Would that be a Issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of Richard Poole
Sent: Tuesday, February 15, 2005 3:59 PM
To: 'Srivathsan K'; Nant
Subject: RE: [Nant-users] CVS Check out


I've had no end of trouble checking stuff out of CVS 
with NAnt but I think it's more to do with our CVS server (a very recent stable 
build running on Red Hat) than the CVS tasks. You may be in a similar boat. We 
have experimented with a FreeBSD CVS server and both the CVS tasks and SmartCVS 
(the CVS client we use) seem to work fine with that.
 
I also doubt it helps having the cvs-password task 
after the cvs-checkout task, but I could be wrong.
 
Cheers,
Richard.

  _  

From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: 15 February 2005 10:17
To: Nant
Subject: [Nant-users] CVS Check out


Hi All,
 
I have a windows C# net application in CVS Repo. I need 
to pull all files related to this project on to a Folder which I created say 
for e.g. d:\NantBuilds.
 
Here's my build file. Though I get successfull bu

[Nant-users] Can't compare longs and ints???

2005-02-17 Thread John Hardin
Hey all.

I'm rather surprised to see this:

(nant 0.85 rc1)

c:\.\standard-build.include(205,4):
Operator '==' cannot be applied to arguments of type 'long' and 'int'.
Expression: ${file::get-length('Documentation_Excludes_List.txt') == 0}
  

The documentation explicitly mentions comparisons of longs and ints in
the examples. I get the same problem with greater than and less than.

Or am I missing something terribly obvious?

..I also tried 
   ${file::get_length('file') == file::get_length('emptyfile')}
and got an error saying == can't be used to compare long to long!

--
John Hardin
Development and Technology group (Seattle)
CRS Retail Systems, Inc.
3400 188th Street SW, Suite 185
Lynnwood, WA 98037
voice: (425) 672-1304
  fax: (425) 672-0192
email: [EMAIL PROTECTED]
  web: http://www.crsretail.com
---
 If you smash a computer to bits with a mallet, that appears to count
 as encryption in the state of Nevada.
   - CRYPTO-GRAM 12/2001
---



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Checking fileset contents?

2005-02-17 Thread John Hardin

Is there any way to dump the contents of a fileset? I'd like to verify
that it's doing what I want it to do, and I don't see a "verbose"
parameter on it or any task that will list its contents.

Thanks!

--
John Hardin
Development and Technology group (Seattle)
CRS Retail Systems, Inc.
3400 188th Street SW, Suite 185
Lynnwood, WA 98037
voice: (425) 672-1304
  fax: (425) 672-0192
email: [EMAIL PROTECTED]
  web: http://www.crsretail.com
---
 If you smash a computer to bits with a mallet, that appears to count
 as encryption in the state of Nevada.
   - CRYPTO-GRAM 12/2001
---



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Ian MacLean
John Hardin wrote:
Is there any way to dump the contents of a fileset? 

no but if you run nant with -v many tasks ( csc for example ) will show 
the list of files matched - ie because that will be the list of files 
passed to csc.exe.

I'd like to verify
that it's doing what I want it to do, and I don't see a "verbose"
parameter on it or any task that will list its contents.
 

Unfortunately there isn't a task or function to do such a thing right 
now. I think there there was some talk of adding fileset related 
functions a while back. Things like :

string fileset::to-string( string fileset_id )
bool fileset::contains(string fileset_id, string path )
etc
could be useful.
Ian

---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Ian MacLean

John Hardin wrote:
Is there any way to dump the contents of a fileset? I'd like to verify
that it's doing what I want it to do, and I don't see a "verbose"
parameter on it or any task that will list its contents.
 

OK - I've whipped up a couple of custom functions using the script task 
to inspect the contents of a fileset. Heres the script :


   
   
   
   
   
   
   
and use the functions like:
   
   
 
  
   
   

You'll need to be running a 0.85 series NAnt build.
Enjoy,
Ian
btw - I quite like the idea of prototyping functions/tasks in script 
tags before considering them for inclusion in NAnt. Maybe we should add 
a user-submitted scripts section on the wiki.


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Mike Roberts
On Fri, 18 Feb 2005 11:17:00 +0900, Ian MacLean <[EMAIL PROTECTED]> wrote:

> btw - I quite like the idea of prototyping functions/tasks in script
> tags before considering them for inclusion in NAnt. Maybe we should add
> a user-submitted scripts section on the wiki.

We did heaps in script tags on a project I was on last year. Most of
our Data Migration, build configuration and IIS Automation was done in
them.

Of course, we will need a NantScriptUnit to test them all ;)

I tried in September to do something similar in Ant with Beanshell -
not nearly as nice. :)

Mike


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, just a few things here.  First, is there a space in your "Get latest" 
target?  If so, it might be a good idea to remove it, the target will work as 
is (which suprised me a bit) but you will have to quote it on the commandline:
nant "Get latest"
 
If you are not calling the task like this then please try it...then consider 
removing the space :-).  The second thing I noticed is that the build attribute 
on your project element does not do anything (docs here: 
http://nant.sourceforge.net/nightly/latest/help/fundamentals/projects.html).  
Again I am a little surprised that this works (but have verified locally that 
it does).  What I think you want here is a default="clean" attribute which will 
cause the following (note no arguments):
nant
to execute the clean target by default.  
 
So I think what is going on is NAnt is falling through without executing any 
targets based on the above.  Let me know if that helps.
 
Cheers,
 
Clayton
 
-Original Message- 
From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: Thu 2/17/2005 11:24 AM 
To: Clayton Harbour; Nant 
Cc: 
Subject: RE: [Nant-users] Can Some one bail me out? CVS Check out



Hi,
Really appreciate your feedback and this is what my build file looks 
like after you suggested changes




 


 


I want the files under "New" folder. and here's the info that I get 
with -v on the commandline.

Framework 'net-1.0' is invalid and has not been loaded : The 
'System.dll' assemb
ly does not exist in framework assembly directory 
'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705'.

Framework 'net-2.0' is invalid and has not been loaded : Framework 
directory 'C:
\WINDOWS\Microsoft.NET\Framework\v2.0.40607' does not exist.

Framework 'mono-1.0' is invalid and has not been loaded : Registry Path 
Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'mono-2.0' is invalid and has not been loaded : Registry Path 
Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'sscli-1.0' is invalid and has not been loaded : Framework 
directory '
C:\sscli\build\v1.x86fstchk.rotor' does not exist.

Buildfile: file:///D:/NantBuilds/Test.build
Base Directory: D:\NantBuilds.

Thanks in advance.

Srivats

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Clayton
Harbour
Sent: Thursday, February 17, 2005 9:49 PM
To: Srivathsan K; Nant
Subject: RE: [Nant-users] Can Some one bail me out? CVS Check out


Hi there, sorry I haven't had a chance to sort through my email for the 
past couple of days.  Could you try running the command in verbose mode (adding 
verbose="true" to the  task or passing in -verbose on the 
commandline will do this) and send me the checkout string that you are working 
with and any other information that looks interesting.  If the file is large 
you can just send it to my account.

A couple of more notes, the  task should come before you 
do a checkout (this adds an entry to the .cvspass file in your home directory.  
Final note you could try with the attribute usesharpcvslib="false" and see if 
that corrects the issue.  If so please still send the full verbose output to 
me.  Thanks!

Clayton



-Original Message-
From: Srivathsan K [mailto:[EMAIL PROTECTED]
Sent: Wed 2/16/2005 1:07 AM
To: Nant
Cc:
Subject: [Nant-users] Can Some one bail me out? CVS Check out
   
   
Still Stuck here. Can some one bail me out?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of Richard Poole
Sent: Tuesday, February 15, 2005 5:16 PM
To: Nant
Subject: RE: [Nant-users] CVS Check out
   
   
We're on 1.11.16. Could be? Like I said... no trouble 
with the FreeBSD version of the CVS server, only the Linux (Red Hat) version. 
It's difficult to tell exactly what's causing the problem, but everything 
points at the CVS server.

  _ 

From: Srivathsan K [mailto:[EMAIL PROTECTED]
Sent: 15 February 2005 11:40
To: Richard Poole; Nant
Su

RE: [Nant-users] Can Some one bail me out? CVS Check out

2005-02-17 Thread Clayton Harbour
Hi there, one other thing I should note the  is not correct, it 
should be  
(http://nant.sourceforge.net/nightly/latest/help/tasks/cvs-pass.html).  Sorry 
for the note below I think I used the wrong one as well.  This should also use 
the cvsroot attribute if you are executing it from a directory that does not 
have a CVS\Root folder. 

-Original Message- 
From: Srivathsan K [mailto:[EMAIL PROTECTED] 
Sent: Thu 2/17/2005 11:24 AM 
To: Clayton Harbour; Nant 
Cc: 
Subject: RE: [Nant-users] Can Some one bail me out? CVS Check out



Hi,
Really appreciate your feedback and this is what my build file looks 
like after you suggested changes




 


 


I want the files under "New" folder. and here's the info that I get 
with -v on the commandline.

Framework 'net-1.0' is invalid and has not been loaded : The 
'System.dll' assemb
ly does not exist in framework assembly directory 
'C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705'.

Framework 'net-2.0' is invalid and has not been loaded : Framework 
directory 'C:
\WINDOWS\Microsoft.NET\Framework\v2.0.40607' does not exist.

Framework 'mono-1.0' is invalid and has not been loaded : Registry Path 
Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'mono-2.0' is invalid and has not been loaded : Registry Path 
Not Foun
d! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]';

Framework 'sscli-1.0' is invalid and has not been loaded : Framework 
directory '
C:\sscli\build\v1.x86fstchk.rotor' does not exist.

Buildfile: file:///D:/NantBuilds/Test.build
Base Directory: D:\NantBuilds.

Thanks in advance.

Srivats

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Clayton
Harbour
Sent: Thursday, February 17, 2005 9:49 PM
To: Srivathsan K; Nant
Subject: RE: [Nant-users] Can Some one bail me out? CVS Check out


Hi there, sorry I haven't had a chance to sort through my email for the 
past couple of days.  Could you try running the command in verbose mode (adding 
verbose="true" to the  task or passing in -verbose on the 
commandline will do this) and send me the checkout string that you are working 
with and any other information that looks interesting.  If the file is large 
you can just send it to my account.

A couple of more notes, the  task should come before you 
do a checkout (this adds an entry to the .cvspass file in your home directory.  
Final note you could try with the attribute usesharpcvslib="false" and see if 
that corrects the issue.  If so please still send the full verbose output to 
me.  Thanks!

Clayton



-Original Message-
From: Srivathsan K [mailto:[EMAIL PROTECTED]
Sent: Wed 2/16/2005 1:07 AM
To: Nant
Cc:
Subject: [Nant-users] Can Some one bail me out? CVS Check out
   
   
Still Stuck here. Can some one bail me out?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of Richard Poole
Sent: Tuesday, February 15, 2005 5:16 PM
To: Nant
Subject: RE: [Nant-users] CVS Check out
   
   
We're on 1.11.16. Could be? Like I said... no trouble 
with the FreeBSD version of the CVS server, only the Linux (Red Hat) version. 
It's difficult to tell exactly what's causing the problem, but everything 
points at the CVS server.

  _ 

From: Srivathsan K [mailto:[EMAIL PROTECTED]
Sent: 15 February 2005 11:40
To: Richard Poole; Nant
Subject: RE: [Nant-users] CVS Check out
   
   
Im on cvs-1.11.2-5

Would that be a Issue?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL 
PROTECTED] Behalf Of Richard Poole
Sent: Tuesday, February 15, 2005 3:59 PM
To: 'Srivathsan K'; Nant
Subject: RE: [Nant-users] C

RE: [Nant-users] Can't compare longs and ints???

2005-02-17 Thread Gert Driesen
John,

You should be using NAnt 0.85 RC2.  The docs you looked at are those for
that version of NAnt. This is clearly indicated in the upper right corner of
each page of the user manual.

Gert 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> John Hardin
> Sent: donderdag 17 februari 2005 22:31
> To: NAnt Users mailing list
> Subject: [Nant-users] Can't compare longs and ints???
> 
> Hey all.
> 
> I'm rather surprised to see this:
> 
> (nant 0.85 rc1)
> 
> c:\.\standard-build.include(205,4):
> Operator '==' cannot be applied to arguments of type 'long' and 'int'.
> Expression: 
> ${file::get-length('Documentation_Excludes_List.txt') == 0}
>   
> 
> The documentation explicitly mentions comparisons of longs and ints in
> the examples. I get the same problem with greater than and less than.
> 
> Or am I missing something terribly obvious?
> 
> ..I also tried 
>${file::get_length('file') == file::get_length('emptyfile')}
> and got an error saying == can't be used to compare long to long!
> 
> --
> John Hardin
> Development and Technology group (Seattle)
> CRS Retail Systems, Inc.
> 3400 188th Street SW, Suite 185
> Lynnwood, WA 98037
> voice: (425) 672-1304
>   fax: (425) 672-0192
> email: [EMAIL PROTECTED]
>   web: http://www.crsretail.com
> --
> -
>  If you smash a computer to bits with a mallet, that appears to count
>  as encryption in the state of Nevada.
>- CRYPTO-GRAM 12/2001
> --
> -
> 
> 
> 
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> Nant-users mailing list
> Nant-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 
> 



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] Error Building

2005-02-17 Thread Jason Farrell








To the Members:

Thanks to Gert for the earlier tip,
however, I tried upgrading both Nant and Nant-Contrib and it has become a real
headache.  I have attached the most
recent error log of our build process. 
It contains the various errors (and erroneous grammar) that I
encountering, most of which I do not seem to understand.  I should also like to point out that either
the links on the website are incorrect or the documentation is wrong.  This is because documentation for the
assemblies tag embedded within  is not documentation, though
exemplified.  I tried this example and it
failed.  The part that is causing me the
most headaches is the addition of the appconfig attribute.  I am not sure what these files are and where
they come from, as I tried to get them from our copy of NUnit, but to no avail.

 

Thank you for your time, I look forward to
hearing back,

Jason Farrell

 






C:\Custom Apps\BigDaddy>c:\nant\bin\nant
NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Custom Apps/BigDaddy/main.build
Target framework: Microsoft .NET Framework 2.0 Beta 1
Target(s) specified: release


getLatest:

   [vssget] Getting '$/Big Daddy' to 'C:\Custom Apps\BigDaddy'...

build:

  [csc] Compiling 51 files to 'C:\Custom Apps\BigDaddy\bigdaddy_build.exe'.
  [csc] c:\Custom Apps\BigDaddy\General\CLogFile.cs(152,5): warning CS0168:
The variable 'e' is declared but never used
  [csc] c:\Custom Apps\BigDaddy\Information Automation\CLineItemSet.cs(52,5)
: warning CS0168: The variable 'e' is declared but never used
  [csc] c:\Custom Apps\BigDaddy\Information Automation\COrder.cs(470,7): war
ning CS0168: The variable 'e' is declared but never used
  [csc] c:\Custom Apps\BigDaddy\Information Automation\COrder.cs(502,7): war
ning CS0168: The variable 'e' is declared but never used
  [csc] c:\Custom Apps\BigDaddy\Information Automation\COrder.cs(545,7): war
ning CS0168: The variable 'e' is declared but never used
  [csc] c:\Custom Apps\BigDaddy\General\Test_CData.cs(23,20): warning CS0414
: The private field 'Palmate.General.CData_Tests.m_strDatabasePath' is assigned
but its value is never used

test:


BUILD FAILED

C:\Custom Apps\BigDaddy\main.build(70,10):
Failure executing test(s). If you assembly is not built using NUnit version 2.2.
0.0, then ensure you have redirected assembly bindings. Consult the documentatio
n of the  task for more information.
Assembly bytes could not be retrieved.

Total time: 2.3 seconds.


C:\Custom Apps\BigDaddy>

[Nant-users] Ndoc failing

2005-02-17 Thread Fox, Cheri



Hi,  
 
We were building ndocs 
successfully until we split the code into dll files.  We only want to 
create and release ndocs on one of the files but it keeps failing on the ndoc 
portion of the nant script:
 
The error message - note the 
NSATransport.dll is in the same dir ("${build.dir}") as the dll we are 
are trying to use to create the ndocs.  we are also referencing that file 
in the target so I am not sure what to try next.  Any ideas would be 
helpful.
 
C:\NSA\prod2\ant\nant.build(197,8): [exec] 
Error building documentation. 
[exec] File or assembly name NSATransport, or one of its 
dependencies, was not found. 
[exec] File or assembly name 
NSATransport, or one of its dependencies, was not found.
 
The ndoc code 
is:
     
     
    
 

 
     
 

 
 
    
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   

 
   
[EMAIL PROTECTED]" 
/>
 
   

 
   

 
   
    
 

 
 
    
 
  
   
Cheri Fox Prism Development 
Coordinator Phone: 
651-848-5292 
 


[Nant-users] Problem with property evaluation

2005-02-17 Thread T.G. Mutato
Check out this code fragment:


   


The echo statement shouldn't happen if property2 doesn't exist;
however, the following error happens:

Property evaluation failed.
Expression: property2 is ${property2}
   ^
Property 'property2' has not been set.

Should this be reported as a bug somewhere?

I've attached a short build file which demonstrates the issue.



















[Nant-users] readregistry warning option

2005-02-17 Thread T.G. Mutato
It seems like a fairly common task to check if a registry entry exists
or not and then respond accordingly. In this situation, it would not
be an error if the registry entry does not exist -- in fact in some
cases it's expected.

The "failonerror" attribute to the readregistry task helps a bit here
-- at least the build won't stop. There is still a warning though and
in the case described here it seems unwarranted.

I'd like to see an additional "reportwarning" type of attribute that
could optionally be set to false (default would be true). In this case
if a registry key doesn't exist, no warning would be reported.

Example:


Regards,
T.G.


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[Nant-users] task

2005-02-17 Thread Judy Li
dear guru,

I've noticed there is one built-in task  under the task , I am not 
quite sure about the functionalities of it , would you give me any clue about 
it?

The reason I have this query is because I have met the two strange Error 
message through the nightly build.

The message listed below:
c:\solutions\HHL.ThirdRock\HHL.ThirdRock.Shared\HHL.ThirdRock.Shared.UI\licenses.licx(3)
 : error LC0004 : Exception occured creating type 
'System.InvalidOperationException'
c:\solutions\HHL.ThirdRock\HHL.ThirdRock.Supplier\HHL.ThirdRock.Supplier.UI\licenses.licx(2)
 : error LC0004 : Exception occured creating type 
'System.InvalidOperationException'

Thaks a milliion.

cheers,
Judy
###
Attention: 
The information contained in this communication and any attached files 
transmitted with it 
are confidential, may be legally privileged and intended solely for the 
individual or 
entity to whom they are addressed and others authorized to receive it. 
If you are not the intended recipient, reading, usage, dissemination, 
distribution or 
copying this message or attached files is strictly prohibited and may be 
unlawful. 
The Company is neither liable for the proper, complete transmission of this 
communication nor any delays in its receipt. The views expressed in this 
communication are those of the individual sender and may not necessarily 
reflect the 
views of the Company. This communication has been scanned by Norman Anti-Virus 
2004 
for viruses but before opening any attachments, please check them for viruses 
and defects.
##


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [Nant-users] Checking fileset contents?

2005-02-17 Thread Troy Laurin
> Original Message 
>From: [EMAIL PROTECTED]
> 
> [snip]
>
>OK - I've whipped up a couple of custom functions using the script
>task to inspect the contents of a fileset. Heres the script :
>
> [snip]
>
>[Function("to-string")]
>public string Contains( string fsetID ) {
>
> [snip]
>
>Ian
>
>btw - I quite like the idea of prototyping functions/tasks in script
>tags before considering them for inclusion in NAnt. Maybe we should
>add a user-submitted scripts section on the wiki.

An excellent idea :-)

One comment, at the risk of being picky... in your to-string
function, it would be nice if it accepted a second string parameter
to use as the separator between entries, so the user can specify
whether they want spaces, semicolons, commas, etc.

-T



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
___
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users