aws tasks

2008-06-05 Thread David Kavanagh
For those interested in Amazon Web Services, I started a project a couple of months back that has a goal of providing ant tasks to interface with many of the services that Amazon provides. The initial task is for uploading data to S3. I used this with a client to deploy a war file. That war file is

Re: Best way to perform this type of conditonal test in ANT

2007-09-21 Thread David Kavanagh
Why not use instead of ? On 9/21/07, Eric Wood <[EMAIL PROTECTED]> wrote: > > I want to only call a target ( _pmd ) if the property "pmd.jar" is set. > > > > > > depends="pmd-init,find-pmd-java-files,modified-java-pmd,new-java-pmd" /> > > > The problem I have with the cod

Re: buiild.xml & ant

2007-06-16 Thread David Kavanagh
I know this isn't helpful, but it sounds like the OEM didn't write a proper ant task. They should have taken a or something similar in their task so you could take advantage of all the nice things Ant provides. Is there any way to get the source for the ndspackage task? Ant tasks are pretty triv

hotswap target

2007-06-01 Thread David Kavanagh
This has been around for a few years now, but I've just moved this project over to google code, so I thought I'd share it again. http://code.google.com/p/hotswap/ This target allows you to swap classes on a running JVM. This is much the same as you'd get with eclipse, but now I can do this from

Re: execute junit in directory

2007-04-30 Thread David Kavanagh
not correct??? - Mensaje original ---- De: David Kavanagh <[EMAIL PROTECTED]> Para: Ant Users List Enviado: lunes, 30 de abril, 2007 19:19:24 Asunto: Re: execute junit in directory Pamela, You can use the sub-element instead of . that allows you to specify a fileset which pulls in

Re: execute junit in directory

2007-04-30 Thread David Kavanagh
Pamela, You can use the sub-element instead of . that allows you to specify a fileset which pulls in all of your junit test files. David On 4/30/07, Pamela perez <[EMAIL PROTECTED]> wrote: As I can execute all the test you marry of a directory. this script executes single one.

Re: getting file size?

2006-12-21 Thread David Kavanagh
Thanks! The synonym generator in my head wasn't working! On 12/21/06, Scot P. Floess <[EMAIL PROTECTED]> wrote: David: look at the task... It works for files... David Kavanagh wrote: > If there is a way, I haven't found it... but I'm going to ask anyway. > Is th

getting file size?

2006-12-21 Thread David Kavanagh
If there is a way, I haven't found it... but I'm going to ask anyway. Is there any way to get the size of a file into a property? I need to update a .jad file and I know there are special tasks for doing it, but I'd rather be able to use normal file filtering using a props set. Daivd ---

Re: New Ant GUI - 'Ant's Nest'

2005-01-06 Thread David Kavanagh
I was just going to say that. I've used SAX parsing (even building a DOM tree, or JDOM tree) on files that are over 1 MB in size. It has to be what you are doing with the data. SAX itself won't build up stuff in memory. Just be carefull how you store the data you gather from there. David On Thu,

Re: getting file size

2004-12-28 Thread David Kavanagh
sure! Gmail can handle decent size files, so that will work with me. David On Tue, 28 Dec 2004 07:44:16 -0800 (PST), Ivan Ivanov <[EMAIL PROTECTED]> wrote: > Shell I send it to you offline? > > --- David Kavanagh <[EMAIL PROTECTED]> wrote: > > > Thanks! I'm

Re: getting file size

2004-12-28 Thread David Kavanagh
by using javascript: > > > > > > > > property="filesize"/> > $${filesize} is ${filesize} > > > HTH Ivan > > --- David Kavanagh <[EMAIL PROTECTED]> wrote: > > > I'm using ant for a J2ME project and I need to get >

getting file size

2004-12-27 Thread David Kavanagh
I'm using ant for a J2ME project and I need to get the jar file size into my .jad file. So, I was looking for something in Ant that might let me read the size of a file into a property. I couldn't find anything! I have no problem writing a custom task, but I really hope there is something existing

mutex tasks

2004-07-29 Thread David Kavanagh
I'm just curious about how useful other folks would find this. I've created 2 tasks and . The use case is where you have parallel ants running (on some server) doing builds, but 1 part of the build (in our case, some JFCUnit) needs to be single threaded. By this I mean that each of the build/vali