Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected failed on a generate-default-bundle task with the msgfmt command : pb with quotes #50

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link



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

Attachments:

@GoogleCodeExporter
Copy link
Author

any one has the solution?

Original comment by [email protected] on 4 Mar 2011 at 10:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant