Re: Hello again

2022-01-18 Thread Paul Hoadley via Webobjects-dev
On 19 Jan 2022, at 8:19 am, Mark Wardle  wrote:

> One major issue was that I had .project in my gitignore file, so eclipse made 
> new ones without the wolips magic / maven features. That meant I got weird 
> NPE when I tried with a new machine and different behaviour on another.

Yes, that will definitely be a problem. You must have a .project file with both 
of the 'maven2Nature' entries. One of them is the correct, current entry for 
Eclipse, the other is essentially a magic string to match what's hard-coded 
deep in a WebObjects class. You won't get proper bundle loading without these.

> I still had a problem finding all of the EOModels, and an odd thing not 
> finding resources in frameworks, so I ended up sticking with my fix of 
> bringing all frameworks into the main application. That is fine for now - and 
> given my plan is to move away from frameworks to simple jars (some java, most 
> clojure), then this gives me the opportunity to delete lots of code and 
> migrate to my more modern backend components. One example, for instance, is 
> https://github.com/wardle/hermes  - so my 
> old application had SNOMED CT as a dependent framework - I'll be replacing by 
> simply calling that library and deleting that framework code.

While I'm glad it worked, you shouldn't need to do any of this. If you want to 
keep debugging the external framework approach, I am happy to keep going. We 
will get there. I'd start by checking what's going on in .project for each of 
those as well, if they're open in the Eclipse workspace.

> It looks rather messy at the moment, with everything together, but at least 
> I've got maven running, a new version of my application already deployed, and 
> upgraded to 7.2 of Wonder. It's a great step towards modernisation.

7.3 was just released! And because you're using Maven, you can pick that up 
with a single character diff.

> To be fair, building a new maven application using eclipse always worked. It 
> was bringing all my old cruft along that seems to have caused the issues, 
> plus a major dose of idiocy on my part. 

It can be hard migrating a large project with frameworks, but it is possible. 
If you want to persist, we can make it work.


-- 
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/archive%40mail-archive.com

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


Re: Hello again

2022-01-18 Thread Mark Wardle via Webobjects-dev
Thanks Ralf! I did find that and tried it but it didn’t work. It didn’t
seem to make any resources available so I wasn’t even sure it had any
effect.

I’ve now put everything into a single maven project and appears to be
working perfectly.

Thank you very much.

If I get time, I might try to reproduce the issue with a set of new empty
frameworks to see whether I can determine the problem!

Mark

On Tue, 18 Jan 2022 at 22:01, Ralf Schuchardt  wrote:

> Hi Mark,
>
> if I remember correctly, I did also run into this no-model-found problem
> lately, and I believe this old hint here
>
>
> https://wiki.wocommunity.org/display/documentation/Maven+Running+or+Debugging+as+WO+Application
>
> did help. If you have not done this yet, try adding the build java
> directory of your model frameworks to the classpath. This may also be
> necessary for components.
>
> Ralf
>
>
> On 18 Jan 2022, at 10:46, Mark Wardle via Webobjects-dev wrote:
>
> 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  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/rasc%40gmx.de
>
> This email sent to r...@gmx.de
>
> --
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)

Re: Hello again

2022-01-18 Thread Ralf Schuchardt via Webobjects-dev

Hi Mark,

if I remember correctly, I did also run into this no-model-found problem 
lately, and I believe this old hint here


https://wiki.wocommunity.org/display/documentation/Maven+Running+or+Debugging+as+WO+Application

did help. If you have not done this yet, try adding the build java 
directory of your model frameworks to the classpath. This may also be 
necessary for components.



Ralf



On 18 Jan 2022, at 10:46, Mark Wardle via Webobjects-dev wrote:


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  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/rasc%40gmx.de

This email sent to r...@gmx.de ___
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


Re: Hello again

2022-01-18 Thread Mark Wardle via Webobjects-dev
Thanks Paul. That is very kind of you! But I'm delighted to say I think
I have fixed the problems.

One major issue was that I had .project in my gitignore file, so eclipse
made new ones without the wolips magic / maven features. That meant I got
weird NPE when I tried with a new machine and different behaviour on
another.

