Re: Java Hot Code replacement in Eclipse!

From: Mike Schrag (mschra..dimension.com)
Date: Fri Jul 08 2005 - 11:37:22 EDT

  • Next message: Mike Schrag: "Re: wodclipse"

    It's worth pointing out that hot code replacement has the same
    limitations as hot code replacement in regular java apps in that you
    can't hot code replace structural class changes. So if you're trying
    to add methods or fields while your app is running, none of the
    consumer java vms let you do that. So make sure you're only changing
    IMPLEMENTATIONS of methods.

    ms

    On Jul 8, 2005, at 11:15 AM, Chuck Hill wrote:

    > Me too. Double check that you are launching in Debug (not Run!)
    > mode and are using a 1.4 JRE.
    >
    > Chuck
    >
    > On Jul 8, 2005, at 7:58 AM, Brendan Duddridge wrote:
    >
    >
    >> Yes. hot code replacement works just fine for me too with all
    >> default values.
    >>
    >> ____________________________________________________________________
    >> Brendan Duddridge | CTO | 403-277-5591 x24 | brenda..lickspace.com
    >>
    >> ClickSpace Interactive Inc.
    >> Suite L100, 239 - 10th Ave. SE
    >> Calgary, AB T2G 0V9
    >>
    >> http://www.clickspace.com
    >>
    >> On Jul 8, 2005, at 7:57 AM, Mike Schrag wrote:
    >>
    >>
    >>> I run entirely with default values, which is:
    >>> Classpath:
    >>> Bootstrap Entries (JRE)
    >>> User Entries (all of my included libs and WO Frameworks)
    >>> Source:
    >>> JRE
    >>> My Project
    >>> Use default source lookup path
    >>>
    >>> Basically you shouldn't have to do anything special -- hot code
    >>> should just work out of the box as long as you are running in
    >>> Debug mode.
    >>>
    >>> On Jul 8, 2005, at 9:41 AM, Ramy wrote:
    >>>
    >>>
    >>>> But what about the "classpath"tab and "Source" tab in the run
    >>>> WOApplication Run configuration?
    >>>>
    >>>> Do we have to uncheck the "use default source lookup path" in
    >>>> source tab?
    >>>>
    >>>> Could you give some observations on this?
    >>>>
    >>>> with rgds,
    >>>> Ramy.
    >>>>
    >>>> Mike Schrag wrote:
    >>>>
    >>>>> Just Debug As=>WOApplication and hot code should work.
    >>>>>
    >>>>> On Jul 8, 2005, at 4:41 AM, Ramy wrote:
    >>>>>
    >>>>>
    >>>>>>
    >>>>>>
    >>>>>> Hi ,
    >>>>>> Can any one of you tell me, what exactly are the steps
    >>>>>> needed for Java Hot Code replacement to work on WOApplication.
    >>>>>>
    >>>>>> Currently Iam using Eclipse3.0.1 with
    >>>>>> WOLips_1.1.0.102_RC_2. And the jdk is J2sdk1.4.1_06.
    >>>>>> Iam really getting frustrated with eclipse as its core featrue
    >>>>>> Hotcode replacement is not working properly.
    >>>>>>
    >>>>>> with
    >>>>>> regards,
    >>>>>> Ramy.
    >>>>>>
    >>>>>> <Ramy.vcf>
    >>>>>>
    >>>>>
    >>>>>
    >>>> <Ramy.vcf>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    > --
    > Practical WebObjects - a book for intermediate WebObjects
    > developers who want to increase their overall knowledge of
    > WebObjects, or those who are trying to solve specific application
    > development problems.
    > http://www.global-village.net/products/practical_webobjects
    >
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Jul 08 2005 - 11:37:26 EDT