RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
-Original Message- From: Matèrne, Jan (RZF, Aufg 481) [mailto:jan.mate...@fv.nrw.de] Sent: mardi 26 avril 2016 14:10 To: Ant Users List Subject: AW: Multiple fileset and filelist comparisons >If you just "upload" files, you could use the selector for getting >changed f

AW: Multiple fileset and filelist comparisons

2016-04-26 Thread RZF, Aufg 481
: Multiple fileset and filelist comparisons -Original Message- From: Dominique Devienne [mailto:ddevie...@gmail.com] Sent: mardi 26 avril 2016 13:11 To: Ant Users List Subject: Re: Multiple fileset and filelist comparisons > Then maybe > http://stackoverflow.com/questions/5940918/how-

RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
-Original Message- From: Dominique Devienne [mailto:ddevie...@gmail.com] Sent: mardi 26 avril 2016 13:11 To: Ant Users List Subject: Re: Multiple fileset and filelist comparisons > Then maybe > http://stackoverflow.com/questions/5940918/how-to-use-ants-sync-task-but-based-o

Re: Multiple fileset and filelist comparisons

2016-04-26 Thread Dominique Devienne
On Tue, Apr 26, 2016 at 12:09 PM, wrote: > Thanks for you answer Dominique > Actually I can't just simply synchronize remote repository in one shot. I > have this intermediary fileList because I need to update remote files > through different batches which can't exceed x number of files depending

RE: Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
al Message- From: Dominique Devienne [mailto:ddevie...@gmail.com] Sent: mardi 26 avril 2016 11:48 To: Ant Users List Subject: Re: Multiple fileset and filelist comparisons On Tue, Apr 26, 2016 at 11:25 AM, wrote: > I need to compare those 2 file trees to get desynchronized files from >

Re: Multiple fileset and filelist comparisons

2016-04-26 Thread Dominique Devienne
On Tue, Apr 26, 2016 at 11:25 AM, wrote: > I need to compare those 2 file trees to get desynchronized files from > 'DirRemote' (in order to synchronize them with the latest revision further). > Have a looked at the task? https://ant.apache.org/manual/Tasks/sync.html --DD

Multiple fileset and filelist comparisons

2016-04-26 Thread Lancelot.MEURILLON
#x27;targetdir' DirRemote : But this list of desynchronised files will be used by another project B, that's why I convert the fileset 'desynchronizedMetadata into a fileList using a pathconvert and echo file : <project name="DesynchronizedMetadata">${line

AW: create a new fileset in Java and in Ant Task

