Re: Custom Frameworks - duplicate classes
Re: Custom Frameworks - duplicate classes
- Subject: Re: Custom Frameworks - duplicate classes
- From: David Sargent <email@hidden>
- Date: Wed, 11 Feb 2004 19:49:06 -0700
I have seen this when I forgot to add a package statement on one of my
java classes (or pasted the wrong package name) and reference it from
that java class. Make sure each class has the correct package
statement. Just a suggestion. IF I understand what your doing here, I
do something very similar and it works fine.
David
On Feb 11, 2004, at 11:55 AM, Jevon Hills wrote:
I'm attempting to separate some reusable logic into an authentication
framework. On its own this framework does work. It authenticates a
login and then fetches several entities where the user may have
permissions and stores them in the session. Of the entities is called
Console. On a console a user can have 0 or more permissions assigned
them.
I would like to use this framework all of my applications. The first
application I'm trying integration into is set up as follows. I have
created a framework which contains the EOModel and entities which will
be used by the main reporting application. This framework my have
some logic added (only as it applies to entities). My Reporting
application includes these 2 frameworks (login-framework and
EOF-framework). the issue I have is that both of the frameworks have
a common class Console. I need access to console in both frameworks
(for permissions, and reporting). in each of these frameworks I added
a package statement at the top of all java classes. The
login-framework is
com.zymeta.login;
and the EOF-framework
com.zymeta.ALVADao;
When I tried to build my reporting application which contained both
frameworks I got a class conflict error regarding console. I assumed
since it is in different packages it should be ok, but it wasn't.
I'm unsure of how to design my frameworks/EOModels to meet my needs.
has any one else done this or something similar? Any thoughts
tia
ttfn
Jevon K. Hills
Developer - Zymeta Media Promotions
_______________________________________________
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.
_______________________________________________
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.