Re: Filesets

2009-12-23 Thread Ziggy
u refered to "files" but not directories. Did you > > mean files and directories? > > Filesets select files and not directories. If you want to select > directories, you use "dirset". > > > could you check the examples below and let me know if i got it

Re: Filesets

2009-12-18 Thread David Weintraub
On Fri, Dec 18, 2009 at 9:55 AM, Ziggy wrote: > In all your examples you refered to "files" but not directories. Did you > mean files and directories? Filesets select files and not directories. If you want to select directories, you use "dirset". > could you check

Re: Filesets

2009-12-18 Thread Ziggy
all subdirs of depth 1 from a subdir pages that is depth 1 > (xx/pages/xx, but not xx/pages/xx/xx ) > > > -- > Jürgen Knuplesch > -Ursprüngliche Nachricht- > Von: Ziggy [mailto:zigg...@gmail.com] > Gesendet: Freitag, 18. Dezember 2009 14:00 > An: Ant Users List > Betreff: Filesets > > Hi, > > I am trying to understand how the selection of files and directories work. > Could you explain the difference between the following. > > exclude name="**/pages"/> > > > > >

AW: Filesets

2009-12-18 Thread Knuplesch, Juergen
/xx, but not xx/pages/xx/xx ) -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: Ziggy [mailto:zigg...@gmail.com] Gesendet: Freitag, 18. Dezember 2009 14:00 An: Ant Users List Betreff: Filesets Hi, I am trying to understand how the selection of files and directories work. Could you explai

Filesets

2009-12-18 Thread Ziggy
Hi, I am trying to understand how the selection of files and directories work. Could you explain the difference between the following. exclude name="**/pages"/>

Re: Using on FileSets

2009-10-15 Thread Stefan Bodewig
On 2009-10-12, Alexander Ziller wrote: > Dir1 contains a set of JARs: a.jar b.jar c.jar d.jar e.jar > Dir2 contains a subset of the JARs in Dir1: b.jar e.jar > I want to get the negative intersection (the stuff from Dir1 that's NOT in > Dir2) and figured > I tried this with an intersect and then

Using on FileSets

2009-10-12 Thread Alexander Ziller
Hey there Im desperatly trying to get an intersection of 2 directories but it doesn't work. The situation: -- Dir1 contains a set of JARs: a.jar b.jar c.jar d.jar e.jar Dir2 contains a subset of the JARs in Dir1: b.jar e.jar I want to get the negative intersection (the stuff from Dir

help with ant - copy and filesets

2008-12-14 Thread Muralidhar Manku
Hi , I am new to ant to script. I am looking for some help for the below task Suppose the directory "/d1/user1/abc/" has 50 subdirectories. and these sub directories in turn have some other directories and some java files. a) Create a temp directory (/d1/temp) a) I need to create a directory unde

Re: help with ant - copy and filesets

2008-12-12 Thread manku
t; > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > > &

Re: help with ant - copy and filesets

2008-12-12 Thread Prashant Reddy
Take a look at "mapper" http://ant.apache.org/manual/CoreTypes/mapper.html manku wrote: Hi , I am new to ant to script. I am looking for some help for the below task Suppose the directory "/d1/user1/abc/" has 50 subdirectories. and these sub directories in turn have some other directories an

help with ant - copy and filesets

2008-12-12 Thread manku
mnc/a.java Please advice Thanks, -- Muralidhar -- View this message in context: http://www.nabble.com/help-with-ant---copy-and-filesets-tp20987842p20987842.html Sent from the Ant - Users mailing list archive at Nabble.com. - To u

AW: ested filesets - how to do it?

2008-08-06 Thread Jan.Materne
gt; An: user@ant.apache.org > Betreff: ested filesets - how to do it? > > I've inherited this Ant build file, and am trying to clean it > up a bit! > > I have this bit of code... (somewhat abridged!) > > > > > > > > > >

ested filesets - how to do it?

