Re: http request handling

2010-03-24 Thread Adam Leggett (UPCO)
Use the task maybe? [...] On Wed, 2010-03-24 at 14:06 +0100, Robert Kirkpatrick wrote: > Is there a task supporting the handling of *http requests *with *ant*, > using an embedded http server like *jetty*? > Seen the good work of Jakub Pawlowicz on the ant jetty plugin, but no > answer to my

Re: AW: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Adam Leggett (UPCO)
data.txt : localVariable1,propVariable11,propVariable12 localVariable2,propVariable21,propVariable22 localVariable3,propVariable31,propVariable32 def f = new File(ant.project.getProperty('file.path')) def lines = f.readLines()

Re: Parsing comma-separated string and getting handle to each token

2009-11-23 Thread Adam Leggett (UPCO)
To solve your problem, i'd suggest a scripted approach using something like the or task. If using groovy for example, this would allow you to use similar Java code as in your suggestion and give you much more fine grained control over error handling etc e.g. if the data in the file is malformed f

Re: Need help!! Ant find duplicate files

2009-11-11 Thread Adam Leggett (UPCO)
-0800, cvsusr wrote: > I really need to learn scripting and do it.. Can I used java script?? I will > give a try.. > > Is it so that i need to write java script and call it using groovy task?? > > > Adam Leggett (UPCO) wrote: > > > > If you are comfortable wi

Re: Need help!! Ant find duplicate files

2009-11-11 Thread Adam Leggett (UPCO)
If you are comfortable with scripting using syntax akin to Java, i'd suggest you use the groovy ant task to do something like this http://groovy.codehaus.org/The+groovy+Ant+Task Thanks Adam On Wed, 2009-11-11 at 02:13 -0800, cvsusr wrote: > Is there any Ant experts who can provide a solutions

[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