2014-02-26 Thread Knuplesch , Jürgen
THX! -Ursprüngliche Nachricht- Von: Jan Matèrne (jhm) [mailto:apa...@materne.de] Gesendet: Dienstag, 25. Februar 2014 17:34 An: 'Ant Users List' Betreff: AW: create a new fileset in Java and in Ant Task The fileset needs a project instance. getDS() is a short cut for getDS(

AW: create a new fileset in Java and in Ant Task

2014-02-25 Thread jhm
The fileset needs a project instance. getDS() is a short cut for getDS(getProject()) and your getProject() would return null. see: https://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/an t/types/AbstractFileSet.java supports nested filesets so a view here would be a starting

create a new fileset in Java and in Ant Task

2014-02-25 Thread Knuplesch , Jürgen
Hello, I want to create a new fileset inside a ANT-Task using this: FileSet createdFileset = new FileSet(); createdFileset.setDir(new File(basedir)); When I do this to get the files: createdFileset.getDirectoryScanner(); I get a NPE. What else do I need to do to set up a

Re: How to apply mapper to filelist to get other fileset or filelist?

2013-05-07 Thread Antoine Levy Lambert
Hello Lev, Ant has a concept of mapped resources. Read this : http://ant.apache.org/manual/Types/resources.html#mappedresources Best regards, Antoine On May 6, 2013, at 10:14 AM, Lev Serebryakov wrote: > Hello, User. > > Is it possible to apply mapper to to get other > or, even better, ?

How to apply mapper to filelist to get other fileset or filelist?

2013-05-06 Thread Lev Serebryakov
Hello, User. Is it possible to apply mapper to to get other or, even better, ? For example, if I have list of classes and root source dir, how could I get which contains all source files? Something like this:

Re: Performance of fileset containing a large number of files

2011-08-19 Thread Matt Benson
On Thu, Aug 18, 2011 at 5:12 AM, Julien LF wrote: >> 2011/8/18 Stefan Bodewig : >> Depends on which version of Ant you use.  Unless it is 1.8.2 upgrading >> could help as we've improved scanning perfromance with almost every >> release. > > I have some environments stuck with Java 1.3 so i planned

Re: Performance of fileset containing a large number of files

2011-08-18 Thread Julien LF
> 2011/8/18 Stefan Bodewig : > Depends on which version of Ant you use.  Unless it is 1.8.2 upgrading > could help as we've improved scanning perfromance with almost every > release. I have some environments stuck with Java 1.3 so i planned to use Ant 1.7.1. I gave Ant 1.8.2 a try (I should have t

Re: Performance of fileset containing a large number of files

2011-08-18 Thread Stefan Bodewig
pent building the fileset > before actually writing to the destination file. Is there any way to > improve this performance? Depends on which version of Ant you use. Unless it is 1.8.2 upgrading could help as we've improved scanning perfromance with almost every release. Another thi

Performance of fileset containing a large number of files

2011-08-18 Thread Julien LF
Hello, I am facing the same "problem" as mentioned in this thread dating of 2006: http://ant.1045680.n5.nabble.com/Performance-of-fileset-related-operations-with-a-large-number-of-files-td1361341.html That is, I'm using ant to build a tar archive of a directory containing 100,000+

Re: includesfile in fileset is not respecting order

2011-02-03 Thread Stefan Bodewig
? It is not includesfile that doesn't preserve the sorting, it is the fileset. filesets are unordered and may change order while you don't look at them (in reality this statement isn't true, but you better use filesets if it was true). If you need something sorted you can use a fil

includesfile in fileset is not respecting order

2011-02-03 Thread kwooda
/includesfile-in-fileset-is-not-respecting-order-tp3368946p3368946.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h

Re: fileset of cvs changed files

2011-01-01 Thread Mark Lybarger
tag="${cvs.branch}" > /> > > out="${cvs.report}${file.separator}changelog.html" >style="${ant.home}/etc/changelog.xsl"> > > > > > > > -Original Message----- > From:

RE: fileset of cvs changed files

2010-12-31 Thread Urena, Jose M
Original Message- From: Antoine Levy-Lambert [mailto:anto...@gmx.de] Sent: Friday, December 31, 2010 10:50 AM To: Ant Users List Subject: Re: fileset of cvs changed files Hello Mark, what you can do is run your cvs update using the exec task and use a nested filterchain do capture output

Re: fileset of cvs changed files

2010-12-31 Thread Antoine Levy-Lambert
es of file relative paths in order to be used as input for the includesfile attribute of a patternset. Something like that (untested) : Otherwise you can write your own ant task and make this task create either a patternset, a fileset, or a resource collection. Regards, Antoine

fileset of cvs changed files

2010-12-31 Thread Mark Lybarger
i'm using ant to build a project that has been checked out from cvs. i want to run a task that uses a fileset of all files changed from cvs. basically, i'm looking to run a source code formatter on the source files and only want it to run on files that have changed from the versi

Re: fileset problem

2010-07-12 Thread Nick Leaton
t; >> I can't get the fileset working properly. This is my attempt. > > You don't say what your attempt results in 8-) > >>       >>               >>               >>               >>                       >>                            

Re: fileset problem

2010-07-12 Thread Stefan Bodewig
On 2010-07-12, Nick Leaton wrote: > However, I want to exclude the .hg directory (mercurial) apart from > the .hg/hgrc file which contains the configuration for the repository. > I can't get the fileset working properly. This is my attempt. You don't say what your a

fileset problem

2010-07-12 Thread Nick Leaton
I'm trying to create a zip file to archive source. However, I want to exclude the .hg directory (mercurial) apart from the .hg/hgrc file which contains the configuration for the repository. I can't get the fileset working properly. This is

Re: Constructing patterns for use in fileset includes

2010-07-05 Thread Matt Benson
On Jul 5, 2010, at 10:17 AM, Bailey, Darragh wrote: Thought I'd send the final results of what I got working to the list. [SNIP] I must say this is probably the first example of used in anger in the wild. I'm gratified that it's working so well for you. :) Regards, Matt -- Regards,

RE: Constructing patterns for use in fileset includes

2010-07-05 Thread Bailey, Darragh
Thought I'd send the final results of what I got working to the list. Interestingly I ran into a problem where trying to use would throw an error about that task not supporting the refid attribute. I eventually hit on the solution that I could use the generic mapper task with the refid even th

Re: Constructing patterns for use in fileset includes

2010-07-01 Thread Matt Benson
On Jul 1, 2010, at 8:26 AM, Bailey, Darragh wrote: -Original Message- From: Matt Benson [mailto:gudnabr...@gmail.com] Sent: 30 June 2010 15:57 To: Ant Users List Subject: Re: Constructing patterns for use in fileset includes You're in luck. I would recommend using antcontri

RE: Constructing patterns for use in fileset includes

2010-07-01 Thread Bailey, Darragh
> -Original Message- > From: Matt Benson [mailto:gudnabr...@gmail.com] > Sent: 30 June 2010 15:57 > To: Ant Users List > Subject: Re: Constructing patterns for use in fileset includes > You're in luck. I would recommend using antcontrib:for to > iterate

Re: Constructing patterns for use in fileset includes

2010-06-30 Thread Matt Benson
On Jun 30, 2010, at 6:24 AM, Bailey, Darragh wrote: > > > Is it possible to take the contents of a property and modify each item within > the property to append a wildcard in order to turn them into patterns that > can be used within ? > > property1 = string1,string2,string3,string4 > > An

Constructing patterns for use in fileset includes

2010-06-30 Thread Bailey, Darragh
Is it possible to take the contents of a property and modify each item within the property to append a wildcard in order to turn them into patterns that can be used within ? property1 = string1,string2,string3,string4 And patternproperty is constructed based on property1 to result in: patter

AW: fileset and java tasks?

2010-06-22 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: Jakob Fix [mailto:jakob@gmail.com] >Gesendet: Freitag, 4. Juni 2010 23:16 >An: Ant Users List >Betreff: fileset and java tasks? > >Hi, I'd like to execute a java task on each file in a given director

fileset and java tasks?

2010-06-04 Thread Jakob Fix
Hi, I'd like to execute a java task on each file in a given directory, but I can't see how to combine the and tasks. (Regarding the output of the task I intend to save it into a new file using the i/o redirector.) any help with this dilemma is greatly appreciated. cheers, Jakob. -

Re: How to echo the empty directories of a fileset ?

2010-05-19 Thread Bruno Medeiros
t; >>>> Hello. If I do something like this: >>>> >>>>       >>>>               >>>>                       >>>>               >>>>       >>>> >>>> and projects.dir has some empty directories, then those director

Re: How to echo the empty directories of a fileset ?

2010-05-17 Thread Matt Benson
some empty directories, then those directories will be copied to destination.dir . Is this normal behavior? (It seems strange to me that a fileset would contain empty directories) And if that's the case, how can I echo the empty directories of a fileset? I am familiar with this: pa

Re: How to echo the empty directories of a fileset ?

2010-05-15 Thread Bruno Medeiros
; >> and projects.dir has some empty directories, then those directories >> will be copied to destination.dir . >> Is this normal behavior? (It seems strange to me that a fileset would >> contain empty directories) >> And if that's the case, how can I echo

Re: How to echo the empty directories of a fileset ?

2010-05-13 Thread Matt Benson
? (It seems strange to me that a fileset would contain empty directories) And if that's the case, how can I echo the empty directories of a fileset? I am familiar with this: pathsep=","/> But it only prints the files of the fileset, not the directories. If you sim

RE: How to echo the empty directories of a fileset ?

2010-05-13 Thread Mario Madunic
From: Bruno Medeiros [mailto:bruno.do.medei...@gmail.com] Sent: Thursday, May 13, 2010 12:49 PM To: user@ant.apache.org Subject: How to echo the empty directories of a fileset ? Hello. If I do something like this:

How to echo the empty directories of a fileset ?

2010-05-13 Thread Bruno Medeiros
Hello. If I do something like this: and projects.dir has some empty directories, then those directories will be copied to destination.dir . Is this normal behavior? (It seems strange to me that a fileset would contain

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > B.T.W are u aware of any implementation of .. Sorting is implemented as a decorator so we don't need to add it to each and every resource collection: Stefan - To unsubscribe, e

RE: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
support-selections-as-per-the-fileset-tp28228769p28232011.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > Stefan Bodewig wrote: >> means: here is a list of files that may or may not be there, >> return all of them don't check whether they are there at all. No >> wildcards supported. > adding wildcards support can enhance refactorings of location of the

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
> From: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] > Sent: Tuesday, April 13, 2010 7:05 AM > To: user@ant.apache.org > Subject: RE: filelist to support selections as per the fileset > > > Hi Rick, > > May be the name could be > > but in the java w

RE: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] >> Sent: Tuesday, April 13, 2010 6:50 AM >> To: user@ant.apache.org >> Subject: Re: filelist to support selections as per the fileset >> > adding wildcards support can enhance refactorings of location of >> these >

