[zanata-bugs] [Bug 865668] mvn zanata:push -Dzanata.pushType=trans tries to delete obsolete source documents

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 18 01:27:11 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=865668

Sean Flanigan <sflaniga at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Comment #3 is|0                           |1
            private|                            |

--- Comment #4 from Sean Flanigan <sflaniga at redhat.com> ---
Hi Sandeep, if you need to link to internal servers like
pastebin.test.redhat.com or translate.engineering.redhat.com, don't forget to
mark the comment as private.  

Anyway, in your example, the client is (erroneously) attempting to delete the
obsolete docs from the server, just as the log message says.  

You do have the pot files now, but the problem is that they don't have the
right filenames. Compare:
    [INFO] Found source document: pot/hardware
with:
    [INFO] Obsolete docs: [... hardware, ...]

Your directory contains "pot/hardware", but the server filename is "hardware".

You need to set the srcDir appropriately.  Since you have put the pot files in
pot, you should change pom.xml from
  <srcDir>.</srcDir>
to 
  <srcDir>pot</srcDir>

The pom.xml in the branch 5.8_GA had the correct value <srcDir>pot</srcDir>, so
I'm not sure what happened.

BTW, zanata maven client 1.7.4 has my fix.  Please update pom.xml to say
<version>1.7.4</version> instead of 1.7.1 and let me know if it works for you. 
(I think you can remove the pluginRepositories section too.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.




More information about the zanata-bugs mailing list