Development setup for Mac OS X Sierra

2016-10-31 Thread Stavros Panidis
Hi Tim,

My troubles started with installation of Java.

I installed Java by downloading and running jre-8u66-macosx-x64.dmg from Oracle.

Everything went OK and Java icon was present in System preferences. Also 
running utility from Oracle confirmed the Java version.

But if I asked java version from Terminal I got the message ‘No jre exists or 
something like that

Then I downloaded current version of Eclipse where when I tried to run it says 
that requires the old version of Java (1.6)

Which if I install (I mean legacy Java 1.6) then Eclipse is no running asking 
for a newer version of Java.

So, basically my question is what I should do with Java.

Many thanks for your assistance

Stavros

> On 31 Oct 2016, at 19:58, T Worman  wrote:
> 
> Stavros,
> 
> I used roughly the same procedures as before to set up my dev environment in 
> Sierra.
> 
> 1. Use WOInstaller.jar to install WO frameworks. I install in /usr/local/wo 
> and I have ~/Library/wobuild.properties set appropriately.
> 2. I am using Eclipse 4.6.1.
> 3. I am using WOLips 
> (https://jenkins.wocommunity.org/job/WOLips46/lastSuccessfulBuild/artifact/temp/dist)
> 4. I have made a move toward using Docker for my local databases
> 5. I am using Direct Connect because Mike said it’s cool. :-)
> 
> I haven’t had any problems with this. But, if I were gonna go back to running 
> apache locally, I’d probably also do that in Docker vm instance. If so, you 
> will need to make config changes to apache, install/configure apache 2.4 
> adaptor, etc., or configure mod_proxy. 
> 
> 6. I keep WebObjects.properties in ~/
> 7. Clone wonder repository from GitHub, run compile/install
> 
> I may be missing something little here/there but generally these are the 
> broad steps I employ.
> 
> Tim
> UCLA GSE
> 
>> On Oct 30, 2016, at 12:50 AM, Stavros Panidis  
>> wrote:
>> 
>> Hello all,
>> 
>> are there any instructions on how to setup a development environment on Mac 
>> OS X Sierra? 
>> 
>> What is the recommended Java and consequently Eclipse version?
>> 
>> Are there any other know problems?
>> 
>> Many thanks in advance for your assistance
>> 
>> Stavros
>> ___
>> 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/lists%40thetimmy.com
>> 
>> This email sent to li...@thetimmy.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

Re: Development setup for Mac OS X Sierra

2016-10-31 Thread T Worman
Sorry, meant to say, “I am using WOLips 4.6."

> On Oct 31, 2016, at 10:58 AM, T Worman  wrote:
> 
> Stavros,
> 
> I used roughly the same procedures as before to set up my dev environment in 
> Sierra.
> 
> 1. Use WOInstaller.jar to install WO frameworks. I install in /usr/local/wo 
> and I have ~/Library/wobuild.properties set appropriately.
> 2. I am using Eclipse 4.6.1.
> 3. I am using WOLips 
> (https://jenkins.wocommunity.org/job/WOLips46/lastSuccessfulBuild/artifact/temp/dist)
> 4. I have made a move toward using Docker for my local databases
> 5. I am using Direct Connect because Mike said it’s cool. :-)
> 
> I haven’t had any problems with this. But, if I were gonna go back to running 
> apache locally, I’d probably also do that in Docker vm instance. If so, you 
> will need to make config changes to apache, install/configure apache 2.4 
> adaptor, etc., or configure mod_proxy. 
> 
> 6. I keep WebObjects.properties in ~/
> 7. Clone wonder repository from GitHub, run compile/install
> 
> I may be missing something little here/there but generally these are the 
> broad steps I employ.
> 
> Tim
> UCLA GSE
> 
>> On Oct 30, 2016, at 12:50 AM, Stavros Panidis  
>> wrote:
>> 
>> Hello all,
>> 
>> are there any instructions on how to setup a development environment on Mac 
>> OS X Sierra? 
>> 
>> What is the recommended Java and consequently Eclipse version?
>> 
>> Are there any other know problems?
>> 
>> Many thanks in advance for your assistance
>> 
>> Stavros
>> ___
>> 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/lists%40thetimmy.com
>> 
>> This email sent to li...@thetimmy.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/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.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