2008-08-06 Thread Robert Jones
thing like... only of course you can't do that, 'cos doesn't understand about directories, only aboout patterns. I thought maybe I shold nest filesets, but I couldn't do that either, tho' maybe my syntax was wrong. I thought of splitting it to several fileset

RE: using filesets in a custom task

2008-08-04 Thread Matt Benson
hank you, > that will clean up > my code a bit) as I was using the examples found > here: > > http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html > > Maybe it's time to update the examples? > That's possible, yes. :) -Matt > -Original Messag

RE: using filesets in a custom task

2008-08-04 Thread EJ Ciramella
() and get a string array of the files included. But the files included are simply the files, with no absolute path. I didn't know about the iterator at all (thank you, that will clean up my code a bit) as I was using the examples found here: http://ant.apache.org/manual/tutorial

RE: using filesets in a custom task

2008-08-04 Thread Matt Benson
; From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2008 3:09 PM > To: Ant Users List > Subject: RE: using filesets in a custom task > > > --- EJ Ciramella <[EMAIL PROTECTED]> wrote: > > > The next bit is how to get the fully qualified > pa

RE: using filesets in a custom task

2008-08-04 Thread EJ Ciramella
Yeah, kinda strange, why would you want a fileset vector of just the File.getName() instead of File.getAbsolutePath()? -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 3:09 PM To: Ant Users List Subject: RE: using filesets in a custom task

RE: using filesets in a custom task

2008-08-04 Thread Matt Benson
he fileset" you mean basedir? A fileset's basedir, or "dir", is a File object, so by that time you're looking at a plain API call on java.io.File. -Matt > -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 04, 2008 2

RE: using filesets in a custom task

2008-08-04 Thread EJ Ciramella
: using filesets in a custom task Wow - as simple as the difference between addFileset(FileSet f) and addConfiguredFileset(FileSet f). -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 11:57 AM To: Ant Users List Subject: RE: using filesets in a

RE: using filesets in a custom task

2008-08-04 Thread EJ Ciramella
Wow - as simple as the difference between addFileset(FileSet f) and addConfiguredFileset(FileSet f). -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 11:57 AM To: Ant Users List Subject: RE: using filesets in a custom task Any other

RE: using filesets in a custom task

2008-08-04 Thread EJ Ciramella
Any other suggestions from anyone? Why does ant thing I'm not supplying the "dir" attribute to the flieset? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:16 PM To: Ant Users List Subject: RE: using filesets in a

RE: using filesets in a custom task

2008-08-01 Thread EJ Ciramella
No exceptions, just this: Class m2utils.converters.SnapshotConverter loaded from parent loader (parentFirst) +Datatype snapshotconverter m2utils.converters.SnapshotConverter [snapshotconverter] how many filesets? 1 [snapshotconverter] about to process null -Original Message- From

RE: using filesets in a custom task

2008-08-01 Thread Peters, John
Do you have an error message? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:10 PM To: Ant Users List Subject: RE: using filesets in a custom task It's as simple as this so far: public void addFileset(FileSet fileset) { fileset

RE: using filesets in a custom task

2008-08-01 Thread EJ Ciramella
It's as simple as this so far: public void addFileset(FileSet fileset) { filesets.add(fileset); System.out.println("how many filesets? "+filesets.size()); for(int x = 0; x < filesets.size(); x++) { System.out.println("about to process &

RE: using filesets in a custom task

2008-08-01 Thread Peters, John
Post your code please -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2008 3:00 PM To: user@ant.apache.org Subject: using filesets in a custom task I'm struggling to write a custom task that utilizes filesets. No matter what I do, it do

using filesets in a custom task

2008-08-01 Thread EJ Ciramella
I'm struggling to write a custom task that utilizes filesets. No matter what I do, it doesn't seem to set/understand the "dir" attribute to the fileset. Any suggestions?

Re: howto reuse includes and excludes definitions for different filesets

2007-12-10 Thread Ingo Siebert
of my complete project. That's why i have to filesets. // ... // ... But i don't want to maintain the includes and excludes two times in my build file. It there a way the define the includes and excludes only one time? Any gr

