Re: creating first framework
Re: creating first framework
- Subject: Re: creating first framework
- From: George Domurot <email@hidden>
- Date: Sun, 25 Sep 2011 15:42:47 -0700
Dump your EOModel file and EOGenerator templates into your framework, along with any other files you want to share across multiple applications (classes, web server resources, components, jars, etc.).
Your framework will compile and link against your app just as the other Wonder frameworks you're using.
Give it a try. I think you'll be surprised at how easy it falls into place.
-G
On Sep 25, 2011, at 3:17 PM, Theodore Petrosky wrote:
>
> 1. Create a new framework project
>
> ok
>
> 2. add the framework to the build path of your primary project.
>
> a framework doesn't need to be compiled? what about the references to the .eomodeld file
>
> the attributes class reference com.something.model.EOClass and what about the .eogen file?
>
> My goal is to create a framework that has only the eomodeld and eogen so I can create multiple apps that reference this one .eomodeld and only modify the one eomodeld file and the migrations in the framework.
>
>
> Ted
>
>
>
>
> --- On Sun, 9/25/11, George Domurot <email@hidden> wrote:
>
>> From: George Domurot <email@hidden>
>> Subject: Re: creating first framework
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: email@hidden
>> Date: Sunday, September 25, 2011, 11:29 AM
>> Hi Ted,
>>
>> Frameworks are pretty straight forward. Create a new
>> framework project, then add the framework to the build path
>> of your primary project.
>>
>> Then try a test. Add a class to your framework and
>> use it in your project.
>>
>> -G
>>
>> On Sep 25, 2011, at 8:15 AM, Theodore Petrosky wrote:
>>
>>> I have a Wonder project that is growing.
>>>
>>> I want to create a framework that includes the
>> migrations and EOModel. Problem is I have never created a
>> framework and I don't understand the process.
>>>
>>> I checked the examples and as best I could the
>> multitude of tutorials that exist to no avail.
>>>
>>> I don't know where to start.
>>>
>>> Ted
>>> _______________________________________________
>>> 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
>>
>>
_______________________________________________
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