You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Test with a simple i18nbuild.xml using the tutorial (adapted) on a Vista system
1. The task in the Ant build
-------------------------
<target name="generate-default-bundle" description="Generates a default bundle"
depends="init.gettext">
<gettext-generate-default targetBundle="messages" outputDirectory="${sourcesFilesDir}\po" potfile="po\messages.pot"/>
</target>
2. Run the task in the Ant build
What is the expected output? What do you see instead?
Instead of the success of the build you get this failed error on the
generate-default-bundle task :
Buildfile: C:\SVN\WLI\AMM_GDC-EJB\i18nBuild.xml
init.gettext:
generate-default-bundle:
[gettext-generate-default] Generating default po file: msginit --no-translator
-i po\messages.pot -o C:\Users\ftrompat\AppData\Local\Temp\default24385.po
[gettext-generate-default] msgfmt --java2 -d C:\SVN\WLI\AMM_GDC-EJB\po -r
messages C:\Users\ftrompat\AppData\Local\Temp\default24385.po
[gettext-generate-default] msgfmt returned 1
BUILD FAILED
C:\SVN\WLI\AMM_GDC-EJB\i18nBuild.xml:20: Build failed
What version of the product are you using? On what operating system?
Reproduced on a Vista system
with
msgfmt command (version 0.14.4.1952)
gettext-ant-tasks-0.9.7
Bea WorkSpace Studio version 1.1
Please provide any additional information below.
I tested some workarounds on a cmd windows and I suspect the quotes in the
file's or directory's path.
See the attached file to get more.
Regards
François
Original issue reported on code.google.com by [email protected] on 10 Nov 2010 at 3:37
Original issue reported on code.google.com by
[email protected]
on 10 Nov 2010 at 3:37Attachments:
The text was updated successfully, but these errors were encountered: