Sharing a Model using Eclipse
Sharing a Model using Eclipse
- Subject: Sharing a Model using Eclipse
- From: David Griffith <email@hidden>
- Date: Thu, 29 Oct 2009 00:42:06 +0100
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