jglick@1568
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
jglick@1568
|
2 |
<!--
|
mkristofic@1583
|
3 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
mkristofic@1583
|
4 |
|
mkristofic@1583
|
5 |
Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved.
|
mkristofic@1583
|
6 |
|
mkristofic@1583
|
7 |
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
mkristofic@1583
|
8 |
Other names may be trademarks of their respective owners.
|
mkristofic@1583
|
9 |
|
mkristofic@1583
|
10 |
The contents of this file are subject to the terms of either the GNU
|
mkristofic@1583
|
11 |
General Public License Version 2 only ("GPL") or the Common
|
mkristofic@1583
|
12 |
Development and Distribution License("CDDL") (collectively, the
|
mkristofic@1583
|
13 |
"License"). You may not use this file except in compliance with the
|
mkristofic@1583
|
14 |
License. You can obtain a copy of the License at
|
mkristofic@1583
|
15 |
http://www.netbeans.org/cddl-gplv2.html
|
mkristofic@1583
|
16 |
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
mkristofic@1583
|
17 |
specific language governing permissions and limitations under the
|
mkristofic@1583
|
18 |
License. When distributing the software, include this License Header
|
mkristofic@1583
|
19 |
Notice in each file and include the License file at
|
mkristofic@1583
|
20 |
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
mkristofic@1583
|
21 |
particular file as subject to the "Classpath" exception as provided
|
mkristofic@1583
|
22 |
by Oracle in the GPL Version 2 section of the License file that
|
mkristofic@1583
|
23 |
accompanied this code. If applicable, add the following below the
|
mkristofic@1583
|
24 |
License Header, with the fields enclosed by brackets [] replaced by
|
mkristofic@1583
|
25 |
your own identifying information:
|
mkristofic@1583
|
26 |
"Portions Copyrighted [year] [name of copyright owner]"
|
mkristofic@1583
|
27 |
|
mkristofic@1583
|
28 |
Contributor(s):
|
mkristofic@1583
|
29 |
|
mkristofic@1583
|
30 |
The Original Software is NetBeans. The Initial Developer of the Original
|
mkristofic@1583
|
31 |
Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun
|
mkristofic@1583
|
32 |
Microsystems, Inc. All Rights Reserved.
|
mkristofic@1583
|
33 |
|
mkristofic@1583
|
34 |
If you wish your version of this file to be governed by only the CDDL
|
mkristofic@1583
|
35 |
or only the GPL Version 2, indicate your decision by adding
|
mkristofic@1583
|
36 |
"[Contributor] elects to include this software in this distribution
|
mkristofic@1583
|
37 |
under the [CDDL or GPL Version 2] license." If you do not indicate a
|
mkristofic@1583
|
38 |
single choice of license, a recipient has the option to distribute
|
mkristofic@1583
|
39 |
your version of this file under either the CDDL, the GPL Version 2 or
|
mkristofic@1583
|
40 |
to extend the choice of license to its licensees as provided above.
|
mkristofic@1583
|
41 |
However, if you add GPL Version 2 code and therefore, elected the GPL
|
mkristofic@1583
|
42 |
Version 2 license, then the option applies only if the new code is
|
mkristofic@1583
|
43 |
made subject to such option by the copyright holder.
|
mkristofic@1583
|
44 |
-->
|
mkristofic@1583
|
45 |
<!--
|
jglick@1568
|
46 |
*** GENERATED FROM project.xml - DO NOT EDIT ***
|
jglick@1568
|
47 |
*** EDIT ../build.xml INSTEAD ***
|
jglick@1568
|
48 |
-->
|
jglick@1568
|
49 |
<project name="org.netbeans.modules.xml.schema.abe-impl" basedir="..">
|
jglick@1568
|
50 |
<fail message="Please build using Ant 1.7.1 or higher.">
|
jglick@1568
|
51 |
<condition>
|
jglick@1568
|
52 |
<not>
|
jglick@1568
|
53 |
<antversion atleast="1.7.1"/>
|
jglick@1568
|
54 |
</not>
|
jglick@1568
|
55 |
</condition>
|
jglick@1568
|
56 |
</fail>
|
jglick@1568
|
57 |
<property file="nbproject/private/suite-private.properties"/>
|
jglick@1568
|
58 |
<property file="nbproject/suite.properties"/>
|
jglick@1568
|
59 |
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
|
jglick@1568
|
60 |
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
|
jglick@1568
|
61 |
<property file="${suite.dir}/nbproject/platform.properties"/>
|
jglick@1568
|
62 |
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
|
jglick@1568
|
63 |
<attribute name="name"/>
|
jglick@1568
|
64 |
<attribute name="value"/>
|
jglick@1568
|
65 |
<sequential>
|
jglick@1568
|
66 |
<property name="@{name}" value="${@{value}}"/>
|
jglick@1568
|
67 |
</sequential>
|
jglick@1568
|
68 |
</macrodef>
|
jglick@1568
|
69 |
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
|
jglick@1568
|
70 |
<attribute name="property"/>
|
jglick@1568
|
71 |
<attribute name="value"/>
|
jglick@1568
|
72 |
<sequential>
|
jglick@1568
|
73 |
<property name="@{property}" value="@{value}"/>
|
jglick@1568
|
74 |
</sequential>
|
jglick@1568
|
75 |
</macrodef>
|
jglick@1568
|
76 |
<property file="${user.properties.file}"/>
|
jglick@1568
|
77 |
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
|
jglick@1568
|
78 |
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
|
jglick@1568
|
79 |
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
|
jglick@1568
|
80 |
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
|
jglick@1568
|
81 |
<condition>
|
jglick@1568
|
82 |
<not>
|
jglick@1568
|
83 |
<contains string="${cluster.path.evaluated}" substring="platform"/>
|
jglick@1568
|
84 |
</not>
|
jglick@1568
|
85 |
</condition>
|
jglick@1568
|
86 |
</fail>
|
jglick@1568
|
87 |
<import file="${harness.dir}/build.xml"/>
|
jglick@1568
|
88 |
</project>
|