1.1 --- a/libs.djnsswt.gtklinuxx64/build.xml Mon Jun 24 16:57:26 2013 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,5 +0,0 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<project basedir="." default="netbeans" name="libs.djnsswt.gtklinuxx64">
1.6 - <description>Builds, tests, and runs the project org.netbeans.libs.djnsswt.gtklinuxx64</description>
1.7 - <import file="../nbbuild/templates/projectized.xml"/>
1.8 -</project>
2.1 --- a/libs.djnsswt.gtklinuxx64/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,2 +0,0 @@
2.4 -7FBBB4E1C8F2D4C108B9FD2023078D6886C06DF4 DJNativeSwing-SWTCore.jar
2.5 -BB802EF5ECB248DEA110903DADCFCF68B17533F2 swt_gtklinuxx64.jar
3.1 --- a/libs.djnsswt.gtklinuxx64/manifest.mf Mon Jun 24 16:57:26 2013 +0200
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,5 +0,0 @@
3.4 -Manifest-Version: 1.0
3.5 -OpenIDE-Module: org.netbeans.libs.djnsswt.gtklinuxx64/1
3.6 -OpenIDE-Module-Implementation-Version: 1
3.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/djnsswt/gtklinuxx64/Bundle.properties
3.8 -AutoUpdate-Show-In-Client: true
4.1 --- a/libs.djnsswt.gtklinuxx64/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,5 +0,0 @@
4.4 -javac.source=1.6
4.5 -javac.compilerargs=-Xlint -Xlint:-serial
4.6 -spec.version.base=1.0
4.7 -release.external/DJNativeSwing-SWTCore.jar=modules/ext/DJNativeSwing-SWTCore.jar
4.8 -release.external/swt_gtklinuxx64.jar=modules/ext/swt_gtklinuxx64.jar
5.1 --- a/libs.djnsswt.gtklinuxx64/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,46 +0,0 @@
5.4 -<?xml version="1.0" encoding="UTF-8"?>
5.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
5.6 - <type>org.netbeans.modules.apisupport.project</type>
5.7 - <configuration>
5.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
5.9 - <code-name-base>org.netbeans.libs.djnsswt.gtklinuxx64</code-name-base>
5.10 - <module-dependencies>
5.11 - <dependency>
5.12 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
5.13 - <build-prerequisite/>
5.14 - <compile-dependency/>
5.15 - <run-dependency>
5.16 - <release-version>1</release-version>
5.17 - <specification-version>1.0</specification-version>
5.18 - </run-dependency>
5.19 - </dependency>
5.20 - <dependency>
5.21 - <code-name-base>org.openide.util.lookup</code-name-base>
5.22 - <build-prerequisite/>
5.23 - <compile-dependency/>
5.24 - <run-dependency>
5.25 - <specification-version>8.12</specification-version>
5.26 - </run-dependency>
5.27 - </dependency>
5.28 - <dependency>
5.29 - <code-name-base>org.netbeans.libs.jna</code-name-base>
5.30 - <build-prerequisite/>
5.31 - <compile-dependency/>
5.32 - <run-dependency>
5.33 - <release-version>1</release-version>
5.34 - <specification-version>1.17</specification-version>
5.35 - </run-dependency>
5.36 - </dependency>
5.37 - </module-dependencies>
5.38 - <public-packages/>
5.39 - <class-path-extension>
5.40 - <runtime-relative-path>ext/swt_gtklinuxx64.jar</runtime-relative-path>
5.41 - <binary-origin>external/swt_gtklinuxx64.jar</binary-origin>
5.42 - </class-path-extension>
5.43 - <class-path-extension>
5.44 - <runtime-relative-path>ext/DJNativeSwing-SWTCore.jar</runtime-relative-path>
5.45 - <binary-origin>external/DJNativeSwing-SWTCore.jar</binary-origin>
5.46 - </class-path-extension>
5.47 - </data>
5.48 - </configuration>
5.49 -</project>
6.1 --- a/libs.djnsswt.gtklinuxx64/src/org/netbeans/libs/djnsswt/gtklinuxx64/ApiProvider.java Mon Jun 24 16:57:26 2013 +0200
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,60 +0,0 @@
6.4 -/*
6.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6.6 - *
6.7 - * Copyright 2010 Oracle and/or its affiliates. All rights reserved.
6.8 - *
6.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
6.10 - * Other names may be trademarks of their respective owners.
6.11 - *
6.12 - * The contents of this file are subject to the terms of either the GNU
6.13 - * General Public License Version 2 only ("GPL") or the Common
6.14 - * Development and Distribution License("CDDL") (collectively, the
6.15 - * "License"). You may not use this file except in compliance with the
6.16 - * License. You can obtain a copy of the License at
6.17 - * http://www.netbeans.org/cddl-gplv2.html
6.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
6.19 - * specific language governing permissions and limitations under the
6.20 - * License. When distributing the software, include this License Header
6.21 - * Notice in each file and include the License file at
6.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
6.23 - * particular file as subject to the "Classpath" exception as provided
6.24 - * by Oracle in the GPL Version 2 section of the License file that
6.25 - * accompanied this code. If applicable, add the following below the
6.26 - * License Header, with the fields enclosed by brackets [] replaced by
6.27 - * your own identifying information:
6.28 - * "Portions Copyrighted [year] [name of copyright owner]"
6.29 - *
6.30 - * If you wish your version of this file to be governed by only the CDDL
6.31 - * or only the GPL Version 2, indicate your decision by adding
6.32 - * "[Contributor] elects to include this software in this distribution
6.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
6.34 - * single choice of license, a recipient has the option to distribute
6.35 - * your version of this file under either the CDDL, the GPL Version 2 or
6.36 - * to extend the choice of license to its licensees as provided above.
6.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
6.38 - * Version 2 license, then the option applies only if the new code is
6.39 - * made subject to such option by the copyright holder.
6.40 - *
6.41 - * Contributor(s):
6.42 - *
6.43 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
6.44 - */
6.45 -package org.netbeans.libs.djnsswt.gtklinuxx64;
6.46 -
6.47 -import chrriis.dj.nativeswing.swtimpl.internal.NativeCoreObjectFactory;
6.48 -import chrriis.dj.nativeswing.swtimpl.netbeans.NativeCoreAPIProvider;
6.49 -import org.openide.util.lookup.ServiceProvider;
6.50 -
6.51 -/**
6.52 - *
6.53 - * @author S. Aubrecht
6.54 - */
6.55 -@ServiceProvider(service=NativeCoreAPIProvider.class)
6.56 -public class ApiProvider implements NativeCoreAPIProvider {
6.57 -
6.58 - @Override
6.59 - public NativeCoreObjectFactory getObjectFactory() {
6.60 - return new NativeCoreObjectFactory(ApiProvider.class.getClassLoader());
6.61 - }
6.62 -
6.63 -}
7.1 --- a/libs.djnsswt.gtklinuxx64/src/org/netbeans/libs/djnsswt/gtklinuxx64/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,2 +0,0 @@
7.4 -OpenIDE-Module-Name=libs.djns.gtklinuxx64
7.5 -OpenIDE-Module-Display-Category=Base IDE
8.1 --- a/libs.djnsswt.gtklinuxx86/build.xml Mon Jun 24 16:57:26 2013 +0200
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,5 +0,0 @@
8.4 -<?xml version="1.0" encoding="UTF-8"?>
8.5 -<project basedir="." default="netbeans" name="libs.djnsswt.gtklinuxx86">
8.6 - <description>Builds, tests, and runs the project org.netbeans.libs.djnsswt.gtklinuxx86</description>
8.7 - <import file="../nbbuild/templates/projectized.xml"/>
8.8 -</project>
9.1 --- a/libs.djnsswt.gtklinuxx86/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
9.3 @@ -1,2 +0,0 @@
9.4 -7FBBB4E1C8F2D4C108B9FD2023078D6886C06DF4 DJNativeSwing-SWTCore.jar
9.5 -37449A4BD4BFEB878A76E3816F9ABD6026D0C84D swt_gtklinuxx86.jar
10.1 --- a/libs.djnsswt.gtklinuxx86/manifest.mf Mon Jun 24 16:57:26 2013 +0200
10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
10.3 @@ -1,5 +0,0 @@
10.4 -Manifest-Version: 1.0
10.5 -OpenIDE-Module: org.netbeans.libs.djnsswt.gtklinuxx86/1
10.6 -OpenIDE-Module-Implementation-Version: 1
10.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/djnsswt/gtklinuxx86/Bundle.properties
10.8 -AutoUpdate-Show-In-Client: true
11.1 --- a/libs.djnsswt.gtklinuxx86/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
11.3 @@ -1,5 +0,0 @@
11.4 -javac.source=1.6
11.5 -javac.compilerargs=-Xlint -Xlint:-serial
11.6 -spec.version.base=1.0
11.7 -release.external/DJNativeSwing-SWTCore.jar=modules/ext/DJNativeSwing-SWTCore.jar
11.8 -release.external/swt_gtklinuxx86.jar=modules/ext/swt_gtklinuxx86.jar
12.1 --- a/libs.djnsswt.gtklinuxx86/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
12.3 @@ -1,46 +0,0 @@
12.4 -<?xml version="1.0" encoding="UTF-8"?>
12.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
12.6 - <type>org.netbeans.modules.apisupport.project</type>
12.7 - <configuration>
12.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
12.9 - <code-name-base>org.netbeans.libs.djnsswt.gtklinuxx86</code-name-base>
12.10 - <module-dependencies>
12.11 - <dependency>
12.12 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
12.13 - <build-prerequisite/>
12.14 - <compile-dependency/>
12.15 - <run-dependency>
12.16 - <release-version>1</release-version>
12.17 - <specification-version>1.0</specification-version>
12.18 - </run-dependency>
12.19 - </dependency>
12.20 - <dependency>
12.21 - <code-name-base>org.openide.util.lookup</code-name-base>
12.22 - <build-prerequisite/>
12.23 - <compile-dependency/>
12.24 - <run-dependency>
12.25 - <specification-version>8.12</specification-version>
12.26 - </run-dependency>
12.27 - </dependency>
12.28 - <dependency>
12.29 - <code-name-base>org.netbeans.libs.jna</code-name-base>
12.30 - <build-prerequisite/>
12.31 - <compile-dependency/>
12.32 - <run-dependency>
12.33 - <release-version>1</release-version>
12.34 - <specification-version>1.17</specification-version>
12.35 - </run-dependency>
12.36 - </dependency>
12.37 - </module-dependencies>
12.38 - <public-packages/>
12.39 - <class-path-extension>
12.40 - <runtime-relative-path>ext/swt_gtklinuxx86.jar</runtime-relative-path>
12.41 - <binary-origin>external/swt_gtklinuxx86.jar</binary-origin>
12.42 - </class-path-extension>
12.43 - <class-path-extension>
12.44 - <runtime-relative-path>ext/DJNativeSwing-SWTCore.jar</runtime-relative-path>
12.45 - <binary-origin>external/DJNativeSwing-SWTCore.jar</binary-origin>
12.46 - </class-path-extension>
12.47 - </data>
12.48 - </configuration>
12.49 -</project>
13.1 --- a/libs.djnsswt.gtklinuxx86/src/org/netbeans/libs/djnsswt/gtklinuxx86/ApiProvider.java Mon Jun 24 16:57:26 2013 +0200
13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
13.3 @@ -1,60 +0,0 @@
13.4 -/*
13.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13.6 - *
13.7 - * Copyright 2010 Oracle and/or its affiliates. All rights reserved.
13.8 - *
13.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
13.10 - * Other names may be trademarks of their respective owners.
13.11 - *
13.12 - * The contents of this file are subject to the terms of either the GNU
13.13 - * General Public License Version 2 only ("GPL") or the Common
13.14 - * Development and Distribution License("CDDL") (collectively, the
13.15 - * "License"). You may not use this file except in compliance with the
13.16 - * License. You can obtain a copy of the License at
13.17 - * http://www.netbeans.org/cddl-gplv2.html
13.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
13.19 - * specific language governing permissions and limitations under the
13.20 - * License. When distributing the software, include this License Header
13.21 - * Notice in each file and include the License file at
13.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
13.23 - * particular file as subject to the "Classpath" exception as provided
13.24 - * by Oracle in the GPL Version 2 section of the License file that
13.25 - * accompanied this code. If applicable, add the following below the
13.26 - * License Header, with the fields enclosed by brackets [] replaced by
13.27 - * your own identifying information:
13.28 - * "Portions Copyrighted [year] [name of copyright owner]"
13.29 - *
13.30 - * If you wish your version of this file to be governed by only the CDDL
13.31 - * or only the GPL Version 2, indicate your decision by adding
13.32 - * "[Contributor] elects to include this software in this distribution
13.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
13.34 - * single choice of license, a recipient has the option to distribute
13.35 - * your version of this file under either the CDDL, the GPL Version 2 or
13.36 - * to extend the choice of license to its licensees as provided above.
13.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
13.38 - * Version 2 license, then the option applies only if the new code is
13.39 - * made subject to such option by the copyright holder.
13.40 - *
13.41 - * Contributor(s):
13.42 - *
13.43 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
13.44 - */
13.45 -package org.netbeans.libs.djnsswt.gtklinuxx86;
13.46 -
13.47 -import chrriis.dj.nativeswing.swtimpl.internal.NativeCoreObjectFactory;
13.48 -import chrriis.dj.nativeswing.swtimpl.netbeans.NativeCoreAPIProvider;
13.49 -import org.openide.util.lookup.ServiceProvider;
13.50 -
13.51 -/**
13.52 - *
13.53 - * @author S. Aubrecht
13.54 - */
13.55 -@ServiceProvider(service=NativeCoreAPIProvider.class)
13.56 -public class ApiProvider implements NativeCoreAPIProvider {
13.57 -
13.58 - @Override
13.59 - public NativeCoreObjectFactory getObjectFactory() {
13.60 - return new NativeCoreObjectFactory(ApiProvider.class.getClassLoader());
13.61 - }
13.62 -
13.63 -}
14.1 --- a/libs.djnsswt.gtklinuxx86/src/org/netbeans/libs/djnsswt/gtklinuxx86/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
14.3 @@ -1,2 +0,0 @@
14.4 -OpenIDE-Module-Name=libs.djns.gtklinuxx86
14.5 -OpenIDE-Module-Display-Category=Base IDE
15.1 --- a/libs.djnsswt.macosxx64/build.xml Mon Jun 24 16:57:26 2013 +0200
15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
15.3 @@ -1,5 +0,0 @@
15.4 -<?xml version="1.0" encoding="UTF-8"?>
15.5 -<project basedir="." default="netbeans" name="libs.djnsswt.macosxx64">
15.6 - <description>Builds, tests, and runs the project org.netbeans.libs.djnsswt.macosxx64</description>
15.7 - <import file="../nbbuild/templates/projectized.xml"/>
15.8 -</project>
16.1 --- a/libs.djnsswt.macosxx64/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
16.3 @@ -1,2 +0,0 @@
16.4 -7FBBB4E1C8F2D4C108B9FD2023078D6886C06DF4 DJNativeSwing-SWTCore.jar
16.5 -F9E5608B128500A7717B953F30629C5449D66C44 swt_macosxx64.jar
17.1 --- a/libs.djnsswt.macosxx64/manifest.mf Mon Jun 24 16:57:26 2013 +0200
17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
17.3 @@ -1,6 +0,0 @@
17.4 -Manifest-Version: 1.0
17.5 -OpenIDE-Module: org.netbeans.libs.djnsswt.macosxx64/1
17.6 -OpenIDE-Module-Implementation-Version: 1
17.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/djnsswt/macosxx64/Bundle.properties
17.8 -OpenIDE-Module-Layer: org/netbeans/libs/djnsswt/macosxx64/layer.xml
17.9 -AutoUpdate-Show-In-Client: true
18.1 --- a/libs.djnsswt.macosxx64/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
18.3 @@ -1,5 +0,0 @@
18.4 -javac.source=1.6
18.5 -javac.compilerargs=-Xlint -Xlint:-serial
18.6 -spec.version.base=1.0
18.7 -release.external/DJNativeSwing-SWTCore.jar=modules/ext/DJNativeSwing-SWTCore.jar
18.8 -release.external/swt_macosxx64.jar=modules/ext/swt_macosxx64.jar
19.1 --- a/libs.djnsswt.macosxx64/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
19.3 @@ -1,37 +0,0 @@
19.4 -<?xml version="1.0" encoding="UTF-8"?>
19.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
19.6 - <type>org.netbeans.modules.apisupport.project</type>
19.7 - <configuration>
19.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
19.9 - <code-name-base>org.netbeans.libs.djnsswt.macosxx64</code-name-base>
19.10 - <module-dependencies>
19.11 - <dependency>
19.12 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
19.13 - <build-prerequisite/>
19.14 - <compile-dependency/>
19.15 - <run-dependency>
19.16 - <release-version>1</release-version>
19.17 - <specification-version>1.0</specification-version>
19.18 - </run-dependency>
19.19 - </dependency>
19.20 - <dependency>
19.21 - <code-name-base>org.openide.util.lookup</code-name-base>
19.22 - <build-prerequisite/>
19.23 - <compile-dependency/>
19.24 - <run-dependency>
19.25 - <specification-version>8.12</specification-version>
19.26 - </run-dependency>
19.27 - </dependency>
19.28 - </module-dependencies>
19.29 - <public-packages/>
19.30 - <class-path-extension>
19.31 - <runtime-relative-path>ext/swt_macosxx64.jar</runtime-relative-path>
19.32 - <binary-origin>external/swt_macosxx64.jar</binary-origin>
19.33 - </class-path-extension>
19.34 - <class-path-extension>
19.35 - <runtime-relative-path>ext/DJNativeSwing-SWTCore.jar</runtime-relative-path>
19.36 - <binary-origin>external/DJNativeSwing-SWTCore.jar</binary-origin>
19.37 - </class-path-extension>
19.38 - </data>
19.39 - </configuration>
19.40 -</project>
20.1 --- a/libs.djnsswt.macosxx64/src/org/netbeans/libs/djnsswt/macosxx64/ApiProvider.java Mon Jun 24 16:57:26 2013 +0200
20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
20.3 @@ -1,60 +0,0 @@
20.4 -/*
20.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
20.6 - *
20.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
20.8 - *
20.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
20.10 - * Other names may be trademarks of their respective owners.
20.11 - *
20.12 - * The contents of this file are subject to the terms of either the GNU
20.13 - * General Public License Version 2 only ("GPL") or the Common
20.14 - * Development and Distribution License("CDDL") (collectively, the
20.15 - * "License"). You may not use this file except in compliance with the
20.16 - * License. You can obtain a copy of the License at
20.17 - * http://www.netbeans.org/cddl-gplv2.html
20.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
20.19 - * specific language governing permissions and limitations under the
20.20 - * License. When distributing the software, include this License Header
20.21 - * Notice in each file and include the License file at
20.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
20.23 - * particular file as subject to the "Classpath" exception as provided
20.24 - * by Oracle in the GPL Version 2 section of the License file that
20.25 - * accompanied this code. If applicable, add the following below the
20.26 - * License Header, with the fields enclosed by brackets [] replaced by
20.27 - * your own identifying information:
20.28 - * "Portions Copyrighted [year] [name of copyright owner]"
20.29 - *
20.30 - * If you wish your version of this file to be governed by only the CDDL
20.31 - * or only the GPL Version 2, indicate your decision by adding
20.32 - * "[Contributor] elects to include this software in this distribution
20.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
20.34 - * single choice of license, a recipient has the option to distribute
20.35 - * your version of this file under either the CDDL, the GPL Version 2 or
20.36 - * to extend the choice of license to its licensees as provided above.
20.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
20.38 - * Version 2 license, then the option applies only if the new code is
20.39 - * made subject to such option by the copyright holder.
20.40 - *
20.41 - * Contributor(s):
20.42 - *
20.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
20.44 - */
20.45 -package org.netbeans.libs.djnsswt.macosxx64;
20.46 -
20.47 -import chrriis.dj.nativeswing.swtimpl.internal.NativeCoreObjectFactory;
20.48 -import chrriis.dj.nativeswing.swtimpl.netbeans.NativeCoreAPIProvider;
20.49 -import org.openide.util.lookup.ServiceProvider;
20.50 -
20.51 -/**
20.52 - *
20.53 - * @author S. Aubrecht
20.54 - */
20.55 -@ServiceProvider(service=NativeCoreAPIProvider.class)
20.56 -public class ApiProvider implements NativeCoreAPIProvider {
20.57 -
20.58 - @Override
20.59 - public NativeCoreObjectFactory getObjectFactory() {
20.60 - return new NativeCoreObjectFactory(ApiProvider.class.getClassLoader());
20.61 - }
20.62 -
20.63 -}
21.1 --- a/libs.djnsswt.macosxx64/src/org/netbeans/libs/djnsswt/macosxx64/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
21.3 @@ -1,2 +0,0 @@
21.4 -OpenIDE-Module-Name=libs.djns.macosxx64
21.5 -OpenIDE-Module-Display-Category=Base IDE
22.1 --- a/libs.djnsswt.macosxx64/src/org/netbeans/libs/djnsswt/macosxx64/layer.xml Mon Jun 24 16:57:26 2013 +0200
22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
22.3 @@ -1,123 +0,0 @@
22.4 -<?xml version="1.0" encoding="UTF-8"?>
22.5 -<!--
22.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
22.7 -
22.8 -Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
22.9 -
22.10 -Oracle and Java are registered trademarks of Oracle and/or its affiliates.
22.11 -Other names may be trademarks of their respective owners.
22.12 -
22.13 -
22.14 -The contents of this file are subject to the terms of either the GNU
22.15 -General Public License Version 2 only ("GPL") or the Common
22.16 -Development and Distribution License("CDDL") (collectively, the
22.17 -"License"). You may not use this file except in compliance with the
22.18 -License. You can obtain a copy of the License at
22.19 -http://www.netbeans.org/cddl-gplv2.html
22.20 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
22.21 -specific language governing permissions and limitations under the
22.22 -License. When distributing the software, include this License Header
22.23 -Notice in each file and include the License file at
22.24 -nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
22.25 -particular file as subject to the "Classpath" exception as provided
22.26 -by Oracle in the GPL Version 2 section of the License file that
22.27 -accompanied this code. If applicable, add the following below the
22.28 -License Header, with the fields enclosed by brackets [] replaced by
22.29 -your own identifying information:
22.30 -"Portions Copyrighted [year] [name of copyright owner]"
22.31 -
22.32 -Contributor(s):
22.33 -
22.34 -The Original Software is NetBeans. The Initial Developer of the Original
22.35 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
22.36 -Microsystems, Inc. All Rights Reserved.
22.37 -
22.38 -If you wish your version of this file to be governed by only the CDDL
22.39 -or only the GPL Version 2, indicate your decision by adding
22.40 -"[Contributor] elects to include this software in this distribution
22.41 -under the [CDDL or GPL Version 2] license." If you do not indicate a
22.42 -single choice of license, a recipient has the option to distribute
22.43 -your version of this file under either the CDDL, the GPL Version 2 or
22.44 -to extend the choice of license to its licensees as provided above.
22.45 -However, if you add GPL Version 2 code and therefore, elected the GPL
22.46 -Version 2 license, then the option applies only if the new code is
22.47 -made subject to such option by the copyright holder.
22.48 --->
22.49 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
22.50 -<filesystem>
22.51 - <!-- Hide menu items that belong on Apple's app menu -->
22.52 - <folder name="Actions">
22.53 - <folder name="Window">
22.54 - <file name="org-netbeans-core-windows-actions-ToggleFullScreenAction.instance_hidden"/>
22.55 - </folder>
22.56 - </folder>
22.57 - <folder name="Menu">
22.58 -
22.59 - <folder name="Tools">
22.60 - <file name="org-netbeans-modules-options-OptionsWindowAction_mac.shadow">
22.61 - <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-modules-options-OptionsWindowAction.instance"/>
22.62 - </file>
22.63 - </folder>
22.64 -
22.65 - <folder name="Help">
22.66 - <file name="org-netbeans-core-actions-AboutAction.shadow_hidden"/>
22.67 -
22.68 - <file name="shortcuts.xml" url="shortcuts_mac.xml">
22.69 - <attr name="displayName" bundlevalue="org.netbeans.modules.url.Bundle#Menu/Help/shortcuts.xml"/>
22.70 - <attr name="weight" intvalue="100"/>
22.71 - <attr name="position" intvalue="400"/>
22.72 - </file>
22.73 - </folder>
22.74 -
22.75 - <file name="Spacer.instance_hidden"/>
22.76 - <folder name="View">
22.77 - <file name="Separator3.instance_hidden"/>
22.78 - <file name="ToggleFullScreenAction.shadow_hidden"/>
22.79 - </folder>
22.80 - <file name="org-netbeans-modules-quicksearch-QuickSearchAction.shadow_hidden"/>
22.81 - </folder>
22.82 -
22.83 - <folder name="Shortcuts">
22.84 - <!-- On the mac, alt left-right is select, etc. next/prev word-->
22.85 - <file name="C-LEFT.shadow">
22.86 - <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-core-windows-actions-PreviousTabAction.instance"/>
22.87 - </file>
22.88 -
22.89 - <file name="C-RIGHT.shadow">
22.90 - <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-core-windows-actions-NextTabAction.instance"/>
22.91 - </file>
22.92 - <file name="M-BACK_SPACE.shadow">
22.93 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-DeleteAction.instance"/>
22.94 - </file>
22.95 -
22.96 - <file name="M-J.shadow">
22.97 - <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-core-windows-actions-PreviousTabAction.instance"/>
22.98 - </file>
22.99 -
22.100 - <file name="M-R.shadow">
22.101 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-ReplaceAction.instance"/>
22.102 - </file>
22.103 -
22.104 - <file name="D-W.shadow">
22.105 - <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-core-windows-actions-CloseWindowAction.instance"/>
22.106 - </file>
22.107 -
22.108 - <file name="CM-F5.shadow">
22.109 - <attr name="originalFile" stringvalue="Actions/Debug/org-netbeans-modules-debugger-ui-actions-DebugMainProjectAction.instance"/>
22.110 - </file>
22.111 -
22.112 - <file name="O-G.shadow">
22.113 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-GotoAction.instance"/>
22.114 - </file>
22.115 - <file name="OS-ENTER.shadow_hidden"/>
22.116 - </folder>
22.117 - <folder name="Keymaps">
22.118 - <folder name="Eclipse">
22.119 - <file name="OS-R.shadow_hidden"/>
22.120 - <file name="DA-R.shadow">
22.121 - <attr name="originalFile" stringvalue="Actions/Refactoring/org-netbeans-modules-refactoring-api-ui-RenameAction.instance"/>
22.122 - </file>
22.123 - </folder>
22.124 - </folder>
22.125 -
22.126 -</filesystem>
23.1 --- a/libs.djnsswt.win32x64/build.xml Mon Jun 24 16:57:26 2013 +0200
23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
23.3 @@ -1,5 +0,0 @@
23.4 -<?xml version="1.0" encoding="UTF-8"?>
23.5 -<project basedir="." default="netbeans" name="libs.djnsswt.win32x64">
23.6 - <description>Builds, tests, and runs the project org.netbeans.libs.djnsswt.win32x64</description>
23.7 - <import file="../nbbuild/templates/projectized.xml"/>
23.8 -</project>
24.1 --- a/libs.djnsswt.win32x64/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
24.3 @@ -1,3 +0,0 @@
24.4 -7FBBB4E1C8F2D4C108B9FD2023078D6886C06DF4 DJNativeSwing-SWTCore.jar
24.5 -BE1366F7E27AEF2B9AA126E7E779DFA1B6D6B13E swt_win32x64.jar
24.6 -
25.1 --- a/libs.djnsswt.win32x64/manifest.mf Mon Jun 24 16:57:26 2013 +0200
25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
25.3 @@ -1,5 +0,0 @@
25.4 -Manifest-Version: 1.0
25.5 -OpenIDE-Module: org.netbeans.libs.djnsswt.win32x64/1
25.6 -OpenIDE-Module-Implementation-Version: 1
25.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/djnsswt/win32x64/Bundle.properties
25.8 -AutoUpdate-Show-In-Client: true
26.1 --- a/libs.djnsswt.win32x64/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
26.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
26.3 @@ -1,5 +0,0 @@
26.4 -javac.source=1.6
26.5 -javac.compilerargs=-Xlint -Xlint:-serial
26.6 -spec.version.base=1.0
26.7 -release.external/DJNativeSwing-SWTCore.jar=modules/ext/DJNativeSwing-SWTCore.jar
26.8 -release.external/swt_win32x64.jar=modules/ext/swt_win32x64.jar
27.1 --- a/libs.djnsswt.win32x64/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
27.3 @@ -1,46 +0,0 @@
27.4 -<?xml version="1.0" encoding="UTF-8"?>
27.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
27.6 - <type>org.netbeans.modules.apisupport.project</type>
27.7 - <configuration>
27.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
27.9 - <code-name-base>org.netbeans.libs.djnsswt.win32x64</code-name-base>
27.10 - <module-dependencies>
27.11 - <dependency>
27.12 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
27.13 - <build-prerequisite/>
27.14 - <compile-dependency/>
27.15 - <run-dependency>
27.16 - <release-version>1</release-version>
27.17 - <specification-version>1.0</specification-version>
27.18 - </run-dependency>
27.19 - </dependency>
27.20 - <dependency>
27.21 - <code-name-base>org.openide.util.lookup</code-name-base>
27.22 - <build-prerequisite/>
27.23 - <compile-dependency/>
27.24 - <run-dependency>
27.25 - <specification-version>8.12</specification-version>
27.26 - </run-dependency>
27.27 - </dependency>
27.28 - <dependency>
27.29 - <code-name-base>org.netbeans.libs.jna</code-name-base>
27.30 - <build-prerequisite/>
27.31 - <compile-dependency/>
27.32 - <run-dependency>
27.33 - <release-version>1</release-version>
27.34 - <specification-version>1.17</specification-version>
27.35 - </run-dependency>
27.36 - </dependency>
27.37 - </module-dependencies>
27.38 - <public-packages/>
27.39 - <class-path-extension>
27.40 - <runtime-relative-path>ext/swt_win32x64.jar</runtime-relative-path>
27.41 - <binary-origin>external/swt_win32x64.jar</binary-origin>
27.42 - </class-path-extension>
27.43 - <class-path-extension>
27.44 - <runtime-relative-path>ext/DJNativeSwing-SWTCore.jar</runtime-relative-path>
27.45 - <binary-origin>external/DJNativeSwing-SWTCore.jar</binary-origin>
27.46 - </class-path-extension>
27.47 - </data>
27.48 - </configuration>
27.49 -</project>
28.1 --- a/libs.djnsswt.win32x64/src/org/netbeans/libs/djnsswt/win32x64/ApiProvider.java Mon Jun 24 16:57:26 2013 +0200
28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
28.3 @@ -1,60 +0,0 @@
28.4 -/*
28.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
28.6 - *
28.7 - * Copyright 2010 Oracle and/or its affiliates. All rights reserved.
28.8 - *
28.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
28.10 - * Other names may be trademarks of their respective owners.
28.11 - *
28.12 - * The contents of this file are subject to the terms of either the GNU
28.13 - * General Public License Version 2 only ("GPL") or the Common
28.14 - * Development and Distribution License("CDDL") (collectively, the
28.15 - * "License"). You may not use this file except in compliance with the
28.16 - * License. You can obtain a copy of the License at
28.17 - * http://www.netbeans.org/cddl-gplv2.html
28.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
28.19 - * specific language governing permissions and limitations under the
28.20 - * License. When distributing the software, include this License Header
28.21 - * Notice in each file and include the License file at
28.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
28.23 - * particular file as subject to the "Classpath" exception as provided
28.24 - * by Oracle in the GPL Version 2 section of the License file that
28.25 - * accompanied this code. If applicable, add the following below the
28.26 - * License Header, with the fields enclosed by brackets [] replaced by
28.27 - * your own identifying information:
28.28 - * "Portions Copyrighted [year] [name of copyright owner]"
28.29 - *
28.30 - * If you wish your version of this file to be governed by only the CDDL
28.31 - * or only the GPL Version 2, indicate your decision by adding
28.32 - * "[Contributor] elects to include this software in this distribution
28.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
28.34 - * single choice of license, a recipient has the option to distribute
28.35 - * your version of this file under either the CDDL, the GPL Version 2 or
28.36 - * to extend the choice of license to its licensees as provided above.
28.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
28.38 - * Version 2 license, then the option applies only if the new code is
28.39 - * made subject to such option by the copyright holder.
28.40 - *
28.41 - * Contributor(s):
28.42 - *
28.43 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
28.44 - */
28.45 -package org.netbeans.libs.djnsswt.win32x64;
28.46 -
28.47 -import chrriis.dj.nativeswing.swtimpl.internal.NativeCoreObjectFactory;
28.48 -import chrriis.dj.nativeswing.swtimpl.netbeans.NativeCoreAPIProvider;
28.49 -import org.openide.util.lookup.ServiceProvider;
28.50 -
28.51 -/**
28.52 - *
28.53 - * @author S. Aubrecht
28.54 - */
28.55 -@ServiceProvider(service=NativeCoreAPIProvider.class)
28.56 -public class ApiProvider implements NativeCoreAPIProvider {
28.57 -
28.58 - @Override
28.59 - public NativeCoreObjectFactory getObjectFactory() {
28.60 - return new NativeCoreObjectFactory(ApiProvider.class.getClassLoader());
28.61 - }
28.62 -
28.63 -}
29.1 --- a/libs.djnsswt.win32x64/src/org/netbeans/libs/djnsswt/win32x64/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
29.3 @@ -1,2 +0,0 @@
29.4 -OpenIDE-Module-Name=libs.djns.win32x64
29.5 -OpenIDE-Module-Display-Category=Base IDE
30.1 --- a/libs.djnsswt.win32x86/build.xml Mon Jun 24 16:57:26 2013 +0200
30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
30.3 @@ -1,5 +0,0 @@
30.4 -<?xml version="1.0" encoding="UTF-8"?>
30.5 -<project basedir="." default="netbeans" name="libs.djnsswt.win32x86">
30.6 - <description>Builds, tests, and runs the project org.netbeans.libs.djnsswt.win32x86</description>
30.7 - <import file="../nbbuild/templates/projectized.xml"/>
30.8 -</project>
31.1 --- a/libs.djnsswt.win32x86/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
31.3 @@ -1,2 +0,0 @@
31.4 -7FBBB4E1C8F2D4C108B9FD2023078D6886C06DF4 DJNativeSwing-SWTCore.jar
31.5 -7B7C79DBBD9FFFD3CDB1F14A526EB4E218B338B6 swt_win32x86.jar
32.1 --- a/libs.djnsswt.win32x86/manifest.mf Mon Jun 24 16:57:26 2013 +0200
32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
32.3 @@ -1,5 +0,0 @@
32.4 -Manifest-Version: 1.0
32.5 -OpenIDE-Module: org.netbeans.libs.djnsswt.win32x86/1
32.6 -OpenIDE-Module-Implementation-Version: 1
32.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/djnsswt/win32x86/Bundle.properties
32.8 -AutoUpdate-Show-In-Client: true
33.1 --- a/libs.djnsswt.win32x86/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
33.3 @@ -1,5 +0,0 @@
33.4 -javac.source=1.6
33.5 -javac.compilerargs=-Xlint -Xlint:-serial
33.6 -spec.version.base=1.0
33.7 -release.external/DJNativeSwing-SWTCore.jar=modules/ext/DJNativeSwing-SWTCore.jar
33.8 -release.external/swt_win32x86.jar=modules/ext/swt_win32x86.jar
34.1 --- a/libs.djnsswt.win32x86/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
34.3 @@ -1,46 +0,0 @@
34.4 -<?xml version="1.0" encoding="UTF-8"?>
34.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
34.6 - <type>org.netbeans.modules.apisupport.project</type>
34.7 - <configuration>
34.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
34.9 - <code-name-base>org.netbeans.libs.djnsswt.win32x86</code-name-base>
34.10 - <module-dependencies>
34.11 - <dependency>
34.12 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
34.13 - <build-prerequisite/>
34.14 - <compile-dependency/>
34.15 - <run-dependency>
34.16 - <release-version>1</release-version>
34.17 - <specification-version>1.0</specification-version>
34.18 - </run-dependency>
34.19 - </dependency>
34.20 - <dependency>
34.21 - <code-name-base>org.openide.util.lookup</code-name-base>
34.22 - <build-prerequisite/>
34.23 - <compile-dependency/>
34.24 - <run-dependency>
34.25 - <specification-version>8.12</specification-version>
34.26 - </run-dependency>
34.27 - </dependency>
34.28 - <dependency>
34.29 - <code-name-base>org.netbeans.libs.jna</code-name-base>
34.30 - <build-prerequisite/>
34.31 - <compile-dependency/>
34.32 - <run-dependency>
34.33 - <release-version>1</release-version>
34.34 - <specification-version>1.17</specification-version>
34.35 - </run-dependency>
34.36 - </dependency>
34.37 - </module-dependencies>
34.38 - <public-packages/>
34.39 - <class-path-extension>
34.40 - <runtime-relative-path>ext/swt_win32x86.jar</runtime-relative-path>
34.41 - <binary-origin>external/swt_win32x86.jar</binary-origin>
34.42 - </class-path-extension>
34.43 - <class-path-extension>
34.44 - <runtime-relative-path>ext/DJNativeSwing-SWTCore.jar</runtime-relative-path>
34.45 - <binary-origin>external/DJNativeSwing-SWTCore.jar</binary-origin>
34.46 - </class-path-extension>
34.47 - </data>
34.48 - </configuration>
34.49 -</project>
35.1 --- a/libs.djnsswt.win32x86/src/org/netbeans/libs/djnsswt/win32x86/ApiProvider.java Mon Jun 24 16:57:26 2013 +0200
35.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
35.3 @@ -1,60 +0,0 @@
35.4 -/*
35.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
35.6 - *
35.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
35.8 - *
35.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
35.10 - * Other names may be trademarks of their respective owners.
35.11 - *
35.12 - * The contents of this file are subject to the terms of either the GNU
35.13 - * General Public License Version 2 only ("GPL") or the Common
35.14 - * Development and Distribution License("CDDL") (collectively, the
35.15 - * "License"). You may not use this file except in compliance with the
35.16 - * License. You can obtain a copy of the License at
35.17 - * http://www.netbeans.org/cddl-gplv2.html
35.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
35.19 - * specific language governing permissions and limitations under the
35.20 - * License. When distributing the software, include this License Header
35.21 - * Notice in each file and include the License file at
35.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
35.23 - * particular file as subject to the "Classpath" exception as provided
35.24 - * by Oracle in the GPL Version 2 section of the License file that
35.25 - * accompanied this code. If applicable, add the following below the
35.26 - * License Header, with the fields enclosed by brackets [] replaced by
35.27 - * your own identifying information:
35.28 - * "Portions Copyrighted [year] [name of copyright owner]"
35.29 - *
35.30 - * If you wish your version of this file to be governed by only the CDDL
35.31 - * or only the GPL Version 2, indicate your decision by adding
35.32 - * "[Contributor] elects to include this software in this distribution
35.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
35.34 - * single choice of license, a recipient has the option to distribute
35.35 - * your version of this file under either the CDDL, the GPL Version 2 or
35.36 - * to extend the choice of license to its licensees as provided above.
35.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
35.38 - * Version 2 license, then the option applies only if the new code is
35.39 - * made subject to such option by the copyright holder.
35.40 - *
35.41 - * Contributor(s):
35.42 - *
35.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
35.44 - */
35.45 -package org.netbeans.libs.djnsswt.win32x86;
35.46 -
35.47 -import chrriis.dj.nativeswing.swtimpl.internal.NativeCoreObjectFactory;
35.48 -import chrriis.dj.nativeswing.swtimpl.netbeans.NativeCoreAPIProvider;
35.49 -import org.openide.util.lookup.ServiceProvider;
35.50 -
35.51 -/**
35.52 - *
35.53 - * @author S. Aubrecht
35.54 - */
35.55 -@ServiceProvider(service=NativeCoreAPIProvider.class)
35.56 -public class ApiProvider implements NativeCoreAPIProvider {
35.57 -
35.58 - @Override
35.59 - public NativeCoreObjectFactory getObjectFactory() {
35.60 - return new NativeCoreObjectFactory(ApiProvider.class.getClassLoader());
35.61 - }
35.62 -
35.63 -}
36.1 --- a/libs.djnsswt.win32x86/src/org/netbeans/libs/djnsswt/win32x86/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
36.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
36.3 @@ -1,2 +0,0 @@
36.4 -OpenIDE-Module-Name=libs.djns.win32x86
36.5 -OpenIDE-Module-Display-Category=Base IDE
37.1 --- a/libs.djnsswt/build.xml Mon Jun 24 16:57:26 2013 +0200
37.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
37.3 @@ -1,5 +0,0 @@
37.4 -<?xml version="1.0" encoding="UTF-8"?>
37.5 -<project basedir="." default="netbeans" name="libs.djnsswt">
37.6 - <description>Builds, tests, and runs the project org.netbeans.modules.libs.djnsswt</description>
37.7 - <import file="../nbbuild/templates/projectized.xml"/>
37.8 -</project>
38.1 --- a/libs.djnsswt/external/binaries-list Mon Jun 24 16:57:26 2013 +0200
38.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
38.3 @@ -1,4 +0,0 @@
38.4 -FC8A09FA01BDCF4178B73A18FAD2072087828FE8 DJNativeSwing.jar
38.5 -CA2E5F5FB91D15603778CE9981150A6609156402 DJNativeSwing-SWTAPI.jar
38.6 -22447AE9F14DFF9F03168A8D10577268B1253AF4 jna_WindowUtils.jar
38.7 -81B2CE8EDEE26699A37CA1B54B89AA75A871FD6D MozillaInterfaces-1.8.1.3.jar
39.1 --- a/libs.djnsswt/manifest.mf Mon Jun 24 16:57:26 2013 +0200
39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
39.3 @@ -1,6 +0,0 @@
39.4 -Manifest-Version: 1.0
39.5 -OpenIDE-Module: org.netbeans.modules.libs.djnsswt/1
39.6 -OpenIDE-Module-Implementation-Version: 1
39.7 -OpenIDE-Module-Install: org/netbeans/modules/libs/djnsswt/Installer.class
39.8 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/libs/djnsswt/Bundle.properties
39.9 -AutoUpdate-Show-In-Client: true
40.1 --- a/libs.djnsswt/nbproject/project.properties Mon Jun 24 16:57:26 2013 +0200
40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
40.3 @@ -1,7 +0,0 @@
40.4 -javac.source=1.6
40.5 -javac.compilerargs=-Xlint -Xlint:-serial
40.6 -spec.version.base=1.0
40.7 -release.external/DJNativeSwing.jar=modules/ext/DJNativeSwing.jar
40.8 -release.external/DJNativeSwing-SWTAPI.jar=modules/ext/DJNativeSwing-SWTAPI.jar
40.9 -release.external/jna_WindowUtils.jar=modules/ext/jna_WindowUtils.jar
40.10 -release.external/MozillaInterfaces-1.8.1.3.jar=modules/ext/MozillaInterfaces-1.8.1.3.jar
40.11 \ No newline at end of file
41.1 --- a/libs.djnsswt/nbproject/project.xml Mon Jun 24 16:57:26 2013 +0200
41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
41.3 @@ -1,95 +0,0 @@
41.4 -<?xml version="1.0" encoding="UTF-8"?>
41.5 -<project xmlns="http://www.netbeans.org/ns/project/1">
41.6 - <type>org.netbeans.modules.apisupport.project</type>
41.7 - <configuration>
41.8 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
41.9 - <code-name-base>org.netbeans.modules.libs.djnsswt</code-name-base>
41.10 - <module-dependencies>
41.11 - <dependency>
41.12 - <code-name-base>org.netbeans.api.progress</code-name-base>
41.13 - <build-prerequisite/>
41.14 - <compile-dependency/>
41.15 - <run-dependency>
41.16 - <release-version>1</release-version>
41.17 - <specification-version>1.27</specification-version>
41.18 - </run-dependency>
41.19 - </dependency>
41.20 - <dependency>
41.21 - <code-name-base>org.netbeans.libs.jna</code-name-base>
41.22 - <build-prerequisite/>
41.23 - <compile-dependency/>
41.24 - <run-dependency>
41.25 - <release-version>1</release-version>
41.26 - <specification-version>1.17</specification-version>
41.27 - </run-dependency>
41.28 - </dependency>
41.29 - <dependency>
41.30 - <code-name-base>org.netbeans.modules.autoupdate.services</code-name-base>
41.31 - <build-prerequisite/>
41.32 - <compile-dependency/>
41.33 - <run-dependency>
41.34 - <specification-version>1.29</specification-version>
41.35 - </run-dependency>
41.36 - </dependency>
41.37 - <dependency>
41.38 - <code-name-base>org.openide.modules</code-name-base>
41.39 - <build-prerequisite/>
41.40 - <compile-dependency/>
41.41 - <run-dependency>
41.42 - <specification-version>7.28</specification-version>
41.43 - </run-dependency>
41.44 - </dependency>
41.45 - <dependency>
41.46 - <code-name-base>org.openide.util</code-name-base>
41.47 - <build-prerequisite/>
41.48 - <compile-dependency/>
41.49 - <run-dependency>
41.50 - <specification-version>8.20</specification-version>
41.51 - </run-dependency>
41.52 - </dependency>
41.53 - <dependency>
41.54 - <code-name-base>org.openide.util.lookup</code-name-base>
41.55 - <build-prerequisite/>
41.56 - <compile-dependency/>
41.57 - <run-dependency>
41.58 - <specification-version>8.12</specification-version>
41.59 - </run-dependency>
41.60 - </dependency>
41.61 - </module-dependencies>
41.62 - <public-packages>
41.63 - <package>chrriis.common</package>
41.64 - <package>chrriis.dj.nativeswing</package>
41.65 - <package>chrriis.dj.nativeswing.swtimpl</package>
41.66 - <package>chrriis.dj.nativeswing.swtimpl.components</package>
41.67 - <package>chrriis.dj.nativeswing.swtimpl.components.internal</package>
41.68 - <package>chrriis.dj.nativeswing.swtimpl.components.win32</package>
41.69 - <package>chrriis.dj.nativeswing.swtimpl.components.win32.internal</package>
41.70 - <package>chrriis.dj.nativeswing.swtimpl.internal</package>
41.71 - <package>chrriis.dj.nativeswing.swtimpl.netbeans</package>
41.72 - <package>chrriis.dj.nativeswing.swtimpl.utilities</package>
41.73 - <package>chrriis.dj.nativeswing.swtimpl.utilities.internal</package>
41.74 - <package>com.sun.jna.examples</package>
41.75 - <package>com.sun.jna.examples.unix</package>
41.76 - <package>com.sun.jna.examples.win32</package>
41.77 - <package>org.mozilla.interfaces</package>
41.78 - <package>org.mozilla.xpcom</package>
41.79 - </public-packages>
41.80 - <class-path-extension>
41.81 - <runtime-relative-path>ext/DJNativeSwing-SWTAPI.jar</runtime-relative-path>
41.82 - <binary-origin>external/DJNativeSwing-SWTAPI.jar</binary-origin>
41.83 - </class-path-extension>
41.84 - <class-path-extension>
41.85 - <runtime-relative-path>ext/jna_WindowUtils.jar</runtime-relative-path>
41.86 - <binary-origin>external/jna_WindowUtils.jar</binary-origin>
41.87 - </class-path-extension>
41.88 - <class-path-extension>
41.89 - <runtime-relative-path>ext/DJNativeSwing.jar</runtime-relative-path>
41.90 - <binary-origin>external/DJNativeSwing.jar</binary-origin>
41.91 - </class-path-extension>
41.92 - <class-path-extension>
41.93 - <runtime-relative-path>ext/MozillaInterfaces-1.8.1.3.jar</runtime-relative-path>
41.94 - <binary-origin>external/MozillaInterfaces-1.8.1.3.jar</binary-origin>
41.95 - </class-path-extension>
41.96 - </data>
41.97 - </configuration>
41.98 -</project>
42.1 --- a/libs.djnsswt/src/org/netbeans/modules/libs/djnsswt/Bundle.properties Mon Jun 24 16:57:26 2013 +0200
42.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
42.3 @@ -1,2 +0,0 @@
42.4 -OpenIDE-Module-Name=libs.djns-swt
42.5 -OpenIDE-Module-Display-Category=Base IDE
43.1 --- a/libs.djnsswt/src/org/netbeans/modules/libs/djnsswt/Installer.java Mon Jun 24 16:57:26 2013 +0200
43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
43.3 @@ -1,91 +0,0 @@
43.4 -/*
43.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
43.6 - *
43.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
43.8 - *
43.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
43.10 - * Other names may be trademarks of their respective owners.
43.11 - *
43.12 - * The contents of this file are subject to the terms of either the GNU
43.13 - * General Public License Version 2 only ("GPL") or the Common
43.14 - * Development and Distribution License("CDDL") (collectively, the
43.15 - * "License"). You may not use this file except in compliance with the
43.16 - * License. You can obtain a copy of the License at
43.17 - * http://www.netbeans.org/cddl-gplv2.html
43.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
43.19 - * specific language governing permissions and limitations under the
43.20 - * License. When distributing the software, include this License Header
43.21 - * Notice in each file and include the License file at
43.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
43.23 - * particular file as subject to the "Classpath" exception as provided
43.24 - * by Oracle in the GPL Version 2 section of the License file that
43.25 - * accompanied this code. If applicable, add the following below the
43.26 - * License Header, with the fields enclosed by brackets [] replaced by
43.27 - * your own identifying information:
43.28 - * "Portions Copyrighted [year] [name of copyright owner]"
43.29 - *
43.30 - * If you wish your version of this file to be governed by only the CDDL
43.31 - * or only the GPL Version 2, indicate your decision by adding
43.32 - * "[Contributor] elects to include this software in this distribution
43.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
43.34 - * single choice of license, a recipient has the option to distribute
43.35 - * your version of this file under either the CDDL, the GPL Version 2 or
43.36 - * to extend the choice of license to its licensees as provided above.
43.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
43.38 - * Version 2 license, then the option applies only if the new code is
43.39 - * made subject to such option by the copyright holder.
43.40 - *
43.41 - * Contributor(s):
43.42 - *
43.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
43.44 - */
43.45 -package org.netbeans.modules.libs.djnsswt;
43.46 -
43.47 -import chrriis.common.Utils;
43.48 -import java.util.Collections;
43.49 -import java.util.HashMap;
43.50 -import java.util.HashSet;
43.51 -import java.util.Map;
43.52 -import java.util.Set;
43.53 -import org.openide.modules.ModuleInstall;
43.54 -
43.55 -public class Installer extends ModuleInstall {
43.56 -
43.57 - @Override
43.58 - public void restored() {
43.59 - Map modelMap = new HashMap();
43.60 - modelMap.put( "Windows.32", "org.netbeans.libs.djnsswt.win32x86" );
43.61 - modelMap.put( "Windows.64", "org.netbeans.libs.djnsswt.win32x64" );
43.62 - modelMap.put( "Linux.32", "org.netbeans.libs.djnsswt.gtklinuxx86" );
43.63 - modelMap.put( "Linux.64", "org.netbeans.libs.djnsswt.gtklinuxx64" );
43.64 - modelMap.put( "Mac.32", "org.netbeans.libs.djnsswt.macosxx86" );
43.65 - modelMap.put( "Mac.64", "org.netbeans.libs.djnsswt.macosxx64" );
43.66 - String osArch;
43.67 - if( Utils.IS_64_BIT ) {
43.68 - osArch = "64";
43.69 - } else {
43.70 - osArch = "32";
43.71 - }
43.72 - String osName = System.getProperty( "os.name" );
43.73 - if( Utils.IS_WINDOWS ) {
43.74 - osName = "Windows";
43.75 - } else if( Utils.IS_MAC ) {
43.76 - osName = "Mac";
43.77 - } else {
43.78 - osName = "Linux";
43.79 - }
43.80 - Map osNameMap = new HashMap();
43.81 - osNameMap.put( "Windows", "Windows" );
43.82 - osNameMap.put( "Linux", "Linux" );
43.83 - osNameMap.put( "Mac", "Mac" );
43.84 - String toEnable = ( String ) modelMap.get( (new StringBuilder( String.valueOf( ( String ) osNameMap.get( osName ) ) )).append( "." ).append( osArch ).toString() );
43.85 - Set toDisable = new HashSet( modelMap.values() );
43.86 - if( toEnable != null ) {
43.87 - toDisable.remove( toEnable );
43.88 - }
43.89 - ModuleHandler disablerModuleHandler = new ModuleHandler( true );
43.90 - disablerModuleHandler.setModulesState( toDisable, false );
43.91 - ModuleHandler enablerModuleHandler = new ModuleHandler( true );
43.92 - enablerModuleHandler.setModulesState( Collections.singleton( toEnable ), true );
43.93 - }
43.94 -}
44.1 --- a/libs.djnsswt/src/org/netbeans/modules/libs/djnsswt/ModuleHandler.java Mon Jun 24 16:57:26 2013 +0200
44.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
44.3 @@ -1,212 +0,0 @@
44.4 -/*
44.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
44.6 - *
44.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
44.8 - *
44.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
44.10 - * Other names may be trademarks of their respective owners.
44.11 - *
44.12 - * The contents of this file are subject to the terms of either the GNU
44.13 - * General Public License Version 2 only ("GPL") or the Common
44.14 - * Development and Distribution License("CDDL") (collectively, the
44.15 - * "License"). You may not use this file except in compliance with the
44.16 - * License. You can obtain a copy of the License at
44.17 - * http://www.netbeans.org/cddl-gplv2.html
44.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
44.19 - * specific language governing permissions and limitations under the
44.20 - * License. When distributing the software, include this License Header
44.21 - * Notice in each file and include the License file at
44.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
44.23 - * particular file as subject to the "Classpath" exception as provided
44.24 - * by Oracle in the GPL Version 2 section of the License file that
44.25 - * accompanied this code. If applicable, add the following below the
44.26 - * License Header, with the fields enclosed by brackets [] replaced by
44.27 - * your own identifying information:
44.28 - * "Portions Copyrighted [year] [name of copyright owner]"
44.29 - *
44.30 - * If you wish your version of this file to be governed by only the CDDL
44.31 - * or only the GPL Version 2, indicate your decision by adding
44.32 - * "[Contributor] elects to include this software in this distribution
44.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
44.34 - * single choice of license, a recipient has the option to distribute
44.35 - * your version of this file under either the CDDL, the GPL Version 2 or
44.36 - * to extend the choice of license to its licensees as provided above.
44.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
44.38 - * Version 2 license, then the option applies only if the new code is
44.39 - * made subject to such option by the copyright holder.
44.40 - *
44.41 - * Contributor(s):
44.42 - *
44.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
44.44 - */
44.45 -package org.netbeans.modules.libs.djnsswt;
44.46 -
44.47 -import java.util.ArrayList;
44.48 -import java.util.Collection;
44.49 -import java.util.Collections;
44.50 -import java.util.HashSet;
44.51 -import java.util.List;
44.52 -import java.util.Set;
44.53 -
44.54 -import org.netbeans.api.autoupdate.OperationContainer;
44.55 -import org.netbeans.api.autoupdate.OperationContainer.OperationInfo;
44.56 -import org.netbeans.api.autoupdate.OperationException;
44.57 -import org.netbeans.api.autoupdate.OperationSupport;
44.58 -import org.netbeans.api.autoupdate.OperationSupport.Restarter;
44.59 -import org.netbeans.api.autoupdate.UpdateElement;
44.60 -import org.netbeans.api.autoupdate.UpdateManager;
44.61 -import org.netbeans.api.autoupdate.UpdateUnit;
44.62 -import org.openide.LifecycleManager;
44.63 -import org.openide.modules.ModuleInfo;
44.64 -import org.openide.util.Exceptions;
44.65 -import org.openide.util.Lookup;
44.66 -
44.67 -
44.68 -/**
44.69 - *
44.70 - * @author stan
44.71 - */
44.72 -class ModuleHandler {
44.73 -
44.74 - private boolean isRestart = false;
44.75 - private OperationContainer<OperationSupport> oc;
44.76 - private Restarter restarter;
44.77 - private final boolean isDirectMode;
44.78 -
44.79 - public ModuleHandler() {
44.80 - this (false);
44.81 - }
44.82 -
44.83 - public ModuleHandler(boolean isDirectMode) {
44.84 - this.isDirectMode = isDirectMode;
44.85 - }
44.86 -
44.87 - public List<String> getModules(String startFilter, boolean includeDisabled) {
44.88 - List<String> activatedModules = new ArrayList<String>();
44.89 - Collection<? extends ModuleInfo> lookupAll = Lookup.getDefault().lookupAll(ModuleInfo.class);
44.90 - for (ModuleInfo moduleInfo : lookupAll) {
44.91 - if (includeDisabled || moduleInfo.isEnabled()) {
44.92 - if (startFilter == null || moduleInfo.getCodeNameBase().startsWith(startFilter)) {
44.93 - activatedModules.add(moduleInfo.getCodeNameBase());
44.94 - }
44.95 - }
44.96 - }
44.97 - Collections.sort(activatedModules);
44.98 - return activatedModules;
44.99 - }
44.100 -
44.101 - public void doRestart(boolean isForced) {
44.102 - if (isForced || isRestart) {
44.103 - if (oc != null && restarter != null) {
44.104 - try {
44.105 - oc.getSupport().doRestart(restarter, null);
44.106 - } catch (OperationException ex) {
44.107 - Exceptions.printStackTrace(ex);
44.108 - }
44.109 - } else {
44.110 - LifecycleManager.getDefault().markForRestart();
44.111 - LifecycleManager.getDefault().exit();
44.112 - }
44.113 - }
44.114 - }
44.115 -
44.116 - /**
44.117 -* Activate/deactivate a list of modules
44.118 -* @param codeNames The names of the modules.
44.119 -* @param isEnabled True to enable the modules, false otherwise.
44.120 -* @return true if a restart is mandatory.
44.121 -*/
44.122 - public boolean setModulesState(Set<String> codeNames, boolean isEnabled) {
44.123 - boolean restartFlag;
44.124 - if (isEnabled) {
44.125 - restartFlag = setModulesEnabled(codeNames);
44.126 - } else {
44.127 - restartFlag = setModulesDisabled(codeNames);
44.128 - }
44.129 - return isRestart = isRestart || restartFlag;
44.130 - }
44.131 -
44.132 - private boolean setModulesDisabled(Set<String> codeNames) {
44.133 - Collection<UpdateElement> toDisable = new HashSet<UpdateElement>();
44.134 - List<UpdateUnit> allUpdateUnits =
44.135 - UpdateManager.getDefault().getUpdateUnits(UpdateManager.TYPE.MODULE);
44.136 - for (UpdateUnit unit : allUpdateUnits) {
44.137 - if (unit.getInstalled() != null) {
44.138 - UpdateElement el = unit.getInstalled();
44.139 - if (el.isEnabled()) {
44.140 - if (codeNames.contains(el.getCodeName())) {
44.141 - toDisable.add(el);
44.142 - }
44.143 - }
44.144 - }
44.145 - }
44.146 - if (!toDisable.isEmpty()) {
44.147 - oc = isDirectMode ? OperationContainer.createForDirectDisable() : OperationContainer.createForDisable();
44.148 - for (UpdateElement module : toDisable) {
44.149 - if (oc.canBeAdded(module.getUpdateUnit(), module)) {
44.150 - OperationInfo<OperationSupport> operationInfo = oc.add(module);
44.151 - if (operationInfo == null) {
44.152 - continue;
44.153 - }
44.154 - // get all module depending on this module
44.155 - Set<UpdateElement> requiredElements = operationInfo.getRequiredElements();
44.156 - // add all of them between modules for disable
44.157 - oc.add(requiredElements);
44.158 - }
44.159 - }
44.160 - try {
44.161 - // get operation support for complete the disable operation
44.162 - OperationSupport support = oc.getSupport();
44.163 - // If support is null, no element can be disabled.
44.164 - if ( support != null ) {
44.165 - restarter = support.doOperation(null);
44.166 - }
44.167 - } catch (OperationException ex) {
44.168 - Exceptions.printStackTrace(ex);
44.169 - }
44.170 - }
44.171 - return restarter != null;
44.172 - }
44.173 -
44.174 - private boolean setModulesEnabled(Set<String> codeNames) {
44.175 - Collection<UpdateElement> toEnable = new HashSet<UpdateElement>();
44.176 - List<UpdateUnit> allUpdateUnits = UpdateManager.getDefault().getUpdateUnits(UpdateManager.TYPE.MODULE);
44.177 - for (UpdateUnit unit : allUpdateUnits) {
44.178 - if (unit.getInstalled() != null) {
44.179 - UpdateElement el = unit.getInstalled();
44.180 - if (!el.isEnabled()) {
44.181 - if (codeNames.contains(el.getCodeName())) {
44.182 - toEnable.add(el);
44.183 - }
44.184 - }
44.185 - }
44.186 - }
44.187 - if (!toEnable.isEmpty()) {
44.188 - oc = OperationContainer.createForEnable();
44.189 - for (UpdateElement module : toEnable) {
44.190 - if (oc.canBeAdded(module.getUpdateUnit(), module)) {
44.191 - OperationInfo<OperationSupport> operationInfo = oc.add(module);
44.192 - if (operationInfo == null) {
44.193 - continue;
44.194 - }
44.195 - // get all module depending on this module
44.196 - Set<UpdateElement> requiredElements = operationInfo.getRequiredElements();
44.197 - // add all of them between modules for disable
44.198 - oc.add(requiredElements);
44.199 - }
44.200 - }
44.201 - try {
44.202 - // get operation support for complete the enable operation
44.203 - OperationSupport support = oc.getSupport();
44.204 - if (support != null) {
44.205 - restarter = support.doOperation(null);
44.206 - }
44.207 - return true;
44.208 - } catch (OperationException ex) {
44.209 - Exceptions.printStackTrace(ex);
44.210 - }
44.211 - }
44.212 - return false;
44.213 - }
44.214 -
44.215 -}
44.216 \ No newline at end of file