Re: Change adornment?

2007-11-03 Thread Mathieu Champlon
Hello, You could use : MAT. Sung Kim a écrit : Hi. Can I change adornment? For example, for the task, ant automatically adds [java] in front of each log. I can use -e option to remove it. However, can I change it to [javac] or [myadornmnet]? - Sung ---

Re: fileset and filename under copy task

2007-02-20 Thread Mathieu Champlon
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

Re: fileset and filename under copy task

2007-02-20 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : This does NOT work: Copy Other Files ${bin} ${src} Hello, You can do something much

Re: "copy" Being Ignored

2007-01-28 Thread Mathieu Champlon
Hello, Does the following do what you expect ? Why are you using patternset ? You probably dont need this in your build file... Take a look at the fileset documentation : http://ant.apache.org/manual/CoreTypes/fileset.html MAT. Jason Ferguson a écrit : I need help. My build.xml

Re: how yo use multiple build.properties file

2007-01-11 Thread Mathieu Champlon
Hello, What do you mean by 'refer to' ? Don't you use to load 'build.properties' ? You can load any number of property files you need, see http://ant.apache.org/manual/CoreTasks/property.html MAT. ashish shrivastava a écrit : Hi, Is this possible to use multiple properties file for my buil

Re: Check if file already exists

2006-10-16 Thread Mathieu Champlon
Christian Hauser a écrit : Hello I'd like to check within an Ant target whether a particular file already exists on the disk and if not download the file (using the Get Ant task). How do I best check if the file already exists? Any help (preferably with a small code snippet) is appreciated.

Re: build.properties input select

2006-10-14 Thread Mathieu Champlon
Hello, Edward Mann a écrit : (...) (...) Right here you probably want instead something like However you cannot do this as the properties are only evaluated once. To solve this you can use the task from ant-contrib : http://ant-contrib.sourceforge.net/ta

Re: Loop over a set of files

2006-10-09 Thread Mathieu Champlon
Hello, The task from ant-contrib is probably what you are looking for : http://ant-contrib.sourceforge.net/tasks/tasks/for.html MAT. Iván Pérez Domínguez a écrit : Hi there! I've written a macrodef that takes a file name as an argument and tests it with a specific command. I'd like to run

Re: Copying, filtering

2006-09-21 Thread Mathieu Champlon
Hello, You can use along with from ant-contrib, something like : Then your targets would look like : I hope this helps. MAT. Kovács István a écrit : Hi, I need to copy files from m

Re: Replace problem

2006-09-12 Thread Mathieu Champlon
Michael Bauroth a écrit : Hi MAT, unfortunately the issue is another one (using Eclipse): The value of attribute "value" associated with an element type "replace" must not contain the '<' character. What about : The > is probably not required but it surely does not harm... MAT. --

Re: Replace problem

2006-09-12 Thread Mathieu Champlon
Michael Bauroth a écrit : Hi, I'm having a little problem with the replace task. Here is the code snippet: " /> The use of wrapping CDATA doesn't work too. Have you eventually any suggestions? Hello, If I understand the issue correctly : or MAT. ---

Re: How to set dynamic variables in Ant?

2006-09-12 Thread Mathieu Champlon
Jack.Tang a écrit : Hi, Here is the problem I am now facing: Some todo items in todo.list are 20060912.todo = foo 20060912.todo = bar Appreciate your suggestion to solve this problem. Thanks Hello ! Take a look at the ant-contrib task : http://ant-contrib.sourcef

Re: How to use Qoutes with arg element

2006-09-11 Thread Mathieu Champlon
Nagender Malik a écrit : Hi All, How to use ""(quotes) in the elements: For example: Please suggest.. Here is what I usually do... MAT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: How to replace substring into property and get result into another property ?

2006-08-29 Thread Mathieu Champlon
Willy Reinhardt a écrit : Hi, I get a property value as : lib/iaik/iaik_jce.jar,lib/iaik/iaikPkcs11Provider.jar and would replace character "," by ";" or ":" is a ant task can do that ? Hello ! Maybe the task can help you : http://ant.apache.org/manual/CoreTasks/pathconvert.html Or

Re: Passing command line arguments to the "run" target??

2006-08-26 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : So I want to do something like ant run -a -b -c which should result in "-a -b -c" to be passed to the task. Next time I want to do ant run -x a 12 23 and now "-a a 12 23" should be used by the java task. A property can be set from the command line, like this : an

Re: Passing command line arguments to the "run" target??

2006-08-26 Thread Mathieu Champlon
[EMAIL PROTECTED] a écrit : (...) I would like to run the program from within an ant task so that I can make use of how ant can collect the classpath etc., but I would like to pass such command line parameters on the program being called in the run task. (...) How do you run the program ? Don

Re: Task processing a DirSet one by one?

2006-08-21 Thread Mathieu Champlon
Chaudhuri, Hiran a écrit : Hi there. I have a directory with several subdirectories. Each subdirectory shall be zipped up in its own file. As the number of subdirectories can vary, I do not want to code each zip task explicitly but rather use a loop with a DirectorySet. Which Ant task can proce