RE: filelist to support selections as per the fileset

2010-04-13 Thread Rick Genter
> From: Raja Nagendra Kumar [mailto:nagendra.r...@tejasoft.com] > Sent: Tuesday, April 13, 2010 6:50 AM > To: user@ant.apache.org > Subject: Re: filelist to support selections as per the fileset > > adding wildcards support can enhance refactorings of location of > these

Re: filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Stefan Bodewig wrote: > > On 2010-04-13, Raja Nagendra Kumar wrote: > >> Any reason, why does not support include and excludes as in >> fileset. > >>The short version: Because they wouldn't make sense (well exclude >>wouldn't and the ne

Re: filelist to support selections as per the fileset

2010-04-13 Thread Stefan Bodewig
On 2010-04-13, Raja Nagendra Kumar wrote: > Any reason, why does not support include and excludes as in > fileset. The short version: Because they wouldn't make sense (well exclude wouldn't and the nested include element just has a different name: ). means: scan the file

filelist to support selections as per the fileset

2010-04-13 Thread Raja Nagendra Kumar
Hi, Any reason, why does not support include and excludes as in fileset. It would be very nice to have such support. Regards, Nagendra C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/filelist-to-support-selections-as-per-the-fileset-tp28228769p28228769.html

Re: fileset with exclude not working

