RE: [Nant-users] fileset parameterisation

2003-01-07 Thread Darren Syzling

Hi Scott,

Thanks for the clarification.  I was working from the Fundamentals/Filesets
docs which suggested that the Includes attribute on Fileset consists of:

"comma-separated list of patterns of files that must be included; all files
are included when omitted."

But this didn't appear to be true.

I'll try the includesList although I think my build files will turn rather
ugly emitting a separate file to hold sources/refs file specs.

I may have a look over the developer archives - get an idea of the general
thoughts on this issue.  It's a really powerful feature of Ant and I'm
struggling to share build rules across multiple components without it.


Darren

-Original Message-
From: Scott Hernandez [mailto:[EMAIL PROTECTED]] 
Sent: 06 January 2003 22:15
To: Darren Syzling; [EMAIL PROTECTED]
Subject: Re: [Nant-users] fileset parameterisation

There have discussions about supporting an id/ref system for naming filesets
and really any task. But no code has be put in cvs :)

As for the format of the fileset in text file it is not csv (comma
separated) but one per line.




There were some discussions about changing the name of the includesList
element, but the current code reflects that sample above.

- Original Message -
From: "Darren Syzling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 28, 2002 12:09 PM
Subject: [Nant-users] fileset parameterisation


> I'd like to be able to centralise my build rules wherever possible.
>
> Is it possible to parameterise filesets, for example the 'sources' and
> 'references' elements of the csc task.  The docs suggest that all Filesets
> are comma separated lists of file specifications.  My attempts to build a
> comma separated list of file specs within a property and use with a csc
task
> always fail.
>
> Alternatively is it possible to reference filesets by id or name?  Java
Ant
> defines path elements which can be referenced via id - is this available
or
> may be under development?
>
>
> Darren
>
>
>
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



[Nant-users] Switch on chosen target

2003-01-07 Thread Nicholas Robinson
Hi,
I need to find out the name of the target that is being used as the default when my script runs.  Because I want initialisation in one place, I dont want to have to set up some paths in two different targets.  For example I have two complicated build scripts that need the chosen target (Debug|Release) as part of the path.  However due to the complexity, I would rather have them in one place instead of:
          
Ideally I would like to do something like:

Or something like that, so I can initialise the paths in one location.  I guess there are ways of formulating my targets, so Setup target is called but it would be better in this case if I could initialise the important paths outside of a target, right at the top of my script...
Thanks,
Nick.
 With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

[Nant-users] Using a fileset with NUNIT2

2003-01-07 Thread Nicholas Robinson


Hi,
Is it possible to use a fileset with the NUNIT2 task such that I can specify a pattern and then execute it as the thing to test? I tried doing the following:
                      
But that obviously doesnt work.
Any ideas? Thanks,
Nick.With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

[Nant-users] AL question

2003-01-07 Thread David Neigler
I just posted, and see where the code I'm confused about is - in AlTask.cs,
the following is used for sources:

foreach (string fileName in Sources.FileNames) {
  writer.Write (" /embed:\"{0}\"", fileName);
}

Is this correct?  Should it be this instead?

foreach (string fileName in Sources.FileNames) {
  writer.Write (" \"{0}\"", fileName);
}




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



[Nant-users] NANT and ClearCase

2003-01-07 Thread Nicholas Robinson
hi,
I know Draco works with SourceSafe.  Does anyone know of anything that supports ClearCase?
Kind regards
Nick.With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs

[Nant-users] AL embedding references?

2003-01-07 Thread David Neigler
I just started using this, and am already addicted.  I've had trouble trying
to use the  task.  For now, I'm using exec and its working, but what I'm
trying to do is the following:

al /t:lib /out:Test.dll CSTest.netmodule VBTest.netmodule"

I tried using the following, which didn't work:

  

  


I've tried a few variations as well, but each time it includes those sources
as /EMBED:filename.netmodule.  What am I doing wrong?

Thanks!

Dave


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



RE: [Nant-users] ftp mirror (was: Nant taskdefs)

2003-01-07 Thread JohnA



I am 
currently using ant. I have a Java FtpMirror taskdef that keeps a remote dirtree 
in sync with a dirtree on my harddrive. Also I'm using a Concatenate taskdef 
that takes a fileset and creates 1 file from it.
 
 Are there equivalent Nant taskdefs out 
there? If not equivalent, I'll take anything close enough :)
 
John
 
 -Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott 
HernandezSent: Monday, January 06, 2003 1:33 PMTo: 
[EMAIL PROTECTED]Cc: 
[EMAIL PROTECTED]Subject: Re: [Nant-users] Nant 
taskdefs

  Not as yet. But posting to this list with an idea 
  of what you want will probably result in an answer as to whether such a task 
  exists. :)
  
- Original Message - 
From: 
mlist 
To: [EMAIL PROTECTED] 

Sent: Thursday, January 02, 2003 9:25 
PM
Subject: [Nant-users] Nant 
taskdefs

I am new to Nant (not to Ant). Is there a central 
repository like CPAN for Perl where I can find taskdef 
samples?
 
JohnA


RE: [Nant-users] ftp mirror (was: Nant taskdefs)

2003-01-07 Thread mlist



I am 
currently using ant. I have a Java FtpMirror taskdef that keeps a remote dirtree 
in sync with a dirtree on my harddrive. Also I'm using a Concatenate taskdef 
that takes a fileset and creates 1 file from it.
 
 Are there equivalent Nant taskdefs out 
there? If not equivalent, I'll take anything close enough :)
 
John
 
 -Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott 
HernandezSent: Monday, January 06, 2003 1:33 PMTo: 
[EMAIL PROTECTED]Cc: 
[EMAIL PROTECTED]Subject: Re: [Nant-users] Nant 
taskdefs

  Not as yet. But posting to this list with an idea 
  of what you want will probably result in an answer as to whether such a task 
  exists. :)
  
- Original Message - 
From: 
mlist 
To: [EMAIL PROTECTED] 

Sent: Thursday, January 02, 2003 9:25 
PM
Subject: [Nant-users] Nant 
taskdefs

I am new to Nant (not to Ant). Is there a central 
repository like CPAN for Perl where I can find taskdef 
samples?
 
JohnA