Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37922 - tomcat-5.0.16 (new ebuild)
Summary: tomcat-5.0.16 (new ebuild)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 18352 37702 37924 37925 37927 37930 37931 37932 37934 37935
Blocks:
  Show dependency tree
 
Reported: 2004-01-11 17:33 UTC by Greg Bowyer
Modified: 2004-05-28 05:32 UTC (History)
0 users

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


Attachments
Ebuild for tomcat5 (tomcat-5.0.16.ebuild,8.72 KB, text/plain)
2004-01-11 17:33 UTC, Greg Bowyer
Details
Da Changelog updated (ChangeLog,3.59 KB, text/plain)
2004-01-11 17:34 UTC, Greg Bowyer
Details
Fixes some minor build stopping issues (tomcat-5.0.16-fix-build.patch,2.25 KB, patch)
2004-01-11 17:34 UTC, Greg Bowyer
Details | Diff
Essentially the same as the gentoo patch for previous tomcats (tomcat-5.0.16-init.patch,1.53 KB, patch)
2004-01-11 17:35 UTC, Greg Bowyer
Details | Diff
My Ebuild for struts (struts-1.1.ebuild,1.44 KB, text/plain)
2004-01-11 18:44 UTC, Greg Bowyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Bowyer 2004-01-11 17:33:16 UTC
This builds tomcat5 from source then installs it.
There may be bugs there may be syntax errors, at present jsvc needs to be made to with tomcat and its build process improved (slightly) to reduce unecessary rebuilding of servletapi-2.4
It also changes the tomcat users hsell from /bin/bash to /bin/false ... I have noticed no side effects from this 

TYhis build requires others beware!

Reproducible: Always
Steps to Reproduce:
Comment 1 Greg Bowyer 2004-01-11 17:33:51 UTC
Created attachment 23624 [details]
Ebuild for tomcat5
Comment 2 Greg Bowyer 2004-01-11 17:34:09 UTC
Created attachment 23625 [details]
Da Changelog updated
Comment 3 Greg Bowyer 2004-01-11 17:34:41 UTC
Created attachment 23626 [details, diff]
Fixes some minor build stopping issues
Comment 4 Greg Bowyer 2004-01-11 17:35:06 UTC
Created attachment 23627 [details, diff]
Essentially the same as the gentoo patch for previous tomcats
Comment 5 Greg Bowyer 2004-01-11 18:44:11 UTC
Created attachment 23652 [details]
My Ebuild for struts

There is already an ebuiild for struts, it works just need to check that
tomcat5 build and the bugzilla struts play ball for now here is the one i used
Comment 6 Andre Lammel 2004-01-22 18:46:19 UTC
there is one important thing about part of the the patch i did 
to setclasspath.sh:

JAVA_ENDORSED_DIRS="${JAVA_HOME}/lib:${BASEDIR}/common/endorsed"

without adding "${JAVA_HOME}/lib" to JAVA_ENDORSED_DIRS the fol-
lowing testpage will not work due to an compiler error, which is
actually NOT an compiler error but missing some classes from 
"tools.jar", which is located at ${JAVA_HOME}/lib:

http://localhost:8080/jsp-examples/jsp2/misc/config.jsp

perhaps you find a better solution...

andre
Comment 7 Greg Bowyer 2004-01-23 11:08:27 UTC
I am seein g this back at me 

JSP 2.0 Examples - JSP Configuration

Using a <jsp-property-group> element in the web.xml deployment descriptor, this JSP page has been configured in the following ways:

    * Uses <include-prelude> to include the top banner.
    * Uses <include-coda> to include the bottom banner.
    * Uses <scripting-invalid> true to disable <% scripting %> elements
    * Uses <el-ignored> true to disable ${EL} elements
    * Uses <page-encoding> ISO-8859-1 to set the page encoding (though this is the default anyway)

There are various other configuration options that can be used.
This banner included with <include-coda> 

I am assuming this is correct behaviour which give me a pause for thought as the patch or change that was suggested by andre seem to have no impact or bearing on my configuration,

However if it remains to be a poroblem foir others then I will happly change the patch, nice to know people are testing this monster out 
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-17 09:40:52 UTC
You may want to investigate java-pkg_jar-from in the java-pkg eclass instead
of find_pck. 

However, it does not currently add to build.properties, it merely symlinks the jar files into the current dir:

# cd lib/ ; java-pkg_jar-from commons-cli || die "Failed to find commons-cli"
Comment 9 Greg Bowyer 2004-05-21 19:39:56 UTC
I think I may have investigated that option, I might try re-writing this build over the next week or so as its a bit of a monster (and can probably be much improved upon)

... also I am sure that tomcat 5 has gone through a few new versions so it probably needs a bump

However the other build services this so I am left wondering, does this build need updating or retireing (I initally built it as i needed tomcat 5 outright and to scratch a personal itch to see how easy it was to build from source)
Comment 10 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-28 05:32:09 UTC
I guess an update is sufficient. However, I would urge you to submit a fresh
ebuild request, as the upstream authors have updated tomcat to 5.0.25 by now.

I'm closing this as WONTFIX, for lack of a SUPERCEDEDBYTOBESUBMITTEDEBUILD;)