From 77d45e7a3a8b19bbea51314addcc2c65b7ab8268 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 20 Oct 2009 16:00:57 +0000 Subject: [PATCH] stub for windows gettext script --- apps/routerconsole/java/build.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/routerconsole/java/build.xml b/apps/routerconsole/java/build.xml index 9e9b697b66..61d1ddc85f 100644 --- a/apps/routerconsole/java/build.xml +++ b/apps/routerconsole/java/build.xml @@ -75,11 +75,17 @@ <ant target="war" /> <!-- Update the messages_*.po files. - We need to supply something for windows, and then change the fail property to true, - or else not run this on windows --> - <exec executable="sh" failifexecutionfails="false" > + We need to supply the bat file for windows, and then change the fail property to true --> + <exec executable="sh" osfamily="unix" failifexecutionfails="false" > <arg value="./bundle-messages.sh" /> </exec> + <exec executable="sh" osfamily="mac" failifexecutionfails="false" > + <arg value="./bundle-messages.sh" /> + </exec> + <exec executable="cmd" osfamily="windows" failifexecutionfails="false" > + <arg value="/c" /> + <arg value="bundle-messages.bat" /> + </exec> <!-- jar again to get the latest messages_*.class files --> <jar destfile="./build/routerconsole.jar" basedir="./build/obj" includes="**/*.class" update="true" /> </target> -- GitLab