I still had a problem finding all of the EOModels, and an odd thing not
finding resources in frameworks, so I ended up sticking with my fix of
bringing all frameworks into the main application. That is fine for now -
and given my plan is to move away from frameworks to simple jars (some
java, most clojure), then this gives me the opportunity to delete lots of
code and migrate to my more modern backend components. One example, for
instance, is https://github.com/wardle/hermes - so my old application had
SNOMED CT as a dependent framework - I'll be replacing by simply calling
that library and deleting that framework code.

It looks rather messy at the moment, with everything together, but at least
I've got maven running, a new version of my application already deployed,
and upgraded to 7.2 of Wonder. It's a great step towards modernisation.

To be fair, building a new maven application using eclipse always worked.
It was bringing all my old cruft along that seems to have caused the
issues, plus a major dose of idiocy on my part.

Thank you again,

Mark






On Tue, 18 Jan 2022 at 21:22, Paul Hoadley via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> Hi Mark,
>
> On 18 Jan 2022, at 8:16 pm, Mark Wardle  wrote:
>
> 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.
>
>
> I don't think it's going to turn out to be an Eclipse issue. We're just
> missing one detail here, I'm sure—I just can't put my finger on it. I use a
> range of different Eclipse versions. On this iMac, for example, it's
> 2019-09 and what looks like WOLips 4.10. Head over to #maven on Slack and
> let's see if we can wake up anyone else who might help.
>
>
> --
> 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
>
 ___
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


Re: Hello again

2022-01-18 Thread Paul Hoadley via Webobjects-dev
Hi Mark,

On 18 Jan 2022, at 8:16 pm, Mark Wardle  wrote:

> 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.

I don't think it's going to turn out to be an Eclipse issue. We're just missing 
one detail here, I'm sure—I just can't put my finger on it. I use a range of 
different Eclipse versions. On this iMac, for example, it's 2019-09 and what 
looks like WOLips 4.10. Head over to #maven on Slack and let's see if we can 
wake up anyone else who might help.


-- 
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/archive%40mail-archive.com

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


Re: Hello again

2022-01-18 Thread Mark Wardle via Webobjects-dev
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  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


Re: Hello again

2022-01-18 Thread Paul Hoadley via Webobjects-dev
On 18 Jan 2022, at 6:27 pm, Mark Wardle  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/archive%40mail-archive.com

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


Re: Hello again

2022-01-17 Thread Mark Wardle via Webobjects-dev
Hi Paul,

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.

I added some code to my main Application startup:


