You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2017/09/20 18:55:24 UTC
[06/13] incubator-netbeans git commit: [NETBEANS-64] Remove NetBeans
Platform Samples
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/nbproject/build-impl.xml
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/nbproject/build-impl.xml b/apisupport.feedreader/feedreader-suite/rome/nbproject/build-impl.xml
deleted file mode 100644
index c03c697..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/nbproject/build-impl.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-*** GENERATED FROM project.xml - DO NOT EDIT ***
-*** EDIT ../build.xml INSTEAD ***
--->
-<project name="com.sun.syndication-impl" basedir="..">
- <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/suite-private.properties"/>
- <property file="nbproject/suite.properties"/>
- <fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
- <property file="${suite.dir}/nbproject/private/platform-private.properties"/>
- <property file="${suite.dir}/nbproject/platform.properties"/>
- <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
- <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-project/2">
- <attribute name="property"/>
- <attribute name="value"/>
- <sequential>
- <property name="@{property}" value="@{value}"/>
- </sequential>
- </macrodef>
- <property file="${user.properties.file}"/>
- <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
- <nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
- <nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
- <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>
- <import file="${harness.dir}/build.xml"/>
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/nbproject/genfiles.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/nbproject/genfiles.properties b/apisupport.feedreader/feedreader-suite/rome/nbproject/genfiles.properties
deleted file mode 100644
index 7103f06..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=b66a659d
-build.xml.script.CRC32=64a44ac4
-build.xml.stylesheet.CRC32=a56c6a5b@2.67
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=b66a659d
-nbproject/build-impl.xml.script.CRC32=d0dd9b45
-nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.67
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/nbproject/project.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/nbproject/project.properties b/apisupport.feedreader/feedreader-suite/rome/nbproject/project.properties
deleted file mode 100644
index c3ed8fb..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/nbproject/project.properties
+++ /dev/null
@@ -1,40 +0,0 @@
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-#
-# Copyright (c) 2007, 2016 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]"
-#
-# 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.
-#
-# Contributor(s):
-is.autoload=true
-license.file=release/modules/ext/rome-0.6-license.txt
-jnlp.verify.excludes=modules/ext/rome-0.6-license.txt
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/nbproject/project.xml
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/nbproject/project.xml b/apisupport.feedreader/feedreader-suite/rome/nbproject/project.xml
deleted file mode 100644
index e926cba..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/nbproject/project.xml
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright (c) 2007, 2016 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]"
-
-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.
-
-Contributor(s):
--->
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>org.netbeans.modules.apisupport.project</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
- <code-name-base>com.sun.syndication</code-name-base>
- <suite-component/>
- <module-dependencies>
- <dependency>
- <code-name-base>org.jdom</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>1.0</specification-version>
- </run-dependency>
- </dependency>
- </module-dependencies>
- <public-packages>
- <package>com.sun.syndication.feed.atom</package>
- <package>com.sun.syndication.io</package>
- <package>com.sun.syndication.feed.module.impl</package>
- <package>com.sun.syndication.io.impl</package>
- <package>com.sun.syndication.feed.synd</package>
- <package>com.sun.syndication.feed.rss</package>
- <package>com.sun.syndication.feed.module</package>
- <package>com.sun.syndication.feed.synd.impl</package>
- <package>com.sun.syndication.feed.impl</package>
- <package>com.sun.syndication.feed</package>
- </public-packages>
- <class-path-extension>
- <runtime-relative-path>ext/rome-0.6.jar</runtime-relative-path>
- <binary-origin>../../external/rome-0.6.jar</binary-origin>
- </class-path-extension>
- </data>
- </configuration>
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/nbproject/suite.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/nbproject/suite.properties b/apisupport.feedreader/feedreader-suite/rome/nbproject/suite.properties
deleted file mode 100644
index 3407645..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/nbproject/suite.properties
+++ /dev/null
@@ -1,38 +0,0 @@
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-#
-# Copyright (c) 2007, 2016 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]"
-#
-# 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.
-#
-# Contributor(s):
-suite.dir=${basedir}/..
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/feedreader-suite/rome/src/com/sun/syndication/Bundle.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/feedreader-suite/rome/src/com/sun/syndication/Bundle.properties b/apisupport.feedreader/feedreader-suite/rome/src/com/sun/syndication/Bundle.properties
deleted file mode 100644
index 37fa7c1..0000000
--- a/apisupport.feedreader/feedreader-suite/rome/src/com/sun/syndication/Bundle.properties
+++ /dev/null
@@ -1,33 +0,0 @@
- # Copyright (c) 2010, Oracle. All rights reserved.
- #
- # Redistribution and use in source and binary forms, with or without
- # modification, are permitted provided that the following conditions are met:
- #
- # * Redistributions of source code must retain the above copyright notice,
- # this list of conditions and the following disclaimer.
- #
- # * Redistributions in binary form must reproduce the above copyright notice,
- # this list of conditions and the following disclaimer in the documentation
- # and/or other materials provided with the distribution.
- #
- # * Neither the name of Oracle nor the names of its contributors
- # may be used to endorse or promote products derived from this software without
- # specific prior written permission.
- #
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- # THE POSSIBILITY OF SUCH DAMAGE.
-
-OpenIDE-Module-Display-Category=Libraries
-OpenIDE-Module-Long-Description=\
- See https://rome.dev.java.net/ for more details.
-OpenIDE-Module-Name=ROME Library
-OpenIDE-Module-Short-Description=Wrapper for ROME Library
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/l10n.list
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/l10n.list b/apisupport.feedreader/l10n.list
deleted file mode 100644
index 863a986..0000000
--- a/apisupport.feedreader/l10n.list
+++ /dev/null
@@ -1,6 +0,0 @@
-# apisupport/samples/feedreader-sample-ui
-read global
-${l10n-module}/src/**/*.gif
-${l10n-module}/src/**/*.html
-${l10n-module}/src/**/*.png
-${l10n-module}/src/**/Bundle.properties
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/manifest.mf
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/manifest.mf b/apisupport.feedreader/manifest.mf
deleted file mode 100644
index 9b3abdb..0000000
--- a/apisupport.feedreader/manifest.mf
+++ /dev/null
@@ -1,6 +0,0 @@
-Manifest-Version: 1.0
-OpenIDE-Module: org.netbeans.modules.apisupport.feedreader/1
-OpenIDE-Module-Layer: org/netbeans/modules/apisupport/feedreader/layer.xml
-OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/feedreader/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.35
-AutoUpdate-Show-In-Client: false
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/nbproject/project.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/nbproject/project.properties b/apisupport.feedreader/nbproject/project.properties
deleted file mode 100644
index f858e4a..0000000
--- a/apisupport.feedreader/nbproject/project.properties
+++ /dev/null
@@ -1,49 +0,0 @@
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-#
-# Copyright 1997-2010 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 1997-2006 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.
-
-bootclasspath.prepend=${tools.jar}
-javac.compilerargs=-Xlint -Xlint:-serial
-javac.source=1.6
-test-unit-sys-prop.test.nbroot=${nb_all}
-extra.license.files=\
- external/jdom-1.0-license.txt,\
- external/rome-0.6-license.txt
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/nbproject/project.xml
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/nbproject/project.xml b/apisupport.feedreader/nbproject/project.xml
deleted file mode 100644
index 6c997e0..0000000
--- a/apisupport.feedreader/nbproject/project.xml
+++ /dev/null
@@ -1,193 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright 1997-2010 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 1997-2006 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.
--->
-<project xmlns="http://www.netbeans.org/ns/project/1">
- <type>org.netbeans.modules.apisupport.project</type>
- <configuration>
- <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
- <code-name-base>org.netbeans.modules.apisupport.feedreader</code-name-base>
- <module-dependencies>
- <dependency>
- <code-name-base>org.netbeans.modules.apisupport.ant</code-name-base>
- <run-dependency>
- <specification-version>2.42</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.netbeans.modules.projectapi</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <release-version>1</release-version>
- <specification-version>1.7</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <release-version>1</release-version>
- <specification-version>1.78</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.netbeans.modules.projectuiapi.base</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <release-version>1</release-version>
- <specification-version>1.78</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.awt</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>6.5</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.dialogs</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>7.8</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.filesystems</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>9.0</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.loaders</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>7.61</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.util.ui</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>9.3</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.util</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>9.3</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.openide.util.lookup</code-name-base>
- <build-prerequisite/>
- <compile-dependency/>
- <run-dependency>
- <specification-version>8.0</specification-version>
- </run-dependency>
- </dependency>
- </module-dependencies>
- <test-dependencies>
- <test-type>
- <name>unit</name>
- <test-dependency>
- <code-name-base>org.netbeans.libs.junit4</code-name-base>
- <compile-dependency/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.apisupport.ant</code-name-base>
- <compile-dependency/>
- <test/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.apisupport.feedreader</code-name-base>
- <recursive/>
- <compile-dependency/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.apisupport.project</code-name-base>
- <recursive/>
- <compile-dependency/>
- <test/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.masterfs</code-name-base>
- <recursive/>
- <compile-dependency/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.nbjunit</code-name-base>
- <recursive/>
- <compile-dependency/>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.parsing.nb</code-name-base>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.projectapi.nb</code-name-base>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.netbeans.modules.projectui</code-name-base>
- </test-dependency>
- <test-dependency>
- <code-name-base>org.openide.util.lookup</code-name-base>
- <test/>
- </test-dependency>
- </test-type>
- </test-dependencies>
- <public-packages/>
- </data>
- </configuration>
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/Bundle.properties
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/Bundle.properties b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/Bundle.properties
deleted file mode 100644
index 9d9c660..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/Bundle.properties
+++ /dev/null
@@ -1,60 +0,0 @@
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-#
-# Copyright (c) 2005, 2016 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]"
-#
-# 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.
-#
-# Contributor(s):
-OpenIDE-Module-Display-Category=Developing NetBeans
-OpenIDE-Module-Long-Description=\
- Bundles a New Project sample for "FeedReader", an application built atop the NetBeans Platform. \
- Demonstrates a complete module suite with one functional module and several third-party libraries. \
- Shows how to use settings, window manipulation, actions, and more.
-OpenIDE-Module-Name=FeedReader Platform Application Sample
-OpenIDE-Module-Short-Description=Bundles a demonstration application using the NetBeans Platform.
-Templates/Project/Samples/ApiSupport/FeedReaderProject.zip=FeedReader
-Templates/Project/Samples/ApiSupport=NetBeans Modules
-
-# FeedReaderPanelVisual
-LBL_Browse=Br&owse...
-LBL_ProjectFolder=Project Fol&der:
-LBL_ProjectLocation=Project &Location:
-LBL_ProjectName=Project &Name:
-LBL_SelectProjectLocation=Select Project Location
-MSG_CanNotCreateProjectFolder=Project Folder cannot be created.
-MSG_InvalidProjectFolderName=Project Name is not a valid folder name.
-MSG_InvalidProjectFolderPath=Project Folder is not a valid path.
-MSG_ProjectFolderAlreadyExists=Project Folder already exists and is not empty.
-
-# FeedReaderWizardIterator
-LBL_Step1=Create a new FeedReader project
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderDescription.html
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderDescription.html b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderDescription.html
deleted file mode 100644
index b45a72c..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderDescription.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright (c) 2005, 2016 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]"
-
-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.
-
-Contributor(s):
--->
-
-<html>
- <body>
- Illustrates how to use the NetBeans Platform to create your own
- application. See the FeedReader Tutorial for details.
- </body>
-</html>
-
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderPanelVisual.java
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderPanelVisual.java b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderPanelVisual.java
deleted file mode 100644
index d3ea840..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderPanelVisual.java
+++ /dev/null
@@ -1,304 +0,0 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- *
- * Copyright 1997-2010 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 1997-2006 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.
- */
-package org.netbeans.modules.apisupport.feedreader;
-
-import java.io.File;
-import javax.swing.JFileChooser;
-import javax.swing.JPanel;
-import javax.swing.event.DocumentEvent;
-import javax.swing.event.DocumentListener;
-import javax.swing.text.Document;
-import org.netbeans.spi.project.ui.support.ProjectChooser;
-import org.openide.WizardDescriptor;
-import org.openide.WizardValidationException;
-import org.openide.filesystems.FileUtil;
-import org.openide.util.NbBundle;
-
-public class FeedReaderPanelVisual extends JPanel implements DocumentListener {
-
- public static final String PROP_PROJECT_NAME = "projectName"; // NOI18N
-
- private FeedReaderWizardPanel panel;
-
- /** Creates new form PanelProjectLocationVisual */
- public FeedReaderPanelVisual(FeedReaderWizardPanel panel) {
- initComponents();
- this.panel = panel;
- // Register listener on the textFields to make the automatic updates
- projectNameTextField.getDocument().addDocumentListener( this );
- projectLocationTextField.getDocument().addDocumentListener( this );
- }
-
- public String getProjectName() {
- return this.projectNameTextField.getText();
- }
-
- // <editor-fold defaultstate="collapsed" desc=" UI Code ">
- private void initComponents() {
- java.awt.GridBagConstraints gridBagConstraints;
-
- projectNameLabel = new javax.swing.JLabel();
- projectNameTextField = new javax.swing.JTextField();
- projectLocationLabel = new javax.swing.JLabel();
- projectLocationTextField = new javax.swing.JTextField();
- browseButton = new javax.swing.JButton();
- createdFolderLabel = new javax.swing.JLabel();
- createdFolderTextField = new javax.swing.JTextField();
-
- setLayout(new java.awt.GridBagLayout());
-
- projectNameLabel.setLabelFor(projectNameTextField);
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
- gridBagConstraints.insets = new java.awt.Insets(0, 0, 12, 0);
- org.openide.awt.Mnemonics.setLocalizedText(projectNameLabel, NbBundle.getMessage(FeedReaderPanelVisual.class, "LBL_ProjectName"));
- add(projectNameLabel, gridBagConstraints);
-
-
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
- gridBagConstraints.weightx = 1.0;
- gridBagConstraints.insets = new java.awt.Insets(0, 12, 12, 0);
- add(projectNameTextField, gridBagConstraints);
-
- projectLocationLabel.setLabelFor(projectLocationTextField);
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridy = 1;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
- gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
- org.openide.awt.Mnemonics.setLocalizedText(projectLocationLabel, NbBundle.getMessage(FeedReaderPanelVisual.class, "LBL_ProjectLocation"));
- add(projectLocationLabel, gridBagConstraints);
-
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridy = 1;
- gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
- gridBagConstraints.weightx = 1.0;
- gridBagConstraints.insets = new java.awt.Insets(0, 12, 5, 0);
- add(projectLocationTextField, gridBagConstraints);
-
- browseButton.setActionCommand("BROWSE");
- browseButton.addActionListener(new java.awt.event.ActionListener() {
- public void actionPerformed(java.awt.event.ActionEvent evt) {
- browseLocationAction(evt);
- }
- });
-
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridy = 1;
- gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
- gridBagConstraints.insets = new java.awt.Insets(0, 6, 5, 0);
- org.openide.awt.Mnemonics.setLocalizedText(browseButton, NbBundle.getMessage(FeedReaderPanelVisual.class, "LBL_Browse"));
- add(browseButton, gridBagConstraints);
-
- createdFolderLabel.setLabelFor(createdFolderTextField);
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
- org.openide.awt.Mnemonics.setLocalizedText(createdFolderLabel, NbBundle.getMessage(FeedReaderPanelVisual.class, "LBL_ProjectFolder"));
- add(createdFolderLabel, gridBagConstraints);
-
- createdFolderTextField.setEditable(false);
- gridBagConstraints = new java.awt.GridBagConstraints();
- gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
- gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
- gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
- gridBagConstraints.weightx = 1.0;
- gridBagConstraints.weighty = 1.0;
- gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
- add(createdFolderTextField, gridBagConstraints);
- }
- // </editor-fold>
-
- private void browseLocationAction(java.awt.event.ActionEvent evt) {
- String command = evt.getActionCommand();
- if ("BROWSE".equals(command)) { // NOI18N
- JFileChooser chooser = new JFileChooser();
- FileUtil.preventFileChooserSymlinkTraversal(chooser, null);
- chooser.setDialogTitle(NbBundle.getMessage(FeedReaderPanelVisual.class, "LBL_SelectProjectLocation"));
- chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
- String path = this.projectLocationTextField.getText();
- if (path.length() > 0) {
- File f = new File(path);
- if (f.exists()) {
- chooser.setSelectedFile(f);
- }
- }
- if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(this)) { //NOI18N
- File projectDir = chooser.getSelectedFile();
- projectLocationTextField.setText( FileUtil.normalizeFile(projectDir).getAbsolutePath() );
- }
- panel.fireChangeEvent();
- }
- }
-
- public void addNotify() {
- super.addNotify();
- //same problem as in 31086, initial focus on Cancel button
- projectNameTextField.requestFocus();
- }
-
- boolean valid( WizardDescriptor wizardDescriptor ) {
- if ( projectNameTextField.getText().length() == 0 ) {
- wizardDescriptor.putProperty( WizardDescriptor.PROP_ERROR_MESSAGE, // NOI18N
- NbBundle.getMessage(FeedReaderPanelVisual.class, "MSG_InvalidProjectFolderName"));
- return false; // Display name not specified
- }
- File f = FileUtil.normalizeFile(new File(projectLocationTextField.getText()).getAbsoluteFile());
- if (!f.isDirectory()) {
- wizardDescriptor.putProperty(WizardDescriptor.PROP_ERROR_MESSAGE, // NOI18N
- NbBundle.getMessage(FeedReaderPanelVisual.class, "MSG_InvalidProjectFolderPath"));
- return false;
- }
- final File destFolder = FileUtil.normalizeFile(new File(createdFolderTextField.getText()).getAbsoluteFile());
-
- File projLoc = destFolder;
- while (projLoc != null && !projLoc.exists()) {
- projLoc = projLoc.getParentFile();
- }
- if (projLoc == null || !projLoc.canWrite()) {
- wizardDescriptor.putProperty( WizardDescriptor.PROP_ERROR_MESSAGE, // NOI18N
- NbBundle.getMessage(FeedReaderPanelVisual.class, "MSG_CanNotCreateProjectFolder"));
- return false;
- }
-
- if (FileUtil.toFileObject(projLoc) == null) {
- wizardDescriptor.putProperty(WizardDescriptor.PROP_ERROR_MESSAGE, // NOI18N
- NbBundle.getMessage(FeedReaderPanelVisual.class, "MSG_InvalidProjectFolderPath"));
- return false;
- }
-
- File[] kids = destFolder.listFiles();
- if ( destFolder.exists() && kids != null && kids.length > 0) {
- // Folder exists and is not empty
- wizardDescriptor.putProperty( WizardDescriptor.PROP_ERROR_MESSAGE, // NOI18N
- NbBundle.getMessage(FeedReaderPanelVisual.class, "MSG_ProjectFolderAlreadyExists"));
- return false;
- }
- wizardDescriptor.putProperty(WizardDescriptor.PROP_ERROR_MESSAGE, ""); // NOI18N
- return true;
- }
-
- void store( WizardDescriptor d ) {
- String name = projectNameTextField.getText().trim();
- String folder = createdFolderTextField.getText().trim();
-
- d.putProperty( /*XXX Define somewhere */ "projdir", new File( folder )); // NOI18N
- d.putProperty( /*XXX Define somewhere */ "name", name ); // NOI18N
- }
-
- void read(WizardDescriptor settings) {
- File projectLocation = (File) settings.getProperty("projdir"); //NOI18N
- if (projectLocation == null || projectLocation.getParentFile() == null || !projectLocation.getParentFile().isDirectory()) {
- projectLocation = ProjectChooser.getProjectsFolder();
- } else {
- projectLocation = projectLocation.getParentFile();
- }
- this.projectLocationTextField.setText(projectLocation.getAbsolutePath());
-
- String projectName = (String) settings.getProperty("name"); //NOI18N
- if (projectName == null) {
- projectName = "feedreader-suite";
- }
- this.projectNameTextField.setText(projectName);
- this.projectNameTextField.selectAll();
- }
-
- void validate(WizardDescriptor d) throws WizardValidationException {
- // nothing to validate
- }
-
- // UI Variables declaration -
- private javax.swing.JButton browseButton;
- private javax.swing.JLabel createdFolderLabel;
- private javax.swing.JTextField createdFolderTextField;
- private javax.swing.JLabel projectLocationLabel;
- private javax.swing.JTextField projectLocationTextField;
- private javax.swing.JLabel projectNameLabel;
- private javax.swing.JTextField projectNameTextField;
- // End of variables declaration
-
- // Implementation of DocumentListener --------------------------------------
-
- public void changedUpdate( DocumentEvent e ) {
- updateTexts( e );
- if (this.projectNameTextField.getDocument() == e.getDocument()) {
- firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
- }
- }
-
- public void insertUpdate( DocumentEvent e ) {
- updateTexts( e );
- if (this.projectNameTextField.getDocument() == e.getDocument()) {
- firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
- }
- }
-
- public void removeUpdate( DocumentEvent e ) {
- updateTexts( e );
- if (this.projectNameTextField.getDocument() == e.getDocument()) {
- firePropertyChange(PROP_PROJECT_NAME,null,this.projectNameTextField.getText());
- }
- }
-
- /** Handles changes in the Project name and project directory. */
- private void updateTexts( DocumentEvent e ) {
- Document doc = e.getDocument();
-
- if ( doc == projectNameTextField.getDocument() || doc == projectLocationTextField.getDocument() ) {
- // Change in the project name
-
- String projectName = projectNameTextField.getText();
- String projectFolder = projectLocationTextField.getText();
-
- //if ( projectFolder.trim().length() == 0 || projectFolder.equals( oldName ) ) {
- createdFolderTextField.setText( projectFolder + File.separatorChar + projectName );
- //}
-
- }
- panel.fireChangeEvent(); // Notify that the panel changed
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardIterator.java
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardIterator.java b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardIterator.java
deleted file mode 100644
index 7b426cb..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardIterator.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- *
- * Copyright 1997-2010 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 1997-2006 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.
- */
-package org.netbeans.modules.apisupport.feedreader;
-
-import java.awt.Component;
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.text.MessageFormat;
-import java.util.Enumeration;
-import java.util.LinkedHashSet;
-import java.util.NoSuchElementException;
-import java.util.Set;
-import javax.swing.JComponent;
-import javax.swing.event.ChangeListener;
-import org.netbeans.api.project.ProjectManager;
-import org.netbeans.spi.project.ui.support.ProjectChooser;
-import org.netbeans.spi.project.ui.templates.support.Templates;
-import org.openide.WizardDescriptor;
-import org.openide.filesystems.FileObject;
-import org.openide.filesystems.FileUtil;
-import org.openide.util.NbBundle;
-
-public class FeedReaderWizardIterator implements WizardDescriptor.InstantiatingIterator {
-
- private static final long serialVersionUID = 1L;
-
- private transient int index;
- private transient WizardDescriptor.Panel[] panels;
- private transient WizardDescriptor wiz;
-
- public static FeedReaderWizardIterator createIterator() {
- return new FeedReaderWizardIterator();
- }
-
- private WizardDescriptor.Panel[] createPanels() {
- return new WizardDescriptor.Panel[] {
- new FeedReaderWizardPanel(),
- };
- }
-
- private String[] createSteps() {
- return new String[] {
- NbBundle.getMessage(FeedReaderWizardPanel.class, "LBL_Step1"),
- };
- }
-
- public Set/*<FileObject>*/ instantiate() throws IOException {
- Set resultSet = new LinkedHashSet();
- File dirF = FileUtil.normalizeFile((File) wiz.getProperty("projdir"));
- dirF.mkdirs();
-
- FileObject template = Templates.getTemplate(wiz);
- FileObject dir = FileUtil.toFileObject(dirF);
- InputStream is = template.getInputStream();
- try {
- FileUtil.extractJar(dir, is);
- } finally {
- is.close();
- }
- //unZipFile(template.getInputStream(), dir);
-
- // Always open top dir as a project:
- resultSet.add(dir);
- // Look for nested projects to open as well:
- Enumeration e = dir.getFolders(true);
- while (e.hasMoreElements()) {
- FileObject subfolder = (FileObject) e.nextElement();
- if (ProjectManager.getDefault().isProject(subfolder)) {
- resultSet.add(subfolder);
- }
- }
-
- File parent = dirF.getParentFile();
- if (parent != null && parent.exists()) {
- ProjectChooser.setProjectsFolder(parent);
- }
-
- return resultSet;
- }
-
- public void initialize(WizardDescriptor wiz) {
- this.wiz = wiz;
- index = 0;
- panels = createPanels();
- // Make sure list of steps is accurate.
- String[] steps = createSteps();
- for (int i = 0; i < panels.length; i++) {
- Component c = panels[i].getComponent();
- if (steps[i] == null) {
- // Default step name to component name of panel.
- // Mainly useful for getting the name of the target
- // chooser to appear in the list of steps.
- steps[i] = c.getName();
- }
- if (c instanceof JComponent) { // assume Swing components
- JComponent jc = (JComponent)c;
- // Step #.
- jc.putClientProperty(WizardDescriptor.PROP_CONTENT_SELECTED_INDEX, new Integer(i)); // NOI18N
- // Step name (actually the whole list for reference).
- jc.putClientProperty(WizardDescriptor.PROP_CONTENT_DATA, steps); // NOI18N
- }
- }
- }
-
- public void uninitialize(WizardDescriptor wiz) {
- this.wiz.putProperty("projdir", null); // NOI18N
- this.wiz.putProperty("name", null); // NOI18N
- this.wiz = null;
- panels = null;
- }
-
- public String name() {
- return MessageFormat.format("{0} of {1}",
- new Object[] {new Integer(index + 1), new Integer(panels.length) });
- }
-
- public boolean hasNext() {
- return index < panels.length - 1;
- }
-
- public boolean hasPrevious() {
- return index > 0;
- }
-
- public void nextPanel() {
- if (!hasNext()) {
- throw new NoSuchElementException();
- }
- index++;
- }
-
- public void previousPanel() {
- if (!hasPrevious()) {
- throw new NoSuchElementException();
- }
- index--;
- }
-
- public WizardDescriptor.Panel current() {
- return panels[index];
- }
-
- // If nothing unusual changes in the middle of the wizard, simply:
- public final void addChangeListener(ChangeListener l) {}
- public final void removeChangeListener(ChangeListener l) {}
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardPanel.java
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardPanel.java b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardPanel.java
deleted file mode 100644
index eefade3..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/FeedReaderWizardPanel.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- *
- * Copyright 1997-2010 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 1997-2006 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.
- */
-package org.netbeans.modules.apisupport.feedreader;
-
-import java.awt.Component;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-import javax.swing.event.ChangeEvent;
-import javax.swing.event.ChangeListener;
-import org.openide.WizardDescriptor;
-import org.openide.WizardValidationException;
-import org.openide.util.HelpCtx;
-import org.openide.util.NbBundle;
-
-/**
- * Panel just asking for basic info.
- */
-public class FeedReaderWizardPanel implements WizardDescriptor.Panel,
- WizardDescriptor.ValidatingPanel, WizardDescriptor.FinishablePanel {
-
- private WizardDescriptor wizardDescriptor;
- private FeedReaderPanelVisual component;
-
- public Component getComponent() {
- if (component == null) {
- component = new FeedReaderPanelVisual(this);
- }
- return component;
- }
-
- public HelpCtx getHelp() {
- return new HelpCtx( FeedReaderWizardPanel.class );
- }
-
- public boolean isValid() {
- getComponent();
- return component.valid( wizardDescriptor );
- }
-
- private final Set/*<ChangeListener>*/ listeners = new HashSet(1);
- public final void addChangeListener(ChangeListener l) {
- synchronized (listeners) {
- listeners.add(l);
- }
- }
- public final void removeChangeListener(ChangeListener l) {
- synchronized (listeners) {
- listeners.remove(l);
- }
- }
- protected final void fireChangeEvent() {
- Iterator it;
- synchronized (listeners) {
- it = new HashSet(listeners).iterator();
- }
- ChangeEvent ev = new ChangeEvent(this);
- while (it.hasNext()) {
- ((ChangeListener)it.next()).stateChanged(ev);
- }
- }
-
- public void readSettings(Object settings) {
- wizardDescriptor = (WizardDescriptor)settings;
- component.read(wizardDescriptor);
-
- // XXX hack, TemplateWizard in final setTemplateImpl() forces new wizard's title
- // this name is used in NewProjectWizard to modify the title
- wizardDescriptor.putProperty("NewProjectWizard_Title", //NOI18N
- NbBundle.getMessage(FeedReaderWizardPanel.class,
- "Templates/Project/Samples/ApiSupport/FeedReaderProject.zip")); //NOI18N
- }
-
- public void storeSettings(Object settings) {
- WizardDescriptor d = (WizardDescriptor)settings;
- component.store(d);
- d.putProperty("NewProjectWizard_Title", null); //NOI18N
- }
-
- public boolean isFinishPanel() {
- return true;
- }
-
- public void validate() throws WizardValidationException {
- getComponent();
- component.validate(wizardDescriptor);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/layer.xml
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/layer.xml b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/layer.xml
deleted file mode 100644
index 703f072..0000000
--- a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/layer.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright 1997-2010 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 1997-2006 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.
--->
-<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
-<filesystem>
- <folder name="Templates">
- <folder name="Project">
- <folder name="Samples">
- <folder name="ApiSupport">
- <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.apisupport.feedreader.Bundle"/>
- <file name="FeedReaderProject.zip" url="FeedReaderProject.zip">
- <attr name="position" intvalue="1000"/>
- <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/apisupport/feedreader/rss16.gif"/>
- <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.apisupport.feedreader.Bundle"/>
- <attr name="instantiatingIterator" methodvalue="org.netbeans.modules.apisupport.feedreader.FeedReaderWizardIterator.createIterator"/>
- <attr name="instantiatingWizardURL" urlvalue="nbresloc:/org/netbeans/modules/apisupport/feedreader/FeedReaderDescription.html"/>
- <attr name="template" boolvalue="true"/>
- </file>
- </folder>
- </folder>
- </folder>
- </folder>
-</filesystem>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/rss16.gif
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/rss16.gif b/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/rss16.gif
deleted file mode 100644
index a166c4c..0000000
Binary files a/apisupport.feedreader/src/org/netbeans/modules/apisupport/feedreader/rss16.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.feedreader/test/unit/src/org/netbeans/modules/apisupport/project/BuildFeedreaderTest.java
----------------------------------------------------------------------
diff --git a/apisupport.feedreader/test/unit/src/org/netbeans/modules/apisupport/project/BuildFeedreaderTest.java b/apisupport.feedreader/test/unit/src/org/netbeans/modules/apisupport/project/BuildFeedreaderTest.java
deleted file mode 100644
index 4a0ef70..0000000
--- a/apisupport.feedreader/test/unit/src/org/netbeans/modules/apisupport/project/BuildFeedreaderTest.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
- *
- * Copyright 1997-2010 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 1997-2006 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.
- */
-
-package org.netbeans.modules.apisupport.project;
-
-import java.io.File;
-import java.io.InputStream;
-import java.util.Properties;
-import org.apache.tools.ant.module.api.support.ActionUtils;
-import org.netbeans.api.project.ProjectManager;
-import org.netbeans.modules.apisupport.project.layers.LayerTestBase;
-import org.netbeans.modules.apisupport.project.suite.SuiteProject;
-import org.netbeans.spi.project.support.ant.GeneratedFilesHelper;
-import org.openide.DialogDescriptor;
-import org.openide.execution.ExecutorTask;
-import org.openide.filesystems.FileObject;
-import org.openide.filesystems.FileUtil;
-
-/**
- * Tests Feedreader sample.
- * Invokes various Ant targets over Feedreader sample.
- *
- * @author Tomas Musil
- */
-public class BuildFeedreaderTest extends TestBase {
-
- private File feedFolder = null;
-
- static {
- // #65461: do not try to load ModuleInfo instances from ant module
- System.setProperty("org.netbeans.core.startup.ModuleSystem.CULPRIT", "true");
- LayerTestBase.Lkp.setLookup(new Object[0]);
- DialogDisplayerImpl.returnFromNotify(DialogDescriptor.NO_OPTION);
- }
-
- public BuildFeedreaderTest(String testName) {
- super(testName);
- }
-
- protected void setUp() throws Exception {
- clearWorkDir();
- noDataDir = true;
- super.setUp();
- InstalledFileLocatorImpl.registerDestDir(destDirF);
- TestAntLogger.getDefault().setEnabled(true);
- }
-
- protected void tearDown() throws Exception {
- TestAntLogger.getDefault().setEnabled(false);
- }
-
- /**
- * Extracts feedreader to workdir, then platform properties are copied and ant task(s) is called. Build status is returned
- */
- public int runAntTargetsOnFeedreader(String[] targets) throws Exception{
- InputStream is = getClass().getClassLoader().getResourceAsStream("org/netbeans/modules/apisupport/feedreader/FeedReaderProject.zip");
- assertNotNull(is);
- feedFolder = new File(getWorkDir(),"feedreader");
- feedFolder.mkdir();
- FileObject fo = FileUtil.toFileObject(feedFolder);
- assertNotNull(fo);
-
-
- try {
- FileUtil.extractJar(fo,is);
- } finally {
- is.close();
- }
-
- File buildProps = new File(getWorkDir(), "build.properties");
- File privateFolder = new File(new File(feedFolder, "nbproject"),"private");
- privateFolder.mkdir();
-
- FileObject platfPrivateProps = FileUtil.copyFile(FileUtil.toFileObject(buildProps), FileUtil.toFileObject(privateFolder), "platform-private");
- assertNotNull(platfPrivateProps);
- SuiteProject feedreaderSuite = (SuiteProject) ProjectManager.getDefault().findProject(fo);
- assertNotNull(feedreaderSuite);
- FileObject buildScript = feedreaderSuite.getProjectDirectory().getFileObject(GeneratedFilesHelper.BUILD_XML_PATH);
- assertNotNull(buildScript);
- assertTrue(buildScript.isValid());
-
- Properties p = new Properties();
- p.setProperty("jnlp.sign.jars", "false");
-
- System.out.println("------------- BUILD OUTPUT --------------");
- ExecutorTask et = ActionUtils.runTarget(buildScript, targets, p);
- et.waitFinished();
- System.out.println("-----------------------------------------");
- return et.result();
- }
-
- /**
- * Invokes build-jnlp target on feedreader
- */
- public void testBuildJNLP() throws Exception {
- int ret = runAntTargetsOnFeedreader(new String[] {"build-jnlp"});
- assertFileExists("dist/feedreader.war");
- assertEquals("build-jnlp ant target should return zero - build successful", 0 , ret);
- }
-
- /**
- * Invokes build-zip target on feedreader
- */
- public void testBuildZip() throws Exception {
- int ret = runAntTargetsOnFeedreader(new String[] {"build-zip"});
- assertFileExists("dist/feedreader.zip");
- assertEquals("build-zipant target should return zero - build successful", 0 , ret);
- }
-
- /**
- * Invokes build target on feedreader
- */
- public void testBuild() throws Exception {
- int ret = runAntTargetsOnFeedreader(new String[] {"build"});
- assertEquals("build ant target should return zero - build successful", 0 , ret);
- }
-
- /**
- * Invokes nbms target on feedreader
- */
- public void testBuildNBMs() throws Exception {
- int ret = runAntTargetsOnFeedreader(new String[] {"nbms"});
- assertFileExists("build/updates/com-sun-syndication-fetcher.nbm");
- assertFileExists("build/updates/com-sun-syndication.nbm");
- assertFileExists("build/updates/org-jdom.nbm");
- assertFileExists("build/updates/org-netbeans-feedreader.nbm");
- assertFileExists("build/updates/updates.xml");
- assertEquals("build ant target should return zero - build successful", 0 , ret);
- }
-
- /**
- * Invokes clean target on feedreader
- */
- public void testClean() throws Exception {
- int ret = runAntTargetsOnFeedreader(new String[] {"clean"});
- assertFalse("Empty build",new File(feedFolder,"build").exists());
- assertFalse("Empty dist",new File(feedFolder,"dist").exists());
-
- assertEquals("clean ant target should return zero - build successful", 0 , ret);
- }
-
- private void assertFileExists(String relPath) {
- assertTrue("Feed reader folder exists",feedFolder.exists());
- File f = new File (feedFolder,relPath);
- assertTrue("File ${feedreader}/" + relPath,f.exists());
- }
-
-}
-
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.kit/nbproject/project.xml
----------------------------------------------------------------------
diff --git a/apisupport.kit/nbproject/project.xml b/apisupport.kit/nbproject/project.xml
index 9032ba2..e192e92 100644
--- a/apisupport.kit/nbproject/project.xml
+++ b/apisupport.kit/nbproject/project.xml
@@ -51,19 +51,6 @@ Contributor(s):
</run-dependency>
</dependency>
<dependency>
- <code-name-base>org.netbeans.modules.apisupport.crudsample</code-name-base>
- <run-dependency>
- <specification-version>1.0</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.netbeans.modules.apisupport.feedreader</code-name-base>
- <run-dependency>
- <release-version>1</release-version>
- <specification-version>1.4</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
<code-name-base>org.netbeans.modules.apisupport.harness</code-name-base>
<run-dependency>
<specification-version>1.10</specification-version>
@@ -76,18 +63,6 @@ Contributor(s):
</run-dependency>
</dependency>
<dependency>
- <code-name-base>org.netbeans.modules.apisupport.osgidemo</code-name-base>
- <run-dependency>
- <specification-version>1.1</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
- <code-name-base>org.netbeans.modules.apisupport.paintapp</code-name-base>
- <run-dependency>
- <specification-version>1.1</specification-version>
- </run-dependency>
- </dependency>
- <dependency>
<code-name-base>org.netbeans.modules.apisupport.project</code-name-base>
<run-dependency>
<release-version>1</release-version>
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.osgidemo/build.xml
----------------------------------------------------------------------
diff --git a/apisupport.osgidemo/build.xml b/apisupport.osgidemo/build.xml
deleted file mode 100644
index 74ed554..0000000
--- a/apisupport.osgidemo/build.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-
-Copyright 1997-2010 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 1997-2006 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.
--->
-<project basedir="." default="netbeans" name="apisupport.osgidemo">
- <import file="../nbbuild/templates/projectized.xml"/>
-
- <target name="jar" depends="zip-project,projectized-common.jar"/>
-
- <target name="zip-project" depends="init">
- <property name="examples" location="${build.classes.dir}/org/netbeans/modules/apisupport/osgidemo/"/>
- <mkdir dir="${examples}"/>
- <zip basedir="osgidemo" destfile="${examples}/EquinoxDemo.zip">
- <exclude name="netbinox/**"/>
- <exclude name="**/build/"/>
- <exclude name="**/dist/"/>
- <exclude name="**/nbproject/private/"/>
- </zip>
- </target>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.osgidemo/manifest.mf
----------------------------------------------------------------------
diff --git a/apisupport.osgidemo/manifest.mf b/apisupport.osgidemo/manifest.mf
deleted file mode 100644
index 709d3b2..0000000
--- a/apisupport.osgidemo/manifest.mf
+++ /dev/null
@@ -1,7 +0,0 @@
-Manifest-Version: 1.0
-OpenIDE-Module: org.netbeans.modules.apisupport.osgidemo
-OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/osgidemo/Bundle.properties
-OpenIDE-Module-Requires: javax.script.ScriptEngine.FreeMarker
-OpenIDE-Module-Specification-Version: 1.24
-OpenIDE-Module-Layer: org/netbeans/modules/apisupport/osgidemo/layer.xml
-AutoUpdate-Show-In-Client: false
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/b7aa832e/apisupport.osgidemo/nbproject/project.properties
----------------------------------------------------------------------
diff --git a/apisupport.osgidemo/nbproject/project.properties b/apisupport.osgidemo/nbproject/project.properties
deleted file mode 100644
index 9a3429c..0000000
--- a/apisupport.osgidemo/nbproject/project.properties
+++ /dev/null
@@ -1,43 +0,0 @@
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
-#
-# Copyright (c) 2010, 2016 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]"
-#
-# 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.
-#
-# Contributor(s):
-javac.source=1.6
-javac.compilerargs=-Xlint -Xlint:-serial
-test-unit-sys-prop.test.nbroot=${nb_all}
-bootclasspath.prepend=${tools.jar}
-toplink-essentials.jar=${nb_all}/nbbuild/netbeans/${nb.cluster.java.dir}/modules/ext/toplink/toplink-essentials.jar
-toplink-essentials-agent.jar=${nb_all}/nbbuild/netbeans/${nb.cluster.java.dir}/modules/ext/toplink/toplink-essentials-agent.jar