Hi Richard,

On Fri, Dec 26, 2008 at 5:49 AM, Richard Stephens <[email protected]> wrote:
> Hi
> How do I load a model from a referenced framework in a Jar project?

You can try something like this:

URL modelUrl = getClass().getResource("/Resources/YourModel.eomodeld");
                
EOModelGroup.defaultGroup().addModelWithPathURL(modelUrl);

Cheers,

Henrique

> --
> Regards, Richard Stephens Ph: 07 3136 3426 Mob: 0410 111 570 Email:
> [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:
> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to