Oh, sorry not sure about that. I usually use the **/* version and it works
as I
thought it should.
Let´s have a look at the sources of patternset [1] ... okay -
PatternSet.NameEntry just
holds the name value. Evaluation is done in the DirectoryScanner [2]. There
it´s written
that name/ is name/**
Thanks.
Is there a difference between these two sets:
-Doug
[EMAIL PROTECTED] wrote:
BACKUP is a file
BACKUP/ or BACKUP/** is a directory
Jan
-Ursprüngliche Nachricht-
Von: Douglas Kramer [mailto:[EMAIL PROTECTED]
Gesendet am: Dienstag, 8. Februar 2005 22:37
An: Dominique
BACKUP is a file
BACKUP/ or BACKUP/** is a directory
Jan
> -Ursprüngliche Nachricht-
> Von: Douglas Kramer [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 8. Februar 2005 22:37
> An: Dominique Devienne
> Cc: Ant Users List
> Betreff: Re: copy all but exclude one directory
>
> Thanks,
Thanks, that works.
I'll submit a request to document that works
to exclude only the specified files or directories -- that is,
it must name all the files to exclude, not just a top-level
directory.
BTW, what's the reason that these are not equivalent:
-Doug
(It looks like includin
> From: Douglas Kramer [mailto:[EMAIL PROTECTED]
>
Use
--DD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I haven't gotten a reply yet, so I'll try again.
Does anyone see any syntax or logic mistakes in this fileset?
I have this structure:
${WORKDIR}
|
+-BACKUP
+-DIR1
+-DIR2
+-file1
+-file2
How would I recursively copy all files and dirs below ${WORKDIR}
exc
I'm using ant 1.6.2 and the sshexec task, under JDK 1.3. I'm issuing the ant
command on WIndows 2000 and the remote machine is a Solaris 5.8 box.
When I use to invoke a shell script that has the "-v" flag present
(to echo the script as it executes) the script echo lines are line-wrapped
aggre
Hi,
I'm currently experiencing problems when applying a user properties file as
filterset for a copy task. The user propertie file contains for example
following entries.
user.token1=FOO
user.token2=${user.token1}BAR
The text files to which this filterset is appied contains follwing:
...
Toke
Hello Jan.
[EMAIL PROTECTED] wrote:
Maybe that is a good start for your work...
Jan
Thanks very much for your help, this looks great to me! :)
Right now, I am still not sure if I will use Ant, but this
seems to be a good start!
bye
Henning
build.xml
---8-<---8-<---8-<---8-<---8-<
Hhmm - not easy ...
1) "iterate" over a fileset
2) check the date for each time
3) modify the files content
hmm - maybe (pseudo code):
01:
02:
03:
04:
05: importClass(Package.java.io.File);
06: f = new File("@{file}");
07: project.setProperty
...
Jan
> -Ursprüngliche Nachricht-
> Von: Marion, Patrick [mailto:[EMAIL PROTECTED]
> Gesendet am: Samstag, 5. Februar 2005 00:38
> An: 'user@ant.apache.org'
> Betreff: creating a fileset and using it later with
>
> Is it possible to create a fileset at somepoint with a
Maybe that is a good start for your work...
Jan
build.xml
---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<
12 matches
Mail list logo