Re: WOLips development
Re: WOLips development
- Subject: Re: WOLips development
- From: Samuel Pelletier via Webobjects-dev <email@hidden>
- Date: Sat, 09 Nov 2024 09:32:56 -0500
Hi,
As written by Hugi, rebel can be replaced with a DCEVM jvm using the hot swap
plugin. This plugin do the same things for DCEVM as the jRebel plugin for rebel
: clear KeyValueCoding, WOComponent and NSValidation caches on class reload.
With this setup, you usually only need to restart an app when changing the base
class of a class or a static member initializer.
I wrote the plugin, il you have question or feature requests, feel free to ask.
> Le 7 nov. 2024 à 03:44, Hugi Thordarson via Webobjects-dev
> <email@hidden> a écrit :
>
> Ramsay, it's awesome you're taking a look at WOLips, thanks for that! And
> curiosity is eating me alive; looking at anything in particular?
>
> Not using either of the plugins you mentioned. But using the opportunity for
> some evangelism; replaced JRebel with DCEVM and hotswap-agent a few years
> back. Works like a charm and the wiki has a nice page showing how to set it
> up (the JDK 17 instructions work fine for JDK 21, you'll just have to go to
> the release pages of the JDK/hotswap-agent and download current versions
> instead of curl-ing the packages from the instructions):
>
> https://flagged.apple.com:443/proxy?t2=Dn4e4D9Gv0&o=aHR0cHM6Ly93aWtpLndvY29tbXVuaXR5Lm9yZy94d2lraS9iaW4vdmlldy9XT0wvSG9tZS9XT0xpcHMvVXNpbmclMjBEQ0VWTSUyMGFuZCUyMEhvdHN3YXAlMjBmb3IlMjByYXBpZCUyMHR1cm5hcm91bmQ=&emid=c9d75702-e4d1-42d5-bf1f-167cd4124ce5&c=11/
>
> On another more distantly related note (since launch arguments were
> mentioned) I stopped using WOLips WO launch configurations a couple of years
> back, preferring to
> launch WO apps as regular java apps with a couple of added arguments. WOLips
> launch configurations generate a borked classpath when launching maven
> projects, making them somewhat troublesome if your dependencies are
> beyond the simplest case (while java launch configurations will generate a
> correct classpath, i.e. reflecting what ends up in the build).
>
> https://github.com/wocommunity/wolips/issues/153
>
> Cheers,
> - hugi
>
>
>
>> On 7 Nov 2024, at 08:11, Martino Limido via Webobjects-dev
>> <email@hidden> wrote:
>>
>> Hi Ramsey,
>>
>> I believe you’re correct—the plugin itself doesn’t actually exist. When
>> checking the file at site.xml, it lists
>> features/org.objectstyle.wolips.jrebel.feature_4.18.20240430.22.jar, but
>> this jar doesn’t appear to be installed. I think the “magic” here is simply
>> setting the ${jrebel_args} variable manually in each Run Configuration; no
>> additional support on the WOLips side seems necessary to make JRebel work
>> for us.
>>
>> In my opinion, removing these
> references from the WOLips installation would be fine, as they don’t appear
> to impact JRebel’s functionality in any way.
>>
>> Thanks for looking into it!
>>
>> Best,
>> Martino
>>
>>> Il giorno 7 nov 2024, alle ore
> 02:18, Ramsey Gurley <email@hidden> ha scritto:
>>>
>>> I assumed they were dead because when I look in the site.xml, they are
>>> listed, but when I look in /features/ they don't exist. I'm not sure what
>>> magic is allowing you to install them but I will try to maintain both of
>>> these since they apparently still work :)
>>>
>>> https://flagged.apple.com:443/proxy?t2=DZ8B9s3CD5&o=aHR0cHM6Ly9qZW5raW5zLndvY29tbXVuaXR5Lm9yZy9qb2IvV09MaXBzX21hc3Rlci9sYXN0U3VjY2Vzc2Z1bEJ1aWxkL2FydGlmYWN0L3RlbXAvZGlzdA==&emid=c9d75702-e4d1-42d5-bf1f-167cd4124ce5&c=11/
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> Thi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden