RE: iterate a fileset

2007-05-29 Thread Rebhan, Gilbert
Hi, -Original Message- From: Andres Alleva [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 9:39 PM To: user@ant.apache.org Subject: iterate a fileset /* I need to check, if every .jsp in my project, contains a tag like this How can i iterate a fileset and use for each of my fil

Re: zipfileset dir vs src

2007-05-29 Thread Stefan Bodewig
On Wed, 30 May 2007, <[EMAIL PROTECTED]> wrote: > On 5/30/07, Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> On Tue, 29 May 2007, <[EMAIL PROTECTED]> wrote: >> > I am trying to add a single file to a jar. >> >> Where is the file? Inside a ZIP/JAR/WAR archive or in a plain >> directory on your disk?

Re: zipfileset dir vs src

2007-05-29 Thread yitzle
On 5/30/07, Stefan Bodewig <[EMAIL PROTECTED]> wrote: On Tue, 29 May 2007, <[EMAIL PROTECTED]> wrote: > I am trying to add a single file to a jar. Where is the file? Inside a ZIP/JAR/WAR archive or in a plain directory on your disk? You use src for the former and dir in the directory case. >

Re: zipfileset dir vs src

2007-05-29 Thread Stefan Bodewig
On Tue, 29 May 2007, <[EMAIL PROTECTED]> wrote: > I am trying to add a single file to a jar. Where is the file? Inside a ZIP/JAR/WAR archive or in a plain directory on your disk? You use src for the former and dir in the directory case. > This works: > So it is in a directory. > This gives a

zipfileset dir vs src

2007-05-29 Thread yitzle
I am trying to add a single file to a jar. This works: This gives an error about not being able to access the file: Am I doing something wrong with the src? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: iterate a fileset

2007-05-29 Thread David Weintraub
Not sure if you're interested in the Ant Contrib tasks, but there is a task in the AntContrib that will do exactly what you want. See: for more information. On 5/29/07, Andres Alleva <[EMAIL PROTECTED]> wrote: Hello! I need to check,

RE: generating log file in AIX

2007-05-29 Thread David Alves
Take a look at the task at this address: http://ant.apache.org/manual/CoreTasks/recorder.html Does that do what you're looking for? Regards, David Alves -Original Message- From: Lakshmi Prasad Thota [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 1:11 PM To: Ant Users List Cc: us

generating log file in AIX

2007-05-29 Thread Lakshmi Prasad Thota
Hi All, Can any one help me generating a log file for ant tasks in AIX? When I run my ant scripts any errors in execution should go to a log file. Basically I'm using exec task in my build.xml Thanks Thota - This message, and any attachments to it, may

iterate a fileset

2007-05-29 Thread Andres Alleva
Hello! I need to check, if every .jsp in my project, contains a tag like this How can i iterate a fileset and use for each of my files? Thank u Andres! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: how to get a process id from a spawned task?

2007-05-29 Thread Jay Dickon Glanville
Thanks. That helped. I used the task from ant-contrib to retrieve just the process id, and then echoed that to the user. Much appreciated. JDG On 5/28/07, Prashant Reddy <[EMAIL PROTECTED]> wrote: If you are OK with using JDK 1.5, you could use 'jps' command that is shipped with every JDK.

Errors in Deploying

2007-05-29 Thread Ashwin E
deploy: [serverdeploy] java.lang.NoClassDefFoundError: weblogic/deploy [serverdeploy] Exception in thread "main" BUILD FAILED E:\DIR_STRCUT\build.xml:43: Java returned: 1 Total time: 7 seconds My Build.xml is this target name="deploy" depends="task2"> I'm basically deploying an ear

Re: Copying the contents of all the files in one directory to a single file

2007-05-29 Thread Kevin Jackson
Hi, Please read the manual, http://ant.apache.org/manual/CoreTasks/concat.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Replacing text in files

2007-05-29 Thread Lars Monsees
Hello, > /* > How can I replace a line from this file with some other text? I > thought about "loadfile" or "patch", but don´t know exactly if these > would work. */ > > use a filterchain with replaceregex or replacestring > it now works this way: In case anyone else needs this so

Copying the contents of all the files in one directory to a single file

2007-05-29 Thread Satheesh
Actually i need to copy the contents of all the javascript files which reside in scripts directory into one common.js file in the same directory.. Like appending all the files into common.js.. The same way i need to do all the .css files also to a common.css file.. Can anyone suggest a way to ac

AW: how to set a property to the latest file

2007-05-29 Thread Jan.Materne
Just an idea: a combination ofand Jan >-Ursprüngliche Nachricht- >Von: Derek Haskin [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 28. Mai 2007 06:10 >An: user@ant.apache.org >Betreff: how to set a property to the latest file > >Hi, > >How do you set a property to using a wild card