<!-- git repository linked to project in workspace -->
<property name="eclipse-workrepo" value="/home/bamboo/buildtools/eclipse/eclipse-js-workspace/jalview-js"/>
</target>
-<target name="compile-site" depends="prepare-site">
+ <target name="clean-site" depends="prepare-site">
+ <delete dir="${eclipse-workrepo}/${site}"/>
+ <mkdir dir="${eclipse-workrepo}/${site}"/>
+ </target>
+<target name="compile-site" depends="prepare-site,clean-site">
<!-- update transpiler -->
<copy file="${swingjsdir}/net.sf.j2s.core.jar" todir="${eclipse-inst}/dropins" overwrite="true" failonerror="true"/>
<!-- update the git repo linked to the eclipse workspace -->