2010-02-01 Thread Stefan Bodewig
y if the files are really named Band.java and Sum.java. > But i get these output instead of javadocs > javadoc: error - Illegal package name: > "/export/home/kamran/parallel/mpj/src/mpi/SimplePackerByte.class" Well, obviously you have class files inside your source tree as well,

fileset with exclude not working

2010-02-01 Thread Kamran Hameed
Folks i have this directory structure src/mpi/ src/xdev/ src/runtime src/mpjbuf Now i want ant's javadoc tool to generate javadocs of mpi package only. I did it successfully using Now there are two files Sum.java and Band.java in the mpi package that i dont want jav

AW: Creating a fileset from a list of filenames

2010-01-20 Thread Jan.Materne
>I've written a custom ant task that performs Checkstyle only >on modified >files. Or on files modified since some revision. > >The purpose is to gradually introduce a code quality policy on legacy >projects. > >I plan to submit a patch back, meantime if you need it *now*, >then email me >(uses

AW: Creating a fileset from a list of filenames

2010-01-20 Thread Jan.Materne
Jan >-Ursprüngliche Nachricht- >Von: jasper.blues [mailto:jasper.reloa...@gmail.com] >Gesendet: Mittwoch, 20. Januar 2010 08:41 >An: user@ant.apache.org >Betreff: Re: Creating a fileset from a list of filenames > > >I've written a custom ant

