tar a directory with ant (precision)

2005-01-12 Thread Yves Leung-Tack
A precision (in CAPITAL LETTER) to the description I brought in the last post RED cannot go throught the list ! Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see

tar a directory with ant (precision)

2005-01-12 Thread Yves Leung-Tack
A precision (in *RED*) to the description I brought in the last post Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see above, I untar it but I want to keep the

tar directory with ant

2005-01-12 Thread Yves Leung-Tack
Hi, I'm using the tar task of ant but I come with a "problem" when untaring the tared files. I can make it work but not exaclty the way I want. After taring directory basedir, see above, I untar it but I want to keep the tar program to untar in the directory basedir. For example: based

Re: AW: help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Nachricht- Von: Yves Leung-Tack [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 6. Januar 2005 15:22 An: Ant Users List Betreff: help with propertyregexp of antcontrib Hi, I try to use the propertyregexp of ant-contrib But when I run the following simple example from their documentation,

help with propertyregexp of antcontrib

2005-01-06 Thread Yves Leung-Tack
Hi, I try to use the propertyregexp of ant-contrib But when I run the following simple example from their documentation, I got the error : D:\Work\Dev\testbuild.xml:16: No supported regular expression matcher found The example is : to run on your machine just change antcontrib property

Parsing a file name and extract a substring with ant ?

2005-01-04 Thread Yves Leung-Tack
Hi, Is it possible for ant to get a filename , parsing it and get a substring of that filename for using it ?? What I want to do exactly in build.xml is: if a file with *QAE.tar.gz exists then parse the that filename to get the substring from index 4 to 9 use that substrin

Re: Macrodef in import file having same behaviour as targets?

2005-01-04 Thread Yves Leung-Tack
Hi, Is it possible for ant to get a filename , parsing it and get a substring of that filename for using it ?? What I want to do exactly in build.xml is: if a file with *QAE.tar.gz exists then parse the that filename to get the substring from index 4 to 9 use that substrin