*public* Application() {

NSLog.*out*.appendln("Welcome to " + *this*.name() + " !");


EOModelGroup modelGroup = EOModelGroup.*defaultGroup*();

modelGroup.modelNames().forEach(s -> System.*out*.println ("Model: " + s));

setAllowsConcurrentRequestHandling(*true*);




>From the command-line, I get:

Jan 18 07:51:29 RSNews[65462] INFO  er.extensions.appserver.ERXApplication  -
Wonder version: 7.2

Jan 18 07:51:29 RSNews[65462] INFO  NSLog  - Welcome to RSNews !

Model: NhsModel

Model: ERCoreBusinessLogic

Model: RSBiobank

Model: ERMail

Model: ERAttachment

Model: SnomedCt

Model: RSBusinessLogic

Model: erprototypes

Model: RSGeneticsModel

>From eclipse, I get:

Jan 18 07:48:46 RSNews[65449] INFO  er.extensions.appserver.ERXApplication  -
Wonder version: 7.2

Jan 18 07:48:46 RSNews[65449] INFO  NSLog  - Welcome to RSNews !

Model: ERAttachment

Model: ERCoreBusinessLogic

Model: ERMail

Model: erprototypes


So actually none of my own models are included.


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.


I'm on eclipse version:


Version: 2021-12 (4.22.0)

Build id: 20211202-1639


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! 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!


Mark

On Mon, 17 Jan 2022 at 22:36, Paul Hoadley via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> Hi Mark,
>
> On 17 Jan 2022, at 6:04 pm, Mark Wardle  wrote:
>
> Right. It *is* all working - from the command-line.
>
> But it is eclipse that is having problems. For some reason I get a 'no
> model found' in this model group error.
>
> Jan 17 07:16:57 RSNews[59144] WARN  NSLog  - A fatal exception occurred:
> There is no model named 'NhsModel' in this model group.
> [2022-1-17 7:16:57 GMT]  java.lang.IllegalArgumentException: There
> is no model named 'NhsModel' in this model group.
>
> I have only a hazy recollection of how model groups work - and they just
> seemed to work before. Oddly, I can't find any eomodel directories in my
> command-line built target, so presume they end up in the jar files.
>
>
> Yes they will.
>
> Do I need a special  statement in any of the pom files?
>
>
> No. Are your models just sitting in src/main/resources?
>
> I note this wasn't an issue when I created a single maven project
> combining all of my frameworks and a single application, but it is an issue
> now my EOModels are in different frameworks from the application. Is there
> a special command-line parameter to set (or unset) for eclipse, as it seems
> to find the models when run from the command-line.
>
>
> No, I don't think so. 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?
>
> PS Oh and eclipse seems to want to keep changing the .classpath files. I
> know maven will ignore those, but it is disconcerting. Do I check them into
> version control or add them to .gitignore now?
>
>
> I check .classpath into the repo for WebObjects projects, and periodically
> commit changes that Eclipse seems to make on a whim.
>
> The last 5% of the Maven journey can be frustrating, but once we get you
> there, you won't look back.
>
>
> --
> 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


Re: Hello again

2022-01-17 Thread Paul Hoadley via Webobjects-dev
On 18 Jan 2022, at 5:25 am, Mark Wardle  wrote:

> Amazingly Paul, I found this from the past in which you had exactly the same 
> issue. I have different models in different frameworks. They are brought in 
> perfectly using maven at the command line, and everything just seems to work. 
> In eclipse, it is a different matter - I too have now unchecked 
> NSProjectBundleEnabled, but it is still showing errors.

I cannot believe I did not report back to the list with a solution. Lazy.

> The the "Problems" tab, I get errors relating to packaging and the 
> wolifecycle maven plugin:
> 
> 
> Super odd, because I cannot see any difference between those two and all of 
> the other frameworks in the workspace which do not show an error. It just 
> seems so inconsistent. Maven at the command line appears to be doing nice 
> reproducible things everytime. 

Just delete those errors from that tab.


-- 
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/archive%40mail-archive.com

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


Re: Hello again

2022-01-17 Thread Paul Hoadley via Webobjects-dev
Hi Mark,

On 17 Jan 2022, at 6:04 pm, Mark Wardle  wrote:

> Right. It *is* all working - from the command-line. 
> 
> But it is eclipse that is having problems. For some reason I get a 'no model 
> found' in this model group error.
> 
> Jan 17 07:16:57 RSNews[59144] WARN  NSLog  - A fatal exception occurred: 
> There is no model named 'NhsModel' in this model group.
> [2022-1-17 7:16:57 GMT]  java.lang.IllegalArgumentException: There is 
> no model named 'NhsModel' in this model group.
> 
> I have only a hazy recollection of how model groups work - and they just 
> seemed to work before. Oddly, I can't find any eomodel directories in my 
> command-line built target, so presume they end up in the jar files.

Yes they will.

> Do I need a special  statement in any of the pom files?

No. Are your models just sitting in src/main/resources?

> I note this wasn't an issue when I created a single maven project combining 
> all of my frameworks and a single application, but it is an issue now my 
> EOModels are in different frameworks from the application. Is there a special 
> command-line parameter to set (or unset) for eclipse, as it seems to find the 
> models when run from the command-line.

No, I don't think so. 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?

> PS Oh and eclipse seems to want to keep changing the .classpath files. I know 
> maven will ignore those, but it is disconcerting. Do I check them into 
> version control or add them to .gitignore now?

I check .classpath into the repo for WebObjects projects, and periodically 
commit changes that Eclipse seems to make on a whim.

The last 5% of the Maven journey can be frustrating, but once we get you there, 
you won't look back.


-- 
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/archive%40mail-archive.com

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


Re: Hello again

2022-01-17 Thread Mark Wardle via Webobjects-dev
Amazingly Paul, I found this from the past in which you had exactly the
same issue. I have different models in different frameworks. They are
brought in perfectly using maven at the command line, and everything just
seems to work. In eclipse, it is a different matter - I too have now
unchecked NSProjectBundleEnabled, but it is still showing errors.

The the "Problems" tab, I get errors relating to packaging and the
wolifecycle maven plugin:
[image: image.png]

Super odd, because I cannot see any difference between those two and all of
the other frameworks in the workspace which do not show an error. It just
seems so inconsistent. Maven at the command line appears to be doing nice
reproducible things everytime.

Mark


Paul Hoadley pa...@logicsquad.net via
 lists.apple.com
Sun, 9 Oct 2016, 12:29
to WebObjects
Hello,

Well, I say the _last_ two hurdles. They’re at least the _current_ two
hurdles. I’ve got this a long way, but I’m still not there. I’ve been
migrating an app and its 10 or so framework dependencies. Everything builds
(both locally on OS X and on a Jenkins CI server running Amazon Linux), but
I’m stuck on launch.

1. Launching in Eclipse I get this:

WARN  NSLog  - A fatal exception occurred: There is no model named
'LSNotification'
in this model group.
[2016-10-9 11:11:26 UTC]  java.lang.IllegalArgumentException: There is
 no model named 'LSNotification' in this model group.
at er.extensions.migration.ERXMigrator._buildDependenciesForModelsNamed(
ERXMigrator.java:274)

That model is in LSNotification.framework, which appears to be built
correctly, and its JAR (which contains that model) is in the built
application bundle under target. (Is this even what Eclipse is running when
I hit launch?) If I go into that bundle on the command line and launch by
hand, I _don’t_ get this error, which is encouraging—the application finds
that model, runs the migrations (and then fails elsewhere—see below). What
am I overlooking when I launch from Eclipse? I’ve
unchecked NSProjectBundleEnabled—anything else?

On Mon, 17 Jan 2022 at 07:34, Mark Wardle  wrote:

> Right. It *is* all working - from the command-line.
>
> But it is eclipse that is having problems. For some reason I get a 'no
> model found' in this model group error.
>
> Jan 17 07:16:57 RSNews[59144] WARN  NSLog  - A fatal exception occurred:
> There is no model named 'NhsModel' in this model group.
>
> [2022-1-17 7:16:57 GMT]  java.lang.IllegalArgumentException: There
> is no model named 'NhsModel' in this model group.
>
>
> I have only a hazy recollection of how model groups work - and they just
> seemed to work before. Oddly, I can't find any eomodel directories in my
> command-line built target, so presume they end up in the jar files. Do I
> need a special  statement in any of the pom files? I note this
> wasn't an issue when I created a single maven project combining all of my
> frameworks and a single application, but it is an issue now my EOModels are
> in different frameworks from the application. Is there a special
> command-line parameter to set (or unset) for eclipse, as it seems to find
> the models when run from the command-line.
>
>
> Mark
>
>
> PS Oh and eclipse seems to want to keep changing the .classpath files. I
> know maven will ignore those, but it is disconcerting. Do I check them into
> version control or add them to .gitignore now?
>
> On Sun, 16 Jan 2022 at 22:08, Paul Hoadley via Webobjects-dev <
> webobjects-dev@lists.apple.com> wrote:
>
>> On 17 Jan 2022, at 8:05 am, Mark Wardle  wrote:
>>
>> Thanks to Paul and all involved in building the maven plugin and support
>> for WebObjects/Project Wonder, I'm very pleased to say that I can now
>> quickly and easily build my entire project using maven, now as separate
>> frameworks and applications.
>>
>>
>> Brilliant.
>>
>>
>> --
>> 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
>


-- 
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 

Re: Hello again

2022-01-16 Thread Mark Wardle via Webobjects-dev
Right. It *is* all working - from the command-line.

But it is eclipse that is having problems. For some reason I get a 'no
model found' in this model group error.

Jan 17 07:16:57 RSNews[59144] WARN  NSLog  - A fatal exception occurred:
There is no model named 'NhsModel' in this model group.

[2022-1-17 7:16:57 GMT]  java.lang.IllegalArgumentException: There is
no model named 'NhsModel' in this model group.


I have only a hazy recollection of how model groups work - and they just
seemed to work before. Oddly, I can't find any eomodel directories in my
command-line built target, so presume they end up in the jar files. Do I
need a special  statement in any of the pom files? I note this
wasn't an issue when I created a single maven project combining all of my
frameworks and a single application, but it is an issue now my EOModels are
in different frameworks from the application. Is there a special
command-line parameter to set (or unset) for eclipse, as it seems to find
the models when run from the command-line.


Mark


PS Oh and eclipse seems to want to keep changing the .classpath files. I
know maven will ignore those, but it is disconcerting. Do I check them into
version control or add them to .gitignore now?

On Sun, 16 Jan 2022 at 22:08, Paul Hoadley via Webobjects-dev <
webobjects-dev@lists.apple.com> wrote:

> On 17 Jan 2022, at 8:05 am, Mark Wardle  wrote:
>
> Thanks to Paul and all involved in building the maven plugin and support
> for WebObjects/Project Wonder, I'm very pleased to say that I can now
> quickly and easily build my entire project using maven, now as separate
> frameworks and applications.
>
>
> Brilliant.
>
>
> --
> 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


Re: Hello again

2022-01-16 Thread Paul Hoadley via Webobjects-dev
On 17 Jan 2022, at 8:05 am, Mark Wardle  wrote:

> Thanks to Paul and all involved in building the maven plugin and support for 
> WebObjects/Project Wonder, I'm very pleased to say that I can now quickly and 
> easily build my entire project using maven, now as separate frameworks and 
> applications.

Brilliant.


-- 
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/archive%40mail-archive.com

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


Re: Hello again

2022-01-16 Thread Mark Wardle via Webobjects-dev
Update.

1. I have fixed the error from a zip file. It turns out the build was
including a broken jar file, from a dependency of type 'pom'. This results
in an invalid file being brought into the build.


com.sun.xml.ws
jaxws-ri
2.3.3
pom


To make it easier for others to find in the future, this is the exception
that this caused:

Exception in thread "main" com.webobjects.foundation.NSForwardException
[java.util.zip.ZipException] zip END header not
found:java.util.zip.ZipException: zip END header not found

at
com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45)

