Summary: | dev-java/cocoon uses packed jars | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Matthijs (RETIRED) <axxo> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 94701, 161951, 216791, 216803, 216806, 216810, 216823, 216825, 216826, 216828, 217270, 217273, 217275, 217285, 217288, 217436, 217488 | ||
Bug Blocks: | 69972 | ||
Attachments: |
First attempt of unbundeling as many as possible JAR files
Only 38 unresolved bundled jar files Resolved jsp-api.jar using dev-java/servletapi Blocks no longer deactivated Compiler message with dev-java/bcel Diff content of bcel.jar |
Description
Thomas Matthijs (RETIRED)
2004-09-08 08:23:50 UTC
Created attachment 149108 [details]
First attempt of unbundeling as many as possible JAR files
Starting from the stable release of Cocoon-2.1.10 I've tried to unbundle as many as possible bundeled jars. To keep it simple for the beginning, I completely disabeled all "blocks" and dismissed them without replacements. So, the result will give a very basic cocoon.
Those files that could not successfully be replaced were kept as bundeles and are listed here:
/work/cocoon-2.1.10/lib/core/avalon-framework-api-4.3.jar
/work/cocoon-2.1.10/lib/core/avalon-framework-impl-4.3.jar
/work/cocoon-2.1.10/lib/core/excalibur-i18n-1.1.jar
/work/cocoon-2.1.10/lib/core/excalibur-naming-1.0.jar
/work/cocoon-2.1.10/lib/core/excalibur-pool-instrumented-2.1.jar
/work/cocoon-2.1.10/lib/core/excalibur-sourceresolve-2.1.jar
/work/cocoon-2.1.10/lib/core/excalibur-store-2.1.jar
/work/cocoon-2.1.10/lib/core/excalibur-xmlutil-2.1.jar
/work/cocoon-2.1.10/lib/core/javacApi-0.9.jar
/work/cocoon-2.1.10/lib/core/javacImpl-0.9.jar
/work/cocoon-2.1.10/lib/core/jdtcore-3.0.2.jar
/work/cocoon-2.1.10/lib/core/js-1.6R5.jar
/work/cocoon-2.1.10/lib/endorsed/xalan-2.7.0.jar
/work/cocoon-2.1.10/tools/instrumentation/lib/excalibur-instrument-client-2.1.jar
/work/cocoon-2.1.10/tools/jetty/lib/jetty-4.2.23.jar
/work/cocoon-2.1.10/tools/jetty/lib/servlet-2.3.jar
Building cocoon works fine with zero errors and 11 warnings.
(In reply to comment #1) > /work/cocoon-2.1.10/lib/core/js-1.6R5.jar dev-java/rhino:1.6 most likely > /work/cocoon-2.1.10/lib/endorsed/xalan-2.7.0.jar dev-java/xalan > /work/cocoon-2.1.10/tools/jetty/lib/servlet-2.3.jar java-virtuals/servlet-api So the lisst of unresolved bundles is trimmed down to: Bug 216803 lib/core/avalon-framework-api-4.3.jar Bug 216803 lib/core/avalon-framework-impl-4.3.jar Bug 176099 lib/core/excalibur-i18n-1.1.jar Bug 216810 lib/core/excalibur-naming-1.0.jar Bug 161940 lib/core/excalibur-pool-instrumented-2.1.jar Bug 163936 lib/core/excalibur-sourceresolve-2.1.jar Bug 216826 lib/core/excalibur-store-2.1.jar Bug 216828 lib/core/excalibur-xmlutil-2.1.jar Bug ?216828? lib/core/javacApi-0.9.jar Bug 216791 lib/core/javacImpl-0.9.jar Still trying lib/core/jdtcore-3.0.2.jar Troubles lib/endorsed/xalan-2.7.0.jar Bug ?161940? tools/instrumentation/lib/excalibur-instrument-client-2.1.jar Still trying tools/jetty/lib/jetty-4.2.23.jar Xalan makes some trouble on compilation and I am still trying with large dependencies of jetty and jdtcore. More unresolved bundle jar files from /lib/optional: chaperon-20040205.jar cocoon-serializers-charsets-0.2.jar daisy-htmlcleaner-1.4.1.jar daisy-util-1.4.1.jar db-ojb-1.0.4.jar deli-x050330.jar dojo-rsrc-20060614.jar excalibur-datasource-2.1.jar geronimo-spec-activation-1.0.2-rc4.jar geronimo-spec-javamail-1.3.1-rc5.jar geronimo-spec-jms-1.1-rc3.jar geronimo-spec-jta-1.0.1B-rc3.jar jackrabbit-core-1.0.1.jar arta-slide-webdavlib.jar jdbi-1.3.1.jar jena-2.1.jar joost-20040330.jar jsp-api-2.0.jar myfaces-api-r233484.jar myfaces-impl-r233484.jar nekodtd-0.1.11.jar pizza-1.1.jar pluto-1.0.1.jar portals-bridges-common-1.0.jar portlet-api-1.0.jar quartz-1.5.2.jar slide-kernel-2.1.jar slide-stores-2.1.jar slide-webdavservlet-2.1.jar spark-0.2.jar wsrp4j-consumer-0.3-dev.jar wsrp4j-shared-0.3-dev.jar xindice-1.1b4.jar xmldb-common-20030701.jar xmldb-xupdate-20040205.jar xreporter-expression-r683.jar Created attachment 149430 [details]
Only 38 unresolved bundled jar files
We're getting closer. Using some ebuilds from the overlay there are now only 38 unresolved bundled jar files.
avalon-framework-api-4.3.jar
avalon-framework-impl-4.3.jar
excalibur-xmlutil-2.1.jar
excalibur-naming-1.0.jar
excalibur-sourceresolve-2.1.jar
excalibur-store-2.1.jar
javacApi-0.9.jar
javacImpl-0.9.jar
chaperon-20040205.jar
cocoon-serializers-charsets-0.2.jar
daisy-htmlcleaner-1.4.1.jar
daisy-util-1.4.1.jar
db-ojb-1.0.4.jar
deli-x050330.jar
dojo-rsrc-20060614.jar
excalibur-datasource-2.1.jar
jackrabbit-core-1.0.1.jar
jdbi-1.3.1.jar
jena-2.1.jar
joost-20040330.jar
jsp-api-2.0.jar
myfaces-impl-r233484.jar
nekodtd-0.1.11.jar
pizza-1.1.jar
pluto-1.0.1.jar
portals-bridges-common-1.0.jar
quartz-1.5.2.jar
slide-kernel-2.1.jar
slide-stores-2.1.jar
slide-webdavservlet-2.1.jar
spark-0.2.jar
wsrp4j-consumer-0.3-dev.jar
wsrp4j-shared-0.3-dev.jar
xindice-1.1b4.jar
xmldb-xupdate-20040205.jar
xreporter-expression-r683.jar
excalibur-instrument-client-2.1.jar
jetty-4.2.23.jar
(In reply to comment #5) > jsp-api-2.0.jar servlet-api:2.4 > xindice-1.1b4.jar dev-db/xindice > xmldb-xupdate-20040205.jar dev-java/xmldb? (In reply to comment #6) > > jsp-api-2.0.jar > > servlet-api:2.4 > Done > > xindice-1.1b4.jar > > dev-db/xindice > > > xmldb-xupdate-20040205.jar > > dev-java/xmldb? > How to use with "java-pkg_jar-from"? /opt/xindice/java/lib/xindice.jar /opt/xindice/java/lib/xmldb-xupdate.jar /opt/xindice/java/lib/xmldb.jar Created attachment 149468 [details]
Resolved jsp-api.jar using dev-java/servletapi
Created attachment 149504 [details]
Blocks no longer deactivated
Returned to standard setting (not using "local.blocks.properties")
Created attachment 149540 [details]
Compiler message with dev-java/bcel
Need help with rewriting classpath.
Created attachment 149542 [details]
Diff content of bcel.jar
Comparing jakarta-bcel-20040329.jar from Cocoon and bcel.jar from portage I find these differences.
From http://cocoon.apache.org//3.0/ Apache Cocoon 3 is a major rewrite of Cocoon 2.2. Like Cocoon 2 it is based around the concept of pipelines and sitemaps and it is very similar to Cocoon 2.2 in many respects but is slimmed down and designed to be easily used with Java code (= no frameworks required!). On top of this, Cocoon 3 has the goal of becoming the best available platform for RESTful webservices and web applications. Sounds like more dependencies isn't seen as a feature anymore. Anyone interested to work on this? This has been last-rited. Closing. |