Change line 5 of build.properties to er.corebl.ERCoreBL and see if that fixes 
it. Looks like the package name is wrong. If that fixes it, submit a pull 
request and I’ll apply it. It looks like I have a couple pull requests I need 
to accept already.

Also, if you subclass ERUser, you should not need to call that 
addPreferenceRelationshipToActorEntity method. The preferences relationship is 
already modeled if you do. 

There’s also a rule to set to use your custom subclassed user entity:

100 : *true* => userEntity = “MyUserEntityName" 
[com.webobjects.directtoweb.EntityAssignment]



On Feb 25, 2014, at 2:05 PM, Nilton Lessa <[email protected]> wrote:

> Ramsey,
> 
> is there any known reason for ERCoreBl not being properly initialized? No 
> runtime errors but it seems the finishInitialization method is never called.
> 
> I had ERCoreBussinessLogic running in this project and I made the obvious 
> code refactoring to adapt to ERCoreBL. 
> In didFinishLaunching() - Application class, for example:
> ERCoreBL.sharedInstance().addPreferenceRelationshipToActorEntity(PessoaFisica.ENTITY_NAME);
> 
> Anything am I missing?
> 
> Bests!
> 
> Nilton
> On 25/02/2014, at 00:07, Nilton Lessa <[email protected]> wrote:
> 
>> Hi Ramsey,
>> Thank you very much for the instructions.
>> 
>> Bests!
>> 
>> Nilton
>> 
>> Enviado via iPad
>> 
>>> Em 24/02/2014, às 21:48, Ramsey Gurley <[email protected]> escreveu:
>>> 
>>> Hi Nilton,
>>> 
>>> The presentation I gave at last year's WOWODC was on ponder, but I 
>>> basically just detailed what features were available in the frameworks. I 
>>> haven't done any sort of walk through or documentation on it beyond the 
>>> example apps in the repository.
>>> 
>>> A basic getting started would be, 
>>> 
>>> 1. Clone ponder using eGit
>>> 2. Import ponder frameworks into workspace
>>> 3. Copy '$repo/ponder/* Application Template' directories into 
>>> ~/Library/Application Support/WOLips/Project Templates/
>>> 3. Eclipse->File->New->Other->WOLips->WOProject from Template, click Next> 
>>> Select R2D2W Application, etc
>>> 4. Add Login and Logout to your Navigation.plist root children.
>>> 5. Set up your javamail properly in the Properties file
>>> 
>>> That would give you a basic D2W app with user management.
>>> 
>>> And for frameworks,
>>> 
>>> 1. Create standard wonder framework in Eclipse
>>> 2. Copy $repo/ponder/ERR2D2W/Support/EOGenerator directory into 
>>> ~/Library/Application Support/WOLips/ ( I think that's the right 
>>> directory... I don't have the WOLips source in front of me)
>>> 3. Copy $repo/ponder/ERR2D2W/Support/Templates directory into your 
>>> framework's root directory. You can do this in Eclipse.
>>> 4. Using WOLips, create your model, open your .eogen file and set the field 
>>> Templates Folder: to Templates. I also recommend setting a Superclass 
>>> Package: to something like eogen, gen, base, whatever. Just any package to 
>>> keep your _Entity files separate from your Entity files.
>>> 5. Configure build path and add whatever ponder frameworks you'd like to 
>>> access in your own framework.
>>> 6. Create a proper ERXFrameworkPrincipal subclass.
>>> 7. Eclipse->File->New->Other->WOLips->WOProject from Template, click Next> 
>>> Select Test Application Template, etc. This will set up a unit test project 
>>> for your new framework that basically works the same way as ERXTest. Once 
>>> you have one unit test project, you can add other frameworks to it. You 
>>> don't need more than one unless you just want more.
>>> 
>>> That's off the top of my head, so forgive me if it's missing some steps. If 
>>> you have any questions, feel free to ask on list. :-)
>>> 
>>> Ramsey
>>> 
>>>> On Feb 24, 2014, at 5:17 PM, Nilton Lessa wrote:
>>>> 
>>>> Hi Ramsey,
>>>> 
>>>> Is there any docs, podcast, etc, around how to use the ponder frameworks? 
>>>> It really seems it's great stuff!
>>>> 
>>>> Bests!
>>>> 
>>>> Nilton
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/nlessa%40moleque.com.br
>> 
>> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to