Bug 900190 (JBPAPP6-1624) - Externalize bundled files in Jython Standalone
Summary: Externalize bundled files in Jython Standalone
Keywords:
Status: CLOSED WONTFIX
Alias: JBPAPP6-1624
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Build
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: EAP 6.1.0
Assignee: David Walluck
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On: JBPAPP6-1625 JBPAPP6-1627 JBPAPP6-1626
Blocks: 900474
TreeView+ depends on / blocked
 
Reported: 2012-04-11 17:32 UTC by David Walluck
Modified: 2014-06-28 12:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-28 20:54:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP6-1624 0 Minor Closed Externalize bundled files in Jython Standalone 2013-03-28 22:08:20 UTC

Description David Walluck 2012-04-11 17:32:10 UTC
project_key: JBPAPP6

Jython Standalone contains bundled files:

1.) Bundled classes
2.) Bundled renamed classes
3.) Bundled .py files

Comment 1 jjaggars 2012-04-11 21:20:31 UTC
Actually removing the /jni directory and (properly) creating a new jar seems to work. I didn't do an extensive test, but I think we may be able to remove the .so files.

Comment 2 David Walluck 2012-04-11 22:32:40 UTC
QE missed several jars because the packages have been renamed:

antlr-runtime-3.1.3.jar (renames org.antlr.runtime to org.python.antlr.runtime)

asm-3.1.jar (renames org.objectweb.asm to org.python.objectweb.asm)
asm-commons-3.1.jar
asm-util-3.1.jar

guava-r07.jar (renames com.google to org.python.google)

jaffl.jar

jffi-complete.jar (really wants separate jars, such as jffi-Darwin.jar, jffi-i386-FreeBSD.jar, etc.)

jnr-posix.jar

jnr-netdb-0.4.jar (renames org.jruby.ext.posix to org.python.posix; not included as it appears to be unused)

constantine.jar (renames com.kenai.constantine to org.python.constantine)

xercesImpl-2.9.1.jar (renames org.apache to org.python.apache)

jline-0.9.95-SNAPSHOT.jar

Comment 3 David Walluck 2012-04-12 21:49:20 UTC
For the jars already shipped with the AS (I believe: asm*.jar, guava, xercesImpl, jline), presumably we can remove these from the jar and instead add them to the AS 7 module.

It turns out that we have antlr v2 in the AS, but not antlr v3 (which is a rewrite). As such, I do not see any alternative right now to including antlr-runtime in the jar.

The remaining jars (jaffl, jffi, jnr-posix, constantine) are are needed only by the package org.python.modules.jffi which is not needed by the AS and as such can be removed from the jar and marked optional.

Comment 4 David Walluck 2012-04-12 21:52:18 UTC
I believe we have decided to leave the .py files as-is. But, I believe that they may be more useful as a separate dependency since it allows the interpreter itself to be shipped independently.

Comment 5 Fernando Nasser 2012-11-13 23:12:51 UTC
Docs QE Status: Removed: NEW 


Comment 6 Paul Gier 2013-03-28 20:54:41 UTC
We won't fix this for EAP 6.1 because the current jar is working well enough.


Note You need to log in before you can comment on or make changes to this bug.