don't run gettext if 'require.gettext' is set to false

This commit is contained in:
kytv
2013-01-10 16:51:06 +00:00
parent e34cd0ba3f
commit 41af00a7d6
7 changed files with 28 additions and 10 deletions

View File

@ -24,6 +24,9 @@
</depend>
</target>
<condition property="no.bundle">
<isfalse value="${require.gettext}" />
</condition>
<property name="javac.compilerargs" value="" />
<property name="require.gettext" value="true" />
@ -120,7 +123,7 @@
</uptodate>
</target>
<target name="bundle" depends="compile">
<target name="bundle" depends="compile" unless="no.bundle">
<!-- Update the messages_*.po files.
We need to supply the bat file for windows, and then change the fail property to true -->
<exec executable="sh" osfamily="unix" failifexecutionfails="true" failonerror="${require.gettext}" >