Re: AntResolver Significance - In Custom Tasks

2009-11-09 Thread Stefan Bodewig
On 2009-11-06, Raja Nagendra Kumar wrote: > What is the significance of AntResolver when compared to directly creating > Ant() task. Are you talking about org.apache.tools.ant.taskdefs.optional.extension.resolvers.AbtResolver? This class doesn't have any significance beyond the jarlib-resolve ta

Re: dynamic build.properties

2009-11-09 Thread Antoine Levy-Lambert
Hi, ant-contrib has a for task with which you can iterate on the comma-separated values in jobname=job1,job2,... then using the ant task, you can trigger a build for each value. Regards, Antoine Original-Nachricht > Datum: Mon, 9 Nov 2009 12:11:25 -0800 (PST) > Von: cvsusr

dynamic build.properties

2009-11-09 Thread cvsusr
Hi I have a requirement where I need to build for each jobname provided. I am taking the jobnames from cvs update and storing it in a text file.. "job.txt" As of now i gave a variable name in build.properties as jobname=job1 when it is one jobname there wont be issue.. when there are many j

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
oh thanks.. its working exactly to my requirement.. thanks a lot Matt Benson-2 wrote: > > Assuming yourfile.txt: > > > > > > > > > > > > > > > On Nov 9, 2009, at 12:12 PM, cvsusr wrote: > >> >> Is it

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread Matt Benson
Assuming yourfile.txt: On Nov 9, 2009, at 12:12 PM, cvsusr wrote: Is it possible to give a complete example with a text file. I dont know how to pass resource to this block. Matt Benson-2 wrote: Well, my example you cited sort

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
Is it possible to give a complete example with a text file. I dont know how to pass resource to this block. Matt Benson-2 wrote: > > Well, my example you cited sorts and removes duplicates. If you > don't want to sort them, take out the and the > directly. > > On Nov 9, 2009, at 9:41 AM

Re: AW: create javadoc

2009-11-09 Thread Scot P. Floess
OK - great :) On Mon, 9 Nov 2009, Júlio Cesar Bueno Cotta wrote: Sorry by the late anwser, I didn't see your reply. I got create the javadoc as I wnated! :D there are some warnings, but the javadoc it's almost the same of the javadoc created by eclipse. 2009/10/29 Scot P. Floess So, then

Re: AW: create javadoc

2009-11-09 Thread Júlio Cesar Bueno Cotta
Sorry by the late anwser, I didn't see your reply. I got create the javadoc as I wnated! :D there are some warnings, but the javadoc it's almost the same of the javadoc created by eclipse. 2009/10/29 Scot P. Floess > > So, then what happens? Those files don't have Javadoc generated and no > err

Re: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread Matt Benson
Well, my example you cited sorts and removes duplicates. If you don't want to sort them, take out the and the directly. On Nov 9, 2009, at 9:41 AM, cvsusr wrote: Is there any way to remove the duplicate line in a file?? I gone through this post, but didnt find a solution in ant. Ple

RE: How do you sort and remove duplicates lines from a file ?

2009-11-09 Thread cvsusr
Is there any way to remove the duplicate line in a file?? I gone through this post, but didnt find a solution in ant. Please let me know. thanks Scot P. Floess wrote: > > I hate to admit this...I have never used the concat target...I have > completely overlooked it in the past :( > > > On T

Re: Class cast exception with executor - class loading issue

2009-11-09 Thread Raja Nagendra Kumar
Thank you both. Both your solutions are working. Regards, Nagendra -- View this message in context: http://old.nabble.com/Class-cast-exception-with-executor---class-loading-issue-tp26230483p26268142.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Re: Class cast exception with executor - class loading issue

2009-11-09 Thread Antoine Levy-Lambert
Hello Raja, I am not sure whether this can help you. I am using the classloader task included in the project http://sourceforge.net/projects/enitsys/files/JTools/ I use it with this snippet where all.https.cp is the id of a path defined before in my build file. I had to do this mainly to

Re: Deploy without recompile

2009-11-09 Thread Antoine Levy-Lambert
Hi, Original-Nachricht > Datum: Mon, 9 Nov 2009 12:19:50 + > Von: Ziggy > An: user@ant.apache.org > Betreff: Deploy without recompile > Hi all, > > I've got a query on the way web applications are deployed. I have an > application that has several jsp files and serlvets tha

[ANN] Hosted CI for Ant projects

2009-11-09 Thread Adam Leggett (UPCO)
Hi Everyone, I'd like to announce Mike - a new hosted continuous integration service for Java projects. Mike supports Ant-based builds and we are currently running a limited private beta. If you want to learn more or try Mike out for free please come visit us at http://mikeci.com Thanks, Adam

Deploy without recompile

2009-11-09 Thread Ziggy
Hi all, I've got a query on the way web applications are deployed. I have an application that has several jsp files and serlvets that are in WEB-INF/classes. When i deploy the application all i do is do a checkout on CVS, make the changes, rebuild the war using ANT and redeploy manually. This wor

Ant task to remove the repeated string or line in a file

2009-11-09 Thread cvsusr
Hi, I wanted to delete the repeated strings or lines in a text file.. is there any task available for that. My file.txt contains one one two three three four six I need to delete the repeated one and three entries.. Thanks Sri -- View this message in context: http://old.nabble.com/Ant-tas