+ <target name="build-all-cores" id="build-all-cores">
+ <foreach target="CallToJs" param="classlist">
+ <path>
+ <fileset dir="./classlists/" includes="*.txt" />
+ </path>
+ </foreach>
+ </target>
+
+ <target name="CallToJs" id="CallToJs" description="Don't call this directly - used by build-all-cores to configure the toJs task for each set of classes in classlist">
+ <propertyregex property="core.name" input="${classlist}" replace="" regexp="\.txt"/>
+ <antcall target="toJs"/>
+ </target>
+
+ <target name="toJs" id="toJs">
+ <!-- sensible defaults for default target -->
+ <property name="site.path" value="site/swingjs" />
+ <property name="core.name" value="_jalview" />
+ <property name="classlist"
+ description="Class list .txt generated by java2script classloader to be bundled into corefile - default is _j2sclasslist.txt"
+ value="_j2sclasslist.txt" />
+ <!-- create a NON svn local directory only containing JS files