Bug 110260 - [j2ee] J2EEVersionConstants should be split and made non internal
Summary: [j2ee] J2EEVersionConstants should be split and made non internal
Status: NEW
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chuck Bridgham CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 98577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-21 18:00 EDT by Justin Berstler CLA
Modified: 2006-10-30 10:28 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Berstler CLA 2005-09-21 18:00:11 EDT
One issue that has come up is that recently a class in the jst.jsp.core plugin
needed to provide a JSP version as part of (soon to be public) API.  However,
this particular plugin has no need (other than the JSP constants currently found
in J2EEVersionConstants) for the jst.j2ee.core plugin and currently does not
pre-req it.

In general, in order to keep the use of these J2EE version constants
standardized throughout WTP, while keeping plugin dependencies logical and
minimal, it would be adviseable to move the various constants found in
J2EEVersionConstants (soon to be made public according to Bug 98577) into their
various respective plugins - JSP/Taglib constants into jst.jsp.core, EJB
constants into jst.ejb, etc.  Otherwise either potentially non-standardized use
of version constants OR complicated and unnecessary plugin deps may result.
Comment 1 David Williams CLA 2005-09-21 18:20:35 EDT
I might agree with this specifc case, but in general, we need to be use care 
anytme we make thinkgs like "1.4" an API Constant. Seems little need for it, and
there is always the problem that it makes it harder to "catch up" with future
versions. 

I certainly agree with not having plugin dependancies for things like "1.4", 
that'd be even worse! :)

I'll look at details, eventually. Let us know if it critical for your use case. 

Thanks. 
Comment 2 Chuck Bridgham CLA 2005-09-27 11:06:59 EDT
The util and constants classes should be made API if clients are trying to
access them.
Comment 3 Chuck Bridgham CLA 2005-09-27 11:07:33 EDT
*** Bug 98577 has been marked as a duplicate of this bug. ***