at
er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplication.java:857)

at
er.extensions.appserver.ERXApplication$Loader.(ERXApplication.java:517)

at er.extensions.appserver.ERXApplication.setup(ERXApplication.java:1071)

at er.extensions.appserver.ERXApplication.main(ERXApplication.java:884)

at com.eldrix.news.app.Application.main(Application.java:75)

Caused by: java.util.zip.ZipException: zip END header not found

at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1567)

at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1462)

at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1469)

at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1274)

at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)

at
java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:727)

at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)

at java.base/java.util.zip.ZipFile.(ZipFile.java:247)

at java.base/java.util.zip.ZipFile.(ZipFile.java:177)

at java.base/java.util.jar.JarFile.(JarFile.java:348)

at java.base/java.util.jar.JarFile.(JarFile.java:319)

at java.base/java.util.jar.JarFile.(JarFile.java:258)

at
er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplication.java:837)

Keywords: maven java 11 broken zip file invalid jar stringFromJar
ERXApplication$Loader ERXApplication


I can see the finish line now, although there are some dimly lit hurdles
ahead. Here be dragons.

On Sun, 16 Jan 2022 at 07:32, Mark Wardle  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 <
> webobjects-dev@lists.apple.com> wrote:
>
>> Hi Mark,
>>
>> On 16 Jan 2022, at 8:32 am, Mark Wardle via Webobjects-dev <
>> webobjects-dev@lists.apple.com> 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 m...@wardle.org 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: 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)

