prefer symbolic links for copying: faster and easier for only copying newly generated files lateron.
diff --git a/releng/build-scripts/build/run.xml b/releng/build-scripts/build/run.xml
index 29c704c..82beef7 100644
--- a/releng/build-scripts/build/run.xml
+++ b/releng/build-scripts/build/run.xml
@@ -238,12 +238,16 @@
</ant>
<!-- pre-load updateSite with published releases: -->
- <mkdir dir="${otdtUpdatesDir}"/>
- <copy todir="${otdtUpdatesDir}" flatten="false">
- <fileset dir="${published.updates}">
- <include name="**/*.jar"/>
- </fileset>
- </copy>
+ <mkdir dir="${otdtUpdatesDir}/plugins"/>
+ <mkdir dir="${otdtUpdatesDir}/features"/>
+ <exec executable="/bin/sh">
+ <arg value="-c"/>
+ <arg value="ln -s ${published.updates}/features/* ${otdtUpdatesDir}/features/"/>
+ </exec>
+ <exec executable="/bin/sh">
+ <arg value="-c"/>
+ <arg value="ln -s ${published.updates}/plugins/* ${otdtUpdatesDir}/plugins/"/>
+ </exec>
<!-- pre-load category-less metadata: -->
<copy failonerror="false" flatten="true" toDir="${otdtUpdatesDir}">
<fileset dir="${user.dir}/metadata">