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

msgfmt return value of 1 not necessarily an error #44

Open
GoogleCodeExporter opened this issue Jan 10, 2016 · 0 comments
Open

msgfmt return value of 1 not necessarily an error #44

GoogleCodeExporter opened this issue Jan 10, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link


The current repositiory version of the GettextDistTask will halt the build
when the msgfmt call returns a result other than 0.

Warnings which don't have to break the build will return 1.


What steps will reproduce the problem?
1. have a po file that causes a warning when processed by GettextDistTask,
like a translation missing a leading "\n"
2. run GettextDistTask

What is the expected output? What do you see instead?

Because of the warning, msgfmt seems to return a value of 1. This causes
AbstractGettextTask to throw an exception which causes the build to halt.

This is not necessary, as not even the language that causes the message has
to be necessarily erroneous. 


What version of the product are you using? On what operating system?
gettext-ant-taks, prerelease 0.9.8 (revision 206)


Please provide any additional information below.

See also issue "msgfmt warning output breaks GettextDistTask", which
already solved parts of this problem for the parsing of the msgfmt command
line output.

Original issue reported on code.google.com by [email protected] on 10 May 2010 at 12:52

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