Re: Sharing a Model using Eclipse
Re: Sharing a Model using Eclipse
- Subject: Re: Sharing a Model using Eclipse
- From: David Griffith <email@hidden>
- Date: Thu, 29 Oct 2009 01:00:38 +0100
- Resent-date: Thu, 29 Oct 2009 02:21:07 +0100
- Resent-from: David Griffith <email@hidden>
- Resent-message-id: <email@hidden>
- Resent-to: WebObjects-Dev Mailing List List <email@hidden>
Hi Chuck,
It was that very tutorial which I was following before I typed the
email, thanks. I just wasn't too sure how to handle the model in the
same situation. I guess I'll have a go as I was intending to below
and see how it works out :-)
David, thanks for your comments too, I'll have a look and see if it
will be easier to modify the classes myself or let WOLips recreate
them and then add in the custom code.
Cheers,
David.
p.s. At least now I know how to add the frameworks properly... It's a
little different from what I'm used to with XCode but so far Eclipse
looks fantastic.
On Oct 29, 2009, at 12:51 AM, Chuck Hill wrote:
These should answer your questions:
http://wiki.objectstyle.org/confluence/display/WOL/Create+a+WebObjects+Framework
http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework+Dependency
Chuck
On Oct 28, 2009, at 4:42 PM, David Griffith wrote:
Hi all,
I am slowly getting to grips with Eclipse/WOLips but I am struggling
to import some existing apps that I have which were built in XCode.
My problem is this, and it's probably very simple, but I'd
appreciate any help:
I have 3 apps that all use the same EOModel and associated java
classes. Each app has it's own project and it's own folder which
contains all the relevant parts of the app with the exception of the
shared files (i.e. EOModel and associated java classes). These are
stored in a separate folder and were being referenced by each of the
app projects in XCode. Therefore I had one instance of those files
which was modified while working on any of the three apps, the
changes therefore applying to each app once it was rebuilt.
I realise that I should probably have made a framework for this
instead but at the time I was still learning and didn't go down that
route.
What I need to know is, using Eclipse and WOLips, I obviously want
to have the same solution. Do I have to create a framework to do
this or can I do something similar with WOLips? If I have to create
a framework, how should I go about it? Add the EOModel to the
resources folder of the framework, add all the classes to a custom-
named package within the framework and change the Class definitions
in the EOModel to contain the full package name instead of just the
class name?
Also, I've been looking at some of the online tutorials etc. but
they seem to be based on older version of Eclipse and WOLips. To
add frameworks (like Wonder etc.) to my own WO App or Framework, do
I just drop them on Referenced Libraries?
Thanks for any help,
Regards,
David.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden