weidongtoml / gettext-commons

Automatically exported from code.google.com/p/gettext-commons
0 stars 0 forks source link

Spaces in directory names are not supported #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by tim.lebe...@gmail.com on 6 Dec 2010 at 2:45