[zanata-users] Help requested

Gregoire Henry ghynxmail at gmail.com
Wed Jun 27 14:29:40 UTC 2012


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.GAis 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/zanata-users/attachments/20120627/57c07988/attachment.htm>


More information about the zanata-users mailing list