I would prefer mirroring only needed plug-ins, rather than having all JBoss Tools on my update site. It is because we need only few of them for our development environment.
Nevertheless, thank you for your answers. You gave me all needed information to understand how p2 update sites should be mirrored.
The following update command with the following ANT build script is used for mirroring at my site now:
Command:
eclipsec.exe -application org.eclipse.ant.core.antRunner -noSplash -consoleLog
ANT build script (build.xml):
<project name="iPat" basedir="." default="sync">
<target name="sync">
<p2.mirror source="http://download.jboss.org/jbosstools/updates/development" destination="file://E:/buildloop/eclipse-updates/site">
<slicingOptions followStrict="true" />
<iu id="org.jboss.tools.jbpm.common.feature.feature.group" />
<iu id="org.jboss.tools.cdi.feature.feature.group" />
<iu id="org.jboss.tools.flow.common.feature.feature.group" />
<iu id="org.hibernate.eclipse.feature.feature.group" />
<iu id="org.jboss.ide.eclipse.archives.feature.feature.group" />
<iu id="org.jboss.tools.bpel.feature.feature.group" />
<iu id="org.drools.eclipse.feature.feature.group" />
<iu id="org.guvnor.tools.feature.feature.group" />
<iu id="org.drools.eclipse.task.feature.feature.group" />
<iu id="org.jboss.tools.richfaces.feature.feature.group" />
<iu id="org.jboss.ide.eclipse.as.feature.feature.group" />
<iu id="org.jboss.tools.flow.jpdl4.feature.feature.group" />
<iu id="org.jboss.tools.jbpm4.feature.feature.group" />
<iu id="org.jboss.tools.jbpm.convert.feature.feature.group" />
<iu id="org.jbpm.gd.jpdl.feature.feature.group" />
<iu id="org.jboss.tools.jmx.feature.feature.group" />
<iu id="org.jboss.tools.seam.feature.feature.group" />
<iu id="org.jboss.tools.xulrunner.feature.feature.group" />
</p2.mirror>
</target>
</project>
Thank you for your help!