| <?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.engine" default="build"> |
| <description>Builds, tests, and runs the project org.netbeans.libs.nbi.engine</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-engine" depends="init"> |
| <ant dir="${nbi.dir}/engine" target="jar" inheritAll="false"> |
| <property name="platforms.JDK_1.5.home" value="${nbjdk.home}"/> |
| <property name="build.dir" location="${build.dir}/engine/build"/> |
| <property name="dist.dir" location="${build.dir}/engine/dist"/> |
| </ant> |
| </target> |
| |
| <target name="copy-nbi-engine"> |
| <copy file="${build.dir}/engine/dist/nbi-engine.jar" todir="${cluster}/modules/ext"/> |
| </target> |
| |
| <target name="netbeans-extra" depends="copy-nbi-engine"/> |
| |
| <target name="jar" depends="init,build-nbi-engine,projectized-common.jar"> |
| </target> |
| |
| <target name="build-init" depends="projectized.build-init"> |
| <unzip src="external/nbi.engine-external-binaries-11.zip" dest="${nbi.engine.dir}"/> |
| </target> |
| |
| </project> |