Re: Creating a fileset from a list of filenames

2010-01-19 Thread jasper.blues
t; > > > /path/file1;/path/file2;/path/file3 > > > > It seems like I need something the opposite of pathconvert to turn this > property into a FileSet.

Re: Creating a fileset from a list of filenames

2009-11-04 Thread David Weintraub
mstance? If I understand it, you already have a list of files separated by semicolons, and all you need is someway to run checkstyle on these. The and will work on such a list without having to convert it into a fileset. and the CheckStyle Ant task can work on individual files. -- David Weintraub qazw...@gmail.com

RE: Creating a fileset from a list of filenames

2009-11-03 Thread Wray, Nathan
ist Subject: Re: Creating a fileset from a list of filenames Just curious: Why are you using Ant for this? Why not have a post-commit script that runs the check on these files? Or, even better, use Hudson which is a continuous build system. It'll automatically run your build everytime someo

Re: Creating a fileset from a list of filenames

2009-11-03 Thread David Weintraub
Just curious: Why are you using Ant for this? Why not have a post-commit script that runs the check on these files? Or, even better, use Hudson which is a continuous build system. It'll automatically run your build everytime someone does a Subversion checkin. Plus, it has a CheckStyle plugin whic

Re: Creating a fileset from a list of filenames

2009-11-03 Thread Matt Benson
--- On Tue, 11/3/09, Wray, Nathan wrote: > From: Wray, Nathan > Subject: Creating a fileset from a list of filenames > To: user@ant.apache.org > Date: Tuesday, November 3, 2009, 7:16 AM > Hi All; > > > > I'm trying to identify modified java files in

Creating a fileset from a list of filenames

2009-11-03 Thread Wray, Nathan
turn this property into a FileSet. Any suggestions? The relevant part of my build file follows: Thank you Nathan The contents of this e-mail are intended for the named addressee only. It contains information that may be co

Re: Referencing file inside Jar file from fileset

2009-11-02 Thread Stefan Bodewig
On 2009-11-03, Steve Kennedy wrote: > Is it possible to include a file that already exists inside a JAR? Not using , but using (a JAR is a ZIP file after all). Another alternative would be but it doesn't support wildcard matching. > m using a task (hibernatetool) that takes a set of XML file

Referencing file inside Jar file from fileset

2009-11-02 Thread Steve Kennedy
Is it possible to include a file that already exists inside a JAR? m using a task (hibernatetool) that takes a set of XML files to generate a database schema, however some of the XML files are contained in 3rd party JAR files. I have a fileset like this: Which works fine for my

Re: global setttings for fileset to be case insenstive

2009-10-23 Thread Raja Nagendra Kumar
In OOAD it is a very very bad approach.. but in declartive programing I am assuming it may be o.k. Regards, Nagendra -- View this message in context: http://www.nabble.com/global-setttings-for-fileset-to-be-case-insenstive-tp26010023p26025850.html Sent from the Ant - Users mailing list archive at

Re: global setttings for fileset to be case insenstive

2009-10-23 Thread Antoine Levy-Lambert
fileset [mkdir] Created dir: c:\dev\ABC [touch] Creating c:\dev\ABC\dummy.txt [echo] ABC\dummy.txt BUILD SUCCESSFUL Total time: 0 seconds So it looks like some of what you want to achieve can be done using presetdef. What I do not know, you would need to try, is whether this works for

