Re: Maven + WOnder 7

2017-01-06 Thread Mark Gowdy
Hi, 

Nearly there.

I have my frameworks converted to use Maven (dependencies are nice btw), and 
have got my first app to run in Development.
I deploy it (for now), using [Run As : Maven Install], and copy the resulting 
tar.gz file to the server.

When I run it on the server, the app tries to start up, goes 100% CPU for about 
4 minutes, then finally starts.
To be fair, it is on a Raspberry Pi, but the old (pre-maven) ant build didn’t 
have this problem.

java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)

Application log:
..etc..
  
/opt/mg/apps/Switches/Switches-V3.woa/Contents/Resources/Java/com/webobjects/JavaWebServicesSupport/5.4.3/JavaWebServicesSupport-5.4.3.jar
  
/opt/mg/apps/Switches/Switches-V3.woa/Contents/Resources/Java/com/webobjects/JavaXML/5.4.3/JavaXML-5.4.3.jar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
WILL ADD SHUTDOWNHOOK
Jan 06 13:56:37 N/A[N/A] INFO  org.apache.log4j.Logger  - Updated the logging 
configuration with the current system properties.
Jan 06 13:56:37 N/A[N/A] INFO  org.apache.log4j.Logger  - Updated the logging 
configuration with the current system properties.
<<== LONG WAIT HERE ==>>
Jan 06 14:00:10 N/A[N/A] WARN  NSLog  - Couldn't load properties file: 
/home/pi/WebObjects.properties at path: /home/pi
Jan 06 14:00:10 N/A[N/A] DEBUG NSLog  - WOMaxIOBufferSize=8196
..etc..

Any thoughts on what is causing it to go mental?

Mark

> On 5 Jan 2017, at 09:20, Mark Gowdy  wrote:
> 
> Paul, 
> 
> I was going to show you the error.
> (which was something like ‘wonder.ajax : Ajax.jar not found’)
> 
> but when I tried to reproduce it, it only went and worked !! (rather 
> suspiciously)
> 
> Although I am not complaining.
> 
> Thanks for you help,
> 
> Mark
> 
>> On 4 Jan 2017, at 22:50, Paul Hoadley > > wrote:
>> 
>> Hi Mark,
>> 
>> On 5 Jan 2017, at 3:34 am, Mark Gowdy > > wrote:
>> 
>>> My issue now is trying to get Ajax (from the Wonder Frameworks) into the 
>>> mix.
>>> 
>>> I have tried various entries in the pom file (such as)
>>> --
>>> 
>>> wonder.ajax
>>> Ajax
>>> ${wonder.version}
>>> 
>>> --
>>> But no success yet.
>>> 
>>> Any ideas?
>> 
>> That should certainly do it, as long as you’re declaring wonder.version 
>> somewhere, either in that project’s POM or some parent of it. What’s the 
>> error you’re seeing?
>> 
>> 
>> -- 
>> Paul Hoadley
>> http://logicsquad.net/ 
>> https://www.linkedin.com/company/logic-squad/ 
>> 
>> 
>> 
>> 
> 
> _
> Mark Gowdy
> Gowdy Associates Ltd
> M: +44 7808 400 941
> Skype: markgowdy
> 
> 
> 
> 

_
Mark Gowdy
Gowdy Associates Ltd
M: +44 7808 400 941
Skype: markgowdy




 ___
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: Maven + WOnder 7

2017-01-05 Thread Mark Gowdy
Paul, 

I was going to show you the error.
(which was something like ‘wonder.ajax : Ajax.jar not found’)

but when I tried to reproduce it, it only went and worked !! (rather 
suspiciously)

Although I am not complaining.

Thanks for you help,

Mark

> On 4 Jan 2017, at 22:50, Paul Hoadley  wrote:
> 
> Hi Mark,
> 
> On 5 Jan 2017, at 3:34 am, Mark Gowdy  > wrote:
> 
>> My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix.
>> 
>> I have tried various entries in the pom file (such as)
>> --
>> 
>>  wonder.ajax
>>  Ajax
>>  ${wonder.version}
>> 
>> --
>> But no success yet.
>> 
>> Any ideas?
> 
> That should certainly do it, as long as you’re declaring wonder.version 
> somewhere, either in that project’s POM or some parent of it. What’s the 
> error you’re seeing?
> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/ 
> https://www.linkedin.com/company/logic-squad/
> 
> 
> 

_
Mark Gowdy
Gowdy Associates Ltd
M: +44 7808 400 941
Skype: markgowdy




 ___
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: Maven + WOnder 7

2017-01-04 Thread Paul Hoadley
Hi Mark,

On 5 Jan 2017, at 3:34 am, Mark Gowdy  wrote:

> My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix.
> 
> I have tried various entries in the pom file (such as)
> --
> 
>   wonder.ajax
>   Ajax
>   ${wonder.version}
> 
> --
> But no success yet.
> 
> Any ideas?

