Uploaded image for project: 'Zanata'
  1. ZNTA-901

txw2 should be included in zanata-cli 0install

    Details

    • Type: Bug
    • Status: Merged (View workflow)
    • Priority: Low
    • Resolution: Ready for Release
    • Affects Version/s: common-3.8.1
    • Fix Version/s: client-3.8.2
    • Component/s: None
    • Labels:
    • Environment:
      Ubuntu 15.10
    • Sprint:
      16.05

      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
      }}

        Attachments

          Activity

            People

            • Assignee:
              pahuang Patrick Huang
              Reporter:
              alexg Alex Garel
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: