[zanata-users] Help requested

Sean Flanigan sflaniga at redhat.com
Thu Jun 28 01:25:30 UTC 2012


Hi Greg,

As Carlos said, it's because the Maven client doesn't handle backslash
characters.

I've put in https://bugzilla.redhat.com/show_bug.cgi?id=836054

If you update the client version to 1.6.1-SNAPSHOT, it should fix the
problem.  Please let me know what you find.


On an unrelated note: any time you end up with "pot" as part of the
filename (eg "Found source document: pot\analytique_entities"), "pot"
will end up in the output filename too.  That's usually not what you
want.  If you have configured srcDir as "." (the default), you may want
srcDir to be "pot" instead.

Regards

Sean.

On 2012-06-28 00:29, Gregoire Henry wrote:
> Hello 
> I'm trying to test zenata for my own project .. 
> I've succesfully setup zenata server on a win 2003 server 
> i've created a test project and added some language in it (fr,de) 
> I 'm trying to push some files from a test project using maven client
> (1.5.0 and 1.6.0) . (test made with  gettext .pot files and java
> .properties files) 
> 
> each push failled with the following error 
> 
> C:\Projects\lefebvre\zanatatest>mvn  zanata:push -B
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building test 0.0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- zanata-maven-plugin:1.5.0:push (default-cli) @ test ---
> [WARNING] The POM for
> org.jboss.resteasy:resteasy-jaxb-provider:jar:2.1.0.GA <http://2.1.0.GA>
> is missing, no dependency information available
> [INFO] Loading project config from
> C:\Projects\lefebvre\zanatatest\zanata.xml
> [INFO] Loading user config from C:\Projects\lefebvre\zanatatest\zanata.ini
> [INFO] client API version: 1.5.0, server API version: 1.5.0
> [INFO] Server: http://srvbldbrn:8380/zanata/
> [INFO] Project: test
> [INFO] Version: 1.0
> [INFO] Username: admin
> [INFO] Project type: properties
> [INFO] Source language: fr
> [INFO] Copy previous translations: true
> [INFO] Merge type: auto
> [INFO] Enable modules: false
> [INFO] Include patterns:
> [INFO] Exclude patterns:
> [INFO] Default excludes: true
> [INFO] Pushing source documents only
> [INFO] Source directory (originals): C:\Projects\lefebvre\zanatatest
> [INFO] Found source document: pot\analytique_entities
> [INFO] pushing source doc [name=pot\analytique_entities size=596] to server
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.465s
> [INFO] Finished at: Wed Jun 27 16:11:54 CEST 2012
> [INFO] Final Memory: 8M/121M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.zanata:zanata-maven-plugin:1.5.0:push
> (default-cli) on project test: Zanata mojo exception: operation returned
> 400 (Bad Request): , uri:
> http://srvbldbrn:8380/zanata/rest/projects/p/test/iterations/i/1.0/r,
> annotations: [@javax.ws.rs.PUT(), @javax.ws.rs.Path(value=
> {id})] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> C:\Projects\lefebvre\zanatatest>
> 
> Do i make something wrong ?
> 
> Is there is a relation with the warning about  org.jboss.resteasy pom
> missing ?
> 
> my zanata.xml file looks like 
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <config xmlns="http://zanata.org/namespace/config/">
>     <url>http://xxxxxxx/zanata/</url>
>     <project>test</project>
>     <project-version>1.0</project-version>
>     <project-type>properties</project-type>
> 
>     <locales>
>         <locale>de</locale>
>         <locale>fr</locale>
>     </locales>
> 
> </config>
> 
> Thanks for your help .
> 
> Greg


-- 
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pom.xml
Type: text/xml
Size: 2160 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20120628/f21d084f/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20120628/f21d084f/attachment.sig>


More information about the zanata-users mailing list