<classpath refid="cacert-gigi.test.classpath"/>
</javac>
</target>
- <target name="FetchLocales">
+ <target name="check-locale">
+ <available file="locale/de.xml" property="locale.present"/>
+ </target>
+ <target name="FetchLocales" depends="check-locale" unless="locale.present">
<java classname="org.cacert.gigi.util.FetchLocales" failonerror="true" fork="yes">
<classpath refid="cacert-gigi.classpath"/>
</java>
"da", "pl", "zh_CN", "ru", "lv", "cs", "zh_TW", "el", "tr", "ar"};
public static void main(String[] args) throws IOException,
ParserConfigurationException, TransformerException {
+ System.out.println("downloading locales ...");
File locale = new File("locale");
locale.mkdir();