Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap
Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap
- Subject: Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap
- From: Hugi Thordarson <email@hidden>
- Date: Thu, 21 Feb 2019 22:54:54 +0000
For a little addition to this discussion, just if you find it interesting:
Today I set up a new developer environment on a new machine by:
1) Installing Eclipse
2) Installing WOLips (4_10, thanks guys!)
3) Cloning a git repository containing a maven WebObjects project
4) Running the WebObjects project
Said project can also be built for deployment by just running "mvn package" on
it. No WebObjects installation. No property files. None of the mess or wizardry
that's usually involved in getting WO running on dev or build. That's worth
something.
To be fair, the project's pom referenced the WOCommunity repository. Usually
you'll have to add that to your own maven settings (since WO and WOnder are not
in Maven central) but that's one, one-time step.
It's just so… Lovely.
- hugi
> On 21 Feb 2019, at 22:38, Hugi Thordarson <email@hidden> wrote:
>
> Unfortunately, not really. There's that guide for converting an existing
> Fluffy Bunny project…
>
> https://gist.github.com/hugith/e9a49e91fbcebe204e0feb4989f55631
> <https://gist.github.com/hugith/e9a49e91fbcebe204e0feb4989f55631>
>
> …and after that everything should just work®. But of course there are always
> caveats. And we're really missing basic documentation on project structure
> and other stuff for people new to Maven.
>
> But if you give it a try, I (and others) are very happy to help along the
> way, both here on the list and on Slack. I don't know anyone that switched to
> Maven and regretted it.
>
> - hugi
>
>
>
>> On 21 Feb 2019, at 19:02, Fredrik Lindgren <email@hidden
>> <mailto:email@hidden>> wrote:
>>
>> So, is there a good description/guide somewhere for how to use Maven with
>> WebObjects and Wonder?
>>
>> Hälsningar
>> Fredrik Lindgren
>>
>> 21 feb. 2019 kl. 18:13 skrev Hugi Thordarson <email@hidden
>> <mailto:email@hidden>>:
>>
>>> Ya'll need Maven.
>>>
>>> - hugi
>>>
>>>
>>>> On 21 Feb 2019, at 17:09, Tim Worman <email@hidden
>>>> <mailto:email@hidden>> wrote:
>>>>
>>>> I would think, at this point, that the number of devs swapping between
>>>> multiple versions of WO would be close to zero. Anyone supporting a legacy
>>>> codebase will probably know what to do. Perhaps there could simply be a
>>>> link to a separate article - “How to maintain multiple versions of WO."
>>>>
>>>> Tim
>>>>
>>>>> On Feb 21, 2019, at 8:10 AM, Theodore Petrosky <email@hidden
>>>>> <mailto:email@hidden>> wrote:
>>>>>
>>>>> The problem is that (If I remember correctly) when you invoke ant on the
>>>>> CLI, ant uses wolips.properties. it will ignore anything else.
>>>>>
>>>>> so if you have a wolips.543.properties and Eclipse is set up to use it,
>>>>> then Eclipse is Okay, but the CLI will not use it.
>>>>>
>>>>> So I think it is better to NOT use the wolips.543.properties so that
>>>>> installing and or compiling from Eclipse will agree with using the CLI.
>>>>>
>>>>> One can do whatever pleases themselves, but I think erring on the side of
>>>>> consistency is more correct (betterer???)! And it is not really erring,
>>>>> it is making an informed decision.
>>>>>
>>>>> Can you override ant’s properties?
>>>>>
>>>>> ant -Dproperties=wolips.543.properties
>>>>>
>>>>> So I agree with Markus, we should tone down the usage of .543. (multiple
>>>>> versions) or at the least call it not recommended and the above is why.
>>>>>
>>>>>
>>>>>> On Feb 21, 2019, at 9:39 AM, Maik Musall <email@hidden
>>>>>> <mailto:email@hidden>> wrote:
>>>>>>
>>>>>> Hi Ted,
>>>>>>
>>>>>> I went through the install process on a clean machine, created new
>>>>>> screenshots and updated the Project Wonder Installation page with that.
>>>>>> But I kept the wolips.543.properties scheme that had been described
>>>>>> there, even though the comments at the bottom recommend not doing that
>>>>>> and ignore the versioning. I also have the impression that skipping the
>>>>>> version distinction would be better.
>>>>>>
>>>>>> I can update that again, but I'd like a discussion about that detail
>>>>>> here before.
>>>>>>
>>>>>> Maik
>>>>>>
>>>>>>
>>>>>>> Am 21.02.2019 um 05:06 schrieb Theodore Petrosky <email@hidden
>>>>>>> <mailto:email@hidden>>:
>>>>>>>
>>>>>>> So I can edit some pages but not all :(
>>>>>>>
>>>>>>>
>>>>>>> I can edit in here for instance:
>>>>>>> https://wiki.wocommunity.org/display/documentation/Building+a+WebObjects+Project
>>>>>>>
>>>>>>> <https://wiki.wocommunity.org/display/documentation/Building+a+WebObjects+Project>
>>>>>>>
>>>>>>> but I cannot edit here:
>>>>>>> https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation
>>>>>>> <https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation>
>>>>>>>
>>>>>>> I have always been very confused in the wiki. I know that Maik Musall
>>>>>>> can edit here because it says at the top of the page:
>>>>>>> last modified by Maik Musall
>>>>>>> <https://wiki.wocommunity.org/display/~mmusall> on Dec 01, 2017
>>>>>>> <https://wiki.wocommunity.org/pages/diffpagesbyversion.action?pageId=1835055&selectedPageVersions=60&selectedPageVersions=61>
>>>>>>>
>>>>>>> I would be happy to help here if we can figure out how to get me edit
>>>>>>> privs.
>>>>>>>
>>>>>>> Ted
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> On Feb 20, 2019, at 10:47 PM, Michael Sharp <email@hidden
>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>
>>>>>>>> A wiki update would be good. I’ve updated README.md in the 4.10 repo
>>>>>>>> to reference the appropriate version of Eclipse and WOLips update site
>>>>>>>> URL.
>>>>>>>>
>>>>>>>> - Sharpy.
>>>>>>>>
>>>>>>>>> On 20 Feb 2019, at 7:03 pm, Theodore Petrosky <email@hidden
>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>
>>>>>>>>> ???
>>>>>>>>>
>>>>>>>>> should the wiki be updated to reflect this URL?
>>>>>>>>>
>>>>>>>>> I hate the idea of having to examine the mail archives to find this.
>>>>>>>>>
>>>>>>>>> Ted
>>>>>>>>>
>>>>>>>>>> On Feb 18, 2019, at 7:38 PM, Henrique Prange <email@hidden
>>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>>
>>>>>>>>>> Hey guys,
>>>>>>>>>>
>>>>>>>>>> Just to let you know that I've merged Michael's pull request into
>>>>>>>>>> the eclipse_4_10 branch. Maik did set up a new Jenkins job to build
>>>>>>>>>> from changes on that branch. You can test it by pointing your WOLips
>>>>>>>>>> update site to:
>>>>>>>>>>
>>>>>>>>>> https://jenkins.wocommunity.org/job/WOLips410/lastSuccessfulBuild/artifact/temp/dist/
>>>>>>>>>>
>>>>>>>>>> <https://jenkins.wocommunity.org/job/WOLips410/lastSuccessfulBuild/artifact/temp/dist/>
>>>>>>>>>>
>>>>>>>>>> It looks good on my machine.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>>
>>>>>>>>>> HP
>>>>>>>>>>
>>>>>>>>>>> On Feb 17, 2019, at 7:52 PM, Michael Sharp <email@hidden
>>>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi Henrique,
>>>>>>>>>>>
>>>>>>>>>>> Thank you, PR here https://github.com/wocommunity/wolips/pull/139
>>>>>>>>>>> <https://github.com/wocommunity/wolips/pull/139>
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>>
>>>>>>>>>>> - Sharpy.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> On 18 Feb 2019, at 3:11 am, Henrique Prange <email@hidden
>>>>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi Michael,
>>>>>>>>>>>>
>>>>>>>>>>>> I've pushed a new branch eclipse_4_10 to track changes and fixes
>>>>>>>>>>>> for Eclipse 2018-12 momentarily. Would you mind to create a pull
>>>>>>>>>>>> request?
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>
>>>>>>>>>>>> HP
>>>>>>>>>>>>
>>>>>>>>>>>>> On Feb 14, 2019, at 10:00 PM, Michael Sharp <email@hidden
>>>>>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Samuel,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I’m happy to create a pull request but I’m not sure there’s an
>>>>>>>>>>>>> appropriate destination branch at wocommunity/wolips yet.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I’d like to see jenkins.wocommunity building this too. I have
>>>>>>>>>>>>> jenkins building it here with both rebel and jprofiler support,
>>>>>>>>>>>>> although I’m unable to test those particular features.
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Sharpy
>>>>>>>>>>>>>
>>>>>>>>>>>>> ps: my last message was sent from an email address that is not
>>>>>>>>>>>>> registered for the list, this one should make it. It’s been a
>>>>>>>>>>>>> while..
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 15 Feb 2019, at 1:50 am, Samuel Pelletier <email@hidden
>>>>>>>>>>>>>> <mailto:email@hidden>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I managed to build your branch with the readme content (There
>>>>>>>>>>>>>> are too many build instruction out there...) and after fixing
>>>>>>>>>>>>>> the wo.root in the wobuild.property file that was not up to
>>>>>>>>>>>>>> date. I built without jprofiler and without jrebel.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> AddKey works again.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It would be a good thing to create the official repo with these
>>>>>>>>>>>>>> and start the automatic builds. What is the next step to put
>>>>>>>>>>>>>> that in place ?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Samuel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Le 13 févr. 2019 à 18:29, Michael Sharp <email@hidden
>>>>>>>>>>>>>>> <mailto:email@hidden>> a écrit :
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I’m building a WOLips4.10 variation locally from my branch at
>>>>>>>>>>>>>>> https://github.com/getsharp/wolips/tree/eclipse_4_10
>>>>>>>>>>>>>>> <https://github.com/getsharp/wolips/tree/eclipse_4_10>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The changes to their internal JDT APIs (such as StubUtility)
>>>>>>>>>>>>>>> was a pretty good incentive to leave them alone all together.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Add Key and a few other broken features are fixed for me with
>>>>>>>>>>>>>>> this build.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Sharpy.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 14 Feb 2019, at 7:37 am, Samuel Pelletier
>>>>>>>>>>>>>>>> <email@hidden <mailto:email@hidden>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I experience Eclipse 2018-12 with WOLips and DCEVM and the
>>>>>>>>>>>>>>>> latest WOLips and it works quite well to date.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I use the openjdk11 with DCEVM and Hotswap integrated found at
>>>>>>>>>>>>>>>> this location, it is important to use the latest (+8 at this
>>>>>>>>>>>>>>>> time) version if you use Groovy.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/releases
>>>>>>>>>>>>>>>> <https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/releases>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This download contains the entire JVM directory, to install it
>>>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>>> cd /Library/Java/JavaVirtualMachines/
>>>>>>>>>>>>>>>> sudo tar zxf
>>>>>>>>>>>>>>>> /Users/yourDownloadLocation/java11-openjdk-dcevm-osx.tar.gz
>>>>>>>>>>>>>>>> Then go to Eclipse preferences to add the new JVM.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This JVM is for dev only, it always starts with DCEVM and
>>>>>>>>>>>>>>>> Hotswap. DCEVM is a free hot code replacement like JRebel and
>>>>>>>>>>>>>>>> HotSwap contains plugins to help the engine.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Apps compile and run faster (real or placebo effet) than my
>>>>>>>>>>>>>>>> previous setup.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The only downside to date is the addKey in the WO editor that
>>>>>>>>>>>>>>>> no longer works.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> It fail with java.lang.NoClassDefFoundError:
>>>>>>>>>>>>>>>> org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.
>>>>>>>>>>>>>>>> I found the addKey problem in WOLips, the team moved an
>>>>>>>>>>>>>>>> internal classe used by this function in the AddKeyInfo class.
>>>>>>>>>>>>>>>> Here is the import that need to change in this file.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -import
>>>>>>>>>>>>>>>> org.eclipse.jdt.internal.corext.codemanipulation.StubUtility;
>>>>>>>>>>>>>>>> +import org.eclipse.jdt.internal.core.manipulation.StubUtility;
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> My problem now is I do not have a working WOLips build
>>>>>>>>>>>>>>>> environment to test this. I tried to follow the Wiki
>>>>>>>>>>>>>>>> instruction but I only get fail build du to missing something.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> If someone has a working WOLips development setup, please
>>>>>>>>>>>>>>>> update it with Eclipse 2018-12 and apply my patch to build a
>>>>>>>>>>>>>>>> new WOLips. This will require a new WOLips version for Eclipse
>>>>>>>>>>>>>>>> 4.10+ since this code will no longer works with the previous
>>>>>>>>>>>>>>>> version.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Samuel
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>>>>>>>> Webobjects-dev mailing list
>>>>>>>>>>>>>>>> (email@hidden
>>>>>>>>>>>>>>>> <mailto:email@hidden>)
>>>>>>>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This email sent to email@hidden
>>>>>>>>>>>>>>>> <mailto:email@hidden>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>>>>>>>>> <mailto:email@hidden>)
>>>>>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>>>>>>>> <mailto:email@hidden>)
>>>>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>>>>> <mailto:email@hidden>)
>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>>> <mailto:email@hidden>)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>>
>>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list (email@hidden
>>>>>> <mailto:email@hidden>)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>>
>>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden
>>>>> <mailto:email@hidden>)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>>
>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden
>>>> <mailto:email@hidden>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden <mailto:email@hidden>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto:email@hidden>)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden <mailto: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:
>
> 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:
This email sent to email@hidden
References: | |
| >WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Samuel Pelletier <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Samuel Pelletier <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Michael Sharp <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Henrique Prange <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Michael Sharp <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Henrique Prange <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Theodore Petrosky <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Michael Sharp <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Theodore Petrosky <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Maik Musall <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Theodore Petrosky <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Tim Worman <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Hugi Thordarson <email@hidden>) |
| >Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap (From: Hugi Thordarson <email@hidden>) |