global setttings for fileset to be case insenstive

2009-10-22 Thread Raja Nagendra Kumar
Hi, Is it possible to make fileset casesenstive="no" by default. This should be globally true for all the fileset where ever it is used. Like the default excludes, does it have default cases senstive settings. Quick code look at fileset says no.. Regards, Nagendra www.tejasoft.com

Re: Restrict to support includes and excludes like fileset

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Raja Nagendra Kumar wrote: > Looking for a similar way to filter the files based on the include and > exclude patterns as we use for fileset. It really only comes down to using and, or, not and filename and shouldn't be too hard to do once you realize that the selector

Restrict to support includes and excludes like fileset

2009-10-06 Thread Raja Nagendra Kumar
Hi, As per the context of this thread.. http://www.nabble.com/forum/ViewPost.jtp?post=25438759&framed=y Looking for a similar way to filter the files based on the include and exclude patterns as we use for fileset. Looks like we neither don't understand the new api (and, nor, or) cor

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread efe4itcc
Tried this solution already. The bogus file exclusion pattern works fine. Regards David Weintraub wrote: > > > > > > [...] > -- > David Weintraub > qazw...@gmail.com > > -- View this message in context: http://www.nabble.com/Fileset-with-%22empt

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread Stefan Bodewig
On 2009-10-05, David Weintraub wrote: > On the other hand, I believe includes override excludes in a fileset. No, excludes override includes. In order to be contained in a fileset a file has to match an include pattern, must not match an exclude pattern and must be slected by all nes

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread David Weintraub
A patternset is a series of includes and excludes that can be used over and over again in various filesets. When you specify an empty patternset, you're not specifying any exclude or includes. Thus, your fileset acts in the default manner of: This will be an empty fileset, b

Fileset with "empty" patternset selects all files instead

2009-10-04 Thread efe4itcc
iles under ${mydir}. Is patternset applying an implicit ? Is fileset discarding the patternset as it does not declare any pattern ? Is that the intended behavior? To fix the problem, I just have to be more specific in the patternset definition, such as: This example might seem of no use :)

Re: Best way to use fileset in javac

2009-08-26 Thread Ognjen Blagojevic
t: Re: Best way to use fileset in javac Mikael Petterson wrote: Where do I add this to my javac target to make sure that no other files in my src tree is compiled. Try to add it to "sourcepathref" parameter of the javac task.

RE: Best way to use fileset in javac

2009-08-25 Thread Mikael Petterson
Hi, It is not filtering out the files that I don't want included in my compile. Any more ideas out there? Br, //mike -Original Message- From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] Sent: den 25 augusti 2009 15:57 To: Ant Users List Subject: Re: Best way to use files

Re: Best way to use fileset in javac

2009-08-25 Thread Ognjen Blagojevic
Mikael Petterson wrote: Where do I add this to my javac target to make sure that no other files in my src tree is compiled. Try to add it to "sourcepathref" parameter of the javac task. Regards, Ognjen - To unsubscribe, e-mai

AW: Do several things with each record of a fileset

2009-08-07 Thread Jan.Materne
>I've got a fileset and I want to extract the differents path >for each elemente of the fileset and do several things. For >example: for each element of the fileset I want: > >1.- To know the path without the file name use like pattern. inside a loop maybe via a

Do several things with each record of a fileset

2009-08-07 Thread Redondo Gallardo, Raul Maria
Good morning, I've got a fileset and I want to extract the differents path for each elemente of the fileset and do several things. For example: for each element of the fileset I want: 1.- To know the path without the file name use like pattern. 2.- Extract the first folder name of the r

Re: Accessing "components" of fileset refid?

2009-07-02 Thread David Weintraub
You can always take a reference to filelists and turn them into a property: This will put the names of all files in the fileset into that property. Is that what you're looking for? On Wed, Jul 1, 2009 at 4:45 PM, Cyril Sagan wrote: > *SUMMARY:  Is there any Ant interface to the &qu

Accessing "components" of fileset refid?

2009-07-02 Thread Cyril Sagan
*SUMMARY: Is there any Ant interface to the "components" of a fileset reference?* Consider this Ant snippet: The "my_files" reference should encompass all the state of the fileset to which it refers. As such, I should be able to g

Re: fileset failed with id attribute

2009-05-26 Thread Stefan Bodewig
On 2009-05-26, Кирин Евгений Николаевич wrote: > Hello! > Please help me to resolve error while running Ant. > I've got simple build script: > > > Hello World > > > > > > > When this script is executing I always get error: > BUILD FAILED > java.la

fileset failed with id attribute

2009-05-26 Thread Кирин Евгений Николаевич
a:658) at org.apache.tools.ant.Main.startAnt(Main.java:188) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) If to remove "id" attribute from "fileset" element then everything

Re: fileset based on paths in file

2009-05-06 Thread Matt Benson
I'm quite late to this party, but bear in mind Ant 1.7 also includes a collection which has no basedir whatsoever if you ever need to combine files from various volumes. HTH, Matt --- On Sun, 5/3/09, Patrik Nagel wrote: > From: Patrik Nagel > Subject: Re: fileset based on pa

Re: fileset based on paths in file

2009-05-03 Thread Patrik Nagel
It's for a fileset. I tried the "includesfile" attribute from the fileset task. It does exactly what I'm looking for! Tanks a lot! Patrik David Weintraub wrote: Is this for a path or a fileset? There's a big difference. A path is simply a collection of directorie

Re: fileset based on paths in file

2009-05-02 Thread David Weintraub
Is this for a path or a fileset? There's a big difference. A path is simply a collection of directories while a fileset selects files in a directory. If this is for a path, you could use a properties file and separate those directories via a colon or semicolon. If this is a fileset, you ca

Re: fileset based on paths in file

2009-05-02 Thread Francis Galiegue
Le Saturday 02 May 2009 20:46:33 Patrik Nagel, vous avez écrit : > Hi, > > I would like to create a fileset based on paths which have no base > directory in common. Additionally, the paths are stored in a text file. > > Such a text file might looks as follows: > /home/dev/src/

fileset based on paths in file

2009-05-02 Thread Patrik Nagel
Hi, I would like to create a fileset based on paths which have no base directory in common. Additionally, the paths are stored in a text file. Such a text file might looks as follows: /home/dev/src/reporting /home/dev/src/common /home/testing/src/logger Is there a way to read the paths from

Re: defining a path to use as a fileset

2009-03-26 Thread Antoine Levy Lambert
you would have one fileset. My guess is that checkstyle was created with the use case in mind of reporting on one project or source folder at at a time only, not to make a consolidated report about a number of projects or source folders which is what you seem to want to do. Regards, Antoine

defining a path to use as a fileset

2009-03-26 Thread Dever, Jeffrey
I have a definition for my sourcepath as a path task and wish to use this in several places in my build, including where I need a fileset type. I have several sub projects that are similar so I am trying to keep the targets generic and parameterize the sub projects as much as possible. One of

Re: Ant recursive copy + fileset filter

2009-02-16 Thread supareno
er2/file.g folder1/folder2/folder3/file.java folder1/folder2/folder3/file.g becomes: folder1/folder2/file.g folder1/folder2/folder3/file.g As far I can see, this isn't possible - or I'm using the wrong fileset... i can't beleive it!! i try this and eve

Ant recursive copy + fileset filter

2009-02-16 Thread Costin Caraivan
.g folder1/folder2/folder3/file.java folder1/folder2/folder3/file.g becomes: folder1/folder2/file.g folder1/folder2/folder3/file.g As far I can see, this isn't possible - or I'm using the wrong fileset... Any ideas? :) Regards, Costin. -- View this message in context: http://www.nabble.co

union, fileset and war

