Bug 1305881 - jaxb-impl missing from zanata-client distribution
Summary: jaxb-impl missing from zanata-client distribution
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: zanata-client
Version: 23
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Huang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-09 13:34 UTC by Ricky Christie
Modified: 2016-08-04 23:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 23:44:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ricky Christie 2016-02-09 13:34:15 UTC
First of all, thanks for open sourcing Aanata.
Apologize in advance if this is the wrong place to file this bug.

Description of problem:
When running zanata-cli -e pull in an XLIFF project, I get an error because jaxb-impl-2.2.4.jar isn't inside lib directory.

Version-Release number of selected component (if applicable):
Reproduced this on zanata-client 3.8.1 and 3.9.0-SNAPSHOT I found on http://repository-zanata.forge.cloudbees.com/snapshot/org/zanata/zanata-cli/


How reproducible:
Always


Steps to Reproduce:
1. Create xliff project with zanata-init. 
2. Push xliff files.
3. Pull xliff with zanata-cli -e pull command. 

Actual results:
The following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/txw2/output/IndentingXMLStreamWriter
	at org.zanata.adapter.xliff.XliffWriter.writeFile(XliffWriter.java:206)
	at org.zanata.adapter.xliff.XliffWriter.write(XliffWriter.java:179)
	at org.zanata.client.commands.pull.XliffStrategy.writeTransFile(XliffStrategy.java:64)
	at org.zanata.client.commands.pull.PullCommand.writeTargetDoc(PullCommand.java:423)

Expected results:
No exception, pull would just work.

Additional info:
I fixed this by downloading jaxb-impl-2.2.4.jar directly from maven and editing zanata-cli classpath to include it. It then pulled correctly.

Comment 1 Sean Flanigan 2016-08-04 00:35:36 UTC
Patrick, has this been fixed?

Comment 2 Patrick Huang 2016-08-04 23:43:50 UTC
Tested with docker fedora 23. zanata client version 3.9.1. Fixed.


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