Re: howto reuse includes and excludes definitions for different filesets

2007-12-07 Thread Dmitri Farafonov
. 2007/12/7, Ingo Siebert <[EMAIL PROTECTED]>: > Hi, > > i have to create two files: src.zip and binary.jar . > > The src.zip contains the source code files and the binary.jar contains > the class files. > > They only contains a _subset_ of my complete project. &

AW: howto reuse includes and excludes definitions for different filesets

2007-12-07 Thread Jan.Materne
-Ursprüngliche Nachricht- > Von: Ingo Siebert [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 7. Dezember 2007 16:39 > An: user@ant.apache.org > Betreff: howto reuse includes and excludes definitions for > different filesets > > Hi, > > i have to create two files: src

howto reuse includes and excludes definitions for different filesets

2007-12-07 Thread Ingo Siebert
Hi, i have to create two files: src.zip and binary.jar . The src.zip contains the source code files and the binary.jar contains the class files. They only contains a _subset_ of my complete project. That's why i have to filesets. // ... // ... But i

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Peter Reilly
uld the user > > have > > > to explicitly include it ? > > 1) the fileset is not only used in > > I was thinking may be Javadoc task can pick up the package-info.java > while it is processing the input filesets. I am not familiar with > Javadoc task's cod

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Prashant Reddy
ot only used in I was thinking may be Javadoc task can pick up the package-info.java while it is processing the input filesets. I am not familiar with Javadoc task's code, may be this not possible. > 2) package-info.java is used by other things than javadoc. Really, Like what other things

Re: javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Peter Reilly
ide input to > javadoc task. > > Something like : > > > > > > > > > > > > > //More filesets > > > > However to my surprise package-info.java which i placed in packages is > not included as input to javadoc task. I had to modi

javadoc task does not pick up package-info.java from included filesets

2007-09-12 Thread Prashant Reddy
Hello ANT Users, I have a lot of files from which javadoc needs to be generated. Not all java files from a package need to be published in javadoc. To enable this i use a number of s that provide input to javadoc task. Something like : //More filesets However to my

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
Oh, is THAT what he meant? :) well, whatever... --- Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > Hi, > > caleysoldman wrote: > > [ ...] > > :arguing: > > > > regardless, what i did was create a working build > ...all i really need to > > understand is how to move the fileset to an > external

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
, what i did was create a working build > ...all i really need to > understand is how to move the fileset to an external > file that will then be > used based on the DBMS property which value is > passed at the command line. > thanks in advance for your help ant folx! >

Re: can filesets be stored in a properties file?

2007-06-08 Thread Gilbert Rebhan
Hi, caleysoldman wrote: [ ...] :arguing: regardless, what i did was create a working build ...all i really need to understand is how to move the fileset to an external file that will then be used based on the DBMS property which value is passed at the command line. thanks in advance for your h

Re: can filesets be stored in a properties file?

2007-06-08 Thread caleysoldman
{file} ERROR: Missing Command Line Property Varialbe DBMS: ${DBMS}. -- View this message in context: http://www.nabble.com/can-filesets-be-stored-in-a-properties-file--tf3890587.html#a11030923 Sent from th

Re: can filesets be stored in a properties file?

2007-06-08 Thread Matt Benson
> -- > View this message in context: > http://www.nabble.com/can-filesets-be-stored-in-a-properties-file--tf3890587.html#a11028955 > Sent from the Ant - Users mailing list archive at > Nabble.com. > > > -

can filesets be stored in a properties file?

2007-06-08 Thread caleysoldman
to move my fileset to the properties files, but when i do, the refid no longer works. thanks... -- View this message in context: http://www.nabble.com/can-filesets-be-stored-in-a-properties-file--tf3890587.html#a11028955 Sent from the Ant - Users mailing list archive at Nabble.com

RE: using symlink on filesets

2007-02-09 Thread Tracy Jones
Never mind - it's my version of j9 that is the problem - not ant -Original Message- From: Tracy Jones Sent: Friday, February 09, 2007 11:18 AM To: Ant Users List Subject: Re: using symlink on filesets I am trying to create sym links in 1 directory for each file in another dire

Re: using symlink on filesets

2007-02-09 Thread Tracy Jones
I am trying to create sym links in 1 directory for each file in another directory. I got this example from a previous posting, but so far am unable to make it work for me. The code is below - the problem I am having is that the sym link is being created in whatever directory I am in when I run th

Re: Overriding filesets

2007-01-29 Thread Andre Dantas Rocha
Thanks Matt! > > --- Andre Dantas Rocha <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > Suppose I have this fileset: > > > > > > > > > > > > And I'd like to override it, including one more file > > (misc_${env}.jar): > > > > > > > > > > > > > > > > Is that a way to use the ol

Re: Overriding filesets

2007-01-29 Thread Matt Benson
--- Andre Dantas Rocha <[EMAIL PROTECTED]> wrote: > Hello, > > Suppose I have this fileset: > > > > > > And I'd like to override it, including one more file > (misc_${env}.jar): > > > > > > > > Is that a way to use the old definition and include > only the new jar? someth

Overriding filesets

2007-01-29 Thread Andre Dantas Rocha
Hello, Suppose I have this fileset: And I'd like to override it, including one more file (misc_${env}.jar): Is that a way to use the old definition and include only the new jar? somethig like it: Thanks, Andre

Problem with maverick-ant / SFTP and RegEx in filesets

2006-12-01 Thread Grimm, Markus
Hi, I used maverick-ant to delete some files on a remote-system like this: If I start the script from my local IDE (Eclipse/Windows-System!) delete files on a Linux-machine and everything works fine. If I start the same script from a Unix/Linux-System deleting some files from an

Re: Groups of filesets

2006-08-25 Thread Antoine Levy-Lambert
, Thomas Hallgren Antoine Levy-Lambert wrote: Hello, Ant 1.7 will have groups of filesets (Resource collections). Regards, Antoine Original-Nachricht Datum: Tue, 22 Aug 2006 19:46:07 +0200 Von: "Chaudhuri, Hiran" <[EMAIL PROTECTED]> An: "Ant Users List&quo

RE: Groups of filesets

2006-08-25 Thread Thomas Hallgren
Hi Antoine, This is great news! Is there a place where I can read up on these Resource Collections? Thanks, Thomas Hallgren Antoine Levy-Lambert wrote: Hello, Ant 1.7 will have groups of filesets (Resource collections). Regards, Antoine Original-Nachricht Datum: Tue, 22

Re: RE: Groups of filesets

2006-08-23 Thread Antoine Levy-Lambert
Hello, Ant 1.7 will have groups of filesets (Resource collections). Regards, Antoine Original-Nachricht Datum: Tue, 22 Aug 2006 19:46:07 +0200 Von: "Chaudhuri, Hiran" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: RE: Groups of filesets > Hmmm

RE: Groups of filesets

2006-08-22 Thread Chaudhuri, Hiran
: Dienstag, 22. August 2006 17:08 To: Ant Users List Subject: Re: Groups of filesets Not sure if arithmetics would help me. I'm dependent on the actual grouping, i.e. the fact that some files reside under 'src1' and others under 'src2' and that this grouping is maintained w

Re: Groups of filesets

2006-08-22 Thread Thomas Hallgren
src2/org/foo/util/b.class Now, given my original example, I'd like a jar that contains: org/foo/misc/a.class org/foo/util/b.class I.e., the knowledge that src1 and src2 are 'dir' entries that will replace the 'basedir' in the jar task as it peruses the filesets, one at

RE: Groups of filesets

2006-08-22 Thread Chaudhuri, Hiran
Actually it would be nice to have some set arithmethics implemented. Means a set plus another set is a new set. You could this way add, subtract and whatever you like with filesets without having to modify any of the tasks. For a beginning, a fileset could support the nested element fileset

Groups of filesets

