1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project basedir="." name="libs.nbi.ant" default="netbeans">
<description>Builds, tests, and runs the project org.netbeans.libs.nbi.ant</description>
<import file="../nbbuild/templates/projectized.xml"/>
<target name="build-nbi-ant-tasks" depends="init">
<ant dir="${basedir}/../nbi/engine" target="jar" inheritAll="false">
<property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
<property name="no.dependencies" value="true"/>
<property name="build.dir" location="${build.dir}/engine/build"/>
<property name="dist.dir" location="${build.dir}/engine/dist"/>
</ant>
<ant dir="${basedir}/../nbi/infra/lib/registries-management" target="jar" inheritAll="false">
<property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
<property name="no.dependencies" value="true"/>
<property name="reference.NBI_Engine.jar" location="${build.dir}/engine/dist/nbi-engine.jar"/>
<property name="build.dir" location="${build.dir}/registries-management/build"/>
<property name="dist.dir" location="${build.dir}/registries-management/dist"/>
</ant>
<ant dir="${basedir}/../nbi/infra/build/.ant-lib" target="jar" inheritAll="false">
<property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/>
<property name="no.dependencies" value="true"/>
<property name="reference.NBI_Engine.jar" location="${build.dir}/engine/dist/nbi-engine.jar"/>
<property name="reference.NBI_Library__Registries_Management.jar" location="${build.dir}/registries-management/dist/registries-management.jar"/>
<property name="build.dir" location="${build.dir}/ant-lib/build"/>
<property name="dist.dir" location="${build.dir}/ant-lib/dist"/>
</ant>
</target>
<target name="jar" depends="init,build-nbi-ant-tasks,projectized-common.jar"/>
<target name="netbeans-extra">
<copy file="${build.dir}/ant-lib/dist/nbi-ant-tasks.jar" todir="${cluster}/modules/ext"/>
<copy file="${build.dir}/registries-management/dist/registries-management.jar" tofile="${cluster}/modules/ext/nbi-registries-management.jar"/>
<copy todir="${cluster}/nbi/.common">
<fileset dir="${basedir}/../nbi/infra/build/.common">
<exclude name=".templates/**"/>
</fileset>
</copy>
<copy todir="${cluster}/nbi/stub">
<fileset dir="${basedir}/stub">
<exclude name="ext/engine/build/"/>
<exclude name="ext/engine/dist/"/>
<exclude name="ext/engine/nbproject/private/"/>
<exclude name="ext/components/products/helloworld/build/"/>
<exclude name="ext/components/products/helloworld/dist/"/>
<exclude name="ext/components/products/helloworld/nbproject/private/"/>
</fileset>
</copy>
</target>
</project>
|