Mailing List webobjects-dev@wocommunity.org Message #134
From: Ramsey Gurley <webobjects-dev@wocommunity.org>
Subject: Re: [WO-DEV] Source for the deployed archetypes on maven.wocommunity.org?
Date: Thu, 8 Apr 2021 00:08:20 +0000
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
I bet you need to talk to Henrique :)

I've been looking into making some new archetypes for a basic woapp and framework.  Some observations,

Adding the wocommunity repos in the pom.xml <repositories> and <pluginRepositories> allows me to build a woproject in maven successfully without any additional magic, which is great. This is almost to the point where to do WO Dev, all you need is eclipse, install wolips, and then create a new maven project with the archetype. Three easy steps.

The only snag I've found so far is the EOModel creation wizard in WOLips. The Adaptor: and PlugIn: popup menus are empty and trying to click finish produces an index out of bound exception instead of a new model. It's easy to work around this by creating a plist file like,

proj/Resources/myNewModel.eomodeld/index.eomodeld

with a contents of

{
EOModelVersion = "2.1";
adaptorName = JDBC;
connectionDictionary = {};
userInfo = {};
}

That's enough to get it to open in EOModeler, but it would be nicer if the wizard worked without a WORoot configured. Realistically, nobody is going to use anything other than adaptorName=JDBC anyway, but the wizard could use a hard coded default list (JDBC,LDAP) if WORoot is empty. Nobody is making new adaptors.

On Apr 8, 2021, at 6:51 AM, Hugi Thordarson <webobjects-dev@wocommunity.org> wrote:

Hi all,
does anyone know where the sources for the currently deployed maven archetypes (2.2-SNAPSHOT) on maven.wocommunity.org are? 
The WOCommunity WOLips repo has sources (https://github.com/wocommunity/wolips/tree/master/maven2/archetypes) but these seem, well, ancient.

Cheers,
- hugi


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.
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster