This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<?xml version="1.0" encoding="UTF-8"?>
<project name="build-download" default="build" basedir=".">
<description>Downloads NetBeans distribution</description>
<condition property="download.netbeans">
<and>
<not><available file="${harness.dir}/suite.xml"/></not>
<isset property="bootstrap.url"/>
<isset property="autoupdate.catalog.url"/>
</and>
</condition>
<target name="prepare" depends="-download">
<fail message="Cannot find NetBeans build harness. ${line.separator}Check that nbplatform.${nbplatform.active}.netbeans.dest.dir and nbplatform.${nbplatform.active}.harness.dir are defined. ${line.separator}On a developer machine these are normally defined in ${user.properties.file}=${netbeans.user}/build.properties ${line.separator}but for automated builds you should pass these properties to Ant explicitly.">
<condition>
<not>
<available type="dir" file="${harness.dir}"/>
</not>
</fail>
</target>
<target name="-download" if="download.netbeans">
<mkdir dir="${harness.dir}"/>
<pathconvert pathsep="|" property="download.clusters">
<mapper type="flatten"/>
<path path="${cluster.path}"/>
</pathconvert>
<echo message="Downloading clusters ${download.clusters}"/>
<get src="${bootstrap.url}" dest="${harness.dir}/tasks.jar" usetimestamp="true" verbose="true"/>
<taskdef
name="autoupdate" classname="org.netbeans.nbbuild.AutoUpdate"
classpath="${harness.dir}/tasks.jar"
/>
<autoupdate installdir="${nbplatform.active.dir}" updatecenter="${autoupdate.catalog.url}">
<modules includes=".*" clusters="harness|${download.clusters}"/>
</autoupdate>
</project>
<ant antfile="nbproject/build-download.xml" target="prepare"/>
<import file="${harness.dir}/suite.xml"/>
nbplatform.downloaded.label=Downloaded Platform
nbplatform.downloaded.netbeans.dest.dir=${suite.dir}/tmp/netbeans
bootstrap.url=file:///home/jarda/src/netbeans/netbinox/tasks.jar
autoupdate.catalog.url=file:///home/jarda/src/netbeans/netbinox/download/mirror/updates.xml