Issue2478
Created on 2016-02-25.21:58:27 by chrislott, last changed 2018-08-12.16:31:31 by jeff.allen.
msg10791 (view) |
Author: Chris Lott (chrislott) |
Date: 2016-02-25.21:58:25 |
|
Please consider removing the java.xml classes from the jython-standalone-2.7 jar package and distributing them separately. These were not present in the 2.5.4-rc1 jar. If I understand correctly, they are present in Java-SE so should not be needed (?).
When I upgraded from 2.5.4 to 2.7.0 other components started throwing this exception:
Provider org.python.apache.xalan.processor.TransformerFactoryImpl not found
This issue may be related to another Python issue: http://bugs.jython.org/issue2121
The failure is also discussed here in some detail (read way down): https://github.com/ControlSystemStudio/cs-studio/issues/110
The problem is easily reproduced. In brief, I'm using embedding Jython in an Eclipse RCP that also uses Apache POI to read/write Excel spreadsheets. The Poi component has to instantiate a Xalan to produce XLSX files. When the Jython-2.7.0 jar file is present, Poi blows up with the exception shown above. When the Jython-2.5.4-rc1 jar file is present, Poi works fine. I'll be happy to provide more detail if you need it.
Thanks for listening.
|
msg10792 (view) |
Author: Chris Lott (chrislott) |
Date: 2016-02-25.22:03:48 |
|
Forgot to mention: python-standalone-2.5.4-rc1 is about 10MB, 2.7.0 is about 35MB. Ouch, that's a big jump in size.
|
msg10798 (view) |
Author: Jim Baker (zyasoft) |
Date: 2016-03-04.00:18:33 |
|
2.7.2 should be able to address this, as we move to a Gradle based build that's compatible with current Maven practice.
|
msg11738 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2018-03-03.16:56:20 |
|
Tagging this (and others) with "gradle" on the assumption all must be considered together for 2.7.2.
See also #2182
|
msg12084 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2018-08-12.16:31:31 |
|
It seems this went away at 2.7.1 when we stopped using/bundling the xml-apis JAR.
https://hg.python.org/jython/rev/ad6ac3cc574d#l2.7
|
|
Date |
User |
Action |
Args |
2018-08-12 16:31:31 | jeff.allen | set | keywords:
- gradle status: open -> closed resolution: fixed messages:
+ msg12084 milestone: Jython 2.7.2 -> Jython 2.7.1 |
2018-03-22 08:52:44 | jeff.allen | set | priority: normal |
2018-03-03 16:56:20 | jeff.allen | set | keywords:
+ gradle nosy:
+ jeff.allen messages:
+ msg11738 |
2016-03-04 00:18:33 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg10798 milestone: Jython 2.7.2 |
2016-02-25 22:03:49 | chrislott | set | messages:
+ msg10792 |
2016-02-25 21:58:27 | chrislott | create | |
|