Re: Hello again

2022-01-16 Thread Mark Wardle via Webobjects-dev
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  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 <
> webobjects-dev@lists.apple.com> wrote:
>
>> Hi Mark,
>>
>> On 16 Jan 2022, at 8:32 am, Mark Wardle via Webobjects-dev <
>> webobjects-dev@lists.apple.com> 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 m...@wardle.org 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: 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


Re: Hello again

2022-01-15 Thread Mark Wardle via Webobjects-dev
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 <
webobjects-dev@lists.apple.com> wrote:

> Hi Mark,
>
> On 16 Jan 2022, at 8:32 am, Mark Wardle via Webobjects-dev <
> webobjects-dev@lists.apple.com> 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 m...@wardle.org 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
 ___
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


Re: Hello again

2022-01-15 Thread Paul Hoadley via Webobjects-dev
Hi Mark,

On 16 Jan 2022, at 8:32 am, Mark Wardle via Webobjects-dev 
 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 m...@wardle.org 
 would be a duplicate.

> 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.

> a) My EOModels in frameworks were not being found until I specifically told 
> eclipse to NSBundeProjectEnabled to false. That seemed to fix that, but now I 
> get a weird NPE on startup (in eclipse) which suggests my class description 
> for an entity isn't being found. I do have 
> true in 
> at least the main application package.
> 
> [2022-1-15 21:13:14 GMT]  java.lang.NullPointerException
>   at 
> er.rest.IERXRestDelegate$Factory.delegateForClassDescription(IERXRestDelegate.java:147)
>   at 
> er.rest.routes.ERXRouteRequestHandler.addDefaultRoutes(ERXRouteRequestHandler.java:539)
>   at com.eldrix.news.app.Application.(Application.java:110)
> 
> I'm using v2.5 of the maven lifecycle plugin.
> 
> b) At least I get that far in eclipse. At the command-line, when I build the 
> application, I get the following:
> 
> Exception in thread "main" com.webobjects.foundation.NSForwardException 
> [java.util.zip.ZipException] zip END header not 
> found:java.util.zip.ZipException: zip END header not found
>   at 
> com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45)
>   at 
> er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplication.java:857)
>   at 
> er.extensions.appserver.ERXApplication$Loader.(ERXApplication.java:517)
>   at 
> er.extensions.appserver.ERXApplication.setup(ERXApplication.java:1071)
>   at er.extensions.appserver.ERXApplication.main(ERXApplication.java:884)
>   at com.eldrix.news.app.Application.main(Application.java:73)
> 
> My google-fu has failed me for this one. I have cleaned all the frameworks, 
> installed them all and then rebuilt the application without success. I 
> deleted .m2/repository as a last resort, and did it all again, but the 
> problem persists. I also thought maven would automatically manage submodules 
> and build them in the right order, but that doesn't happen either.

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 


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.

