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 <
webobjects-dev@lists.apple.com> wrote:

> On 18 Jan 2022, at 6:27 pm, Mark Wardle <m...@wardle.org> 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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/mark%40wardle.org
>
> This email sent to m...@wardle.org
>


-- 
Dr. Mark Wardle
Consultant Neurologist and Clinical informatician, University Hospital
Wales, Cardiff, UK
Chair, NHS Wales Technical Standards Board.
Email: mark.war...@wales.nhs.uk or m...@wardle.org  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to