public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Q's: Java 'servlet' virtual? Java IDE use flags?
@ 2003-06-15 21:31 D. Tuinstra
  2003-06-17  9:42 ` Dylan Carlson
  0 siblings, 1 reply; 3+ messages in thread
From: D. Tuinstra @ 2003-06-15 21:31 UTC (permalink / raw
  To: gentoo-dev

I'm beginning to install and evaluate various Java frameworks, IDEs,
and plugins, and would like to write ebuilds for them. Some
questions arise:

1) Should there be a virtual for servlet containers? At present
there are several containers available including tomcat, jetty, and
jboss (and that's just open source). I've only worked with tomcat,
but some of the references I've read say that each servlet
container has its own directory structure and its own way to
install servlet-based webapps. When writing an ebuild for a webapp
it would be nice to know, in a standard way, whether a container is
available and if so, which. 

    It would be even nicer if there was an eclass or portage
function for webapp install that would DTRT with whatever container
was installed, or if there were functions such as dowar_jetty(),
dowar_tomcat3(), dowar_tomcat4(), etc. Or should this functionality
be put in a utility, say java_servlet_config, modelled on
java_config, for ebuilds to use?)

2) Related question: what should the default container dependency be
if none is installed? Tomcat?

3) Some Java tools, such as Struts Console, can be installed
standalone or as a plugin to one or more Java IDE's. Should there
be a USE variable for each of the IDE's, that an ebuild can consult
to see which IDE's it should install itself into? If so, how would
version dependency/compatability issues be handled? 

    If such flags are used, there should also be a
"java_tool_standalone" flag to indicate installation as a
standalone tool when possible. (Apropos this matter, Oracle just
introduced a proposal into the JCP to standardise plugin
architecture across IDEs.)

Thanks,

  --Dwight Tuinstra



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-17 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-15 21:31 [gentoo-dev] Q's: Java 'servlet' virtual? Java IDE use flags? D. Tuinstra
2003-06-17  9:42 ` Dylan Carlson
2003-06-17 16:21   ` [gentoo-dev] " D. Tuinstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox