Don't create an english bundle. Add missing desktopgui dependency.

This commit is contained in:
duck
2011-02-13 17:11:53 +00:00
parent 0fef251efb
commit a75b2ccf15
6 changed files with 61 additions and 41 deletions

View File

@ -95,6 +95,9 @@ do
touch $i touch $i
fi fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating ${CLASS}_$LG ResourceBundle..." echo "Generating ${CLASS}_$LG ResourceBundle..."
# convert to class files in build # convert to class files in build
@ -104,6 +107,7 @@ do
echo 'Warning - msgfmt failed, not updating translations' echo 'Warning - msgfmt failed, not updating translations'
break break
fi fi
fi
done done
rm -f $TMPFILE rm -f $TMPFILE
# todo: return failure # todo: return failure

View File

@ -86,6 +86,9 @@ do
touch $i touch $i
fi fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating ${CLASS}_$LG ResourceBundle..." echo "Generating ${CLASS}_$LG ResourceBundle..."
# convert to class files in build/obj # convert to class files in build/obj
@ -95,6 +98,7 @@ do
echo 'Warning - msgfmt failed, not updating translations' echo 'Warning - msgfmt failed, not updating translations'
break break
fi fi
fi
done done
rm -f $TMPFILE rm -f $TMPFILE
# todo: return failure # todo: return failure

View File

@ -88,6 +88,9 @@ do
touch $i touch $i
fi fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating ${CLASS}_$LG ResourceBundle..." echo "Generating ${CLASS}_$LG ResourceBundle..."
# convert to class files in build/obj # convert to class files in build/obj
@ -97,6 +100,7 @@ do
echo 'Warning - msgfmt failed, not updating translations' echo 'Warning - msgfmt failed, not updating translations'
break break
fi fi
fi
done done
rm -f $TMPFILE rm -f $TMPFILE
# todo: return failure # todo: return failure

View File

@ -122,6 +122,9 @@ do
touch $i touch $i
fi fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating ${CLASS}_$LG ResourceBundle..." echo "Generating ${CLASS}_$LG ResourceBundle..."
# convert to class files in build/obj # convert to class files in build/obj
@ -131,6 +134,7 @@ do
echo 'Warning - msgfmt failed, not updating translations' echo 'Warning - msgfmt failed, not updating translations'
break break
fi fi
fi
done done
rm -f $TMPFILE rm -f $TMPFILE
# todo: return failure # todo: return failure

View File

@ -88,6 +88,9 @@ do
touch $i touch $i
fi fi
if [ "$LG" != "en" ]
then
# only generate for non-source language
echo "Generating ${CLASS}_$LG ResourceBundle..." echo "Generating ${CLASS}_$LG ResourceBundle..."
# convert to class files in build/obj # convert to class files in build/obj
@ -97,6 +100,7 @@ do
echo 'Warning - msgfmt failed, not updating translations' echo 'Warning - msgfmt failed, not updating translations'
break break
fi fi
fi
done done
rm -f $TMPFILE rm -f $TMPFILE
# todo: return failure # todo: return failure

View File

@ -201,7 +201,7 @@
<copy file="apps/addressbook/dist/addressbook.war" todir="build/" /> <copy file="apps/addressbook/dist/addressbook.war" todir="build/" />
</target> </target>
<!-- the apps need to compile the jsps to poupdate --> <!-- the apps need to compile the jsps to poupdate -->
<target name="poupdate" depends="buildRouter, buildStreaming, buildSystray, buildJetty" > <target name="poupdate" depends="buildRouter, buildStreaming, buildSystray, buildJetty, buildDesktopGui" >
<ant dir="apps/routerconsole/java/" target="poupdate" /> <ant dir="apps/routerconsole/java/" target="poupdate" />
<ant dir="apps/i2psnark/java/" target="poupdate" /> <ant dir="apps/i2psnark/java/" target="poupdate" />
<ant dir="apps/i2ptunnel/java/" target="poupdate" /> <ant dir="apps/i2ptunnel/java/" target="poupdate" />