Commits

Jan Lahoda  committed 3e5a277

Download extra NBMS from update center rather than downloading the whole extra cluster.

  • Participants
  • Parent commits dc49e97

Comments (0)

Files changed (2)

File hudson/download-extra-nbms.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<project name="platform" default="download" basedir="..">
+    <target name="download" unless="no.download">
+        <mkdir dir="${nbplatform.default.netbeans.dest.dir}"/>
+        <property name="tasks.jar" location="${nbplatform.default.harness.dir}/tasks.jar"/>
+        <taskdef name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate" classpath="${tasks.jar}"/>
+        <autoupdate installdir="${nbplatform.default.netbeans.dest.dir}" updatecenter="http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz">
+            <modules includes=".*junit4.*" clusters="platform"/>
+        </autoupdate>
+    </target>
+</project>

File hudson/trunk

     unzip -q ../download/*$TRUNK_ID-$1.zip || exit
 }
 
-for cluster in ide platform java harness nb apisupport extra enterprise cnd dlight websvccommon; do
+for cluster in ide platform java harness nb apisupport enterprise cnd dlight websvccommon; do
     download_and_unpack_cluster $cluster;
 done
 
 cd ../..
 
 PLATFORM=$PWD/nbbuild/netbeans
+
+ant -f hudson/download-extra-nbms.xml -Dnbplatform.default.harness.dir=$PLATFORM/harness -Dnbplatform.default.netbeans.dest.dir=$PLATFORM
 }
 
 if [ "$PLATFORM" == "" ] ; then