Issue 51 in gettext-commons: Spaces in directory names are not supported

2 views
Skip to first unread message

codesite...@google.com

unread,
Dec 6, 2010, 9:45:43 AM12/6/10
to gettext-co...@googlegroups.com
Status: New
Owner: ----

New issue 51 by tim.lebedkov: Spaces in directory names are not supported
http://code.google.com/p/gettext-commons/issues/detail?id=51

What steps will reproduce the problem?
1. Write in your .pom something like
<properties>
...
<gettext.dir>C:\Program Files\GnuWin32\bin</gettext.dir>
</properties>
and
<plugin>
<groupId>org.xnap.commons</groupId>
<artifactId>maven-gettext-plugin</artifactId>
<version>1.2.3</version>
<executions>
<execution>
<goals>
<goal>merge</goal>
<goal>dist</goal>
</goals>
</execution>
</executions>
<configuration>
<poDirectory>${basedir}/src/main/po</poDirectory>

<targetBundle>de.upk.plugandfindwebarticles.Messages</targetBundle>
<encoding>CP1252</encoding>
<msgcatCmd>${gettext.dir}/msgcat.exe</msgcatCmd>
<msgfmtCmd>${gettext.dir}/msgfmt.exe</msgfmtCmd>
<msgmergeCmd>${gettext.dir}/msgmerge.exe</msgmergeCmd>
<xgettextCmd>${gettext.dir}/xgettext.exe</xgettextCmd>
</configuration>
</plugin>

2. build your project

What is the expected output? What do you see instead?
Expected: no errors

Instead:
[gettext:dist]
Processing de.po
[WARNING] "C:\Program Files\GnuWin32\bin\msgfmt.exe" --java2 -d
C:\Users\lebedkov\Projekte\PlugAndFindWebArticles\2.7\target\classes -r
de.upk.plugandfindwebarticles.Messages -l de
C:\Users\lebedkov\Projekte\PlugAndFindWebArticles\2.7\src\main\po\de.po
[WARNING] Der Befehl "C:\Program" ist entweder falsch geschrieben oder


What version of the product are you using? On what operating system?


Please provide any additional information below.


Reply all
Reply to author
Forward
0 new messages