Re: Hello again
Re: Hello again
- Subject: Re: Hello again
- From: Mark Wardle via Webobjects-dev <email@hidden>
- Date: Sat, 15 Jan 2022 13:25:53 +0000
I have made some progress, but it is still not working.
I can create a new erxapplication from the 3.0 archetype and it runs from
eclipse.
It looks as if I did have the wrong .project, .classpath and
build.properties files so I have updated those. Maven is now building
modules in the right order and all frameworks appear to be built correctly.
They install into my local repository, and then my main application gets
built without errors.
That still didn't fix the issues - from eclipse - I get class definition
errors - from the command-line, I get that weird zip error.
So I gave up and created a single erxapplication using the maven archetype
and copied everything in from my old application and all its dependent
frameworks. Messy, but it compiled without problems and... runs from
eclipse! So that's great.
But I still get the odd zip file error - investigating this I note eclipse
is building and running using java8 whereas my command-line has been java
11 for a long time now! Could it a java 11 issue? Do others build using
maven using java 11 and WO/Project Wonder?
Mark
On Sun, 16 Jan 2022 at 07:32, Mark Wardle <email@hidden> wrote:
> Hi Paul! Hope you are keeping well! Thanks for the reply. It looks very
> helpful - replies inline below.
>
> On Sun, 16 Jan 2022 at 00:52, Paul Hoadley via Webobjects-dev <
> email@hidden> wrote:
>
>> Hi Mark,
>>
>> On 16 Jan 2022, at 8:32 am, Mark Wardle via Webobjects-dev <
>> email@hidden> wrote:
>>
>> Long time no see. I have quietly lurked here while working on a different
>> technology stack (mainly clojure/clojurescript), but now want to migrate my
>> old WO applications to use my newer backend components when possible.
>>
>>
>> Welcome back.
>>
>> 1. Please could I have an invite to the slack channel?
>>
>>
>> Looks like someone has hooked you up—Slack telling me email@hidden would
>> be a duplicate.
>>
>>
> All sorted thank you.
>
>
>> 2. I have restarted my push to migrate to maven, as I need to modernise
>> the build and make it easier to stitch everything I need together. But I've
>> hit some hurdles - are there any maven experts?
>>
>>
>> There are several. There's a #maven channel on Slack.
>>
>> Great.
>
>
>> > SNIP
>>
>
>
>> Before we wade into these, how did you convert your project(s) to Maven?
>> Did you follow this or something like it?
>>
>> https://gist.github.com/paulhoadley/cd15b90c94eb8c640fddd9ac3fbbc6dc
>>
>>
> No I did not see that. I created a new directory and copied files across
> according what I've used for maven native files. But, I didn't turn off
> eclipse and did get annoyed with all of the autogenerated files appearing
> as I did each framework.
>
>
>> I would suggest doing one project at a time. Choose a framework that is
>> dependent on no other projects, for example. Get it working, then move to
>> the next.
>>
>>
> Yes actually all of the frameworks build, as does the application, but
> that zip file means something is broken.
> I will start again with your guide thank you!
>
>> I would be very grateful for any pointers at all. I still would like to
>> move away from ant for this build, and I need to simplify my frameworks, so
>> moving to maven seems like an important step in modernising my build.
>>
>>
>> You won't regret it. Any time you spend now getting your projects
>> converted will be paid off a hundred times later. It will instantly
>> simplify your CI options, just as one example.
>>
>>
> Best wishes,
>
> Mark
>
--
Dr. Mark Wardle
Consultant Neurologist and Clinical informatician, University Hospital
Wales, Cardiff, UK
Chair, NHS Wales Technical Standards Board.
Email: email@hidden or email@hidden Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166
_______________________________________________
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: | |
| >Hello again (From: Mark Wardle via Webobjects-dev <email@hidden>) |
| >Re: Hello again (From: Paul Hoadley via Webobjects-dev <email@hidden>) |
| >Re: Hello again (From: Mark Wardle via Webobjects-dev <email@hidden>) |