tag="${cvs.branch}"
> />
>
> out="${cvs.report}${file.separator}changelog.html"
>style="${ant.home}/etc/changelog.xsl">
>
>
>
>
>
>
> -Original Message-----
> From:
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
Hello Mark,
what you can do is run your cvs update using the exec task and use a
nested filterchain do capture output lines with a "U" [1]
and apply a regular expression to keep only the path of the file, then
save this output into a file.
The output file should contain a series of file relativ
Thanks. Obvious in the end.
Nick
On Mon, Jul 12, 2010 at 4:09 PM, Stefan Bodewig wrote:
> 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 file
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 attempt results in 8-)
>
On 2010-02-01, Kamran Hameed wrote:
> Now there are two files Sum.java and Band.java in the mpi package that i
> dont want javadoc tool to generate javadocs. So i try to exclude them using
>
>
>
>
The trailing ** are not necessary if the files are real
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-%22empty%22-patternset-selects-all-files-i
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
nested selecto
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, but if yo
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
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
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 directories while a fileset selects files
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 can try u
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/reporting
> /home/dev/
Oh... Nope, they are arbitrary project names.
F
On Aug 07, 2008, at 14:04, Matt Benson wrote:
My point was that I assume that the names of Foo and
its siblings follow no predictable pattern, hence your
reason for enumerating them in a file.
--
> say for sure and
> nothing pops out in the documentation.
>
> -Original Message-
> From: Ivar Bratberg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2008 3:33 AM
> To: Ant Users List
> Subject: RE: fileset manipulation
>
> Ok, to be more precise:
> I have def
--- Florijan Stamenkovic <[EMAIL PROTECTED]> wrote:
>
> On Aug 06, 2008, at 11:35, Matt Benson wrote:
>
> > To answer your original query, F, for the time
> being I
> > would probably load your includesfile using
>
> > with a nested filterchain and thereby customize
> your
> > basic includesfi
't say for sure and
nothing pops out in the documentation.
-Original Message-
From: Ivar Bratberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2008 3:33 AM
To: Ant Users List
Subject: RE: fileset manipulation
Ok, to be more precise:
I have defined an ant macro , called "f
nal Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 6:55 PM
To: Ant Users List
Subject: RE: fileset manipulation
Are you talking about referencing the first file set?
Why not have two path refids?
Can I have a little more context to go with this question?
Are you talking about referencing the first file set?
Why not have two path refids?
Can I have a little more context to go with this question? Where is
this fileset getting used?
-Original Message-
From: Ivar Bratberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 5:37 AM
T
On Aug 06, 2008, at 11:35, Matt Benson wrote:
To answer your original query, F, for the time being I
would probably load your includesfile using
with a nested filterchain and thereby customize your
basic includesfile for each occasion.
Huh, I can't find something to append text at the end of
--- Florijan Stamenkovic <[EMAIL PROTECTED]> wrote:
> Ivar,
>
>
> I think your problem is similar to the one I
> described a few days ago
> in:
>
>
http://mail-archives.apache.org/mod_mbox/ant-user/200808.mbox/%
>
> [EMAIL PROTECTED]
Maybe so; I honestly can't tell what Ivar is after.
>
Ivar,
I think your problem is similar to the one I described a few days ago
in:
http://mail-archives.apache.org/mod_mbox/ant-user/200808.mbox/%
[EMAIL PROTECTED]
So far I have not been able to solve it, nor received any answers. I
guess that the answer is that it can not be done using s
Prateek,
The behavior you are seeing is probably more indicative of how
handles the output of , rather than returning different
things in different contexts. While I don't know for sure, my guess is that
is always returning the directories but its caller might be doing
other things to filter t
Ah... I did read this issue wrongly. Yes, DD's
suggestion would be the only way to do this as
builds up a map (whose order is not guaranteed) to do
the copies. Using a separate copy operation for each
fileset would work. In Ant 1.7, you might add each
fileset to a and use that for your copy so
On Feb 11, 2008 11:34 PM, <[EMAIL PROTECTED]> wrote:
> > How about 3 copies instead? Guaranteed ordering ;-) --DD
> I don't think that there is a guarantee of the order ...
The way I read the problem, order within any given fileset was
irrelevant, and each set should simply be copied in some orde
On Feb 11, 2008 4:14 AM, ms harsha <[EMAIL PROTECTED]> wrote:
> I have 2 machines and both has same ant and java versions.
>
> When i compile a code in both the machine,
>
> Machine 1 acts correctly. But in Machine2 the filesets are copied in
> the reverse order. i.e.,
>
>
>
>
>
>
>
> In Machi
m: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 25, 2007 7:49 AM
> > To: Ant Users List
> > Subject: RE: Fileset group
> >
> > /*
> > i didn't use the checkstyle task but if it works
> > like other tasks, you may use =
>
PROTECTED]> wrote:
>
>
> -Original Message-
> From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 25, 2007 7:49 AM
> To: Ant Users List
> Subject: RE: Fileset group
>
> /*
> i didn't use the checkstyle task but if it works
> like other tasks, y
IL PROTECTED]
> Sent: Thursday, October 25, 2007 7:49 AM
> To: Ant Users List
> Subject: RE: Fileset group
>
> /*
> i didn't use the checkstyle task but if it works
> like other tasks, you may use =
>
>
>
>
>
>
> ...
>
>
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 10:46 AM
To: user@ant.apache.org
Subject: AW: Fileset group
/*
>if task doesn't support path (as for example the copy
task)
>then use antcontrib like that =
>
>
>
>
>
>
>
>
btw
D
-Original Message-
From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 7:49 AM
To: Ant Users List
Subject: RE: Fileset group
/*
i didn't use the checkstyle task but if it works
like other tasks, you may use =
...
and later in task just us
Hi,
-Original Message-
From: Alain ROY [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 24, 2007 12:40 PM
To: user@ant.apache.org
Subject: Fileset group
/*
I want to use a task which accepts nested
elements.
I have up to 20 Java projects I want to process with checkstyle in one
ti
--- Steve Loughran <[EMAIL PROTECTED]> wrote:
> Knuplesch wrote:
> > If I define a fileset via a patternset and a id
> like that:
> >
> >
> >
> >
> >
> >
> >
> >
> > dir="${dope.configdir.kunde}">
> >refid="dopecopy.configpattern.kunde">
>
Knuplesch wrote:
If I define a fileset via a patternset and a id like that:
And now I add another file to the fileset-dir: ${dope.configdir.kunde}
E.g. like that:
Will editorHelp.jar be copied or not?
> From: Eric Dalquist [mailto:[EMAIL PROTECTED]
> Sent: 17 September 2007 16:10
>
> I have a full path to a directory that I want to create a
> fileset of and a full path to a sub-directory that I want to exclude.
>
> I've tried the following and some variations on it:
>
>
> No matter what
I figured that was the requirement ... unfortunately I have no control
over the format of either path. All I get is two properties, each is an
absolute path, and I need to make a fileset using one as the dir and
excluding the other.
My other thought was to look into trimming off the first bit
On 9/17/07, Eric Dalquist <[EMAIL PROTECTED]> wrote:
> dir="/a/b/c/"
Not recommended indeed, but if you really can't change that
> excludes="/a/b/c/d/**" />
This is wrong. Needs to be relative to dir attribute above. So should
be d/** only.
--DD
---
May I respectfully suggest a attribute alternative to the
selector's current and attributes?
--Wayne
Wayne Cannon wrote:
I would like to do the equivalent of a "find -newer reference_file ...
| zip ... ", i.e., archiving all files newer than a reference_file. I
would like to archive only
After that sales pitch, I'll definitely investigate the Ant-Contrib
"outofdate". Thanks.
I'm also investigating whether a selector with a
element can do what I'm looking for.
--Wayne
Dominique Devienne wrote:
My bad, I so seldom used uptodate after outofdate came out that I
forgot how mu
My bad, I so seldom used uptodate after outofdate came out that I
forgot how much inferior it is to outofdate ;-)
Sounds like Matt's solution's the way to go for pure Ant 1.7+, while
I'd probably use Ant-Contrib's myself, 'cause I'm used to
it, and can nest the tasks to perform directly in the
I don't understand how to use for this purpose.
My reading of is that it will set a property if a file is
up-to-date with respect to another file (based on a merge mapper for my
case). I currently use for determining whether certain
operations need to be performed (setting a boolean proper
Just for discussion's sake, this can also be solved
with some of the resource stuff introduced in Ant 1.7:
... you should now have a resource collection at refid
"newer" consisting only of those members of
candidate_files that are newer than reference_file.
FWIW,
Matt
--- D
You can use to select the newer files.
Or Ant-Contrib's , which I find more convenient, since
avoids having multiple targets, but it adds a dependency. --DD
On 7/19/07, Wayne Cannon <[EMAIL PROTECTED]> wrote:
I would like to do the equivalent of a "find -newer reference_file ... |
zip ... ", i
-
From: Mathieu Champlon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 1:25 AM
To: Ant Users List
Subject: Re: fileset and filename under copy task
bill/wilandra a écrit :
> >From the examples in the 1.6.5 manual I would assume that the
> >following
> should work. I
bill/wilandra a écrit :
>From the examples in the 1.6.5 manual I would assume that the following
should work. I did not try it.
HTH Bill
Hello,
Unfortunatly this won't work as a fileset behaves like an 'and' selector
container.
Ther
[EMAIL PROTECTED] a écrit :
This does NOT work:
Copy Other Files
${bin}
${src}
Hello,
You can do something much
As much as you used the element you can use an element to
define which files 'to include'
Something like
Copy Other Files
- Original Message
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Tuesday, February 20, 2007 1:54:44 PM
>From the examples in the 1.6.5 manual I would assume that the following
should work. I did not try it.
HTH Bill
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 20, 2007 11:55 AM
To: us
I am surprised it ever worked. Please use instead.
- Alexey.
[EMAIL PROTECTED] wrote:
Hello All,
We recently migrated from Ant 1.5 to Ant 1.7 and found an issue
related to filesets.
Filesets for some reason are not handling indirect references, with
?..? in path. I tried the same case in 1.
Kees van Dieren wrote:
Hi all,
We use Filesets and regex mappers to select files for copying. How does Ant
decide, which file to take in case of duplicates? I hoped that this was on
modification date, however, this seems to be not always true, in most cases
it does but in some, it does not (un
On 10/26/06, Eric Wood <[EMAIL PROTECTED]> wrote:
I using the following fileset in the PMD task and it appears to ignore
the dir and look for the includesfile in the directory that I am running
ant from.
Not quite,
the name is a File attribute and like most File Attributes, it
is relative to the
-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 11:21 AM
To: Ant Users List
Subject: Re: FileSet for paths with spaces
'dir' attribute is required, and can have spaces in it. Otherwise,
don't use includes attribute, but nested elements. --DD
On
'dir' attribute is required, and can have spaces in it. Otherwise,
don't use includes attribute, but nested elements. --DD
On 8/8/06, Tzabari, Gili <[EMAIL PROTECTED]> wrote:
Hi,
How can one use against a path with spaces in it? I'd like
to do something like this:
But FileSet
If I'm reading your email right, I think you want to use a 'flatten'
type mapper.
Maury
Juan Jimenez wrote On 06/28/06 09:27 AM,:
> Hi,
>
> Could someone please suggest a better way of achieving the following:
>
> Copying coverage data to ${temp.folder}/coverage
>
>
Thank you, I missed that there was an zipfileset.
The attribute you where looking for is prefix attribute and dose exactly
the things I want.
Lars
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: den 19 maj 2006 15:49
To: Ant Users List
Subject: Re: Fileset
The files as said get's at the root of each of the filesets.
I instead would want the each of the included directories be an own
directory and under a other name. Something like this:
Look into , and its attribute (don't recall the name) to
specify the path into which to place the selected file
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: den 19 maj 2006 14:45
To: Ant Users List
Subject: Re: Fileset
So, are u saying what you want is if a file is found in your file set,
disregard the directory as part of the zip - and if its a directory, zip
everything in the directory?
So, if
So, are u saying what you want is if a file is found in your file set,
disregard the directory as part of the zip - and if its a directory, zip
everything in the directory?
So, if your file set ended up being
/alpha/beta/foo.txt
/theta/epsilon/bar.txt
/here/there
/over/yonder
You'd want the zi
You can (or I might if I ever get time) write a custom
ResourceComparator for use with the sort collection.
-Matt
--- João Augusto Charnet <[EMAIL PROTECTED]>
wrote:
> Ok
> I've downloaded a nightly build of ant, to see how
> the sort tag works.
> It still doesn't give me the ordering I need
Ok
I've downloaded a nightly build of ant, to see how the sort tag works.
It still doesn't give me the ordering I need.
\---01_Vdir1
| 01_file1.sql
|
+---00_Vdir2
| 00_file2.sql
| 01_file3.sql
|
\---01_Vdir3
| 01_file4.sql
| 02_f
João Augusto Charnet wrote:
> Hello,
> I'm using Fileset to search through a series o files of the same
> extension (say *.jsf). I'd like to know if file set does a depth
> search, ou a width search through out the directories.
> Example:
> Let's say I have the following directory structure:
> ...
--- João Augusto Charnet <[EMAIL PROTECTED]>
wrote:
> Is there any work around I can do to achieve some
> kind of ordering until
> 1.7 comes out?
You could subclass fileset to order things.
> Any idea on when 1.7 is coming out ?
Nothing concrete, hopefully by the end of the year at
the latest.
Is there any work around I can do to achieve some kind of ordering
until 1.7 comes out?
Any idea on when 1.7 is coming out ?
Thanks .
John
Matt Benson wrote:
;) Correct; 1.7 will have a resource
collection and several included resource comparators.
I didn't want to disappoint the guy, so
;) Correct; 1.7 will have a resource
collection and several included resource comparators.
I didn't want to disappoint the guy, so hadn't said
anything.
-Matt
--- Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> I think some of Matt Benson's work on the HEAD (i.e.
> Ant 1.7) branch for
> resource
I think some of Matt Benson's work on the HEAD (i.e. Ant 1.7) branch for
resource collections can do ordering.
Unfortunately that won't help you on 1.6
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
João Augusto Charnet
Thanks for the response.
Is there any way to guarantee the order of the files returned ?
Thanks again ...
John
Jeffrey E Care wrote:
fileset goes not guarantee that the files it matches will be returned in
any particular order. I do believe that it will go depth-first, but within
any give
fileset goes not guarantee that the files it matches will be returned in
any particular order. I do believe that it will go depth-first, but within
any given directory there is no guarantee on the order of the files in
that directory, as this is dependant on the underlying JVM, native
filesyste
Hello,
i am sorry. I am stupid. :)
I have another include:
I see it when i start with -debug. Thanks for the help.
- Original Message -
From: "Conor MacNeill" <[EMAIL PROTECTED]>
To: "Ant Users List"
Sent: Monday, July 11, 2005 2:37 PM
Subject
KrustyDerClown wrote:
> Hello,
>
> i have a little problem with my copy task in ANT.
>
> I have the following target:
>
>
>
>
>
>
>
>
>
> So ... thats works ... BUT ... the task copied the WEB-INF dir from
> C:/workspace also to C:/temp.
>
> I am really
If you don't want anything under "src" directory to be copied, then it's
exclude.list=**/src/** that you have to use and not exclude.list=**/src/*
The later will only exclude files immediately under "src", but anything
deeper under "src" will be not be excluded.
Regarding include/exclude preceden
sorry, I guess this will do the trick.
-Original Message-
From: Michael Wang (IT)
Sent: Friday, February 18, 2005 4:27 PM
To: 'Ant Users List'
Subject: fileset pattern matching
Importance: High
Hi,
I tri
m: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 2:19 PM
> To: Ant Users List
> Subject: RE: fileset fails when base dir is missing
>
> I thought of this, actually. But what puzzles me is how to leverage the
> value of "mod_classdir
something
more clever that would be better.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 2:19 PM
To: Ant Users List
Subject: RE: fileset fails when base dir is missing
I thought of this, actually. But what puzzles me is how to
; From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 06, 2004 1:58 PM
> To: Ant Users List
> Subject: Re: fileset fails when base dir is missing
>
> That's a clever hack, but it won't work well in my situation, since some
> of the files
--Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, December 06, 2004 1:58 PM
To: Ant Users List
Subject: Re: fileset fails when base dir is missing
That's a clever hack, but it won't work well in my situation, since some
of the filesets may be rooted
That's a clever hack, but it won't work well in my situation, since some
of the filesets may be rooted in directories that cannot be created.
Wouldn't it be nice if the tag had an attribute that allowed you
do say, "It's OK if it doesn't exist"? Something like this:
...
Anyone else have a go
I usually execute in this situation - an empty directory does
not affect anything else and makes some commands happy.
- Alexey.
[EMAIL PROTECTED] wrote:
I am constructing a classpath that includes a fileset. Sometimes, the
base directory for that fileset does not exist. I would like Ant to
s
Thanks.
Chris Erskine
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO 80919
Phone: 719-535-6064
> -Original Message-
> From: Peter Reilly [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 23, 2004 7:51 AM
> To: Ant Users List
&
You are actually using *two* filesets, the implicit
fileset associated with the jar task (triggered by the "basedir" attribute),
and the explicit one associated with the nested element.
Use:
or
In the "Definitive guide of ANT", they give an example like this :
they then can refere this "path" in the javac classpath !
In my Build.xml I have the following description :
But refering to it in my bui
Tx Stephan ... :((
I actually have no other place where I intend to use it... It is just that I prefere
to prepare all the FileSets / PatternSets in the upper part of my Build-file. Cleaness
caught me ;-)
\T,
Stefan Bodewig <[EMAIL PROTECTED]> wrote:
>On Fri, 05 Dec 2003, Thomas Lionel SMETS
On Fri, 05 Dec 2003, Thomas Lionel SMETS <[EMAIL PROTECTED]> wrote:
> dir="${build.dir}">
>
>
>
>
> dir="${lib.dir}" >
>
>
>
> Now for creating my jar, the would like to include both file sets
> defined here above, to hav
On Thu, 30 Oct 2003, Mike Murray <[EMAIL PROTECTED]> wrote:
> Although a FileSet can be defined with an id for reuse, it appears
> that every time is is used it performs its scan.
Correct.
> Is there any way to have it scan and populate once, and then access
> it from multiple tasks?
Reuse the
84 matches
Mail list logo