Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 900190 (JBPAPP6-1624)

Summary: Externalize bundled files in Jython Standalone
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: David Walluck <dwalluck>
Component: BuildAssignee: David Walluck <dwalluck>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: dwalluck, jjaggars, pgier
Target Milestone: ---   
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-1624
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-28 20:54:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 899790, 899862, 899869    
Bug Blocks: 900474    

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.