Have you tried
http://ant.apache.org/manual/CoreTypes/selectors.html#regexpselect ?
Then you got the 'problem' of correctly masking the regexp.
Jan
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 20. Mai 2008 07:57
> An: user@ant.apac
I am ant-challenged today: I want to find a set of files in a tree matching
a given regular expression. The catch is that the regexp is not constant,
but is a function of the file name. I have tried permutations of
pathconvert, for loops, and loadfile, filterchain, and linecontainsregexp,
stu
Very nice explanation, David.
Jan
> Let's look at the scripts step by step:
>
> > if [ -z "$ANT_HOME" -o "$ANT_HOME" = "/usr/share/ant" ]; then
> > if [ -f "/etc/ant.conf" ] ; then
> > . /etc/ant.conf
> > fi
> > fi
>
> The outer if/then statement says if ANT_HOME isn't defi
On Mon, May 19, 2008 at 7:44 AM, <[EMAIL PROTECTED]> wrote:
> I find shell scripts distinctly un-intutive, so no, I haven't tried it!
Let's look at the scripts step by step:
> if [ -z "$ANT_HOME" -o "$ANT_HOME" = "/usr/share/ant" ]; then
> if [ -f "/etc/ant.conf" ] ; then
> . /etc
Zipfileset works with jars also, I don't know if there is a reason not
to use it with them though. The prefix attribute allows you to change
the path for the files of the fileset in the archive.
http://ant.apache.org/manual/CoreTypes/zipfileset.html
-Barry
-Original Message-
From: Tom Co
Can you please elaborate more in detail what's the exact error???
Regards,
Irfan
-Original Message-
From: Pankaj Arora01 [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 7:05 PM
To: Ant Users List
Subject: Issue with Tar Task - Empty Folders not getting tar
HI All,
I am using 1.6.
Doing the following creates a sub directory properties in my jar with my
groovy property files, as desired:
However, I have a log4j.properties file which is also located in this the
properties directory on my _file system_ but I want it in the root level of
the jar (so it can be found in
Hi,
I have been using the unofficial builds (yes - caveat emptor, I know :)
) from www.hibnet.org for a month or two, with pretty good results. The
latest build (May 16) isn't working too well for me. An initial resolve
works fine, but modifying ivy.xml and resolving again has no effect.
I creat
HI All,
I am using 1.6.5 Version of ANT.
Empty folders are not getting Tar.
Is it a known Bug?
Thanks in Advance
Pankaj
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you
I am not familiar with unix (any more) ...
Jan
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 19. Mai 2008 13:44
> An: Ant User List
> Betreff: Re: AW: antrc & ant.conf files
>
> Thanks for that, Jan
>
> I find shell scripts dist
Thanks for that, Jan
I find shell scripts distinctly un-intutive, so no, I haven't tried it!
Do I have to use both Set and Export for ANT_HOME, do you think?
David
I understand that ~/.antrc and ~/.ant/ant.conf are parsed when Ant is
called from the command line. I also understand that th
Thank you very much Andrew. It works fine!
Andrew Goktepe escribió:
Carlos,
That message is coming from the element, which apparently does
not support a nested . The Ant documentation matches the error
message you are seeing and says that only supports single
element resource collections (
h
Thanks a lot
Regards,
Irfan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 1:11 PM
To: user@ant.apache.org
Subject: AW: Doubt in property file
> 1: Can we have more than one property file defined in ANT's build.xml
yes
> 2: If there
> 1: Can we have more than one property file defined in ANT's build.xml
yes
> 2: If there are two properties file and let's say I have one property
> defined in these two property file with different values then
build.xml
> will pick up which value for this property.
Properties are immutable,
Hi Irfan.
Regarding to your first question, the answer is yes, you can use as much
property files as you want. About the second question I'm not 100% sure,
but I would say that the value is overriden so that the runtime value
will be the one in the last loaded property file. Furthermore, I can
HI All,
I need to clear following doubt in ANT.
1: Can we have more than one property file defined in ANT's build.xml
2: If there are two properties file and let's say I have one property
defined in these two property file with different values then build.xml
will pick up which value for t
16 matches
Mail list logo