Versioned script for: http://deadlock.netbeans.org/hudson/job/release69-contrib/ release69
authorJesse Glick <jglick@netbeans.org>
Wed, 16 Jun 2010 09:45:21 -0400
branchrelease69
changeset 16334e5e01b280d06
parent 16323 44078f078bb0
child 16335 f953edfa5961
Versioned script for: http://deadlock.netbeans.org/hudson/job/release69-contrib/
other/hudson-build-script
other/hudson-build-update-descriptor.xml
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other/hudson-build-script	Wed Jun 16 09:45:21 2010 -0400
     1.3 @@ -0,0 +1,16 @@
     1.4 +#!/bin/sh
     1.5 +if [ \! -f .hg/nb69src.zip ]
     1.6 +then
     1.7 +  wget -O .hg/nb69src.zip --progress=dot:mega 'http://dlc.sun.com.edgesuite.net/netbeans/6.9/final/zip/netbeans-6.9-201006101454-src.zip'
     1.8 +fi
     1.9 +if [ \! -f .hg/nb69.zip ]
    1.10 +then
    1.11 +  wget -O .hg/nb69.zip --progress=dot:mega 'http://dlc.sun.com.edgesuite.net/netbeans/6.9/final/zip/netbeans-6.9-201006101454-ml.zip'
    1.12 +fi
    1.13 +unzip .hg/nb69.zip
    1.14 +mkdir nb_all
    1.15 +(cd nb_all; unzip ../.hg/nb69src.zip)
    1.16 +ln -sv .. nb_all/contrib
    1.17 +ant -f nb_all/nbbuild/build.xml bootstrap
    1.18 +for m in `cat nb_all/contrib/other/hudson-build-list`; do ant -f nb_all/contrib/"$m"/build.xml -Dnetbeans.dest.dir=$WORKSPACE/netbeans -Dbuildnumber=$BUILD_TAG nbm; done
    1.19 +ant -f nb_all/contrib/other/hudson-build-update-descriptor.xml
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/other/hudson-build-update-descriptor.xml	Wed Jun 16 09:45:21 2010 -0400
     2.3 @@ -0,0 +1,13 @@
     2.4 +<project name="build-update-descriptor" basedir="../../.." default="descriptor">
     2.5 +    <target name="descriptor">
     2.6 +        <taskdef classpath="netbeans/harness/tasks.jar" resource="org/netbeans/nbbuild/taskdefs.properties"/>
     2.7 +        <makeupdatedesc desc="updates.xml" distbase="." automaticgrouping="true" uselicenseurl="true">
     2.8 +            <fileset dir=".">
     2.9 +                <include name="*/build/*.nbm"/>
    2.10 +            </fileset>
    2.11 +            <updaterjar>
    2.12 +                <fileset dir="netbeans" includes="platform*/modules/ext/updater.jar"/>
    2.13 +            </updaterjar>
    2.14 +        </makeupdatedesc>
    2.15 +    </target>
    2.16 +</project>