| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <!-- 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="harness/libs.nbi.ant" default="build"> |
| <description>Builds, tests, and runs the project org.netbeans.libs.nbi.ant</description> |
| <import file="../../nbbuild/templates/projectized.xml"/> |
| |
| <property name="nbi.dir" value="../../nbi/"/> |
| <property name="nbi.engine.dir" value="${nbi.dir}/engine/"/> |
| |
| <target name="build-nbi-ant-tasks" depends="init"> |
| <ant dir="${nbi.dir}/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="${nbi.dir}/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="${nbi.dir}/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="${nbi.dir}/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> |