2006-08-22 Thread Thomas Hallgren
I'm lacking a element that would enable a referencing a group of . I'm currently faced with the challenge of passing multiple filesets from a Java program to an ant-script as a source for a jar task. I can't find a good way to do that. Essentially, this is what I'

Re: using symlink on filesets

2006-08-03 Thread Nathan Franzen
On 8/3/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: > And as far as I know, there is no reasonable iterator or foreach way > to wrap up a single symlink task within the fileset. There is. Ant-Contrib's excellent task. But in your case, since is forking's the OS's ln command anyway, I'd us

Re: using symlink on filesets

2006-08-03 Thread Dominique Devienne
And as far as I know, there is no reasonable iterator or foreach way to wrap up a single symlink task within the fileset. There is. Ant-Contrib's excellent task. But in your case, since is forking's the OS's ln command anyway, I'd use , which is an implicit for-loop, works with fileset, and sh

using symlink on filesets

2006-08-03 Thread Nathan Franzen
I'd like to use "symlink" as part of a deploy task on unix machines. I have a set of files which are most easily specified as a fileset, and I'd like to create symbolic links in a particular destination directory to all of the sources. I could just copy them, as but I'd rea

Re: Collection of FileSets

2006-06-16 Thread Dhruva Reddy
OK, that's good to know. If I can't find a way around it I may give that a go. Thanks, Dhruva On 6/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Not all tasks can work with nested paths in prior to Ant 1.7. With 1.7 we are introducing "ResourceCollections" which is a supertype a ,

AW: Collection of FileSets

2006-06-15 Thread Jan.Materne
Not all tasks can work with nested paths in prior to Ant 1.7. With 1.7 we are introducing "ResourceCollections" which is a supertype a , and others. I'm not sure if supports that, but most of the tasks are converted ... Yep - inherits inherits . And supports RCs [1]. So your life will be

Re: Collection of FileSets

2006-06-15 Thread Scot P. Floess
Dhruva: Have you considered using path with id...like: ... ... Then just use the refid "MY_PATH"... Dhruva Reddy wrote: Hello, We have a target that builds an EAR using the ear task. Fed into the task is a rather large number of fileset's. What I would like to do is use the sa

Collection of FileSets

2006-06-15 Thread Dhruva Reddy
Hello, We have a target that builds an EAR using the ear task. Fed into the task is a rather large number of fileset's. What I would like to do is use the same fileset's for another task (I want to copy those elements into the app server without building the EAR). Is there any way to aggregate

Re: Ant custom task and filesets

2006-06-07 Thread Dominique Devienne
ant -f executor.xml xml.beautify -Dxml.include=**\test.xml Try with forward slash, instead of back slash. --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ant custom task and filesets

2006-06-07 Thread Alex Egg
I have a task I wrote and I am trying to get it built into my ant setup. I would like to run it like this... ant -f executor.xml xml.beautify -Dxml.include=**\test.xml Ant should resolve **\test.xml to a full path. My target looks like this:

RE: Javac: multiple source roots & filesets

2006-04-26 Thread Wildish, Joe STASCO-OTO/72
rs List Subject: RE: Javac: multiple source roots & filesets Two possibilities that spring to mind: 1. the files you require from either source tree to a single working directory structure, then from there. 2. the generated files you don't want before invoking . As a general ru

RE: Javac: multiple source roots & filesets

