Re: Hello again
Re: Hello again
- Subject: Re: Hello again
- From: Mark Wardle via Webobjects-dev <email@hidden>
- Date: Tue, 18 Jan 2022 09:46:52 +0000
Thanks Paul.
I have nuked my local installation of eclipse. I did have dashes in the
path to my workspace. I tried an installation on a fresh machine, but with
latest eclipse (4), and I now get NPE when I try to run a WOApplication. So
I'm going to delete the installation again, install eclipse 3 and a
compatible wolips, and then see what happens. I do have dependent
frameworks open in eclipse. Some of those now depend on locally installed
maven artefacts, but I have manually used mvn install to install them into
the local repository.
Out of interest, what version of eclipse and wolips are you using? I was on
eclipse 4 and wolips master on this mac, and then when I tried on a fresh
linux machine, I mistakenly installed the same. Perhaps that's the issue.
Mark
On Tue, 18 Jan 2022 at 08:35, Paul Hoadley via Webobjects-dev <
email@hidden> wrote:
> On 18 Jan 2022, at 6:27 pm, Mark Wardle <email@hidden> wrote:
>
> I suspect you fixed it through a special incantation on the first blood
> red moon of April.
>
> Anyway, I clearly have a different environment when running at the command
> line compared to in eclipse.
>
>
> Eclipse isn't doing a full Maven package build either. There's quite a bit
> of magic going on with a launch from Eclipse.
>
> So actually none of my own models are included.
>
>
> Right. It really shouldn't be this hard. Remember to answer these:
>
> Do you have the framework projects open in the same workspace? If not,
> have you run 'mvn install' for the framework projects so that their JARs
> are in ~/.m2/repository?
>
>
> I have five models. Some were in src/main/resources/models and some were
> in src/main/resources so I did the same for all frameworks - and put them
> in src/main/resources.
>
>
> Shouldn't matter (I used a models sub-directory for some projects too),
> but don't make any further changes for now.
>
> I am not clear what I'm doing wrong! Deleting the error messages in
> eclipse seems to have resolved those errors. So bizarre. They haven't
> appeared for a while now!
>
>
> Eclipse will occasionally throw up spurious errors like this, and you can
> just delete them. It's unrelated to the model issue above.
>
> Can't help to think I have misconfigured eclipse in some way. I miss
> IntelliJ and VScode, which I've been using for quite some time!
>
>
> Once we get this working, you will learn to love Eclipse again. Err, maybe.
>
>
> --
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
>
> _______________________________________________
> 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
>
--
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