> 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.


-- 
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/archive%40mail-archive.com

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


Hello again

2022-01-15 Thread Mark Wardle via Webobjects-dev
Dear all,

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.

1. Please could I have an invite to the slack channel?

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?

a) My EOModels in frameworks were not being found until I specifically told
eclipse to NSBundeProjectEnabled to false. That seemed to fix that, but now
I get a weird NPE on startup (in eclipse) which suggests my class
description for an entity isn't being found. I do have
true
in at least the main application package.

[2022-1-15 21:13:14 GMT]  java.lang.NullPointerException

at er.rest.IERXRestDelegate$Factory.delegateForClassDescription(
IERXRestDelegate.java:147)

at er.rest.routes.ERXRouteRequestHandler.addDefaultRoutes(
ERXRouteRequestHandler.java:539)

at com.eldrix.news.app.Application.(Application.java:110)


I'm using v2.5 of the maven lifecycle plugin.

b) At least I get that far in eclipse. At the command-line, when I build
the application, I get the following:

Exception in thread "main" com.webobjects.foundation.NSForwardException
[java.util.zip.ZipException] zip END header not
found:java.util.zip.ZipException: zip END header not found

at
com.webobjects.foundation.NSForwardException._runtimeExceptionForThrowable(NSForwardException.java:45)

at
er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplication.java:857)

at
er.extensions.appserver.ERXApplication$Loader.(ERXApplication.java:517)