That should certainly do it, as long as you’re declaring wonder.version 
somewhere, either in that project’s POM or some parent of it. What’s the error 
you’re seeing?


-- 
Paul Hoadley
http://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: Maven + WOnder 7

2017-01-04 Thread Paul Hoadley
Hi Mark,

On 4 Jan 2017, at 11:04 pm, Mark Gowdy  wrote:

> Can anyone confirm the Wonder Version that I should specify in the 
> dependencies?
> Is it always: 7.0.0-SNAPSHOT

Short answer is yes, but the longer answer is that it’s up to you. 
7.0.0-SNAPSHOT is where the tip of the master branch is at, so it’s like 
tracking HEAD—you’ll always have the latest changes. Ideally there would be 
more frequent stable releases, and you could do something like specify a 
release version. But if you want to stay current, 7.0.0-SNAPSHOT will do it.

> Or are there updated versions.  If so, how do I find the latest version 
> number?

You can browse all the releases here:

http://maven.wocommunity.org/content/groups/public/wonder/ 



-- 
Paul Hoadley
http://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: Maven + WOnder 7

2017-01-04 Thread Mark Gowdy

> On 4 Jan 2017, at 13:49, G Brown  wrote:
> 
> Mark,
> 
> I see on github many tags for different versions, but I think the 
> 7.00-SNAPSHOT is the ever changing shifting current wonder version.

Yea, I think so too.

My issue now is trying to get Ajax (from the Wonder Frameworks) into the mix.

I have tried various entries in the pom file (such as)
--

wonder.ajax
Ajax
${wonder.version}

--
But no success yet.

Any ideas?

Mark

> 
> You may also want to  create a wonder parent
>   
>wonder
>generic-woparent
>7.00-SNAPSHOT
> ./generic-woparent
>  
> As that will save you much typing, and you will have the exact jar versions, 
> plugins and their versions, etc. that was used to create wonder 7, or any 
> version you like.
> 
> https://github.com/gitgb/splitpom 
> 
> I will put in a pull request so the wonder pom.xml is split into a reusable 
> parent, and the non-reusable ….soon….

I am only starting to play with Maven, I am not anywhere near ‘Ninja’ status 
yet.
This looks like sorcery to me !

> 
> G Brown
> gsbr...@umich.edu 
> 
> 
> 
> 
> On Jan 4, 2017, at 7:34 AM, Mark Gowdy  > wrote:
> 
>> Hi, 
>> 
>> Finally moving everything over to Maven and Wonder 7
>> 
>> Can anyone confirm the Wonder Version that I should specify in the 
>> dependencies?
>> Is it always: 7.0.0-SNAPSHOT
>> 
>> Or are there updated versions.  If so, how do I find the latest version 
>> number?
>> 
>> Thanks,
>> 
>> Mark
>> _
>> Mark Gowdy
>> Gowdy Associates Ltd
>> M: +44 7808 400 941
>> Skype: markgowdy
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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/gsbrown%40umich.edu 
>> 
>> 
>> This email sent to gsbr...@umich.edu
> 

_
Mark Gowdy
Gowdy Associates Ltd
M: +44 7808 400 941
Skype: markgowdy




 ___
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: Maven + WOnder 7

2017-01-04 Thread G Brown
Mark,

I see on github many tags for different versions, but I think the 7.00-SNAPSHOT 
is the ever changing shifting current wonder version.

You may also want to  create a wonder parent

   wonder
   generic-woparent
   7.00-SNAPSHOT
./generic-woparent
 
As that will save you much typing, and you will have the exact jar versions, 
plugins and their versions, etc. that was used to create wonder 7, or any 
version you like.

https://github.com/gitgb/splitpom

I will put in a pull request so the wonder pom.xml is split into a reusable 
parent, and the non-reusable ….soon….

G Brown
gsbr...@umich.edu




On Jan 4, 2017, at 7:34 AM, Mark Gowdy  wrote:

> Hi, 
> 
> Finally moving everything over to Maven and Wonder 7
> 
> Can anyone confirm the Wonder Version that I should specify in the 
> dependencies?
> Is it always: 7.0.0-SNAPSHOT
> 
> Or are there updated versions.  If so, how do I find the latest version 
> number?
> 
> Thanks,
> 
> Mark
> _
> Mark Gowdy
> Gowdy Associates Ltd
> M: +44 7808 400 941
> Skype: markgowdy
> 
> 
> 
> 
> 
> ___
> 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/gsbrown%40umich.edu
> 
> This email sent to gsbr...@umich.edu

 ___
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


Maven + WOnder 7

2017-01-04 Thread Mark Gowdy
Hi, 

Finally moving everything over to Maven and Wonder 7

Can anyone confirm the Wonder Version that I should specify in the dependencies?
Is it always: 7.0.0-SNAPSHOT

Or are there updated versions.  If so, how do I find the latest version number?

Thanks,

Mark
_
Mark Gowdy
Gowdy Associates Ltd
M: +44 7808 400 941
Skype: markgowdy





 ___
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