2009-01-09 Thread Haiqi Wei
, the tag of task takes only fileset or zipfileset like: I am not able to do some thing like where the "required.jars" refers to a union of filesets. This upsets me because again I have to list the filesets here to resolve all the jars into WEB-INF/lib dir. Right now what I a

AW: how to convert path composed of absolute paths to fileset?

2008-12-23 Thread Ghadi Mahmoudi
: otakuj...@gmail.com [mailto:otakuj...@gmail.com] Im Auftrag von Jake Beard Gesendet: Dienstag, 23. Dezember 2008 18:21 An: user@ant.apache.org Betreff: how to convert path composed of absolute paths to fileset? Hi all, I'm trying to do something which I think should be fairly simple, but

how to convert path composed of absolute paths to fileset?

2008-12-23 Thread Jake Beard
a set of java files into classes, I want to take the classpath, which is composed of absolute paths, and jar the files referred to by those paths. Not conceptually difficult: just compile, and jar the dependencies. Unfortunately, both jar and war/lib take a fileset rather than a path. I've in

AW: Order of files inside a fileset

2008-11-05 Thread Jan.Materne
>I don't really care much about id, as I only need the fileset >as a nested >element inside a task. The good question now is can I use > >... > >wherever I would normally use > >... > >What about elements that have a nested element that inherits >from fi

Re: Order of files inside a fileset

2008-11-05 Thread Krzysieq
I don't really care much about id, as I only need the fileset as a nested element inside a task. The good question now is can I use ... wherever I would normally use ... What about elements that have a nested element that inherits from fileset? Like for instance the jmeter task, which ta

RE: Order of files inside a fileset

2008-11-05 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 6:46 AM To: user@ant.apache.org Subject: AW: Order of files inside a fileset > > > > >Sorted${line.separator}${toString:foobar} /* Your "id" is on on the

AW: Order of files inside a fileset

2008-11-04 Thread Jan.Materne
> > > > >Sorted${line.separator}${toString:foobar} Your "id" is on on the unsorted not the ed one. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Order of files inside a fileset

2008-11-04 Thread Rebhan, Gilbert
-Original Message- From: Krzysieq [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2008 4:14 PM To: Ant Mailing List Subject: Order of files inside a fileset /* I read the ant docs regarding filesets, but haven't found what I'm looking for. Is there any way telling, w

Order of files inside a fileset

2008-11-04 Thread Krzysieq
Hi, I read the ant docs regarding filesets, but haven't found what I'm looking for. Is there any way telling, what is the order of files inside a fileset? Is there any way in which this can be affected? For instance, let's have a folder /foo, with files bar1.txt, bar2.txt, ... bar5

Re: Using and to include a previously excluded name in a fileset

2008-10-29 Thread David Weintraub
ed. -- David Weintraub [EMAIL PROTECTED] On Wed, Oct 29, 2008 at 1:16 PM, David Weintraub <[EMAIL PROTECTED]> wrote: > I have a fileset that looks like this: > > > > > The problem is that I have the following structure: > > ${target.dir} >

Re: Using and to include a previously excluded name in a fileset

2008-10-29 Thread Dominique Devienne
On Wed, Oct 29, 2008 at 12:16 PM, David Weintraub <[EMAIL PROTECTED]> wrote: > I have a fileset that looks like this: > > > > > > The problem is that I have the following structure: > > ${target.dir} >archive >tarball.tar.gz &

Using and to include a previously excluded name in a fileset

2008-10-29 Thread David Weintraub
I have a fileset that looks like this: The problem is that I have the following structure: ${target.dir} archive tarball.tar.gz work clients archive tarball.tar.gz foo The purpose of the fileset was to exclude the "archive" director

RE: scriptdef with nested fileset and mapper

2008-10-21 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 12:47 PM To: user@ant.apache.org Subject: Re: scriptdef with nested fileset and mapper /* [...] I need to patch/stamp a number of binary files during copy (packing a release product

  1   2   3   4   5   6   7   >