Antcall task and inheriting Filters

2006-09-13 Thread Hussein Badakhchani
Hello, I was wondering if there are any plans to extend the AntCall task to allow inheriting of Filters. In my build I use a Jython script to convert all my properties to filters which works well, however it seems I have to call this script from every task I call from my AntCall tasks in order

How to call the export command in LINUX using Ant exec element.

2006-09-13 Thread Nagender Malik
Hi, How to call the export command in LINUX using Ant exec element. Regards, Nagender

AW: How to call the export command in LINUX using Ant exec element.

2006-09-13 Thread Jan.Materne
simply as each other script BUT: Ant starts a new instance of the command interpreter and AFIAK the export statement would not have any effect for the machine (only for that process). Jan -Ursprüngliche Nachricht- Von: Nagender Malik [mailto:[EMAIL PROTECTED] Gesendet:

AW: Antcall task and inheriting Filters

2006-09-13 Thread Jan.Materne
Have you tried to give the filters IDs and set inheritRef=true? Jan -Ursprüngliche Nachricht- Von: Hussein Badakhchani [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. September 2006 11:02 An: user@ant.apache.org Betreff: Antcall task and inheriting Filters Hello, I was wondering if

Re: How to call the export command in LINUX using Ant exec element.

2006-09-13 Thread Alexey N. Solofnenko
If you really need it, specify it in env inside exec. I myself prefer to set all environment variables before starting ANT - in that case all child processes will get them automatically. - Alexey. Nagender Malik wrote: Hi, How to call the export command in LINUX using Ant exec element.

Need Help With jar Task

2006-09-13 Thread Robert Pepersack
Hi all, I'm a to Ant. I have some Java classes in a single directory tree that has two child directories (i.e. mia/gui and mia/middleware). I need to create two .jar files, one that contains the classes in the mia.gui package and the other that contains the classes in mia.middleware. When I

Re: Need Help With jar Task

2006-09-13 Thread Peter Reilly
jar destfile=${classes.dir}/mia_gui.jar fileset dir=${classes.dir} includes=mia/gui/**/ /jar jar destfile=${classes.dir}/mia_middleware.jar fileset dir=${classes.dir} includes=mia/middleware/**/ /jar Should do the trick. Peter On 9/13/06, Robert Pepersack [EMAIL PROTECTED] wrote: Hi

Re: Need Help With jar Task

2006-09-13 Thread Matt Benson
--- Robert Pepersack [EMAIL PROTECTED] wrote: Hi all, I'm a to Ant. I have some Java classes in a single directory tree that has two child directories (i.e. mia/gui and mia/middleware). I need to create two .jar files, one that contains the classes in the mia.gui package and the other

RE: Need Help With jar Task

2006-09-13 Thread Kenneth McKnight
You need to use the fileset nested include element to do this: jar destfile=${classes.dir}/mia_gui.jar index=true fileset dir=${classes.dir} include name=mia/gui/**/ /fileset /jar jar destfile=${classes.dir}/mia_middleware.jar index=true fileset dir=${classes.dir}

RE: Need Help With jar Task

2006-09-13 Thread Robert Pepersack
Thanks everybody for the quick and accurate responses! I got it working. Bob Robert Pepersack Senior Lead Developer Maryland Insurance Administration 410-468-2054 [EMAIL PROTECTED] 09/13/2006 1:24 PM You need to use the fileset nested include element to do this: jar

Re: Ant Dojo Compression

2006-09-13 Thread JM
Diego, Have you downloaded the latest custom rhino jar from DOJO? The only think I can think of is that you are using an old version that doesn't have the right compressScript method signature used by the custom ant task. JM Diego Chagastelles wrote: JM, the last problem I solved. Now, I

Telnet to AS400

2006-09-13 Thread Ben Corpus
Hi All, I am using Apache Ant 1.6.5. I want to use its Telnet task to automate Java deployments to WAS (Websphere Application Server) server running on the AS400. The problem I encounter is in the nested read tag (line 6) - it hangs on that line of execution. Here's the target code:

Re: Telnet to AS400

2006-09-13 Thread Antoine Levy-Lambert
Hi, I advise against using telnet, it is not practical to automate deployments. Using ssh instead of telnet would be the first step I would recommend you. A quick search in Google tells me that there are ssh servers implementations for AS400. In a second step, to automate WebSphere