| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| |
| Copyright 2009-2017 Oracle and/or its affiliates. All rights reserved. |
| |
| Oracle and Java are registered trademarks of Oracle and/or its affiliates. |
| Other names may be trademarks of their respective owners. |
| |
| The contents of this file are subject to the terms of either the GNU |
| General Public License Version 2 only ("GPL") or the Common |
| Development and Distribution License("CDDL") (collectively, the |
| "License"). You may not use this file except in compliance with the |
| License. You can obtain a copy of the License at |
| http://www.netbeans.org/cddl-gplv2.html |
| or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the |
| specific language governing permissions and limitations under the |
| License. When distributing the software, include this License Header |
| Notice in each file and include the License file at |
| nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this |
| particular file as subject to the "Classpath" exception as provided |
| by Oracle in the GPL Version 2 section of the License file that |
| accompanied this code. If applicable, add the following below the |
| License Header, with the fields enclosed by brackets [] replaced by |
| your own identifying information: |
| "Portions Copyrighted [year] [name of copyright owner]" |
| |
| Contributor(s): |
| |
| The Original Software is NetBeans. The Initial Developer of the Original |
| Software is Sun Microsystems, Inc. Portions Copyright 2009-2010 Sun |
| Microsystems, Inc. All Rights Reserved. |
| |
| If you wish your version of this file to be governed by only the CDDL |
| or only the GPL Version 2, indicate your decision by adding |
| "[Contributor] elects to include this software in this distribution |
| under the [CDDL or GPL Version 2] license." If you do not indicate a |
| single choice of license, a recipient has the option to distribute |
| your version of this file under either the CDDL, the GPL Version 2 or |
| to extend the choice of license to its licensees as provided above. |
| However, if you add GPL Version 2 code and therefore, elected the GPL |
| Version 2 license, then the option applies only if the new code is |
| made subject to such option by the copyright holder. |
| --> |
| <!-- |
| *** GENERATED FROM project.xml - DO NOT EDIT *** |
| *** EDIT ../build.xml INSTEAD *** |
| --> |
| <project name="duplicates-ide-impl" basedir=".." xmlns:sproject="http://www.netbeans.org/ns/nb-module-suite-project/1"> |
| <fail message="Please build using Ant 1.7.1 or higher."> |
| <condition> |
| <not> |
| <antversion atleast="1.7.1"/> |
| </not> |
| </condition> |
| </fail> |
| <property file="nbproject/private/platform-private.properties"/> |
| <property file="nbproject/platform.properties"/> |
| <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-suite-project/1"> |
| <attribute name="name"/> |
| <attribute name="value"/> |
| <sequential> |
| <property name="@{name}" value="${@{value}}"/> |
| </sequential> |
| </macrodef> |
| <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-suite-project/1"> |
| <attribute name="property"/> |
| <attribute name="value"/> |
| <sequential> |
| <property name="@{property}" value="@{value}"/> |
| </sequential> |
| </macrodef> |
| <property file="${user.properties.file}"/> |
| <sproject:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir"/> |
| <sproject:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir"/> |
| <sproject:evalprops property="cluster.path.evaluated" value="${cluster.path}"/> |
| <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness)."> |
| <condition> |
| <not> |
| <contains string="${cluster.path.evaluated}" substring="platform"/> |
| </not> |
| </condition> |
| </fail> |
| <ant antfile="nbproject/platform.xml"/> |
| <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. ${line.separator}You may instead download the harness and platform: -Dbootstrap.url=.../tasks.jar -Dautoupdate.catalog.url=.../updates.xml"> |
| <condition> |
| <not> |
| <available file="${harness.dir}/suite.xml"/> |
| </not> |
| </condition> |
| </fail> |
| <import file="${harness.dir}/suite.xml"/> |
| </project> |