+ <property name="site.dir" value="site" />
+ <property name="j2s.dir" value="${site.dir}/swingjs/j2s" />
+
+ <!-- <for ...> construct needs ant-contrib.jar -->
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="${tools.dir}/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
+
+ <!-- unzip all libjs zip files into site
+
+ all zip files placed in libjs will be processed
+
+ -->
+
+ <for param="file.zip">
+ <path>
+ <fileset dir="${libjs.dir}" includes="*.zip"/>
+ </path>
+ <sequential>
+ <unzip src="@{file.zip}" dest="${site.dir}" overwrite="true"/>
+ </sequential>
+ </for>
+
+ <!-- unzip SwingJS-site.zip