Re: Development setup for Mac OS X Sierra

2016-10-31 Thread T Worman
Stavros,

I used roughly the same procedures as before to set up my dev environment in 
Sierra.

1. Use WOInstaller.jar to install WO frameworks. I install in /usr/local/wo and 
I have ~/Library/wobuild.properties set appropriately.
2. I am using Eclipse 4.6.1.
3. I am using WOLips 
(https://jenkins.wocommunity.org/job/WOLips46/lastSuccessfulBuild/artifact/temp/dist)
4. I have made a move toward using Docker for my local databases
5. I am using Direct Connect because Mike said it’s cool. :-)

I haven’t had any problems with this. But, if I were gonna go back to running 
apache locally, I’d probably also do that in Docker vm instance. If so, you 
will need to make config changes to apache, install/configure apache 2.4 
adaptor, etc., or configure mod_proxy. 

6. I keep WebObjects.properties in ~/
7. Clone wonder repository from GitHub, run compile/install

I may be missing something little here/there but generally these are the broad 
steps I employ.

Tim
UCLA GSE

> On Oct 30, 2016, at 12:50 AM, Stavros Panidis  
> wrote:
> 
> Hello all,
> 
> are there any instructions on how to setup a development environment on Mac 
> OS X Sierra? 
> 
> What is the recommended Java and consequently Eclipse version?
> 
> Are there any other know problems?
> 
> Many thanks in advance for your assistance
> 
> Stavros
> ___
> 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/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.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

Re: reverse engineered DB

2016-10-31 Thread Chuck Hill
I’d make a subclass of your editing context class, and override saveChanges() 
to do nothing.  Then install it with the ERXEC factory.

Chuck


From:  on behalf of 
Theodore Petrosky 
Date: Monday, October 31, 2016 at 8:25 AM
To: WebObjects-Dev 
Subject: reverse engineered DB

I am reverse engineering an Oracle DB to be able to read from it. I will not 
write!

I am of course afraid of this DB. it is not my product and it could be very 
hurt if something was written to it incorrectly.

Would you recommend checking the “Read Only”  check box in the Advanced tab in 
Entity Modeler for the Entities that I reverse engineer?
___
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/chill%40gevityinc.com

This email sent to ch...@gevityinc.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

Re: that pesky PK

2016-10-31 Thread Hugi Thordarson
You’re perfectly fine making anything a class property, as long as you don’t 
intend on changing it.

Regarding your first question (the read only property), I have never had EOF 
write something to the DB without me explicitly telling it to do so, so you 
should be fine there as well—but you can certainly tick that box and get an 
extra layer of protection.

Cheers,
- hugi



> On 31. okt. 2016, at 15:46, Theodore Petrosky  wrote:
> 
> OK, so this table (users) is utilizing the login as the primary key. Since I 
> am only going to read and I can not change the database, I am going to have 
> to make the primary key a class property. There is no other way is there?
> ___
> 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/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is


 ___
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

reverse engineered DB

2016-10-31 Thread Theodore Petrosky
I am reverse engineering an Oracle DB to be able to read from it. I will not 
write!

I am of course afraid of this DB. it is not my product and it could be very 
hurt if something was written to it incorrectly. 

Would you recommend checking the “Read Only”  check box in the Advanced tab in 
Entity Modeler for the Entities that I reverse engineer?
 ___
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: Using WOInject with an intermediate WOApplication subclass

2016-10-31 Thread Paul Hoadley
Proving once again that you can solve any problem on your own by staring at it 
hard enough...

On 28 Oct 2016, at 9:23 PM, Paul Hoadley  wrote:

> Is this kind of inheritance hierarchy just not supported by WOInject?

Of course it’s supported.

> That is, does Application itself have to extend InjectableApplication 
> directly?

No, it doesn’t.

(The issue was a stale POM entry causing Eclipse not to pick up on my change to 
the intermediate class (extending InjectableApplication) on launch. I’m still a 
Maven noob. Nothing to see here.)


-- 
Paul Hoadley
http://logicsquad.net/




 ___
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