at er.extensions.appserver.ERXApplication.setup(ERXApplication.java:1071)

at er.extensions.appserver.ERXApplication.main(ERXApplication.java:884)

at com.eldrix.news.app.Application.main(Application.java:73)

My google-fu has failed me for this one. I have cleaned all the frameworks,
installed them all and then rebuilt the application without success. I
deleted .m2/repository as a last resort, and did it all again, but the
problem persists. I also thought maven would automatically manage
submodules and build them in the right order, but that doesn't happen
either.

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.

Mark

-- 
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


Re: Hello again

2021-01-27 Thread Theodore Petrosky via Webobjects-dev
Welcome home!




> On Jan 27, 2021, at 5:51 PM, Ramsey Gurley via Webobjects-dev 
>  wrote:
> 
> Hi everyone!
> 
> I haven't been on the list for a long while, but I'm still working with 
> webobjects. I heard this list was shut down, but I'm still able to sign up 
> for it. I hope the message is received :)
> 
> We recently had a developer move on to a new company. We are now looking for 
> someone with webobjects talent. We have a job posting up at indeed. Check it 
> out and let me know if you have any questions.
> 
> https://www.indeed.com/jobs?q=prosites=googlesl=c43301acc8ddb2a0 
> 
> 
> Thanks,
> 
> Ramsey
> 
> Confidentiality Notice: This email, including all attachments and replies 
> thereto, are covered by the Electronic Communications Privacy Act, 18 U.S.C. 
> Sections 2510-2521 and are legally privileged. This information is 
> confidential, and intended only for the use of the individuals or entities 
> named above. If you are not the intended recipient, you are hereby notified 
> that any disclosure, copying, distribution or the taking of any action in 
> reliance on the contents of this transmitted information is strictly 
> prohibited. Please notify us if you have received this transmission in error. 
> Thank you.
> ___
> 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/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.com

 ___
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


Hello again

2021-01-27 Thread Ramsey Gurley via Webobjects-dev
Hi everyone!

I haven't been on the list for a long while, but I'm still working with 
webobjects. I heard this list was shut down, but I'm still able to sign up for 
it. I hope the message is received :)

We recently had a developer move on to a new company. We are now looking for 
someone with webobjects talent. We have a job posting up at indeed. Check it 
out and let me know if you have any questions.

https://www.indeed.com/jobs?q=prosites=googlesl=c43301acc8ddb2a0

Thanks,

Ramsey


Confidentiality Notice: This email, including all attachments and replies 
thereto, are covered by the Electronic Communications Privacy Act, 18 U.S.C. 
Sections 2510-2521 and are legally privileged. This information is 
confidential, and intended only for the use of the individuals or entities 
named above. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution or the taking of any action in 
reliance on the contents of this transmitted information is strictly 
prohibited. Please notify us if you have received this transmission in error. 
Thank you.
 ___
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


Hello again.

2016-10-26 Thread James Cicenia
Ray -

How goes it? Long time no hear.

Anyway, I have a small android project I need ported from iOS.
Interested? Know anyone?

- James


   
James Cicenia
Founder / CEO
Direct: (773) 398-4649
Mail: ja...@jimijon.com
 



 ___
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

Hello again

2008-05-05 Thread Gustavo Pizano
Hello guys, sorry I have been out for a couple of months, days? :/,  
don't rememebr, anyway things at school have been really complicated,  
doing thesis and projects etc, so I had to be away from the WO  
learning. But I will be back really soon, probably when I get an hour  
of free time I will spend it with WO because I really want to keep  
learning. So as the radio station's says, stay tuned, hehe Im will  
be coming back with lots of questions that have come to my mind while  
developing the  projects at school. Oh so Far I show the  teacher the  
way EOF and WO map the objects to the DB, and he was without words  
he did liked the way WO and EOF handles you all that  (the simple  
things I could show him), now what I want to do once I get time, is to  
put  together all that, and make the WS, use the JMS and a Engine (for  
component development) but using WO of course, i dunno if this is  
possible, I guess yes, because all this its java.


Well TTU really Soon.


Gus

___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]