Bug 1305881

Summary: jaxb-impl missing from zanata-client distribution
Product: [Fedora] Fedora Reporter: Ricky Christie <ricky>
Component: zanata-clientAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dchen, pahuang, sflaniga
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 23:44:15 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:

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.