2006-04-26 Thread Keith Hatton
pends on the complexity of your real project and the flexibility of your build process. Keith -Original Message- From: Wildish, Joe STASCO-OTO/72 [mailto:[EMAIL PROTECTED] Sent: 26 April 2006 13:38 To: Ant Users List Subject: RE: Javac: multiple source roots & filesets javac (com

RE: Javac: multiple source roots & filesets

2006-04-26 Thread Wildish, Joe STASCO-OTO/72
'sourcepath ""', it forces javac to ONLY be aware of the source files you tell it about (including for any implicit compiliations that occur as a result of dependencies). It would be nice to be able to achieve this using specific filesets for each specified source directory in

Re: Javac: multiple source roots & filesets

2006-04-26 Thread Steve Loughran
Wildish, Joe STASCO-OTO/72 wrote: java root_a/One.java root_b/Two.java root_b/Three.java javac handles this OK (ie. it is not privy to root_a/Two.java, so does not attempt to compile it). Like I warned, this is not always the case java.exe will pull in any java files it sees fit to compile

RE: Javac: multiple source roots & filesets

2006-04-26 Thread Wildish, Joe STASCO-OTO/72
Hi Steve, Thanks for the suggestion; however, the "src" attribute is a path-like structure, and as such you cannot use include or exclude elements (hence trying to use the filesets in the first example). It would seem that the javac task is taking directories specified by the "

Re: Javac: multiple source roots & filesets

2006-04-26 Thread Steve Loughran
.. and it would work fine. However, I can't seem to replicate this in an ANT target. As filesets are relative to the specificed directory, I cannot find a way to exclude certain files from one source root, as effectively I am working within the same namespace. What I really wan

Javac: multiple source roots & filesets

2006-04-26 Thread Wildish, Joe STASCO-OTO/72
't seem to replicate this in an ANT target. As filesets are relative to the specificed directory, I cannot find a way to exclude certain files from one source root, as effectively I am working within the same namespace. What I really wan

RE: Printing out patternsets and/or filesets

2006-04-19 Thread Brown, Carlton
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006 1:36 AM > To: user@ant.apache.org > Subject: AW: Printing out patternsets and/or filesets > > > > patternset: ${ps.value}"/> > > > Jan

AW: Printing out patternsets and/or filesets

2006-04-18 Thread Jan.Materne
patternset: ${ps.value}"/> Jan >With pathconvert you can convert the fileset to a property >which will list the files in the fileset. >> I need to know if there is a way to print out a patternset >or fileset >> for debugging. Likesay if I've specified a patternset and >given it an -

Re: Printing out patternsets and/or filesets

2006-04-18 Thread Antoine Levy-Lambert
Hello Carlton, With pathconvert you can convert the fileset to a property which will list the files in the fileset. Please read the manual. For the patternset nothing obvious. Regards, Antoine Just to rule it out, I tried the obvious which of course didn't work. Brown, Carlton wrote:

Printing out patternsets and/or filesets

2006-04-18 Thread Brown, Carlton
Hi, I need to know if there is a way to print out a patternset or fileset for debugging. Likesay if I've specified a patternset and given it an ID: Or for a fileset, similar situation. How do I go about displaying the list of what the f

RE: Filesets

2006-02-16 Thread Shweta Bodade
Bejoy this is what I could try but its difficult to omit certain dir's if the same you apply on file it works and on dir'

AW: Filesets

2006-02-16 Thread Jan.Materne
manual? Jan >-Ursprüngliche Nachricht- >Von: bejoy [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 16. Februar 2006 14:22 >An: user@ant.apache.org >Betreff: Filesets > > >Hi, > > >Please give some examples on fileset and nested fileset. > >Than

Re: Filesets

2006-02-16 Thread Patrick Martin
Hello, You can have a look at http://ant.apache.org/manual/CoreTypes/fileset.html Rgds, Patrick M. On 2/16/06, bejoy <[EMAIL PROTECTED]> wrote: > > Hi, > > > Please give some examples on fileset and nested fileset. > > Thanks & Regards, > Bejoy > > > > This e-mail and any files transmitted with

Filesets

2006-02-16 Thread bejoy
Hi, Please give some examples on fileset and nested fileset. Thanks & Regards, Bejoy This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient or received i

AW: Sample of custom task showing how to get filesets?

2005-07-31 Thread Jan.Materne
Then you havent found the manual? Developing with Ant | Tasks using Properties, Filesets & Paths Jan >-Ursprüngliche Nachricht- >Von: David A. Bartmess [mailto:[EMAIL PROTECTED] >Gesendet: Sonntag, 31. Juli 2005 23:05 >An: user@ant.apache.org >Betreff: Sample of

Sample of custom task showing how to get filesets?

2005-07-31 Thread David A. Bartmess
I'm confused by the custom tasks, and how to get the filesets from nested fileset elements. Do these get created automatically, and all I have to provide is a public void add(FileSet fset) method in the Task-derived custom task? Or are there special methods I need to call from the inhe

RE: how would I perform set intersection or disjunction with filesets?

2005-07-15 Thread Craeg Strong
disjunction with filesets? Hi Craeg: I guess nobody from the dev side has answered this so as not to steal my thunder. Ant CVS HEAD contains initial support for a ResourceCollection interface which will be implemented by FileSet etc. Additionally set logic such as you describe will be

Re: how would I perform set intersection or disjunction with filesets?

2005-07-14 Thread Matt Benson
llo: > > Here is a fun question: does anyone have any ideas > as to how one might > go about producing a fileset that represents the > INTERSECTION of two > filesets? > > That is, it will include only those files that are > in both filesets A > and B. > > Anothe

how would I perform set intersection or disjunction with filesets?

2005-07-13 Thread Craeg Strong
Hello: Here is a fun question: does anyone have any ideas as to how one might go about producing a fileset that represents the INTERSECTION of two filesets? That is, it will include only those files that are in both filesets A and B. Another question: how might one produce a fileset that

Re: AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Matt Benson
--- Rick Mann <[EMAIL PROTECTED]> wrote: > I really need a way to specify an arbitrary set of > files under a > single name, and then use that set in both class > paths and copy > operations. > > I think nested filesets, et al. would work, along > with support

Re: AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Rick Mann
On Jun 13, 2005, at 02:34, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: A fileset has a common base directory. There are no nested filesets. Have you had a look at s? There are some tasks which dont support s, and is one of them [1] - oh, there was some work ... maybe a n

AW: How to use multiple filesets with classpath AND copy

2005-06-13 Thread Jan.Materne
A fileset has a common base directory. There are no nested filesets. Have you had a look at s? There are some tasks which dont support s, and is one of them [1] - oh, there was some work ... maybe a nightly build would work :-) Alternatively you could iterate over filesets

How to use multiple filesets with classpath AND copy

2005-06-10 Thread Rick Mann
Hi. I'm building a handful of Struts webapps, and would like to do this in my build scripts: I want to specify a collection of .jar files from several different directories, and I want to refer to the entire collection with a single id. Now, I can make a fileset or filelist for a directory,

Re: How to add multiple filesets at once (to a jar target) ?

2004-10-16 Thread Kris Read
from directory ${blah} and its subdirectories > 2.) Include exactly the files karl.txt and paul.txt from directory ${test} > 3.) All files from directory ${myproj} (but NOT its subdirectories) except the file > log.dat > > Can I achieve this with ONE jar target with three fileset

How to add multiple filesets at once (to a jar target) ?

2004-10-16 Thread Thomas Stein
files from directory ${myproj} (but NOT its subdirectories) except the file log.dat Can I achieve this with ONE jar target with three filesets? The following doesn't work. The first part is collected successfully but there are differences with the latter two. The files from the second part ar

Re: Building FileSets...

2004-02-05 Thread RADEMAKERS Tanguy
t' Subject: Building FileSets... Is there a clever way to build up a fileset that contains just a list of files that have changed? I'm using iajc (Aspectj) to do some compiling and it seems to do the entire tree each time (even if one file has changed). With their incremental setting se

Re: filesets with exec task ?

2004-01-31 Thread Matt Benson
Use the task. With it you can invoke your executable once per file, once with all files, or a few at a time. -Matt --- [EMAIL PROTECTED] wrote: > > > >I have a fileset with the files I > want to pass to another > > (perl) script. How do I send those as > command line argument

Re: Create filelists or filesets from property or path

2003-04-03 Thread Andreas Ames
"Stefan Schulz" <[EMAIL PROTECTED]> writes: > The property dependency.files corresponds to, e.g.: > "/any/path/file.class:/an/other/thing.class:/and/so/on.class". I oftenly use: (property) files=file1,file2,file3 and then HTH, andreas --