txw2 should be included in zanata-cli 0install

Description

0install does not add the txw2.jar library to the installation. Thus xliff translation pull fails with a :

{{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:424)
at org.zanata.client.commands.pull.PullCommand.pullDocForLocale(PullCommand.java:363)
at org.zanata.client.commands.pull.PullCommand.run(PullCommand.java:249)
at org.zanata.client.commands.ConfigurableCommand.runWithActions(ConfigurableCommand.java:110)
at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:48)
at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:170)
at org.zanata.client.ZanataClient.main(ZanataClient.java:95)
Caused by: java.lang.ClassNotFoundException: com.sun.xml.txw2.output.IndentingXMLStreamWriter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 10 more
}}

Environment

Ubuntu 15.10

Status

Assignee

Patrick Huang

Reporter

Alex Garel

Labels

Tested Version/s

None

Sprint

None

Fix versions

Affects versions

Priority

Low
Configure