mylyn-suite/platform.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu Dec 16 13:40:34 2010 +0100
changeset 39 baf13dd6a686
parent 14 65e427bc6863
child 40 2ffe8a1baf68
permissions -rw-r--r--
Downloading netbinox bits from the website
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project name="netbinox-mylyn-sample" default="build" basedir=".">
     3     <!-- BEGIN: netbinox.mylyn.clusterize -->
     4     <target name="convert">
     5         <ant antfile="${harness.dir}/suite.xml" target="clusterize">
     6             <property name="cluster" location="../eclipse"/>
     7             <property name="includes" value="modules/*.jar"/>
     8         </ant>
     9     </target>
    10     <!-- END: netbinox.mylyn.clusterize -->
    11     
    12     <property name="tmp" location="${ant.file}/../tmp"/>
    13     <property name="netbeans" location="${tmp}/netbeans"/>
    14 
    15     <property name="bootstrap.url" value="http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/netbeans/harness/tasks.jar"/>
    16     <property name="netbeans.updatecenter.url" value="http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz"/>
    17     <property name="netbinox.updatecenter.url" value="http://hudson.apidesign.org/hudson/job/netbinox/lastStableBuild/artifact/build/updates/updates.xml"/>
    18     
    19     <condition property="netbeans.around">
    20         <and>
    21             <available file="${netbeans}/harness/suite.xml"/>
    22         </and>
    23     </condition>
    24 
    25     <target name="prepare" unless="netbeans.around">
    26         <mkdir dir="${netbeans}/harness"/>
    27         <get src="${bootstrap.url}" dest="${netbeans}/harness/tasks.jar" usetimestamp="true" verbose="true"/>
    28         <taskdef
    29             name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate"
    30             classpath="${netbeans}/harness/tasks.jar"
    31         />
    32         <autoupdate installdir="${netbeans}" updatecenter="${netbeans.updatecenter.url}">
    33             <modules includes=".*" clusters="platform[0-9]*"/>
    34             <modules includes=".*" clusters="harness[0-9]*"/>
    35             <modules includes=".*" clusters="ide[0-9]*"/>
    36         </autoupdate>
    37         <autoupdate todir="${netbeans}/netbinox" updatecenter="${netbinox.updatecenter.url}">
    38             <modules includes=".*"/>
    39         </autoupdate>
    40     </target>
    41 </project>