Re: Starting with Maven

2017-05-26 Thread Paul Hoadley
Hi Ted,

On 26 May 2017, at 11:29 pm, Theodore Petrosky  wrote:

> Before I get into my individual problems, is there another document I could 
> read that would help me? Or another tutorial?

I think the short answer is no. There’s certainly nothing that’s going to hold 
your hand step by step. So you may as well just jump right in to your specific 
problems—post them here.


-- 
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: java 8 date

2017-05-26 Thread Paul Hoadley
Hi Ted,

On 27 May 2017, at 3:28 pm, Theodore Petrosky  wrote:

> I see in Entity Modeler when I am using the postgresql prototypes there are 
> selections for JavaLocalDate, JavaLocalDateTime. However if I attempt to use 
> them, I am unable to generate migrations
> 
> what is see in the migrations is:
> FIX // Unable to create a migration for permitDate (Java Class Name: 
> java.time.LocalDate) with the factoryMethodArgumentType 
> EOFactoryMethodArgumentIsDate
> 
> What can I do to help? I would like to use the JavaLocalDate and do my date 
> math in Java, but I am a bit lost.

The problem is that buried in Entity Modeler somewhere is some mechanism (is it 
a Velocity template?) for generating the initial migration that pre-dates these 
types, and so simply doesn’t know about them. Just create a line in the 
migration to call the appropriate method yourself, e.g.:

someTable.newDateColumn("permitDate", false);


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

Starting with Maven

2017-05-26 Thread Theodore Petrosky
I am biting the bullet and starting with Maven. I am on Sierra, with Eclipse 
Neon.3 and the current Wonder source installed.

I am following the minimalistic tutorial on the Build and Deployment podcast 
from April 2014 WOWODC. There is a second section with Henrique Prange on 
converting projects to Maven.

I created the settings.xml and added the text from:
https://wiki.wocommunity.org/display/WOL/Quick+Start+Maven+Settings+Configuration+Guide
 


Before I get into my individual problems, is there another document I could 
read that would help me? Or another tutorial?

BTW, a new wonder application (hello world) seems to work beautifully. I start 
getting into problems when I try a D2W app with a framework.

Help please.

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