Re: hotswap

2004-10-20 Thread dak
Where I work, most people use Eclipse, with a few using IntelliJ. I use Eclipse sometimes, but really prefer Vim for source code editing. (call me "old school"). Anyway, with this task and a simple target in my build file, I can hotswap when using Vim, almost as nicely as I could in Eclipse. That w

Re: hotswap

2004-10-08 Thread dak
When you say "scared", I hope the code didn't look that bad! (I mean, I thought you might be talking about the power it could unleash). No, we don't use it for production at all. Yes, we use it for development only. I like that I can edit in Vim and invoke an ant target to compile and hotswap my ch

Re: mutex tasks

2004-07-29 Thread dak
I removed the race condition by having each parallel ant process using a unique name. That is really up to the build file, but that is the way it was designed. So, there shouldn't be any race condition. If 2 files get created at the same time, each task will remove their own file and do a random b

Re: mutex tasks

2004-07-29 Thread dak
I've just dome some testing in XP. The locks are simply zero length files and nothing more. Also, because of the random backoff approach, I think it would be pretty robust. To clean up any locks left over from previous attempts, a mastster scheduler could simply remove all files in the locks direct

mutex tasks

2004-07-28 Thread dak
I'm just curious about how usefull 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/va

Re: 1.6.2 ?

2004-06-22 Thread dak
Thanks, It had been a couple weeks since I had seen 1.6.2 discussed. just curious. David Quoting Matt Benson <[EMAIL PROTECTED]>: > We have a few more things to get fixed and/or merged > over to the 1.6 branch from CVS HEAD. We are getting > this done as we are able. > > -Matt > > --- [EMAIL

1.6.2 ?

2004-06-22 Thread dak
Just a friendly nudge... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: submitting a patch

2004-04-08 Thread dak
I certainly don't want to break any conventions by trying to introduce a task that doesn't work on all of the target JDK versions. If there is a way to do that, I'm open to whatever you guys suggest. For now, I have built from CVS HEAD and also created a separate jar that contains my task. I have a

Re: DateSelector patch

2004-04-07 Thread dak
I was hoping to grab a nightly build to get a version of Ant with the DateSelector change. Seems like there aren't any nightly builds on the web site since last September. Would the best thing be to grab the 1.6.1 source release and get DateSelector from anonCVS and build myself? David Quoting Ma

submitting a patch

2004-04-07 Thread dak
I had a look at the guidelines (http://ant.apache.org/ant_task_guidelines.html) and the suggestion is to run ant -f patch.xml . Where is patch.xml? Knowing the guidlines, I'll submit the DateSelector change that way. Since the Hotswap task won't work unless the JDk is 1.4 or greater (because of th

Re: hotswap via ant

2004-04-01 Thread dak
This sounds good to me! The less grunt work I have to do in my task, the better! I grabbed teh 1.6.1 source release and built it. If you could point me to the file selector you mention, it would help me a lot. I just poked around and it didn't jump out at me. I would like it if my task could just

Re: hotswap via ant

2004-04-01 Thread dak
When I was toying with a separate task, I wondered if could be use somehow to create a . I don't see now, but that would sure be a nice feature. Then, if I could assign an ID so I could make a of files that aren't uptodate, run the compile, then take that same as input to the target. The idea o

hotswap via ant

2004-04-01 Thread dak
I'd like to not only build (using Ant) when I'm using VIM, but hotdeploy the class changes to a running app. I use ant.vim and it works very nicely. Then, I wrote a hotswap client using JDI. Now, I can run that via the commandline, but I'd rather integrate it into Ant. I toyed with doing a separate