Status: New
Owner: ----
New issue 44 by tobiaskringe: msgfmt return value of 1 not necessarily an
error
http://code.google.com/p/gettext-commons/issues/detail?id=44
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.
--
You received this message because you are subscribed to the Google Groups "Gettext Commons Development Discussion" group.
To post to this group, send email to
gettext-co...@googlegroups.com.
To unsubscribe from this group, send email to
gettext-commons-...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/gettext-commons-devel?hl=en.