Re: hotswap task, add?

2004-10-31 Thread David Kavanagh
Look at the archives, you are correct. Steve Morin said: "I think hotswap would make a great optional task." Being the most recent response, that stuck in my head. Jessie Glick commented, but didn't state a preference Steve Loughran seemed a little scared by it and thoug

RE: hotswap task, add?

2004-10-31 Thread Kenneth Wood
: Saturday, October 30, 2004 4:06 PM To: Ant Developers List Subject: hotswap task, add? I saw about 3 responses about adding this task into Ant, but the gist of the responses seemed to be it would make a good optional task. Anyone care to take this further? I'll do whatever I can to help. Ju

hotswap task, add?

2004-10-30 Thread David Kavanagh
I saw about 3 responses about adding this task into Ant, but the gist of the responses seemed to be it would make a good optional task. Anyone care to take this further? I'll do whatever I can to help. Just let me know what needs to be done! Thanks, David ---

Re: hotswap

2004-10-20 Thread steve morin
I think hotswap would make a great optional task. Steve On Wed, 20 Oct 2004 16:12:16 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Where I work, most people use Eclipse, with a few using IntelliJ. I use > Eclipse > sometimes, but really prefer Vim for source code editing

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 Ecl

Re: hotswap

2004-10-20 Thread Steve Loughran
so if netbeans has a hotswap too, I wonder if you could do a task that would do hotswap into whatever vm/ide you designated now, that really does scare me :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: hotswap

2004-10-20 Thread Jesse Glick
David Kavanagh wrote: Just wondering if anyone else has any thoughts on the target, feel free to look at the web page (http://hotswap.dev.java.net/) and read Steve's comments below. Looks cool... BTW you may be interested to know that NetBeans 4.0 uses a similar task to do hotswapping during de

Re: hotswap

2004-10-13 Thread David Kavanagh
rap.bat/sh, we can have optional version code in the system, sorry if that was an issue before. Having had a look at hotswap, I dont know whether to be impressed or scared. Are you using this for hot deployment to a live system, wow. Not in production, one would hope. At the very least we can link t

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 co

hotswap

2004-10-08 Thread Steve Loughran
and ready to be used. Assuming the code is self contained and isolated from bootstrap.bat/sh, we can have optional version code in the system, sorry if that was an issue before. Having had a look at hotswap, I dont know whether to be impressed or scared. Are you using this for hot deployment to a

hotswap almost there

2004-04-05 Thread David Kavanagh
I have a small jar file I can send around if people want it. It contains 2 classes that make up the task. The one problem I still have is file selection. I can do something like this; This selects files and directories. Using the and construct would work if the granula

Re: hotswap via ant

2004-04-04 Thread David Kavanagh
part. (which is using existing Ant constructs). Here is a sample of my build file. description="Compile and Hotswap changed classes"> pattern="MM/dd/ hh:mm" /> hsaddress="9000"> includes="**/*.class">

Re: hotswap via ant

2004-04-04 Thread David Kavanagh
g to the current one. -Add a millis attribute to , incompatible with its pattern attribute. -Matt --- David Kavanagh <[EMAIL PROTECTED]> wrote: It's Alive! Now, I just need some help working out the file selection part. (which is using existing Ant constructs). Here is a sample of my

Re: hotswap via ant

2004-04-03 Thread David Kavanagh
s the task handle failure*? Does the task fail the build if the hotswap fails? Having this configurable would be good. - Do you call defineClasses for each class, or do you group the whole update into one big defineClasses call? Calling it for each class ensures you update as many cla

Re: hotswap via ant

2004-04-03 Thread Peter Leschev
specify it if they don't need it). - How does the task handle failure*? Does the task fail the build if the hotswap fails? Having this configurable would be good. - Do you call defineClasses for each class, or do you group the whole update into one big def

Re: hotswap via ant

2004-04-02 Thread Matt Benson
ribute. -Matt --- David Kavanagh <[EMAIL PROTECTED]> wrote: > It's Alive! Now, I just need some help working out > the file selection > part. (which is using existing Ant constructs). > Here is a sample of my build file. > > description=&quo

Re: hotswap via ant

2004-04-02 Thread David Kavanagh
could then compile only those sources to some temporary build area, then hotswap only those classes. The point is that others have designed ways in which the files can be selected, so you gain maximum flexibility (and minimum RESPONSIBILITY) the less your T

Re: hotswap via ant

2004-04-01 Thread Matt Benson
other way might use ant-contrib's to > > determine which sources should be recompiled. You > > could then compile only those sources to some > > temporary build area, then hotswap only those > classes. > > The point is that others have designed ways in >

Re: hotswap via ant

2004-04-01 Thread dak
> could then compile only those sources to some > temporary build area, then hotswap only those classes. > The point is that others have designed ways in which > the files can be selected, so you gain maximum > flexibility (and minimum RESPONSIBILITY) the less your > Task is expected

Re: hotswap via ant

2004-04-01 Thread Matt Benson
dated classes. Another way might use ant-contrib's to determine which sources should be recompiled. You could then compile only those sources to some temporary build area, then hotswap only those classes. The point is that others have designed ways in which the files can be selected, so you ga

Re: hotswap via ant

2004-04-01 Thread dak
. The idea of a timestamp file could work. The sequence might be something like. ... some pattern to apply to the classes dir ... That way, the hotswap task would check the files in the classes dir based on the patternset and/or the timestamp. Seriously, I'm open to feedback.

Re: hotswap via ant

2004-04-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: 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

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 toy