Re: Organization of Objects in Eclipse....
Re: Organization of Objects in Eclipse....
- Subject: Re: Organization of Objects in Eclipse....
- From: Geoff Hopson <email@hidden>
- Date: Sun, 29 Feb 2004 18:09:55 +0000
I also filter out the .api files from the navigator view - helps
declutter a bit.
I'm also drifting completely away from the traditional WO layout as
well...I tend to create a folder called 'components', and then organise
my WOComponents inside there - eg reusable comonents in
'components/reusable', admin components in 'components/admin' etc. You
get the picture. The source goes in packages, as Chuck says, and "it
just works". It's a bit disjointed in the Finder view, but in Eclipse
it's fine (and clean), and that's where I develop.
YMMV...
Geoff
On 29 Feb 2004, at 17:54, Chuck Hill wrote:
> I use sub-projects to organize components and packages to organize
> classes.
> When you create a new component in a sub-project it will create a new
> source folder for it. I drag the class from this, drop it in the
> package I
> want, and then delete the now empty source folder. Or you can leave it
> like that if you prefer.
>
>
> Chuck
>
>
> At 11:04 AM 29/02/2004 -0600, James Cicenia wrote:
>> Hello -
>>
>> I am using Eclipse and am very happy with it for my development of
>> my project. But now that I am knee deep in objects, eo classes, base
>> classes,
>> and pages I was wondering how the pros organize their project.
>>
>> As an example I have a page with 4 graphs on it. We will call this
>> page
>> Dashboard which of course is a component. This component will then
>> nest 4 graph components which will nest the graph and the pull down to
>> select a type of graph.
>>
>> So suddenly I have in one directory:
>>
>> Dashboard
>>
>> DashboardQ1
>> DashboardGraphQ1
>> DashboardPullDownQ1
>> *4 components =
>>
>> 13 components + 13 java classes = 26 files + the .api files = 38 Files
>> all in my src directory! An absolute explosion!
>>
>> Should I create another directory under src called dashboard and
>> put everything in there? Will this cause any unforeseen problems
>> down the road?
>>
>> Finally should the graphing logic be in the parent object Dashboard
>> or in each individual quadrant object, i.e. DashboardQ1?
>>
>> Now mind you I will have about 8 pages like this.
>>
>> Thanks again for all the wisdom and help I have received from this
>> list.
>>
>> Yours,
>> James Cicenia
>>
>> _______________________________________________
>> WebObjects-dev mailing list
>> email@hidden
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>
>
> --
>
> Chuck Hill email@hidden
> Global Village Consulting Inc.
> http://www.global-village.net
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
>
>
--
Geoff Hopson
Work: http://www.aniteps.com/
Home: http://objectology.co.uk/weblog/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.