Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58670 - "jikes" and "doc" use flags for Tomcat (again)
Summary: "jikes" and "doc" use flags for Tomcat (again)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thomas Matthijs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-28 09:25 UTC by Luca Santarelli
Modified: 2004-07-29 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Santarelli 2004-07-28 09:25:29 UTC
Hi,

I have just done an emerge world and Tomcat 5.0.27 has replaced 5.0.18 in x86. Unfortunately I see that the use of jikes and doc use flags has been somehow removed.

Could you please put it back?
You can find further details in the previous bug (42715) where the issue was introduces and a patch for 5.0.18 ebuild was provided.

Thank you

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-28 10:11:11 UTC
i think you mean 42175.
And sorry i missed those

i added doc back
and added the jikes confs to the files commented
the jikes useflag is for when you want to package itself to compile w/ jikes, i don't think its a good idea to have use flags for default configuration changes

if you have any more comments please let me know
Comment 2 Luca Santarelli 2004-07-28 12:24:16 UTC
Yeah, my fingers permutated the numbers, sorry :)
I still haven't checked out your changes (gonna do it at next emerge sync), but I disagree with the jikes thing.

Java has that nice motto "compile once, run everywhere". The classes produced by jikes are just like the same of the ones javac would produce, so I do not understand the need to recompile Java sources when emerging a Java package. There are very few exceptions to this rule (namely: HSQLDB). If there's no need to recompile, I fail to see the importance of limiting the "jikes" USE flag to installation-time only.

For this reason, I would "extend" the meaning of that flag to runtime use (as both Tomcat and Eclipse should/could).

(almost) Every other USE flag for a C/C++ program has the meaning "compile me with support for XXX" plus "let XXX use me when it runs", why shouldn't jikes be the same? :)
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-28 15:32:11 UTC
ok you convinced me ;-)

added

please let me know if it works for you
Comment 4 Luca Santarelli 2004-07-29 11:17:41 UTC
It works like a charm. :)
No docs, jikes compiles jsp pages. Now I only need to understand if it's possible to have an ebuild which installs JSTL on tomcat (without the need to reinstall them every time tomcat is updated. Now that Tomcat has been slotted, it may be easier)

Thanks.
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-29 12:02:52 UTC
never used JSTL myself, if you file a bug i'll look into it
(assign it to me)