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
: 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
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
---
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
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
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
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
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
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
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
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
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">
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
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
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
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
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
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
>
> 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
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
.
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.
[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
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
23 matches
Mail list logo