Bug 826388
| Summary: | [mvn] Glossary-push compendium PO file: option -Dzanata.glossaryFile failed to recognize tilde (~) | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Ding-Yi Chen <dchen> |
| Component: | Component-Maven | Assignee: | Runa Bhattacharjee <runab> |
| Status: | CLOSED CANTFIX | QA Contact: | Ding-Yi Chen <dchen> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.6-SNAPSHOT | CC: | ankit, sflaniga, zanata-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-30 06:28:36 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
Ding-Yi Chen
2012-05-30 06:13:31 UTC
Unfortunately, Java and Maven do not support expanding the tilde (~) character to $HOME. Thus, since the path does not start with "/", it is treated as a relative path. Workaround: mvn zanata:glossary-push -Dzanata.glossaryFile=$HOME/Downloads/compendium-zh_TW-stamp20120529-c.po -Dzanata.transLang=zh-Hant -Dzanata.url=<zanataServerUrl> |