diff --git a/nbbuild/installer/components/products/glassfish-mod/build.xml b/nbbuild/installer/components/products/glassfish-mod/build.xml deleted file mode 100644 index 281317a3cd15..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/glassfish-mod/data/Bundle.properties b/nbbuild/installer/components/products/glassfish-mod/data/Bundle.properties deleted file mode 100644 index 78a0624201e5..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=GlassFish Server Open Source Edition {display-version} -product.description=GlassFish Server {display-version} provides a server for the development and deployment of Java Platform Enterprise Edition (Java EE) and dynamic, scalable HTML5 applications. Key features include Java EE 7 compatibility, modularity, and rapid iterative development. diff --git a/nbbuild/installer/components/products/glassfish-mod/data/icon.png b/nbbuild/installer/components/products/glassfish-mod/data/icon.png deleted file mode 100644 index 3adb98c77a76..000000000000 Binary files a/nbbuild/installer/components/products/glassfish-mod/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/glassfish-mod/manifest.mf b/nbbuild/installer/components/products/glassfish-mod/manifest.mf deleted file mode 100644 index e76778f140b1..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.glassfish.mod.ConfigurationLogic diff --git a/nbbuild/installer/components/products/glassfish-mod/nbproject/build-impl.xml b/nbbuild/installer/components/products/glassfish-mod/nbproject/build-impl.xml deleted file mode 100644 index ab290e14351a..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/nbproject/build-impl.xml +++ /dev/null @@ -1,1413 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/glassfish-mod/nbproject/genfiles.properties b/nbbuild/installer/components/products/glassfish-mod/nbproject/genfiles.properties deleted file mode 100644 index dbb6673f219b..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=d2699649 -build.xml.script.CRC32=9eebca4d -build.xml.stylesheet.CRC32=a12b3d02 -# 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=b5c0c007 -nbproject/build-impl.xml.script.CRC32=a86afb69 -nbproject/build-impl.xml.stylesheet.CRC32=cdba79fa@1.67.1.46 diff --git a/nbbuild/installer/components/products/glassfish-mod/nbproject/project.properties b/nbbuild/installer/components/products/glassfish-mod/nbproject/project.properties deleted file mode 100644 index 09699c7ca551..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: GlassFish Modular -application.vendor=jirka -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NBI_Engine.jar}:\ - ${reference.NetBeans_Installer_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/glassfish-mod/nbproject/project.xml b/nbbuild/installer/components/products/glassfish-mod/nbproject/project.xml deleted file mode 100644 index 78b348c928c3..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: GlassFish Modular - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/Bundle.properties b/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/Bundle.properties deleted file mode 100644 index 6fc82e99fee2..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/Bundle.properties +++ /dev/null @@ -1,47 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.copy.files=Creating configuration files from templates -CL.install.replace.tokens=Creating configuration files from templates -CL.install.irrelevant.files=Removing files irrelevant to the current platform -CL.install.files.permissions=Correcting files permissions -CL.install.create.domain=Creating the default domain -CL.install.extra.files=Adding some extra files to the installed files list -CL.install.ide.integration=Integrating GlassFish {display-version} with existing NetBeans IDEs - -CL.uninstall.ide.integration=Removing GlassFish {display-version} integration from NetBeans IDEs -CL.uninstall.delete.domain=Deleting the default domain -CL.uninstall.stop.domain=Stopping the default domain -CL.uninstall.extra.files=Deleting extra files -CL.uninstall.stop.derby=Stopping Java DB - -CL.install.error.copy.files=Failed to create configuration files from templates -CL.install.error.replace.tokens=Failed to create configuration files from templates -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files -CL.install.error.files.permissions=Cannot completely correct files permissions -CL.install.error.create.domain=Failed to create the default domain -CL.install.error.extra.files=Failed to add extra files to the installed files list -CL.install.error.ide.integration=Failed to integrate GlassFish {display-version} with existing NetBeans IDEs - -CL.uninstall.error.ide.integration=Failed to remove GlassFish {display-version} integration from NetBeans IDEs -CL.uninstall.error.delete.domain=Failed to delete the default domain -CL.uninstall.error.stop.domain=Failed to stop the default domain -CL.uninstall.error.extra.files=Failed to delete extra files -CL.uninstall.error.stop.derby=Failed to stop Java DB diff --git a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/ConfigurationLogic.java b/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/ConfigurationLogic.java deleted file mode 100644 index c769d356d180..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/ConfigurationLogic.java +++ /dev/null @@ -1,680 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.glassfish.mod; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; - -/** - * - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - // constructor ////////////////////////////////////////////////////////////////// - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - // configuration logic implementation /////////////////////////////////////////// - @Override - public void install(final Progress progress) - throws InstallationException { - File directory = getProduct().getInstallationLocation(); - File jdk4GF4Home = null; - String jdk4GF4Path = getProduct().getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY); - if (! jdk4GF4Path.isEmpty()) { - File jdk4GF4 = new File(jdk4GF4Path); - if (JavaUtils.isJavaHome(jdk4GF4)) { - jdk4GF4Home = jdk4GF4; - } - } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-javaee"); - List productsToIntegrate = new ArrayList(); - for (Product ide : ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + getProduct().getDisplayName() + " can be integrated with " + ide.getDisplayName() + " at " + ide.getInstallationLocation()); - final File location = ide.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - final Product bundledProduct = bundledRegistry.getProduct(ide.getUid(), ide.getVersion()); - if (bundledProduct != null) { - //one of already installed IDEs is in the bundled registry as well - we need to integrate with it - productsToIntegrate.add(ide); - LogManager.log("... will be integrated since this produce is also bundled"); - } else { - //check if this IDE is not integrated with any other GF instance - we need integrate with such IDE instance - try { - if(!isGlassFishRegistred(location)) { - LogManager.log("... will be integrated since there it is not yet integrated with any instance or such an instance does not exist"); - productsToIntegrate.add(ide); - } else { - LogManager.log("... will not be integrated since it is already integrated with another instance"); - } - } catch (IOException e) { - LogManager.log(e); - } - } - } - } - } - - for (Product productToIntegrate : productsToIntegrate) { - final File location = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate Java DB with " + productToIntegrate.getDisplayName() + " installed at " + location); - registerJavaDB(location, new File(directory, "javadb")); - LogManager.log("... integrate " + getProduct().getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + location); - if (jdk4GF4Home != null) { - LogManager.log("... setting Java Home " + jdk4GF4Home + " with " + getProduct().getDisplayName()); - } - if(!registerGlassFish(location, directory, jdk4GF4Home)) { - continue; - } - - // if the IDE was installed in the same session as the - // appserver, we should add its "product id" to the IDE - if (productToIntegrate.hasStatusChanged()) { - NetBeansUtils.addPackId( - location, - PRODUCT_ID); - - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private boolean isGlassFishRegistred(File nbLocation) throws IOException { - return new File (nbLocation, "nb/config/GlassFishEE6WC/Instances/glassfish_autoregistered_instance").exists(); - } - - private boolean registerJavaDB(File nbLocation, File javadbLocation) throws IOException { - if(!FileUtils.exists(javadbLocation)) { - LogManager.log("Requested to register JavaDB at " + javadbLocation + " but can't find it"); - return false; - } - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "ide/modules/org-netbeans-modules-derby.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for JavaDB integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.derby.DerbyRegistration"; - List commands = new ArrayList (); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add(new File(nbLocation, "nb").getAbsolutePath()); - commands.add(javadbLocation.getAbsolutePath()); - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String [] {})).getErrorCode() == 0; - } - - private boolean registerGlassFish(File nbLocation, File gfLocation, File jdk4GF4Home) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-glassfish-common.jar", - "enterprise/modules/org-netbeans-modules-glassfish-tooling.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for GlassFish integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.glassfish.common.registration.AutomaticRegistration"; - List commands = new ArrayList (); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add(nbCluster.getAbsolutePath()); - commands.add(new File(gfLocation, "glassfish").getAbsolutePath()); - if (jdk4GF4Home != null) { - commands.add(jdk4GF4Home.getAbsolutePath()); - } - - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } - - @Override - public void uninstall(final Progress progress) throws UninstallationException { - File directory = getProduct().getInstallationLocation(); - -///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.stop.domain")); // NOI18N - - GlassFishUtils.stopDomain(directory, DOMAIN_NAME); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.stop.domain"), // NOI18N - e); - } - /* -///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.extra.files")); // NOI18N - - if (SystemUtils.isWindows()) { - FileUtils.deleteFile(new File(directory, ASENV_BAT)); - FileUtils.deleteFile(new File(directory, ASADMIN_BAT)); - FileUtils.deleteFile(new File(directory, ASANT_BAT)); - FileUtils.deleteFile(new File(directory, APPCLIENT_BAT)); - FileUtils.deleteFile(new File(directory, JSPC_BAT)); - FileUtils.deleteFile(new File(directory, PACKAGE_APPCLIENT_BAT)); - FileUtils.deleteFile(new File(directory, VERIFIER_BAT)); - FileUtils.deleteFile(new File(directory, ASUPGRADE_BAT)); - FileUtils.deleteFile(new File(directory, CAPTURE_SCHEMA_BAT)); - FileUtils.deleteFile(new File(directory, WSIMPORT_BAT)); - FileUtils.deleteFile(new File(directory, WSGEN_BAT)); - FileUtils.deleteFile(new File(directory, SCHEMAGEN_BAT)); - FileUtils.deleteFile(new File(directory, XJC_BAT)); - FileUtils.deleteFile(new File(directory, ASAPT_BAT)); - FileUtils.deleteFile(new File(directory, WSCOMPILE_BAT)); - FileUtils.deleteFile(new File(directory, WSDEPLOY_BAT)); - } else { - FileUtils.deleteFile(new File(directory, ASENV_CONF)); - FileUtils.deleteFile(new File(directory, UNINSTALL)); - FileUtils.deleteFile(new File(directory, ASADMIN)); - FileUtils.deleteFile(new File(directory, ASANT)); - FileUtils.deleteFile(new File(directory, APPCLIENT)); - FileUtils.deleteFile(new File(directory, JSPC)); - FileUtils.deleteFile(new File(directory, PACKAGE_APPCLIENT)); - FileUtils.deleteFile(new File(directory, VERIFIER)); - FileUtils.deleteFile(new File(directory, ASUPGRADE)); - FileUtils.deleteFile(new File(directory, CAPTURE_SCHEMA)); - FileUtils.deleteFile(new File(directory, WSIMPORT)); - FileUtils.deleteFile(new File(directory, WSGEN)); - FileUtils.deleteFile(new File(directory, XJC)); - FileUtils.deleteFile(new File(directory, SCHEMAGEN)); - FileUtils.deleteFile(new File(directory, ASAPT)); - FileUtils.deleteFile(new File(directory, WSCOMPILE)); - FileUtils.deleteFile(new File(directory, WSDEPLOY)); - } - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.extra.files"), // NOI18N - e); - } - */ - try { - progress.setDetail(getString("CL.uninstall.stop.derby")); // NOI18N - GlassFishUtils.stopDerby(directory); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.stop.derby"), // NOI18N - e); - } catch (NoSuchMethodError e) { - //TODO - } -///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - @Override - public List getWizardComponents() { - return wizardComponents; - } - - @Override - public boolean allowModifyMode() { - return false; - } - - @Override - public Text getLicense() { - return null; - } - -///////////////////////////////////////////////////////////////////////////////// -// Constants - public static final String WIZARD_COMPONENTS_URI = - "resource:" + // NOI18N - "org/netbeans/installer/products/glassfish/mod/wizard.xml"; // NOI18N - - public static final String DOMAIN_NAME = - "domain1"; // NOI18N - /* - public static final String ASENV_BAT_TEMPLATE = - "lib/install/templates/asenv.bat.template"; // NOI18N - public static final String ASENV_BAT = - "config/asenv.bat"; // NOI18N - - public static final String ASADMIN_BAT_TEMPLATE = - "lib/install/templates/asadmin.bat.template"; // NOI18N - public static final String ASADMIN_BAT = - "bin/asadmin.bat"; // NOI18N - - public static final String ASANT_BAT_TEMPLATE = - "lib/install/templates/asant.bat.template"; // NOI18N - public static final String ASANT_BAT = - "bin/asant.bat"; // NOI18N - - public static final String APPCLIENT_BAT_TEMPLATE = - "lib/install/templates/appclient.bat.template"; // NOI18N - public static final String APPCLIENT_BAT = - "bin/appclient.bat"; // NOI18N - - public static final String JSPC_BAT_TEMPLATE = - "lib/install/templates/jspc.bat.template"; // NOI18N - public static final String JSPC_BAT = - "bin/jspc.bat"; // NOI18N - - public static final String PACKAGE_APPCLIENT_BAT_TEMPLATE = - "lib/install/templates/package-appclient.bat.template"; // NOI18N - public static final String PACKAGE_APPCLIENT_BAT = - "bin/package-appclient.bat"; // NOI18N - - public static final String VERIFIER_BAT_TEMPLATE = - "lib/install/templates/verifier.bat.template"; // NOI18N - public static final String VERIFIER_BAT = - "bin/verifier.bat"; // NOI18N - - public static final String ASUPGRADE_BAT_TEMPLATE = - "lib/install/templates/asupgrade.bat.template"; // NOI18N - public static final String ASUPGRADE_BAT = - "bin/asupgrade.bat"; // NOI18N - - public static final String CAPTURE_SCHEMA_BAT_TEMPLATE = - "lib/install/templates/capture-schema.bat.template"; // NOI18N - public static final String CAPTURE_SCHEMA_BAT = - "bin/capture-schema.bat"; // NOI18N - - public static final String WSIMPORT_BAT_TEMPLATE = - "lib/install/templates/wsimport.bat.template"; // NOI18N - public static final String WSIMPORT_BAT = - "bin/wsimport.bat"; // NOI18N - - public static final String WSGEN_BAT_TEMPLATE = - "lib/install/templates/wsgen.bat.template"; // NOI18N - public static final String WSGEN_BAT = - "bin/wsgen.bat"; // NOI18N - - public static final String SCHEMAGEN_BAT_TEMPLATE = - "lib/install/templates/schemagen.bat.template"; // NOI18N - public static final String SCHEMAGEN_BAT = - "bin/schemagen.bat"; // NOI18N - - public static final String XJC_BAT_TEMPLATE = - "lib/install/templates/xjc.bat.template"; // NOI18N - public static final String XJC_BAT = - "bin/xjc.bat"; // NOI18N - - public static final String ASAPT_BAT_TEMPLATE = - "lib/install/templates/asapt.bat.template"; // NOI18N - public static final String ASAPT_BAT = - "bin/asapt.bat"; // NOI18N - - public static final String WSCOMPILE_BAT_TEMPLATE = - "lib/install/templates/wscompile.bat.template"; // NOI18N - public static final String WSCOMPILE_BAT = - "bin/wscompile.bat"; // NOI18N - - public static final String WSDEPLOY_BAT_TEMPLATE = - "lib/install/templates/wsdeploy.bat.template"; // NOI18N - public static final String WSDEPLOY_BAT = - "bin/wsdeploy.bat"; // NOI18N - - public static final String UPDATETOOL_BAT_TEMPLATE = - "updatecenter/lib/install/templates/updatetool.bat.template";//NOI18N - public static final String UPDATETOOL_BAT = - "/updatecenter/bin/updatetool.bat";//NOI18N - - - public static final String ASENV_CONF_TEMPLATE = - "lib/install/templates/asenv.conf.template"; // NOI18N - public static final String ASENV_CONF = - "config/asenv.conf"; // NOI18N - - public static final String ASADMINENV_CONF_TEMPLATE = - "lib/install/templates/asadminenv.conf"; // NOI18N - public static final String ASADMINENV_CONF = - "config/asadminenv.conf"; // NOI18N - - public static final String UNINSTALL_TEMPLATE = - "lib/install/templates/uninstall.template"; // NOI18N - public static final String UNINSTALL = - "bin/uninstall"; // NOI18N - - public static final String ASADMIN_TEMPLATE = - "lib/install/templates/asadmin.template"; // NOI18N - public static final String ASADMIN = - "bin/asadmin"; // NOI18N - - public static final String ASANT_TEMPLATE = - "lib/install/templates/asant.template"; // NOI18N - public static final String ASANT = - "bin/asant"; // NOI18N - - public static final String APPCLIENT_TEMPLATE = - "lib/install/templates/appclient.template"; // NOI18N - public static final String APPCLIENT = - "bin/appclient"; // NOI18N - - public static final String JSPC_TEMPLATE = - "lib/install/templates/jspc.template"; // NOI18N - public static final String JSPC = - "bin/jspc"; // NOI18N - - public static final String PACKAGE_APPCLIENT_TEMPLATE = - "lib/install/templates/package-appclient.template"; // NOI18N - public static final String PACKAGE_APPCLIENT = - "bin/package-appclient"; // NOI18N - - public static final String VERIFIER_TEMPLATE = - "lib/install/templates/verifier.template"; // NOI18N - public static final String VERIFIER = - "bin/verifier"; // NOI18N - - public static final String ASUPGRADE_TEMPLATE = - "lib/install/templates/asupgrade.template"; // NOI18N - public static final String ASUPGRADE = - "bin/asupgrade"; // NOI18N - - public static final String CAPTURE_SCHEMA_TEMPLATE = - "lib/install/templates/capture-schema.template"; // NOI18N - public static final String CAPTURE_SCHEMA = - "bin/capture-schema"; // NOI18N - - public static final String WSIMPORT_TEMPLATE = - "lib/install/templates/wsimport.template"; // NOI18N - public static final String WSIMPORT = - "bin/wsimport"; // NOI18N - - public static final String WSGEN_TEMPLATE = - "lib/install/templates/wsgen.template"; // NOI18N - public static final String WSGEN = - "bin/wsgen"; // NOI18N - - public static final String XJC_TEMPLATE = - "lib/install/templates/xjc.template"; // NOI18N - public static final String XJC = - "bin/xjc"; // NOI18N - - public static final String SCHEMAGEN_TEMPLATE = - "lib/install/templates/schemagen.template"; // NOI18N - public static final String SCHEMAGEN = - "bin/schemagen"; // NOI18N - - public static final String ASAPT_TEMPLATE = - "lib/install/templates/asapt.template"; // NOI18N - public static final String ASAPT = - "bin/asapt"; // NOI18N - - public static final String WSCOMPILE_TEMPLATE = - "lib/install/templates/wscompile.template"; // NOI18N - public static final String WSCOMPILE = - "bin/wscompile"; // NOI18N - - public static final String WSDEPLOY_TEMPLATE = - "lib/install/templates/wsdeploy.template"; // NOI18N - public static final String WSDEPLOY = - "bin/wsdeploy"; // NOI18N - - public static final String UPDATETOOL_TEMPLATE = - "updatecenter/lib/install/templates/updatetool.template";//NOI18N - public static final String UPDATETOOL = - "/updatecenter/bin/updatetool";//NOI18N - - - public static final String CONFIG_HOME_TOKEN = - "%CONFIG_HOME%"; // NOI18N - public static final String INSTALL_HOME_TOKEN = - "%INSTALL_HOME%"; // NOI18N - public static final String WEBSERVICES_LIB_TOKEN = - "%WEBSERVICES_LIB%"; // NOI18N - public static final String JAVA_HOME_TOKEN = - "%JAVA_HOME%"; // NOI18N - public static final String JAVA_HOME_UNIX_ENV_TOKEN = - "$JAVA_HOME"; // NOI18N - public static final String ANT_HOME_TOKEN = - "%ANT_HOME%"; // NOI18N - public static final String ANT_LIB_TOKEN = - "%ANT_LIB%"; // NOI18N - public static final String NSS_HOME_TOKEN = - "%NSS_HOME%"; // NOI18N - public static final String NSS_BIN_HOME_TOKEN = - "%NSS_BIN_HOME%"; // NOI18N - public static final String IMQ_LIB_TOKEN = - "%IMQ_LIB%"; // NOI18N - public static final String IMQ_BIN_TOKEN = - "%IMQ_BIN%"; // NOI18N - public static final String JHELP_HOME_TOKEN = - "%JHELP_HOME%"; // NOI18N - public static final String ICU_LIB_TOKEN = - "%ICU_LIB%"; // NOI18N - public static final String JATO_LIB_TOKEN = - "%JATO_LIB%"; // NOI18N - public static final String WEBCONSOLE_LIB_TOKEN = - "%WEBCONSOLE_LIB%"; // NOI18N - public static final String USE_NATIVE_LAUNCHER_TOKEN = - "%USE_NATIVE_LAUNCHER%"; // NOI18N - public static final String LAUNCHER_LIB_TOKEN = - "%LAUNCHER_LIB%"; // NOI18N - public static final String JDMK_HOME_TOKEN = - "%JDMK_HOME%"; // NOI18N - public static final String LOCALE_TOKEN = - "%LOCALE%"; // NOI18N - public static final String DEF_DOMAINS_PATH_TOKEN = - "%DEF_DOMAINS_PATH%"; // NOI18N - public static final String ACC_CONFIG_TOKEN = - "%ACC_CONFIG%"; // NOI18N - public static final String HADB_HOME_TOKEN = - "%HADB_HOME%"; // NOI18N - public static final String MFWK_HOME_TOKEN = - "%MFWK_HOME%"; // NOI18N - - public static final String DERBY_HOME_TOKEN = - "%DERBY_HOME%"; // NOI18N - public static final String HTTP_PORT_TOKEN = - "%HTTP_PORT%"; //NOI18N - public static final String ADMIN_PORT_TOKEN = - "%ADMIN_PORT%"; //NOI18N - public static final String AS_ADMIN_PORT_TOKEN = - "%AS_ADMIN_PORT%"; //NOI18N - public static final String AS_ADMIN_PROFILE_TOKEN = - "%AS_ADMIN_PROFILE%"; //NOI18N - public static final String AS_ADMIN_SECURE_TOKEN = - "%AS_ADMIN_SECURE%"; //NOI18N - - public static final String UC_INSTALL_HOME_TOKEN = - "@INSTALL_HOME@"; //NOI18N - public static final String UC_EXT_LIB_TOKEN = - "@EXT_LIB@"; //NOI18N - public static final String UC_AS_HOME_TOKEN = - "%appserver_home%"; //NOI18N - public static final String JDIC_LIB_TOKEN = - "@JDIC_LIB@"; //NOI18N - public static final String JDIC_STUB_LIB_TOKEN = - "@JDIC_STUB_LIB@"; //NOI18N - public static final String REGISTRATION_DIR_TOKEN = - "@REGISTRATION_DIR@";//NOI18N - - public static final String JDIC_LIB_WINDOWS = - "updatecenter/lib/jdic/windows/x86";//NOI18N - public static final String JDIC_LIB_LINUX = - "updatecenter/lib/jdic/linux/x86";//NOI18N - public static final String JDIC_LIB_SOLARIS_X86 = - "updatecenter/lib/jdic/sunos/x86";//NOI18N - public static final String JDIC_LIB_SOLARIS_SPARC = - "updatecenter/lib/jdic/sunos/sparc";//NOI18N - public static final String JDIC_LIB_MACOSX = - "updatecenter/lib/jdic/mac/ppc";//NOI18N - - public static final String JDIC_STUB_LIB_WINDOWS = - "updatecenter/lib/jdic/windows";//NOI18N - public static final String JDIC_STUB_LIB_LINUX = - "updatecenter/lib/jdic/linux";//NOI18N - public static final String JDIC_STUB_LIB_SOLARIS = - "updatecenter/lib/jdic/sunos";//NOI18N - public static final String JDIC_STUB_LIB_MACOSX = - "updatecenter/lib/jdic/mac";//NOI18N - public static final String REGISTRATION_DIR = - "lib/registration"; - - - public static final String CONFIG_SUBDIR = - "config"; // NOI18N - public static final String LIB_SUBDIR = - "lib"; // NOI18N - public static final String LIB_ANT_SUBDIR = - "lib/ant"; // NOI18N - public static final String LIB_ANT_LIB_SUBDIR = - "lib/ant/lib"; // NOI18N - public static final String LIB_ADMINCGI_SUBDIR = - "lib/admincgi"; // NOI18N - public static final String IMQ_LIB_SUBDIR = - "imq/lib"; // NOI18N - public static final String IMQ_BIN_SUBDIR = - "imq/bin"; // NOI18N - public static final String DOMAINS_SUBDIR = - "domains"; // NOI18N - public static final String DERBY_SUBDIR = - "javadb"; // NOI18N - public static final String UC_INSTALL_HOME_SUBDIR = - "updatecenter"; //NOI18N - public static final String UC_BIN_SUBDIR = - "updatecenter/bin"; //NOI18N - public static final String UC_CONFIG_SUBDIR = - "updatecenter/config"; //NOI18N - - public static final String UC_EXT_LIB = - "updatecenter/lib/schema2beans.jar"; //NOI18N - - public static final String AS_ADMIN_PROFILE = - "developer"; //NOI18N - public static final String AS_ADMIN_SECURE = - "false"; //NOI18N - public static final String BIN_SUBDIR = - "bin"; // NOI18N - - public static final String DERBY_LOG = - "derby.log"; // NOI18N - - public static final String HADB_HOME = - " "; // NOI18N - public static final String MFWK_HOME_WINDOWS = - "lib\\SUNWmfwk"; //NOI18N - public static final String MFWK_HOME_SOLARIS = - "/opt/SUNWmfwk"; //NOI18N - public static final String MFWK_HOME_LINUX = - "/opt/sun/mfwk/share"; //NOI18N - public static final String MFWK_HOME_MACOSX = - "/opt/SUNWmfwk"; //NOI18N - - public static final String USE_NATIVE_LAUNCHER= - "false"; // NOI18N - public static final String LAUNCHER_LIB = - "\\jre\\bin\\client"; // NOI18N - public static final String JMDK_HOME = - "lib/SUNWjdmk/5.1"; // NOI18N - public static final String LOCALE = - "en_US"; // NOI18N - public static final String ACC_CONFIG = - "domains/" + DOMAIN_NAME + "/config/sun-acc.xml"; // NOI18N - - public static final String DOMAINS_DOMAIN1_IMQ_SUBDIR = - "domains/" + DOMAIN_NAME + "/imq"; // NOI18N - - public static final String IMQENV_CONF_ADDITION = - " set IMQ_DEFAULT_JAVAHOME={0}\n" + // NOI18N - " set IMQ_DEFAULT_VARHOME={1}\n"; // NOI18N - - public static final String IMQENV_CONF = - "imq/etc/imqenv.conf"; // NOI18N - */ - - - - public static final String PRODUCT_ID = - "GFMOD"; // NOI18N -} diff --git a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard.xml b/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard.xml deleted file mode 100644 index 9ab416b37610..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - diff --git a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/Bundle.properties deleted file mode 100644 index 965ecefa3401..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/Bundle.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# GlassFishPanel.java -GFP.title=GlassFish {display-version} Installation -#GFP.description=Choose the installation folder and server properties. -GFP.description=Choose the installation folder. - -GFP.destination.label.text=&Install GlassFish to: -GFP.destination.button.text=B&rowse... - -GFP.jdk.location.label.text=&JDK\u2122 for GlassFish application server: -GFP.browse.button.text=Br&owse... - -GFP.username.label.text=Admin &Username: -GFP.password.label.text=Admin &Password: -GFP.repeat.password.label.text=R&etype Password: -GFP.http.label.text=H&TTP Port: -GFP.https.label.text=HTTP&S Port: -GFP.admin.label.text=&Admin Port: -GFP.defaults.label.text=(default: {1}) - -GFP.error.username.null=Username cannot be empty. -GFP.error.username.not.alnum=Username "{0}" is invalid. Username should be an alphanumeric string. -GFP.error.password.null=Password cannot be empty. -GFP.error.password.too.short=Password should be at least 8 characters long. -GFP.error.password.spaces=Password cannot start or end with whitespace characters. -GFP.error.passwords.do.not.match=The passwords do not match. -GFP.error.http.null=HTTP port cannot be empty. -GFP.error.https.null=HTTPS port cannot be empty. -GFP.error.admin.null=Admin port cannot be empty. -GFP.error.http.not.integer=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -GFP.error.https.not.integer=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -GFP.error.admin.not.integer=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -GFP.error.http.not.in.range=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -GFP.error.https.not.in.range=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -GFP.error.admin.not.in.range=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -GFP.error.http.occupied=HTTP port "{0}" is already occupied on this machine. Specify another port. -GFP.error.https.occupied=HTTPS port "{0}" is already occupied on this machine. Specify another port. -GFP.error.admin.occupied=Admin port "{0}" is already occupied on this machine. Specify another port. -GFP.error.http.equals.https=HTTP port value equals the HTTPS port value. They should be different. -GFP.error.http.equals.admin=HTTP port value equals the Admin port value. They should be different. -GFP.error.https.equals.admin=HTTPS port value equals the Admin port value. They should be different. -GFP.error.all.ports.occupied=All ports on your system are occupied. Please free at least 6 ports which can be used by the initial domain. -GFP.error.unc.path.unsupported=The installation folder is in the UNC form which is not supported. -GFP.error.in.nb.installation.folder=GlassFish cannot be installed into NetBeans installation folder. - -GFP.warning.port.in.use=Port {0} is already in use by {1}. Specify another value. -GFP.warning.asadmin.files.exist=Either .asadminpass or .asadmintruststore file exists in your home directory. - -#NOI18N -GFP.default.username=admin -#NOI18N -GFP.default.password=adminadmin -#NOI18N -GFP.default.http.port=8080 -#NOI18N -GFP.default.https.port=8181 -#NOI18N -GFP.default.admin.port=4848 - -GFP.warning.jdk.not.recommended.version=GlassFish Server requires JDK 7 or later. \ -You can specify JDK later in GlassFish Server Customizer in the IDE. Go to \ -{0} to download and install the latest JDK 7 update. diff --git a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/GlassFishPanel.java b/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/GlassFishPanel.java deleted file mode 100644 index 77287140c1b9..000000000000 --- a/nbbuild/installer/components/products/glassfish-mod/src/org/netbeans/installer/products/glassfish/mod/wizard/panels/GlassFishPanel.java +++ /dev/null @@ -1,496 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.glassfish.mod.wizard.panels; - -import java.awt.GridBagConstraints; -import java.awt.Insets; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.ItemEvent; -import java.awt.event.ItemListener; -import java.io.File; -import java.util.List; -import javax.swing.ComboBoxModel; -import javax.swing.JFileChooser; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.BrowserUtils; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.helper.Version; -import org.netbeans.installer.utils.helper.swing.NbiButton; -import org.netbeans.installer.utils.helper.swing.NbiComboBox; -import org.netbeans.installer.utils.helper.swing.NbiDirectoryChooser; -import org.netbeans.installer.utils.helper.swing.NbiLabel; -import org.netbeans.installer.utils.helper.swing.NbiPanel; -import org.netbeans.installer.utils.helper.swing.NbiTextField; -import org.netbeans.installer.utils.helper.swing.NbiTextPane; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationValidator; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxEditor; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxModel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelSwingUi; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.wizard.containers.SwingContainer; -import org.netbeans.installer.wizard.ui.SwingUi; -import org.netbeans.installer.wizard.ui.WizardUi; - -/** - * - */ -public class GlassFishPanel extends DestinationPanel { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private JdkLocationPanel jdkLocationPanel; - - private static String jdkSelectedInIDE; - private static String jdkSelectedInGF; - - public GlassFishPanel() { - jdkLocationPanel = new JdkLocationPanel(); - - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - - setProperty(ERROR_IN_NETBEANS_INSTALLATION_FOLDER, DEFAULT_ERROR_IN_NETBEANS_INSTALLATION_FOLDER); - - setProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY, - DEFAULT_JDK_LOCATION_LABEL_TEXT); - setProperty(BROWSE_BUTTON_TEXT_PROPERTY, - DEFAULT_BROWSE_BUTTON_TEXT); - - setProperty(WARNING_JDK_NOT_RECOMMENDED_VERSION, - DEFAULT_WARNING_JDK_NOT_RECOMMENDED_VERSION); - } - - @Override - public WizardUi getWizardUi() { - if (wizardUi == null) { - wizardUi = new GlassFishPanelUi(this); - } - - return wizardUi; - } - - @Override - public void initialize() { - super.initialize(); - jdkLocationPanel.setWizard(getWizard()); - - if (getWizard().getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY) != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY, - getWizard().getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - } - - jdkSelectedInIDE = null; - List productsToInstall = Registry.getInstance().getProductsToInstall(); - for (Product product : productsToInstall) { - if (product.getUid().equals("nb-base")) { - jdkSelectedInIDE = product.getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY); - break; - } - } - jdkSelectedInGF = getWizard().getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY); - if (jdkSelectedInGF != null) { - getWizard().setProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY, jdkSelectedInGF); - } else if (jdkSelectedInIDE != null) { - getWizard().setProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY, jdkSelectedInIDE); - } - - jdkLocationPanel.initialize(); - - getWizard().setProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY, jdkSelectedInGF == null ? "" : jdkSelectedInGF); // NOI18N - } - - public JdkLocationPanel getJdkLocationPanel() { - return jdkLocationPanel; - } - - ///////////////////////////////////////////////////////////////////////////////// - // Inner Classes - public static class GlassFishPanelUi extends DestinationPanelUi { - protected GlassFishPanel component; - - public GlassFishPanelUi(GlassFishPanel component) { - super(component); - - this.component = component; - } - @Override - public SwingUi getSwingUi(SwingContainer container) { - if (swingUi == null) { - swingUi = new GlassFishPanelSwingUi(component, container); - } - - return super.getSwingUi(container); - } - } - - public static class GlassFishPanelSwingUi extends DestinationPanelSwingUi { - protected GlassFishPanel panel; - - private NbiPanel containerPanel; - - private NbiLabel jdkLocationLabel; - private NbiComboBox jdkLocationComboBox; - private NbiButton browseButton; - private NbiTextPane statusLabel; - - private NbiTextField jdkLocationField; - - private NbiDirectoryChooser fileChooser; - - public GlassFishPanelSwingUi( - final GlassFishPanel panel, - final SwingContainer container) { - super(panel, container); - - this.panel = panel; - - initComponents(); - } - - // protected //////////////////////////////////////////////////////////////// - @Override - protected void initialize() { - jdkLocationLabel.setText( - panel.getProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY)); - - final JdkLocationPanel jdkLocationPanel = panel.getJdkLocationPanel(); - - if (jdkLocationPanel.getLocations().isEmpty()) { - final Version minVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - - statusLabel.setText(StringUtils.format( - jdkLocationPanel.getProperty(JdkLocationPanel.ERROR_NOTHING_FOUND_PROPERTY), - minVersion.toJdkStyle(), - minVersion.toJdkStyle())); - } else if (getNeedJava7Warning() == null) { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - - final List jdkLocations = jdkLocationPanel.getLocations(); - final List jdkLabels = jdkLocationPanel.getLabels(); - - final LocationsComboBoxModel model = new LocationsComboBoxModel( - jdkLocations, - jdkLabels); - - ((LocationsComboBoxEditor) jdkLocationComboBox.getEditor()).setModel( - model); - jdkLocationComboBox.setModel( - model); - - final File selectedLocation = jdkLocationPanel.getSelectedLocation(); - final int index = jdkLocations.indexOf(selectedLocation); - String selectedItem; - if(index != -1) { - selectedItem = jdkLabels.get(index); - } else { - selectedItem = selectedLocation.toString(); - } - model.setSelectedItem(selectedItem); - browseButton.setText( - panel.getProperty(BROWSE_BUTTON_TEXT_PROPERTY)); - - - super.initialize(); - - } - - @Override - protected void saveInput() { - super.saveInput(); - } - - @Override - protected String validateInput() { - String errorMessage = super.validateInput(); - - if (errorMessage != null) { - return errorMessage; - } - - panel.getJdkLocationPanel().getWizard(). - setProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY, jdkSelectedInGF == null ? "" : jdkSelectedInGF); // NOI18N - - //#128991: Installation not recognized not empty dir for GF - File f = FileUtils.eliminateRelativity(getDestinationField().getText().trim()); - if (FileUtils.exists(f)) { - File [] list = f.listFiles(); - if (list!= null && list.length > 0) { - return StringUtils.format( - component.getProperty(ERROR_NOT_EMPTY_PROPERTY), - f.getAbsolutePath()); - } - } - - //#137248: Glassfish installation failed while using UNC paths - if (SystemUtils.isWindows() && FileUtils.isUNCPath(f.getAbsolutePath())) { - return StringUtils.format( - component.getProperty(ERROR_UNC_PATH_UNSUPPORTED_PROPERTY), - f.getAbsolutePath()); - } - - //#202619: org.netbeans.installer.utils.exceptions.UninstallationException: failed to stop the default domain - File actualFolder = f.getAbsoluteFile(); - File netBeansInstallationLocation = null; - - List productsToInstall = Registry.getInstance().getProductsToInstall(); - for (Product product : productsToInstall) { - if (product.getUid().equals("nb-base")) { - netBeansInstallationLocation = product.getInstallationLocation().getAbsoluteFile(); - break; - } - } - - if (netBeansInstallationLocation != null) { - do { - if (netBeansInstallationLocation.equals(actualFolder)) { - return StringUtils.format(component.getProperty(ERROR_IN_NETBEANS_INSTALLATION_FOLDER)); - } - actualFolder = actualFolder.getParentFile(); - } while (actualFolder.getParentFile() != null); - } - - if (getWarningMessage() == null && getNeedJava7Warning() != null) { - if (! statusLabel.isVisible()) { - statusLabel.setText(getNeedJava7Warning()); - statusLabel.setVisible(true); - } - } else { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - - return null; - } - - @Override - protected String getWarningMessage() { - String warningMessage = panel.getJdkLocationPanel().validateLocation( - jdkLocationField.getText()); - return warningMessage; - } - - private String getNeedJava7Warning() { - String warningMessage = null; - if (getWarningMessage() == null) { - if (JavaUtils.criticalLowVersion.newerThan( - JavaUtils.getVersion(new File(jdkLocationField.getText())))) { - warningMessage = StringUtils.format( - panel.getProperty(WARNING_JDK_NOT_RECOMMENDED_VERSION), - panel.jdkLocationPanel.getProperty(JdkLocationPanel.JAVA_DOWNLOAD_PAGE_PROPERTY)); - } - } - return warningMessage; - } - - // private ////////////////////////////////////////////////////////////////// - private void initComponents() { - // containerPanel /////////////////////////////////////////////////////// - containerPanel = new NbiPanel(); - - // selectedLocationField //////////////////////////////////////////////// - jdkLocationField = new NbiTextField(); - jdkLocationField.getDocument().addDocumentListener( - new DocumentListener() { - @Override - public void insertUpdate(DocumentEvent e) { - updateErrorMessage(); - } - - @Override - public void removeUpdate(DocumentEvent e) { - //updateErrorMessage(); - } - - @Override - public void changedUpdate(DocumentEvent e) { - updateErrorMessage(); - } - }); - - // jdkLocationComboBox ////////////////////////////////////////////////// - final LocationValidator validator = new LocationValidator() { - @Override - public void validate(String location) { - jdkLocationField.setText(location); - } - }; - - jdkLocationComboBox = new NbiComboBox(); - jdkLocationComboBox.setEditable(true); - jdkLocationComboBox.setEditor(new LocationsComboBoxEditor(validator)); - jdkLocationComboBox.addItemListener(new ItemListener() { - @Override - public void itemStateChanged(ItemEvent e) { - final ComboBoxModel model = jdkLocationComboBox.getModel(); - - if (model instanceof LocationsComboBoxModel) { - String location = ((LocationsComboBoxModel) model).getLocation(); - jdkLocationField.setText(location); - if (jdkSelectedInIDE != null && ! jdkSelectedInIDE.equals(location)) { - jdkSelectedInGF = location; - } else if (jdkSelectedInIDE != null && jdkSelectedInIDE.equals(location)) { - jdkSelectedInGF = null; - } - } - } - }); - - // jdkLocationLabel ///////////////////////////////////////////////////// - jdkLocationLabel = new NbiLabel(); - jdkLocationLabel.setLabelFor(jdkLocationComboBox); - - // browseButton ///////////////////////////////////////////////////////// - browseButton = new NbiButton(); - browseButton.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent event) { - browseButtonPressed(); - } - }); - - // statusLabel ////////////////////////////////////////////////////////// - statusLabel = new NbiTextPane(); - statusLabel.setContentType("text/html"); - statusLabel.addHyperlinkListener(BrowserUtils.createHyperlinkListener()); - - - // fileChooser ////////////////////////////////////////////////////////// - fileChooser = new NbiDirectoryChooser(); - - // this ///////////////////////////////////////////////////////////////// - add(jdkLocationLabel, new GridBagConstraints( - 0, 2, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(jdkLocationComboBox, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(browseButton, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(statusLabel, new GridBagConstraints( - 0, 4, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(containerPanel, new GridBagConstraints( - 0, 5, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - } - - private void browseButtonPressed() { - fileChooser.setSelectedFile(new File(jdkLocationField.getText())); - - if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { - jdkLocationComboBox.getModel().setSelectedItem( - fileChooser.getSelectedFile().getAbsolutePath()); - } - } - - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String DEFAULT_TITLE = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.title"); // NOI18N - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.description"); // NOI18N - - public static final String JDK_LOCATION_LABEL_TEXT_PROPERTY = - "jdk.location.label.text"; // NOI18N - public static final String BROWSE_BUTTON_TEXT_PROPERTY = - "browse.button.text"; // NOI18N - public static final String WARNING_JDK_NOT_RECOMMENDED_VERSION = - "jdk.not.recommended.version"; - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.destination.label.text"); // NOI18N - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.destination.button.text"); // NOI18N - - public static final String DEFAULT_JDK_LOCATION_LABEL_TEXT = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.jdk.location.label.text"); // NOI18N - public static final String DEFAULT_BROWSE_BUTTON_TEXT = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.browse.button.text"); // NOI18N - - public static final String ERROR_UNC_PATH_UNSUPPORTED_PROPERTY = - "error.unc.path.unsupported"; // NOI18N - public static final String ERROR_IN_NETBEANS_INSTALLATION_FOLDER = - "error.in.nb.installation.folder"; // NOI18N - - public static final String DEFAULT_ERROR_UNC_PATH_UNSUPPORTED = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.error.unc.path.unsupported"); // NOI18N - public static final String DEFAULT_ERROR_IN_NETBEANS_INSTALLATION_FOLDER = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.error.in.nb.installation.folder"); // NOI18N - public static final String DEFAULT_WARNING_JDK_NOT_RECOMMENDED_VERSION = - ResourceUtils.getString(GlassFishPanel.class, - "GFP.warning.jdk.not.recommended.version"); // NOI18N -} diff --git a/nbbuild/installer/components/products/glassfish/build.xml b/nbbuild/installer/components/products/glassfish/build.xml deleted file mode 100644 index 750a88836d9d..000000000000 --- a/nbbuild/installer/components/products/glassfish/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/glassfish/data/Bundle.properties b/nbbuild/installer/components/products/glassfish/data/Bundle.properties deleted file mode 100644 index 6d4fe65beaeb..000000000000 --- a/nbbuild/installer/components/products/glassfish/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=GlassFish {display-version} -product.description=GlassFish is an open source, production-quality application server which implements the latest features in the Java EE 5 platform. diff --git a/nbbuild/installer/components/products/glassfish/data/icon.png b/nbbuild/installer/components/products/glassfish/data/icon.png deleted file mode 100644 index 3adb98c77a76..000000000000 Binary files a/nbbuild/installer/components/products/glassfish/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/glassfish/manifest.mf b/nbbuild/installer/components/products/glassfish/manifest.mf deleted file mode 100644 index b69cc588b3a9..000000000000 --- a/nbbuild/installer/components/products/glassfish/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.glassfish.ConfigurationLogic diff --git a/nbbuild/installer/components/products/glassfish/nbproject/build-impl.xml b/nbbuild/installer/components/products/glassfish/nbproject/build-impl.xml deleted file mode 100644 index f3a7364cd232..000000000000 --- a/nbbuild/installer/components/products/glassfish/nbproject/build-impl.xml +++ /dev/null @@ -1,1073 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - Must select one file in the IDE or set profile.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/glassfish/nbproject/genfiles.properties b/nbbuild/installer/components/products/glassfish/nbproject/genfiles.properties deleted file mode 100644 index 7e1006827fd4..000000000000 --- a/nbbuild/installer/components/products/glassfish/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=d2699649 -build.xml.script.CRC32=9eebca4d -build.xml.stylesheet.CRC32=a12b3d02 -# 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=1ba929b7 -nbproject/build-impl.xml.script.CRC32=6941614b -nbproject/build-impl.xml.stylesheet.CRC32=8cfa0561@1.51.0.46 diff --git a/nbbuild/installer/components/products/glassfish/nbproject/project.properties b/nbbuild/installer/components/products/glassfish/nbproject/project.properties deleted file mode 100644 index bc46ff02d6c8..000000000000 --- a/nbbuild/installer/components/products/glassfish/nbproject/project.properties +++ /dev/null @@ -1,102 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: GlassFish -application.vendor=ondra -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.archive.disabled=${jnlp.enabled} -jar.compress=false -jar.index=${jnlp.enabled} -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -jnlp.codebase.type=no.codebase -jnlp.descriptor=application -jnlp.enabled=false -jnlp.mixed.code=default -jnlp.offline-allowed=false -jnlp.signed=false -jnlp.signing= -jnlp.signing.alias= -jnlp.signing.keystore= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/glassfish/nbproject/project.xml b/nbbuild/installer/components/products/glassfish/nbproject/project.xml deleted file mode 100644 index ac24674fb9a0..000000000000 --- a/nbbuild/installer/components/products/glassfish/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: GlassFish - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/build.xml b/nbbuild/installer/components/products/javaeesdk-blueprints/build.xml deleted file mode 100644 index 71282899f589..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/data/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-blueprints/data/Bundle.properties deleted file mode 100644 index 93b9a04e127c..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java BluePrints -product.description=The Java BluePrints series defines the application programming model for end-to-end solutions using Java technology. The series contains guidelines, patterns, and code for real-world application scenarios, enabling you to build robust, scalable, and portable solutions. All the code and applications included in these blueprints are NetBeans-ready. diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/data/icon.png b/nbbuild/installer/components/products/javaeesdk-blueprints/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/javaeesdk-blueprints/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/manifest.mf b/nbbuild/installer/components/products/javaeesdk-blueprints/manifest.mf deleted file mode 100644 index 1bfdddd323f2..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.javaeesdk.blueprints.ConfigurationLogic diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/build-impl.xml b/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/build-impl.xml deleted file mode 100644 index ea78e9a50820..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/genfiles.properties b/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/genfiles.properties deleted file mode 100644 index 31c7f4ae7230..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=d0deb968 -nbproject/build-impl.xml.script.CRC32=7e8b03e6 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.properties b/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.xml b/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.xml deleted file mode 100644 index 6e4800f7089a..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: JavaEE SDK BluePrints - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/Bundle.properties deleted file mode 100644 index 5d7706d3a92a..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/ConfigurationLogic.java b/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/ConfigurationLogic.java deleted file mode 100644 index aaa6efad3fe0..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/ConfigurationLogic.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.javaeesdk.blueprints; - -import java.util.List; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/javaeesdk/blueprints/wizard.xml"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - } - - public void uninstall(final Progress progress) throws UninstallationException { - } - - public List getWizardComponents() { - return wizardComponents; - } - - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } - - @Override - public Text getLicense() { - return null; - } -} diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/license.txt b/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/license.txt deleted file mode 100644 index 3e2010d9e2af..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/license.txt +++ /dev/null @@ -1,35 +0,0 @@ -Java BluePrints License - -Copyright, 2006 Sun Microsystems, Inc. All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistribution 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 Sun Microsystems, Inc. or the names of contributors -may be used to endorse or promote products derived from this software -without specific prior written permission. - -This software is provided "AS IS," without a warranty of any kind. -ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, -INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. -SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE -FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING -OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN -OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR -FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE -DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, -ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, -EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed, licensed or -intended for use in the design, construction, operation or maintenance -of any nuclear facility. \ No newline at end of file diff --git a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/wizard.xml b/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/wizard.xml deleted file mode 100644 index a828c0ddfe28..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-blueprints/src/org/netbeans/installer/products/javaeesdk/blueprints/wizard.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - sjsas - - - diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/build.xml b/nbbuild/installer/components/products/javaeesdk-firstcup/build.xml deleted file mode 100644 index 0db76dbea139..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/data/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-firstcup/data/Bundle.properties deleted file mode 100644 index bab96173408d..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Your First Cup: An Introduction to the Java EE Platform -product.description=Your First Cup: An Introduction to the Java EE Platform provides detailed instructions for compiling and running your first program diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/data/icon.png b/nbbuild/installer/components/products/javaeesdk-firstcup/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/javaeesdk-firstcup/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/manifest.mf b/nbbuild/installer/components/products/javaeesdk-firstcup/manifest.mf deleted file mode 100644 index 3682316e42fa..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.javaeesdk.firstcup.ConfigurationLogic diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/build-impl.xml b/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/build-impl.xml deleted file mode 100644 index 8c2aee86d5bb..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/genfiles.properties b/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/genfiles.properties deleted file mode 100644 index 1dccc541caf8..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=7b828a0e -nbproject/build-impl.xml.script.CRC32=ed00d941 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.properties b/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.xml b/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.xml deleted file mode 100644 index f26591b12ca3..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Java EE SDK FirstCup - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/Bundle.properties deleted file mode 100644 index 1b95b89f44e6..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/Bundle.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.stop.as=Stopping the application server default domain -CL.install.portletcontainer.installer=Running Portlet Container installer -CL.install.error.stop.as=Failed to stop the application server default domain -CL.install.error.portletcontainer.installer=Failed to run Portlet Container installer diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/ConfigurationLogic.java b/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/ConfigurationLogic.java deleted file mode 100644 index bb7f2ac89f6d..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/ConfigurationLogic.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.javaeesdk.firstcup; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/javaeesdk/firstcup/wizard.xml"; // NOI18N - - private static final String APPSERVER_UID = - "sjsas"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - } - - public void uninstall(final Progress progress) throws UninstallationException { - } - - public List getWizardComponents() { - return wizardComponents; - } - - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } - - @Override - public Text getLicense() { - return null; - } -} diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/license.txt b/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/license.txt deleted file mode 100644 index ff8d605a25d5..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/license.txt +++ /dev/null @@ -1,35 +0,0 @@ -Your First Cup: An Introduction to the Java EE Platform License - -Copyright, 2006 Sun Microsystems, Inc. All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistribution of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistribution 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 Sun Microsystems, Inc. or the names of contributors -may be used to endorse or promote products derived from this software -without specific prior written permission. - -This software is provided "AS IS," without a warranty of any kind. -ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, -INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. -SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE -FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING -OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN -OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR -FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE -DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, -ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, -EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that this software is not designed, licensed or -intended for use in the design, construction, operation or maintenance -of any nuclear facility. \ No newline at end of file diff --git a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/wizard.xml b/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/wizard.xml deleted file mode 100644 index 5261c2511876..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-firstcup/src/org/netbeans/installer/products/javaeesdk/firstcup/wizard.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - sjsas - docs - - - diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/build.xml b/nbbuild/installer/components/products/javaeesdk-javadocs/build.xml deleted file mode 100644 index d78271d5ecc5..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/data/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-javadocs/data/Bundle.properties deleted file mode 100644 index 470a309a4ced..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=API documentation (Javadocs) {display-version} -product.description= diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/data/icon.png b/nbbuild/installer/components/products/javaeesdk-javadocs/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/javaeesdk-javadocs/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/manifest.mf b/nbbuild/installer/components/products/javaeesdk-javadocs/manifest.mf deleted file mode 100644 index 09d99f438d0d..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.javaeesdk.javadocs.ConfigurationLogic diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/build-impl.xml b/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/build-impl.xml deleted file mode 100644 index 498f17359142..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/build-impl.xml +++ /dev/null @@ -1,571 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/genfiles.properties b/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/genfiles.properties deleted file mode 100644 index fd5eef4a7a13..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=63a12ad8 -nbproject/build-impl.xml.script.CRC32=bf19cedb -nbproject/build-impl.xml.stylesheet.CRC32=20b9345e diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.properties b/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.xml b/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.xml deleted file mode 100644 index 7b61e854ca8c..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Java EE SDK Javadocs - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/Bundle.properties deleted file mode 100644 index 5d7706d3a92a..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/ConfigurationLogic.java b/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/ConfigurationLogic.java deleted file mode 100644 index ce2547d0327d..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/ConfigurationLogic.java +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.javaeesdk.javadocs; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.List; -import java.util.Properties; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/javaeesdk/javadocs/wizard.xml"; // NOI18N - - private static final String APPSERVER_UID = - "sjsas"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - } - - public void uninstall(final Progress progress) throws UninstallationException { - } - public Text getLicense() { - return null; - } - public List getWizardComponents() { - return wizardComponents; - } - - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } -} diff --git a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/wizard.xml b/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/wizard.xml deleted file mode 100644 index a828c0ddfe28..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-javadocs/src/org/netbeans/installer/products/javaeesdk/javadocs/wizard.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - sjsas - - - diff --git a/nbbuild/installer/components/products/javaeesdk-samples/build.xml b/nbbuild/installer/components/products/javaeesdk-samples/build.xml deleted file mode 100644 index 215fc470bedf..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-samples/data/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-samples/data/Bundle.properties deleted file mode 100644 index 84bc33321e7f..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java Platform, Enterprise Edition 5 Samples -product.description=Java EE 5 Samples demonstrate the technologies and features specific to the Java Platform, Enterprise Edition 5. The features include annotations, EJB 3.0, persistence, security, and many others. diff --git a/nbbuild/installer/components/products/javaeesdk-samples/data/icon.png b/nbbuild/installer/components/products/javaeesdk-samples/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/javaeesdk-samples/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/javaeesdk-samples/manifest.mf b/nbbuild/installer/components/products/javaeesdk-samples/manifest.mf deleted file mode 100644 index a5808aee81a1..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.javaeesdk.samples.ConfigurationLogic diff --git a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/build-impl.xml b/nbbuild/installer/components/products/javaeesdk-samples/nbproject/build-impl.xml deleted file mode 100644 index 228e0926163e..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/genfiles.properties b/nbbuild/installer/components/products/javaeesdk-samples/nbproject/genfiles.properties deleted file mode 100644 index 5bd95dbb0a57..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=347e6d41 -nbproject/build-impl.xml.script.CRC32=807ec759 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.properties b/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.xml b/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.xml deleted file mode 100644 index 0bbbdade52c0..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Java EE SDK Samples - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/Bundle.properties b/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/Bundle.properties deleted file mode 100644 index d691fb9317dd..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/Bundle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.error.samples.configuration=Cannot configure samples configuration properties diff --git a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/ConfigurationLogic.java b/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/ConfigurationLogic.java deleted file mode 100644 index 8e5f504db2a0..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/ConfigurationLogic.java +++ /dev/null @@ -1,131 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.javaeesdk.samples; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.List; -import java.util.Properties; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - * The Java EE SDK Samples can be only installed in the Sun Java System Application Server - * as it requires /common.properties file to exist - * - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/javaeesdk/samples/wizard.xml"; // NOI18N - - private static final String APPSERVER_UID = - "sjsas"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - File location = getProduct().getInstallationLocation(); - File samplesLocation = new File(location, "samples"); - File bpProjectLocation = new File(samplesLocation, "bp-project"); - File template = new File(bpProjectLocation, "build.properties.sample"); - File dest = new File(bpProjectLocation, "build.properties"); - FilesList list = getProduct().getInstalledFiles(); - - FileInputStream fis = null; - try { - String contents = FileUtils.readFile(template); - Properties props = new Properties(); - fis = new FileInputStream(new File(samplesLocation, "common.properties")); - props.load(fis); - String adminUser = props.getProperty("admin.user"); - String httpPort = props.getProperty("appserver.instance.port"); - String adminPort = props.getProperty("admin.port"); - String hostname = props.getProperty("admin.host"); - String asLocation = props.getProperty("com.sun.aas.installRoot"); - - contents = contents. - replace("javaee.server.name=localhost", "javaee.server.name=" + hostname). - replace("javaee.server.port=8080", "javaee.server.port=" + httpPort). - replace("javaee.adminserver.port=4848","javaee.adminserver.port=" + adminPort). - replace("javaee.server.username=admin","javaee.server.username=" + adminUser). - replace("javaee.home=c:/Sun/SDK", "javaee.home=" + asLocation); - - list.add(FileUtils.writeFile(dest, contents)); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.samples.configuration"),e); - } finally { - if(fis!=null) { - try { - fis.close(); - } catch (IOException ex) { - LogManager.log(ex); - } - } - } - - } - - public void uninstall(final Progress progress) throws UninstallationException { - } - - public List getWizardComponents() { - return wizardComponents; - } - - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } - - @Override - public Text getLicense() { - return null; - } -} diff --git a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/license.txt b/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/license.txt deleted file mode 100644 index c1d10b6c58d6..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/license.txt +++ /dev/null @@ -1,286 +0,0 @@ -Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE - -Licensee/Company: Entity receiving Software. - -Effective Date: Date of delivery of the Software to You. - -Software: Java Platform, Enterprise Edition 5 Samples. - -License Term: Perpetual (subject to termination under the SLA). - -Licensed Unit: Software Copy. - -Licensed unit Count: Unlimited. - -Permitted Uses: - -1. You may reproduce and use the Software for Individual, Commercial, Service -Provider and Research and Instructional Use only for the purposes of designing, -developing, testing, and running Your applets and applications ("Programs"). - -2. Subject to the terms and conditions of this Agreement and restrictions and -exceptions set forth in the Software's documentation, You may reproduce and -distribute portions of Software identified as a redistributable in the -documentation ("Redistributable"), provided that: - -(a) you distribute Redistributable complete and unmodified and only bundled as -part of Your Programs, - -(b) your Programs add significant and primary functionality to the -Redistributable, - -(c) you distribute Redistributable for the sole purpose of running your -Programs, - -(d) you do not distribute additional software intended to replace any -component(s) of the Redistributable, - -(e) you do not remove or alter any proprietary legends or notices contained in -or on the Redistributable. - -(f) you only distribute the Redistributable subject to a license agreement that -protects Sun's interests consistent with the terms contained in this -Agreement, and - -(g) you agree to defend and indemnify Sun and its licensors from and against any -damages, costs, liabilities, settlement amounts and/or expenses (including -attorneys' fees) incurred in connection with any claim, lawsuit or action by any -third party that arises or results from the use or distribution of any and all -Programs and/or Redistributable. - -3. Java Technology Restrictions. You may not create, modify, or change the -behavior of, or authorize your licensees to create, modify, or change the -behavior of, classes, interfaces, or subpackages that are in any way identified -as "java", "javax", "sun" or similar convention as specified by Sun in any -naming convention designation. - - -Sun Microsystems, Inc. ("Sun") -SOFTWARE LICENSE AGREEMENT - -READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING SOFTWARE -MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS -AGREEMENT. IF YOU ARE ACCESSING SOFTWARE ELECTRONICALLY, INDICATE YOUR -ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS -AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED -SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED -ELECTRONICALLY, SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS -AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR -YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-5 OF THIS AGREEMENT -("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER TERMS -IN RELATION TO THIS SOFTWARE. - -1. Definitions. - -(a) "Entitlement" means the collective set of applicable documents -authorized by Sun evidencing your obligation to pay associated fees (if any) for -the license, associated Services, and the authorized scope of use of Software -under this Agreement. - -(b) "Licensed Unit" means the unit of measure by which your use of Software -and/or Service is licensed, as described in your Entitlement. - -(c) "Permitted Use" means the licensed Software use(s) authorized in this -Agreement as specified in your Entitlement. The Permitted Use for any bundled -Sun software not specified in your Entitlement will be evaluation use as -provided in Section 3. - -(d) "Service" means the service(s) that Sun or its delegate will provide, if -any, as selected in your Entitlement and as further described in the applicable -service listings at www.sun.com/service/servicelist. - -(e) "Software" means the Sun software described in your Entitlement. Also, -certain software may be included for evaluation use under Section 3. - -(f) "You" and "Your" means the individual or legal entity specified in the -Entitlement, or for evaluation purposes, the entity performing the evaluation. - -2. License Grant and Entitlement. - -Subject to the terms of your Entitlement, Sun grants you a nonexclusive, -nontransferable limited license to use Software for its Permitted Use for the -license term. Your Entitlement will specify (a) Software licensed, (b) the -Permitted Use, (c) the license term, and (d) the Licensed Units. - -Additionally, if your Entitlement includes Services, then it will also specify -the (e) Service and (f) service term. - -If your rights to Software or Services are limited in duration and the date such -rights begin is other than the purchase date, your Entitlement will provide that -beginning date(s). - -The Entitlement may be delivered to you in various ways depending on the manner -in which you obtain Software and Services, for example, the Entitlement may be -provided in your receipt, invoice or your contract with Sun or authorized Sun -reseller. It may also be in electronic format if you download Software. - -3. Permitted Use. - -As selected in your Entitlement, one or more of the following Permitted Uses -will apply to your use of Software. Unless you have an Entitlement that -expressly permits it, you may not use Software for any of the other Permitted -Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover -additional software delivered to you, then such software is for your Evaluation -Use. - -(a) Evaluation Use. You may evaluate Software internally for a period of 90 days -from your first use. - -(b) Research and Instructional Use. You may use Software internally to design, -develop and test, and also to provide instruction on such uses. - -(c) Individual Use. You may use Software internally for personal, individual -use. - -(d) Commercial Use. You may use Software internally for your own commercial -purposes. - -(e) Service Provider Use. You may make Software functionality accessible (but -not by providing Software itself or through outsourcing services) to your end -users in an extranet deployment, but not to your affiliated companies or to -government agencies. - -4. Licensed Units. - -Your Permitted Use is limited to the number of Licensed Units stated in your -Entitlement. If you require additional Licensed Units, you will need additional -Entitlement(s). - -5. Restrictions. - -(a) The copies of Software provided to you under this Agreement are licensed, -not sold, to you by Sun. Sun reserves all rights not expressly granted. (b) You -may make a single archival copy of Software, but otherwise may not copy, modify, -or distribute Software. However if the Sun documentation accompanying Software -lists specific portions of Software, such as header files, class libraries, -reference source code, and/or redistributable files, that may be handled -differently, you may do so only as provided in the Sun documentation. (c) You -may not rent, lease, lend or encumber Software. (d) Unless enforcement is -prohibited by applicable law, you may not decompile, or reverse engineer -Software. (e) The terms and conditions of this Agreement will apply to any -Software updates, provided to you at Sun's discretion, that replace and/or -supplement the original Software, unless such update contains a separate -license. (f) You may not publish or provide the results of any benchmark or -comparison tests run on Software to any third party without the prior written -consent of Sun. (g) Software is confidential and copyrighted. (h) Unless -otherwise specified, if Software is delivered with embedded or bundled software -that enables functionality of Software, you may not use such software on a -stand-alone basis or use any portion of such software to interoperate with any -program(s) other than Software. (i) Software may contain programs that perform -automated collection of system data and/or automated software updating services. -System data collected through such programs may be used by Sun, its -subcontractors, and its service delivery partners for the purpose of providing -you with remote system services and/or improving Sun's software and systems. (j) -Software is not designed, licensed or intended for use in the design, -construction, operation or maintenance of any nuclear facility and Sun and its -licensors disclaim any express or implied warranty of fitness for such uses. (k) -No right, title or interest in or to any trademark, service mark, logo or trade -name of Sun or its licensors is granted under this Agreement. - -6. Term and Termination. - -The license and service term are set forth in your Entitlement(s). Your rights -under this Agreement will terminate immediately without notice from Sun if you -materially breach it or take any action in derogation of Sun's and/or its -licensors' rights to Software. Sun may terminate this Agreement should any -Software become, or in Sun's reasonable opinion likely to become, the subject of -a claim of intellectual property infringement or trade secret misappropriation. -Upon termination, you will cease use of, and destroy, Software and confirm -compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will survive -termination of the Agreement. - -7. Java Compatibility and Open Source. - -Software may contain Java technology. You may not create additional classes to, -or modifications of, the Java technology, except under compatibility -requirements available under a separate agreement available at www.java.net. - -Sun supports and benefits from the global community of open source developers, -and thanks the community for its important contributions and open -standards-based technology, which Sun has adopted into many of its products. - -Please note that portions of Software may be provided with notices and open -source licenses from such communities and third parties that govern the use of -those portions, and any licenses granted hereunder do not alter any rights and -obligations you may have under such open source licenses, however, the -disclaimer of warranty and limitation of liability provisions in this Agreement -will apply to all Software in this distribution. - -8. Limited Warranty. - -Sun warrants to you that for a period of 90 days from the date of purchase, as -evidenced by a copy of the receipt, the media on which Software is furnished (if -any) will be free of defects in materials and workmanship under normal use. -Except for the foregoing, Software is provided "AS IS". Your exclusive remedy -and Sun's entire liability under this limited warranty will be at Sun's option -to replace Software media or refund the fee paid for Software. Some states do -not allow limitations on certain implied warranties, so the above may not apply -to you. This limited warranty gives you specific legal rights. You may have -others, which vary from state to state. - -9. Disclaimer of Warranty. - -UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, -REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE -DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY -INVALID. - -10. Limitation of Liability. - -TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE -LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE -THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE -SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no -event will Sun's liability to you, whether in contract, tort (including -negligence), or otherwise, exceed the amount paid by you for Software under this -Agreement. The foregoing limitations will apply even if the above stated -warranty fails of its essential purpose. Some states do not allow the exclusion -of incidental or consequential damages, so some of the terms above may not be -applicable to you. - -11. Export Regulations. - -All Software, documents, technical data, and any other materials delivered under -this Agreement are subject to U.S. export control laws and may be subject to -export or import regulations in other countries. You agree to comply strictly -with these laws and regulations and acknowledge that you have the responsibility -to obtain any licenses to export, re-export, or import as may be required after -delivery to you. - -12. U.S. Government Restricted Rights. - -If Software is being acquired by or on behalf of the U.S. Government or by a -U.S. Government prime contractor or subcontractor (at any tier), then the -Government's rights in Software and accompanying documentation will be only as -set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through -227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 -and 12.212 (for non-DOD acquisitions). - -13. Governing Law. - -Any action related to this Agreement will be governed by California law and -controlling U.S. federal law. No choice of law rules of any jurisdiction will -apply. - -14. Severability. - -If any provision of this Agreement is held to be unenforceable, this Agreement -will remain in effect with the provision omitted, unless omission would -frustrate the intent of the parties, in which case this Agreement will -immediately terminate. - -15. Integration. - -This Agreement, including any terms contained in your Entitlement, is the entire -agreement between you and Sun relating to its subject matter. It supersedes all -prior or contemporaneous oral or written communications, proposals, -representations and warranties and prevails over any conflicting or additional -terms of any quote, order, acknowledgment, or other communication between the -parties relating to its subject matter during the term of this Agreement. No -modification of this Agreement will be binding, unless in writing and signed by -an authorized representative of each party. - -Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, -California 95054 if you have questions. \ No newline at end of file diff --git a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/wizard.xml b/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/wizard.xml deleted file mode 100644 index a828c0ddfe28..000000000000 --- a/nbbuild/installer/components/products/javaeesdk-samples/src/org/netbeans/installer/products/javaeesdk/samples/wizard.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - sjsas - - - diff --git a/nbbuild/installer/components/products/jre-nested/build.xml b/nbbuild/installer/components/products/jre-nested/build.xml deleted file mode 100644 index ae0d2ca978e7..000000000000 --- a/nbbuild/installer/components/products/jre-nested/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/jre-nested/data/Bundle.properties b/nbbuild/installer/components/products/jre-nested/data/Bundle.properties deleted file mode 100644 index 10e75607d0a6..000000000000 --- a/nbbuild/installer/components/products/jre-nested/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=JRE {display-version} -product.description=JRE Nested diff --git a/nbbuild/installer/components/products/jre-nested/manifest.mf b/nbbuild/installer/components/products/jre-nested/manifest.mf deleted file mode 100644 index 2cae94a9d152..000000000000 --- a/nbbuild/installer/components/products/jre-nested/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nestedjre.ConfigurationLogic diff --git a/nbbuild/installer/components/products/jre-nested/nbproject/build-impl.xml b/nbbuild/installer/components/products/jre-nested/nbproject/build-impl.xml deleted file mode 100644 index 0bcfb49738e6..000000000000 --- a/nbbuild/installer/components/products/jre-nested/nbproject/build-impl.xml +++ /dev/null @@ -1,1428 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/jre-nested/nbproject/genfiles.properties b/nbbuild/installer/components/products/jre-nested/nbproject/genfiles.properties deleted file mode 100644 index 59f6de8796ed..000000000000 --- a/nbbuild/installer/components/products/jre-nested/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=4c0de5c1 -build.xml.script.CRC32=41ea1d22 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=8daea51f -nbproject/build-impl.xml.script.CRC32=65179a01 -nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48 diff --git a/nbbuild/installer/components/products/jre-nested/nbproject/project.properties b/nbbuild/installer/components/products/jre-nested/nbproject/project.properties deleted file mode 100644 index c6e654d30ed8..000000000000 --- a/nbbuild/installer/components/products/jre-nested/nbproject/project.properties +++ /dev/null @@ -1,110 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: Nested JRE -application.vendor= -auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.archive.disabled=${jnlp.enabled} -jar.compress=false -jar.index=${jnlp.enabled} -javac.classpath=\ - ${reference.NBI_Engine.jar}:\ - ${reference.NetBeans_Installer_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -jnlp.codebase.type=no.codebase -jnlp.descriptor=application -jnlp.enabled=false -jnlp.mixed.code=default -jnlp.offline-allowed=false -jnlp.signed=false -jnlp.signing= -jnlp.signing.alias= -jnlp.signing.keystore= -main.class= -# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed -manifest.custom.codebase= -# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions) -manifest.custom.permissions= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src - -platforms.JDK_1.5.bootclasspath=${platforms.JDK_1.5.home}\\jre\\lib\\rt.jar;${platforms.JDK_1.5.home}\\jre\\lib\\i18n.jar;${platforms.JDK_1.5.home}\\jre\\lib\\sunrsasign.jar;${platforms.JDK_1.5.home}\\jre\\lib\\jsse.jar;${platforms.JDK_1.5.home}\\jre\\lib\\jce.jar;${platforms.JDK_1.5.home}\\jre\\lib\\charsets.jar;${platforms.JDK_1.5.home}\\jre\\classes;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\dnsns.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\localedata.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\sunjce_provider.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\sunpkcs11.jar -platforms.JDK_1.5.compiler=modern diff --git a/nbbuild/installer/components/products/jre-nested/nbproject/project.xml b/nbbuild/installer/components/products/jre-nested/nbproject/project.xml deleted file mode 100644 index 20a6b0ccb9d6..000000000000 --- a/nbbuild/installer/components/products/jre-nested/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Nested JRE - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/Bundle.properties b/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/Bundle.properties deleted file mode 100644 index 1c37dde7e309..000000000000 --- a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/Bundle.properties +++ /dev/null @@ -1,51 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.error.jdk.installation.return.nonzero=JDK installation finished with error code {0} -CL.error.jre.installation.return.nonzero=JRE installation finished with error code {0} -CL.error.javadb.installation.return.nonzero=Java DB installation finished with error code {0} -CL.error.jdk.uninstallation.return.nonzero=JDK uninstallation finished with error code {0} -CL.error.jre.uninstallation.return.nonzero=JRE uninstallation finished with error code {0} -CL.error.javadb.uninstallation.return.nonzero=Java DB uninstallation finished with error code {0} - -CL.progress.detail.install.jdk=Running JDK installer... -CL.progress.detail.install.jre=Running JRE installer... -CL.progress.detail.install.javadb=Running Java DB installer... -CL.progress.detail.uninstall.jdk=Running JDK uninstaller... -CL.progress.detail.uninstall.jre=Running JRE uninstaller... -CL.progress.detail.uninstall.javadb=Running Java DB uninstaller... - -#Name of JDK patch dir under $D(common)\Java\Update\Base Images\ -#It is the same for all JDK 5.0 updates -#NOI18N -CL.jdk.patch.directory={jdk-base-dir} - -#NOI18N -CL.jdk.install.dir={jdk-install-dir} -#NOI18N -CL.jdk.installer.file={jdk-installer-file} - -CL.error.install.jdk.exception=An error occured while JDK installation -CL.error.uninstall.jdk.exception=An error occured while JDK uninstallation -CL.error.install.jre.exception=An error occured while JRE installation -CL.error.uninstall.jre.exception=An error occured while JRE uninstallation -CL.error.install.javadb.exception=An error occured while Java DB installation -CL.error.uninstall.javadb.exception=An error occured while Java DB uninstallation -CL.error.install.cannot.move.data=Cannot move installation files diff --git a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/ConfigurationLogic.java b/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/ConfigurationLogic.java deleted file mode 100644 index 4cb99d8b2248..000000000000 --- a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/ConfigurationLogic.java +++ /dev/null @@ -1,126 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.nestedjre; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.components.WizardComponent; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - - private static final String JRE_NESTED = "{jre-nested}"; // NOI18N - private static final String ID = "jre-nested"; // NOI18N - - public ConfigurationLogic() throws InitializationException { - super(new String[]{JRE_NESTED}, ID); - } - - @Override - public void install(final Progress progress) throws InstallationException { - final Product product = getProduct(); - File installLocation = product.getInstallationLocation(); - - // #255871 - Wrong path for installing JRE - List products = Registry.getInstance().getProductsToInstall(); - for(Product p : products) { - if(p.getUid().equals(BASE_IDE_UID)) { - installLocation = new File(p.getInstallationLocation(), JavaUtils.JRE_NESTED_SUBDIR); - product.setInstallationLocation(installLocation); - p.setProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY, installLocation.getAbsolutePath()); - } - } - - final File jvmTempLocation = new File(System.getProperty("java.home")); - final FilesList filesList = product.getInstalledFiles(); - - try { - FilesList copiedFiles = FileUtils.copyNestedJRE(jvmTempLocation, installLocation, progress); - - List deletedFiles = deletePacks(copiedFiles); - List files = copiedFiles.toList(); - files.removeAll(deletedFiles); - - filesList.add(files); - } catch (IOException ex) { - Logger.getLogger(ConfigurationLogic.class.getName()).log(Level.SEVERE, null, ex); - } - - progress.setPercentage(Progress.COMPLETE); - } - - @Override - public List getWizardComponents() { - return Collections.EMPTY_LIST; - } - - @Override - public boolean registerInSystem() { - return false; - } - - @Override - public boolean allowModifyMode() { - return false; - } - - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.ALL; - } - - private List deletePacks(FilesList filesList) { - List deleted = new ArrayList(); - - if (filesList != null) { - List files = filesList.toList(); - - for (File file : files) { - if (file.getName().endsWith("pack.gz")) { //NOI18N - try { - FileUtils.deleteFile(file); - } catch (IOException ex) { - Logger.getLogger(ConfigurationLogic.class.getName()).log(Level.SEVERE, null, ex); - } - deleted.add(file); - } - } - } - - return deleted; - } -} diff --git a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/license.txt b/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/license.txt deleted file mode 100644 index a03d9d6538ed..000000000000 --- a/nbbuild/installer/components/products/jre-nested/src/org/netbeans/installer/products/nestedjre/license.txt +++ /dev/null @@ -1,324 +0,0 @@ -Sun Microsystems, Inc. Binary Code License Agreement - -for the JAVA 2 PLATFORM STANDARD EDITION DEVELOPMENT KIT 5.0 - -SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE -SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION -THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY -CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS -(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT -CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU -ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY -SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE -AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE -TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE -AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT -CONTINUE. - -1. DEFINITIONS. "Software" means the identified above in -binary form, any other machine readable materials -(including, but not limited to, libraries, source files, -header files, and data files), any updates or error -corrections provided by Sun, and any user manuals, -programming guides and other documentation provided to you -by Sun under this Agreement. "Programs" mean Java applets -and applications intended to run on the Java 2 Platform -Standard Edition (J2SE platform) platform on Java-enabled -general purpose desktop computers and servers. - -2. LICENSE TO USE. Subject to the terms and conditions of -this Agreement, including, but not limited to the Java -Technology Restrictions of the Supplemental License Terms, -Sun grants you a non-exclusive, non-transferable, limited -license without license fees to reproduce and use internally -Software complete and unmodified for the sole purpose of -running Programs. Additional licenses for developers and/or -publishers are granted in the Supplemental License Terms. - -3. RESTRICTIONS. Software is confidential and copyrighted. -Title to Software and all associated intellectual property -rights is retained by Sun and/or its licensors. Unless -enforcement is prohibited by applicable law, you may not -modify, decompile, or reverse engineer Software. You -acknowledge that Licensed Software is not designed or -intended for use in the design, construction, operation or -maintenance of any nuclear facility. Sun Microsystems, Inc. -disclaims any express or implied warranty of fitness for -such uses. No right, title or interest in or to any -trademark, service mark, logo or trade name of Sun or its -licensors is granted under this Agreement. Additional -restrictions for developers and/or publishers licenses are -set forth in the Supplemental License Terms. - -4. LIMITED WARRANTY. Sun warrants to you that for a period -of ninety (90) days from the date of purchase, as evidenced -by a copy of the receipt, the media on which Software is -furnished (if any) will be free of defects in materials and -workmanship under normal use. Except for the foregoing, -Software is provided "AS IS". Your exclusive remedy and -Sun's entire liability under this limited warranty will be -at Sun's option to replace Software media or refund the fee -paid for Software. Any implied warranties on the Software -are limited to 90 days. Some states do not allow -limitations on duration of an implied warranty, so the above -may not apply to you. This limited warranty gives you -specific legal rights. You may have others, which vary from -state to state. - -5. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS -AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, -REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED -WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE -EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY -INVALID. - -6. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED -BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR -ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER -CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF -OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN -IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -In no event will Sun's liability to you, whether in -contract, tort (including negligence), or otherwise, exceed -the amount paid by you for Software under this Agreement. -The foregoing limitations will apply even if the above -stated warranty fails of its essential purpose. Some states -do not allow the exclusion of incidental or consequential -damages, so some of the terms above may not be applicable to -you. - -7. TERMINATION. This Agreement is effective until -terminated. You may terminate this Agreement at any time by -destroying all copies of Software. This Agreement will -terminate immediately without notice from Sun if you fail to -comply with any provision of this Agreement. Either party -may terminate this Agreement immediately should any Software -become, or in either party's opinion be likely to become, -the subject of a claim of infringement of any intellectual -property right. Upon Termination, you must destroy all -copies of Software. - -8. EXPORT REGULATIONS. All Software and technical data -delivered under this Agreement are subject to US export -control laws and may be subject to export or import -regulations in other countries. You agree to comply -strictly with all such laws and regulations and acknowledge -that you have the responsibility to obtain such licenses to -export, re-export, or import as may be required after -delivery to you. - -9. TRADEMARKS AND LOGOS. You acknowledge and agree as -between you and Sun that Sun owns the SUN, SOLARIS, JAVA, -JINI, FORTE, and iPLANET trademarks and all SUN, SOLARIS, -JAVA, JINI, FORTE, and iPLANET-related trademarks, service -marks, logos and other brand designations ("Sun Marks"), and -you agree to comply with the Sun Trademark and Logo Usage -Requirements currently located at -http://www.sun.com/policies/trademarks. Any use you make of -the Sun Marks inures to Sun's benefit. - -10. U.S. GOVERNMENT RESTRICTED RIGHTS. If Software is -being acquired by or on behalf of the U.S. Government or by -a U.S. Government prime contractor or subcontractor (at any -tier), then the Government's rights in Software and -accompanying documentation will be only as set forth in this -Agreement; this is in accordance with 48 CFR 227.7201 -through 227.7202-4 (for Department of Defense (DOD) -acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD -acquisitions). - -11. GOVERNING LAW. Any action related to this Agreement -will be governed by California law and controlling U.S. -federal law. No choice of law rules of any jurisdiction -will apply. - -12. SEVERABILITY. If any provision of this Agreement is -held to be unenforceable, this Agreement will remain in -effect with the provision omitted, unless omission would -frustrate the intent of the parties, in which case this -Agreement will immediately terminate. - -13. INTEGRATION. This Agreement is the entire agreement -between you and Sun relating to its subject matter. It -supersedes all prior or contemporaneous oral or written -communications, proposals, representations and warranties -and prevails over any conflicting or additional terms of any -quote, order, acknowledgment, or other communication between -the parties relating to its subject matter during the term -of this Agreement. No modification of this Agreement will -be binding, unless in writing and signed by an authorized -representative of each party. - -SUPPLEMENTAL LICENSE TERMS - -These Supplemental License Terms add to or modify the terms -of the Binary Code License Agreement. Capitalized terms not -defined in these Supplemental Terms shall have the same -meanings ascribed to them in the Binary Code License -Agreement . These Supplemental Terms shall supersede any -inconsistent or conflicting terms in the Binary Code License -Agreement, or in any license contained within the Software. - -A. Software Internal Use and Development License Grant. -Subject to the terms and conditions of this Agreement and -restrictions and exceptions set forth in the Software -"README" file incorporated herein by reference, including, -but not limited to the Java Technology Restrictions of these -Supplemental Terms, Sun grants you a non-exclusive, -non-transferable, limited license without fees to reproduce -internally and use internally the Software complete and -unmodified for the purpose of designing, developing, and -testing your Programs. - -B. License to Distribute Software. Subject to the terms -and conditions of this Agreement and restrictions and -exceptions set forth in the Software README file, including, -but not limited to the Java Technology Restrictions of these -Supplemental Terms, Sun grants you a non-exclusive, -non-transferable, limited license without fees to reproduce -and distribute the Software, provided that (i) you -distribute the Software complete and unmodified and only -bundled as part of, and for the sole purpose of running, -your Programs, (ii) the Programs add significant and primary -functionality to the Software, (iii) you do not distribute -additional software intended to replace any component(s) of -the Software, (iv) you do not remove or alter any -proprietary legends or notices contained in the Software, -(v) you only distribute the Software subject to a license -agreement that protects Sun's interests consistent with the -terms contained in this Agreement, and (vi) you agree to -defend and indemnify Sun and its licensors from and against -any damages, costs, liabilities, settlement amounts and/or -expenses (including attorneys' fees) incurred in connection -with any claim, lawsuit or action by any third party that -arises or results from the use or distribution of any and -all Programs and/or Software. - -C. License to Distribute Redistributables. Subject to the -terms and conditions of this Agreement and restrictions and -exceptions set forth in the Software README file, including -but not limited to the Java Technology Restrictions of these -Supplemental Terms, Sun grants you a non-exclusive, -non-transferable, limited license without fees to reproduce -and distribute those files specifically identified as -redistributable in the Software "README" file -("Redistributables") provided that: (i) you distribute the -Redistributables complete and unmodified, and only bundled -as part of Programs, (ii) the Programs add significant and -primary functionality to the Redistributables, (iii) you do -not distribute additional software intended to supersede any -component(s) of the Redistributables (unless otherwise -specified in the applicable README file), (iv) you do not -remove or alter any proprietary legends or notices contained -in or on the Redistributables, (v) you only distribute the -Redistributables pursuant to a license agr eement that -protects Sun's interests consistent with the terms contained -in the Agreement, (vi) you agree to defend and indemnify Sun -and its licensors from and against any damages, costs, -liabilities, settlement amounts and/or expenses (including -attorneys' fees) incurred in connection with any claim, -lawsuit or action by any third party that arises or results -from the use or distribution of any and all Programs and/or -Software. - -D. Java Technology Restrictions. You may not create, -modify, or change the behavior of, or authorize your -licensees to create, modify, or change the behavior of, -classes, interfaces, or subpackages that are in any way -identified as "java", "javax", "sun" or similar convention -as specified by Sun in any naming convention designation. - -E. Distribution by Publishers. This section pertains to -your distribution of the Software with your printed book or -magazine (as those terms are commonly used in the industry) -relating to Java technology ("Publication"). Subject to and -conditioned upon your compliance with the restrictions and -obligations contained in the Agreement, in addition to the -license granted in Paragraph 1 above, Sun hereby grants to -you a non-exclusive, nontransferable limited right to -reproduce complete and unmodified copies of the Software on -electronic media (the "Media") for the sole purpose of -inclusion and distribution with your Publication(s), subject -to the following terms: (i) You may not distribute the -Software on a stand-alone basis; it must be distributed with -your Publication(s); (ii) You are responsible for -downloading the Software from the applicable Sun web site; -(iii) You must refer to the Software as JavaTM 2 Platform -Standard Edition Development Kit 5.0; (iv) The Software must -be reproduced in its entirety and wit hout any modification -whatsoever (including, without limitation, the Binary Code -License and Supplemental License Terms accompanying the -Software and proprietary rights notices contained in the -Software); (v) The Media label shall include the following -information: Copyright 2006, Sun Microsystems, Inc. All -rights reserved. Use is subject to license terms. Sun, Sun -Microsystems, the Sun logo, Solaris, Java, the Java Coffee -Cup logo, J2SE, and all trademarks and logos based on Java -are trademarks or registered trademarks of Sun Microsystems, -Inc. in the U.S. and other countries. This information -must be placed on the Media label in such a manner as to -only apply to the Sun Software; (vi) You must clearly -identify the Software as Sun's product on the Media holder -or Media label, and you may not state or imply that Sun is -responsible for any third-party software contained on the -Media; (vii) You may not include any third party software on -the Media which is intended to be a replacement or -substitute for the Soft ware; (viii) You shall indemnify Sun -for all damages arising from your failure to comply with the -requirements of this Agreement. In addition, you shall -defend, at your expense, any and all claims brought against -Sun by third parties, and shall pay all damages awarded by a -court of competent jurisdiction, or such settlement amount -negotiated by you, arising out of or in connection with your -use, reproduction or distribution of the Software and/or the -Publication. Your obligation to provide indemnification -under this section shall arise provided that Sun: (a) -provides you prompt notice of the claim; (b) gives you sole -control of the defense and settlement of the claim; (c) -provides you, at your expense, with all available -information, assistance and authority to defend; and (d) has -not compromised or settled such claim without your prior -written consent; and (ix) You shall provide Sun with a -written notice for each Publication; such notice shall -include the following information: (1) title of -Publication, (2) author(s), (3) date of Publication, and (4) -ISBN or ISSN numbers. Such notice shall be sent to Sun -Microsystems, Inc., 4150 Network Circle, M/S USCA12-110, -Santa Clara, California 95054, U.S.A , Attention: Contracts -Administration. - -F. Source Code. Software may contain source code that, -unless expressly licensed for other purposes, is provided -solely for reference purposes pursuant to the terms of this -Agreement. Source code may not be redistributed unless -expressly provided for in this Agreement. - -G. Third Party Code. Additional copyright notices and -license terms applicable to portions of the Software are set -forth in the THIRDPARTYLICENSEREADME.txt file. In addition -to any terms and conditions of any third party -opensource/freeware license identified in the -THIRDPARTYLICENSEREADME.txt file, the disclaimer of warranty -and limitation of liability provisions in paragraphs 5 and 6 -of the Binary Code License Agreement shall apply to all -Software in this distribution. - -H. Termination for Infringement. Either party may -terminate this Agreement immediately should any Software -become, or in either party's opinion be likely to become, -the subject of a claim of infringement of any intellectual -property right. - -I. Installation and Auto-Update. The Software's -installation and auto-update processes transmit a limited -amount of data to Sun (or its service provider) about those -specific processes to help Sun understand and optimize them. -Sun does not associate the data with personally identifiable -information. You can find more information about the data -Sun collects at http://java.com/data/. - -For inquiries please contact: Sun Microsystems, Inc., 4150 -Network Circle, Santa Clara, California 95054, U.S.A. -(LFI#143333/Form ID#011801) diff --git a/nbbuild/installer/components/products/mysql-connector/build.xml b/nbbuild/installer/components/products/mysql-connector/build.xml deleted file mode 100644 index 0c8cc9b4663e..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/mysql-connector/data/Bundle.properties b/nbbuild/installer/components/products/mysql-connector/data/Bundle.properties deleted file mode 100644 index 71ca9b8d7c99..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=MySQL Connector/J {display-version} -product.description= diff --git a/nbbuild/installer/components/products/mysql-connector/data/icon.png b/nbbuild/installer/components/products/mysql-connector/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/mysql-connector/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/mysql-connector/manifest.mf b/nbbuild/installer/components/products/mysql-connector/manifest.mf deleted file mode 100644 index 63a1f2b8bf7b..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.mysql.connector.ConfigurationLogic diff --git a/nbbuild/installer/components/products/mysql-connector/nbproject/build-impl.xml b/nbbuild/installer/components/products/mysql-connector/nbproject/build-impl.xml deleted file mode 100644 index a5e7d182917e..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/mysql-connector/nbproject/genfiles.properties b/nbbuild/installer/components/products/mysql-connector/nbproject/genfiles.properties deleted file mode 100644 index 1dccc541caf8..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=7b828a0e -nbproject/build-impl.xml.script.CRC32=ed00d941 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/mysql-connector/nbproject/project.properties b/nbbuild/installer/components/products/mysql-connector/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/mysql-connector/nbproject/project.xml b/nbbuild/installer/components/products/mysql-connector/nbproject/project.xml deleted file mode 100644 index dc97a7afba24..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/nbproject/project.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: MySQL Connector - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/Bundle.properties b/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/Bundle.properties deleted file mode 100644 index 5d7706d3a92a..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java diff --git a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/ConfigurationLogic.java b/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/ConfigurationLogic.java deleted file mode 100644 index fabce2d6ab25..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/ConfigurationLogic.java +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.mysql.connector; - -import java.util.List; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/mysql/connector/wizard.xml"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - } - - public void uninstall(final Progress progress) throws UninstallationException { - } - - public List getWizardComponents() { - return wizardComponents; - } - @Override - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } -} diff --git a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/license.txt b/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/license.txt deleted file mode 100644 index d511905c1647..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/license.txt +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/wizard.xml b/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/wizard.xml deleted file mode 100644 index 1af0c6042462..000000000000 --- a/nbbuild/installer/components/products/mysql-connector/src/org/netbeans/installer/products/mysql/connector/wizard.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - glassfish - lib - - - diff --git a/nbbuild/installer/components/products/mysql/build.xml b/nbbuild/installer/components/products/mysql/build.xml deleted file mode 100644 index a0be0951e59c..000000000000 --- a/nbbuild/installer/components/products/mysql/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/mysql/catalog.xml b/nbbuild/installer/components/products/mysql/catalog.xml deleted file mode 100644 index a0eb9fbf8cd5..000000000000 --- a/nbbuild/installer/components/products/mysql/catalog.xml +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/nbbuild/installer/components/products/mysql/data/Bundle.properties b/nbbuild/installer/components/products/mysql/data/Bundle.properties deleted file mode 100644 index 85acee7577f8..000000000000 --- a/nbbuild/installer/components/products/mysql/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=MySQL {display-version} Community Server -product.description= diff --git a/nbbuild/installer/components/products/mysql/data/icon.png b/nbbuild/installer/components/products/mysql/data/icon.png deleted file mode 100644 index 3adb98c77a76..000000000000 Binary files a/nbbuild/installer/components/products/mysql/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/mysql/manifest.mf b/nbbuild/installer/components/products/mysql/manifest.mf deleted file mode 100644 index 1f24fa15bcfb..000000000000 --- a/nbbuild/installer/components/products/mysql/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.mysql.ConfigurationLogic diff --git a/nbbuild/installer/components/products/mysql/nbproject/build-impl.xml b/nbbuild/installer/components/products/mysql/nbproject/build-impl.xml deleted file mode 100644 index 30053b16b7cb..000000000000 --- a/nbbuild/installer/components/products/mysql/nbproject/build-impl.xml +++ /dev/null @@ -1,657 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/mysql/nbproject/genfiles.properties b/nbbuild/installer/components/products/mysql/nbproject/genfiles.properties deleted file mode 100644 index fbb1b2573965..000000000000 --- a/nbbuild/installer/components/products/mysql/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=d2699649 -build.xml.script.CRC32=9eebca4d -build.xml.stylesheet.CRC32=a12b3d02 -# 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=c8d26810 -nbproject/build-impl.xml.script.CRC32=0e578d2f -nbproject/build-impl.xml.stylesheet.CRC32=f1d9da08 diff --git a/nbbuild/installer/components/products/mysql/nbproject/project.properties b/nbbuild/installer/components/products/mysql/nbproject/project.properties deleted file mode 100644 index 61430e474242..000000000000 --- a/nbbuild/installer/components/products/mysql/nbproject/project.properties +++ /dev/null @@ -1,82 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -application.title=NBI Product: MySQL -application.vendor= -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/mysql/nbproject/project.xml b/nbbuild/installer/components/products/mysql/nbproject/project.xml deleted file mode 100644 index 1428f5d61a91..000000000000 --- a/nbbuild/installer/components/products/mysql/nbproject/project.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: MySQL - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/Bundle.properties b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/Bundle.properties deleted file mode 100644 index 4fb6ae194c8d..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/Bundle.properties +++ /dev/null @@ -1,46 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.error.installation.return.nonzero=MySQL installation finished with error code {0} -CL.progress.detail.install.mysql=Running MySQL installer... -CL.progress.detail.uninstall.mysql=Running MySQL uninstaller... -CL.progress.detail.configure.mysql=Configuring MySQL instance... -CL.error.install.mysql.exception=An error occured while MySQL installation -CL.error.uninstall.mysql.exception=An error occured while MySQL uninstallation -CL.error.uninstall.mysql.non.zero=An error occured while MySQL uninstallation, error code is {0} -CL.error.configure.instance.exception=An error occured while running MySQL Instance Configuration Wizard - -CL.error.configuration.code.2=Configuration template file cannot be found. -CL.error.configuration.code.3=The Windows service entry cannot be created. -CL.error.configuration.code.4=Could not connect to the Service Control Manager. -CL.error.configuration.code.5=The MySQL service cannot be started. -CL.error.configuration.code.6=The MySQL service cannot be stopped. -CL.error.configuration.code.7=The security settings cannot be applied. -CL.error.configuration.code.8=The configuration file cannot be written. -CL.error.configuration.code.9=The Windows service entry cannot be removed. -CL.error.shortcut.create=Cannot create shortcut for MySQL - -CL.shortcuts.start.mysql=Start MySQL Server -CL.shortcuts.stop.mysql=Stop MySQL Server - -CL.install.ide.integration=Integrating MySQL server with existing NetBeans IDEs -CL.uninstall.ide.integration=Removing integration of MySQL server with existing NetBeans IDEs -CL.install.error.ide.integration=Failed to integrate MySQL server with existing NetBeans IDEs -CL.uninstall.error.ide.integration=Failed to remove integration of MySQL server with existing NetBeans IDEs diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/ConfigurationLogic.java b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/ConfigurationLogic.java deleted file mode 100644 index c3ae3a2412a5..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/ConfigurationLogic.java +++ /dev/null @@ -1,1065 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.mysql; - -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.products.mysql.wizard.panels.MySQLPanel; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; -import static org.netbeans.installer.utils.StringUtils.QUOTE; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StreamUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.NativeException; -import org.netbeans.installer.utils.helper.EnvironmentScope; -import org.netbeans.installer.utils.helper.ExecutionResults; -import org.netbeans.installer.utils.helper.NbiThread; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.progress.CompositeProgress; -import org.netbeans.installer.utils.system.NativeUtils; -import org.netbeans.installer.utils.system.UnixNativeUtils.FileAccessMode; -import org.netbeans.installer.utils.system.WindowsNativeUtils; -import org.netbeans.installer.utils.system.shortcut.FileShortcut; -import org.netbeans.installer.utils.system.shortcut.LocationType; -import org.netbeans.installer.utils.system.windows.WindowsRegistry; -import static org.netbeans.installer.utils.system.windows.WindowsRegistry.*; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - // constructor ////////////////////////////////////////////////////////////////// - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - // configuration logic implementation /////////////////////////////////////////// - public void install( - final Progress progress) throws InstallationException { - LogManager.log("Starting MySQL installation..."); - if (SystemUtils.isWindows()) { - installWindows(progress); - } else { - installUnix(progress); - } - - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - - try { - progress.setDetail(getString("CL.install.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - List productsToIntegrate = new ArrayList(); - for (Product ide : ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + getProduct().getDisplayName() + " can be integrated with " + ide.getDisplayName() + " at " + ide.getInstallationLocation()); - final File ideLocation = ide.getInstallationLocation(); - if (ideLocation != null && FileUtils.exists(ideLocation) && !FileUtils.isEmpty(ideLocation)) { - final Product bundledProduct = bundledRegistry.getProduct(ide.getUid(), ide.getVersion()); - if (bundledProduct != null) { - //one of already installed IDEs is in the bundled registry as well - we need to integrate with it - productsToIntegrate.add(ide); - LogManager.log("... will be integrated since this produce is also bundled"); - } else { - //check if this IDE is not integrated with any other MySQL instance - we need integrate with such IDE instance - try { - String path = NetBeansUtils.getJvmOption(ideLocation, MYSQL_START_COMMAND_PROPERTY); - if (path == null || !FileUtils.exists(new File(path))) { - LogManager.log("... will be integrated since there it is not yet integrated with any instance or such an instance does not exist"); - productsToIntegrate.add(ide); - } else { - LogManager.log("... will not be integrated since it is already integrated with another instance at " + path); - } - } catch (IOException e) { - LogManager.log(e); - } - } - } - } - } - - for (Product productToIntegrate : productsToIntegrate) { - final File ideLocation = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate " + getProduct().getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + ideLocation); - if (SystemUtils.isWindows()) { - File netLocation = new File(SystemUtils.getEnvironmentVariable("SYSTEMROOT") + File.separator + "system32" + File.separator + "net.exe"); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_COMMAND_PROPERTY, - netLocation.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_COMMAND_PROPERTY, - netLocation.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_ARGS_PROPERTY, - StringUtils.asString(new String[]{"start", MYSQL_SERVICE_NAME}, StringUtils.SPACE), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_ARGS_PROPERTY, - StringUtils.asString(new String[]{"stop", MYSQL_SERVICE_NAME}, StringUtils.SPACE), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_PORT_PROPERTY, - getProperty(MySQLPanel.PORT_PROPERTY)); - } else { - File daemon = new File(getProduct().getInstallationLocation(), - MYSQL_SERVER_DAEMON_FILE_UNIX); - if (!SystemUtils.isCurrentUserAdmin()) { - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_COMMAND_PROPERTY, daemon.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_COMMAND_PROPERTY, daemon.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_ARGS_PROPERTY, "start", true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_ARGS_PROPERTY, "stop", true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_PORT_PROPERTY, - getProperty(MySQLPanel.PORT_PROPERTY)); - } else { - File gksu = null; - for(String s: POSSIBLE_GKSU_LOCATIONS) { - File f = new File(s); - if(FileUtils.exists(f)) { - gksu = f; - break; - } - } - if(gksu==null) { - //search in PATH - for(String s : StringUtils.asList(SystemUtils.getEnvironmentVariable("PATH"), File.pathSeparator)) { - if(s!=null && !s.equals(StringUtils.EMPTY_STRING)) { - File f = new File(s, "gksu"); - if(FileUtils.exists(f)) { - gksu = f; - break; - } - } - } - } - if (gksu != null) { - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_COMMAND_PROPERTY, gksu.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_COMMAND_PROPERTY, gksu.getAbsolutePath(), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_START_ARGS_PROPERTY, - StringUtils.asString(new String[]{daemon.getAbsolutePath(), "start"}, StringUtils.SPACE), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_STOP_ARGS_PROPERTY, - StringUtils.asString(new String[]{daemon.getAbsolutePath(), "stop"}, StringUtils.SPACE), true); - NetBeansUtils.setJvmOption( - ideLocation, MYSQL_PORT_PROPERTY, - getProperty(MySQLPanel.PORT_PROPERTY)); - } else { - LogManager.log("... gksu not available on the system, skipping MySQL integration"); - } - } - } - - // if the IDE was installed in the same session as the - // appserver, we should add its "product id" to the IDE - if (productToIntegrate.hasStatusChanged()) { - NetBeansUtils.addPackId( - ideLocation, - PRODUCT_ID); - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } catch (NativeException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } - - - try { - ClassLoader cl = getClass().getClassLoader(); - FileUtils.writeFile(new File(getProduct().getInstallationLocation(), NBGFMYSQL_LICENSE), - ResourceUtils.getResource(LEGAL_RESOURCE_PREFIX + NBGFMYSQL_LICENSE, - cl)); - FileUtils.writeFile(new File(getProduct().getInstallationLocation(), NBGFMYSQL_THIRDPARTY_README), - ResourceUtils.getResource(LEGAL_RESOURCE_PREFIX + NBGFMYSQL_THIRDPARTY_README, - cl)); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.legal.creation"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private void installWindows(Progress progress) throws InstallationException { - final File location = getProduct().getInstallationLocation(); - final File installer = new File(location, MYSQL_MSI_FILE_NAME); - if (progress.isCanceled()) { - return; - } - - - try { - ExecutionResults results = null; - - final CompositeProgress overallProgress = new CompositeProgress(); - overallProgress.synchronizeTo(progress); - overallProgress.synchronizeDetails(true); - - final Progress msiProgress = new Progress(); - final Progress configurationProgress = new Progress(); - - overallProgress.addChild(msiProgress, (Progress.COMPLETE * 2) / 5); - overallProgress.addChild(configurationProgress, (Progress.COMPLETE * 3) / 5); - results = runMsiInstallerWindows(location, installer, msiProgress); - if (results.getErrorCode() == 0) { - getProduct().setProperty(MYSQL_INSTALLED_WINDOWS_PROPERTY, - "" + true); - results = runInstanceConfigurationWizard(location, configurationProgress); - switch (results.getErrorCode()) { - case 0:// All OK; - - break; - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY_CODE_PREFIX + results.getErrorCode())); - default: - // General error? - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY)); - } - SystemUtils.sleep(3000);//wait for 3 seconds so that mysql really starts - if(Boolean.parseBoolean(getProperty(MySQLPanel.MODIFY_SECURITY_PROPERTY))) { - fixSecuritySettingsWindows(location); - } - //createWindowsShortcuts(location); - - } - - - if (results.getErrorCode() != 0) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_MYSQL_INSTALL_SCRIPT_RETURN_NONZERO_KEY, - StringUtils.EMPTY_STRING + results.getErrorCode())); - } - } finally { - try { - FileUtils.deleteFile(installer); - } catch (IOException e) { - LogManager.log("Cannot delete installer file " + installer, e); - - } - } - } - - private void fixSecuritySettingsWindows(File location) throws InstallationException { - if (!Boolean.parseBoolean(getProperty(MySQLPanel.ANONYMOUS_ACCOUNT_PROPERTY))) { - query(location, REMOVE_ANONYMOUS_QUERY); - } - query(location, REMOVE_REMOTE_ROOT_QUERY); - query(location, FLUSH_PRIVILEGES_QUERY); - } - - private void query(File location, String query) { - final File exe = new File(location, MYSQL_EXE); - - - try { - LogManager.log("... query : " + query); - List commands = new ArrayList(); - commands.add(exe.getAbsolutePath()); - commands.add("--defaults-file=" + new File(location, TARGET_CONFIGURATION_FILE)); - commands.add("--user=root"); - if (!getProperty(MySQLPanel.PASSWORD_PROPERTY).equals(StringUtils.EMPTY_STRING)) { - commands.add("--password=" + getProperty(MySQLPanel.PASSWORD_PROPERTY)); - } - commands.add("--connect_timeout=3"); - commands.add("-v"); - ProcessBuilder pb = new ProcessBuilder(commands).directory(location).redirectErrorStream(true); - LogManager.log("... starting process : " + StringUtils.asString(commands, " ")); - Process p = pb.start(); - LogManager.log("... started, write query to stdin"); - p.getOutputStream().write(query.getBytes()); - p.getOutputStream().flush(); - p.getOutputStream().close(); - LogManager.log("... wait for termination"); - try { - p.waitFor(); - } catch (InterruptedException e) { - LogManager.log(e); - } - LogManager.logIndent("... query output: "); - LogManager.log(StreamUtils.readStream(p.getInputStream())); - LogManager.logUnindent("... query errorcode: " + p.exitValue()); - p.destroy(); - } catch (IOException e) { - LogManager.log(e); - } - } - - private void installUnix(Progress progress) throws InstallationException { - progress.setDetail(PROGRESS_DETAIL_RUNNING_MYSQL_INSTANCE_CONFIGURATION); - final File location = getProduct().getInstallationLocation(); - final File installScript = new File(location, "configure-mysql.sh"); - try { - InputStream is = ResourceUtils.getResource(INSTALL_SCRIPT_UNIX, - getClass().getClassLoader()); - FileUtils.writeFile(installScript, is); - SystemUtils.setPermissions(installScript, FileAccessMode.EU, NativeUtils.FA_MODE_ADD); - is.close(); - List commandsList = new ArrayList(); - commandsList.add(installScript.getAbsolutePath()); - commandsList.add(SystemUtils.isCurrentUserAdmin() ? "1" : "0"); // is root - commandsList.add("small"); // small system type - commandsList.add(getProperty(MySQLPanel.PASSWORD_PROPERTY)); // password - if(!Boolean.parseBoolean(getProperty(MySQLPanel.NETWORK_PROPERTY))) { - SystemUtils.setEnvironmentVariable("SKIP_NETWORKING", "true", EnvironmentScope.PROCESS, false); - } else { - SystemUtils.setEnvironmentVariable("PORT_NUMBER", getProperty(MySQLPanel.PORT_PROPERTY), EnvironmentScope.PROCESS, false); - } - if(!Boolean.parseBoolean(getProperty(MySQLPanel.ANONYMOUS_ACCOUNT_PROPERTY))) { - SystemUtils.setEnvironmentVariable("REMOVE_ANONYMOUS", "true", EnvironmentScope.PROCESS, false); - } - if(Boolean.parseBoolean(getProperty(MySQLPanel.MODIFY_SECURITY_PROPERTY))) { - SystemUtils.setEnvironmentVariable("MODIFY_SECURITY", "true", EnvironmentScope.PROCESS, false); - } - SystemUtils.executeCommand(location, commandsList.toArray(new String[0])); - } catch (NativeException e) { - throw new InstallationException(ERROR_INSTALL_MYSQL_ERROR_KEY, e); - } catch (IOException e) { - throw new InstallationException(ERROR_INSTALL_MYSQL_ERROR_KEY, e); - } finally { - try { - FileUtils.deleteFile(installScript); - } catch (IOException e) { - LogManager.log(e); - } - } - } - - private void createWindowsShortcuts(File location) throws InstallationException { - // start MySQL server - File icon = new File(location, "icons\\mysqlStart.ico"); - File executable = new File(location, "bin\\mysqld-nt.exe"); - FileShortcut shortcut = new FileShortcut(START_MYSQL_SHORTCUT_NAME, executable); - - shortcut.setRelativePath(MYSQL_START_MENU_GROUP); - shortcut.setWorkingDirectory(location); - shortcut.setModifyPath(true); - List args = new ArrayList(); - args.add("--defaults-file=" + new File(location, TARGET_CONFIGURATION_FILE).getAbsolutePath()); - args.add("--console"); - shortcut.setIcon(icon); - shortcut.setArguments(args); - try { - SystemUtils.createShortcut(shortcut, LocationType.ALL_USERS_START_MENU); - } catch (NativeException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CANNOT_CREATE_SHORTCUT_KEY), - e); - } - - // stop MySQL server - icon = new File(location, "icons\\mysqlStop.ico"); - executable = new File(location, "bin\\mysqladmin.exe"); - shortcut = new FileShortcut(STOP_MYSQL_SHORTCUT_NAME, executable); - shortcut.setRelativePath(MYSQL_START_MENU_GROUP); - shortcut.setWorkingDirectory(location); - shortcut.setModifyPath(true); - args = new ArrayList(); - args.add("--u"); - args.add("root"); - args.add("shutdown"); - - shortcut.setIcon(icon); - shortcut.setArguments(args); - try { - SystemUtils.createShortcut(shortcut, LocationType.ALL_USERS_START_MENU); - } catch (NativeException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CANNOT_CREATE_SHORTCUT_KEY), - e); - } - } - - private long getInstanceConfigurationSpace() { - return 40000000L; - } - - private ExecutionResults runInstanceConfigurationWizard(File installationLocation, Progress progress) throws InstallationException { - final File configInstanceFile = new File(installationLocation, INSTANCE_CONFIGURATION_FILE); - - progress.setDetail(PROGRESS_DETAIL_RUNNING_MYSQL_INSTANCE_CONFIGURATION); - final File tempDir; - try { - tempDir = FileUtils.createTempFile( - SystemUtils.getTempDirectory(), true, true); - SystemUtils.setEnvironmentVariable("TEMP", - tempDir.getAbsolutePath(), - EnvironmentScope.PROCESS, - false); - SystemUtils.setEnvironmentVariable("TMP", - tempDir.getAbsolutePath(), - EnvironmentScope.PROCESS, - false); - LogManager.log("... tempdir : " + tempDir); - } catch (NativeException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY), e); - } catch (IOException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY), e); - } - final File logFile = getLog("config"); - - LogManager.log("... MySQL configuration log file : " + logFile); - //String version = - // getProduct().getVersion().getMajor() + StringUtils.DOT + - // getProduct().getVersion().getMinor() + StringUtils.DOT + - // getProduct().getVersion().getMicro(); - String version = MYSQL_INSTANCE_VERSION; - List commandsList = new ArrayList(); - - commandsList.add(configInstanceFile.getAbsolutePath()); - commandsList.add("-i"); // -i (install instance) - - commandsList.add("-q"); // -q (be quiet) - - commandsList.add("-p" + installationLocation); // -p (no \bin) - - commandsList.add("-v" + version); // -v - - if (logFile != null) { - // -lfilename (write log file) - commandsList.add("-l" + logFile.getAbsolutePath()); - } - - // When launched manually, these can also be submitted - // -t<.cnf template filename> - // -c<.cnf filename> - final File template = new File(installationLocation, TEMPLATE_CONFIGURATION_FILE); - final File targetConfigFile = new File(installationLocation, TARGET_CONFIGURATION_FILE); - commandsList.add("-t" + template); - commandsList.add("-c" + targetConfigFile); - commandsList.add("-n" + PRODUCT_NAME); // -n - // Use the following option to define the parameters for the config file generation. - // - // ServiceName=$ - // AddBinToPath={yes | no} - // ServerType={DEVELOPMENT | SERVER | DEDICATED} - // DatabaseType={MIXED | INNODB | MYISAM} - // ConnectionUsage={DSS | OLTP} - // ConnectionCount=# - // SkipNetworking={yes | no} - // Port=# - // StrictMode={yes | no} - // Charset=$ - // RootPassword=$ - // RootCurrentPassword=$ - - commandsList.add("ServiceName=" + MYSQL_SERVICE_NAME); - commandsList.add("AddBinToPath=no"); - commandsList.add("ServerType=DEVELOPMENT"); - commandsList.add("DatabaseType=MIXED"); - commandsList.add("ConnectionUsage=DSS"); - commandsList.add("Charset=utf8"); - - if (Boolean.parseBoolean(getProperty(MySQLPanel.NETWORK_PROPERTY))) { - commandsList.add("SkipNetworking=no"); - commandsList.add("Port=" + getProperty(MySQLPanel.PORT_PROPERTY)); - } else { - commandsList.add("SkipNetworking=yes"); - } - - if (Boolean.parseBoolean(getProperty(MySQLPanel.MODIFY_SECURITY_PROPERTY))) { - commandsList.add("RootPassword=" + getProperty(MySQLPanel.PASSWORD_PROPERTY)); - } - - - String[] commands = commandsList.toArray(new String[0]); - - ProgressThread progressThread = new ProgressThread(progress, - new File[]{installationLocation, tempDir}, - getInstanceConfigurationSpace()); - try { - progressThread.start(); - return SystemUtils.executeCommand(installationLocation, commands); - } catch (IOException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_INSTALL_MYSQL_ERROR_KEY), e); - } finally { - progressThread.finish(); - progress.setPercentage(Progress.COMPLETE); - } - } - - private File getLog(String suffix) { - File logFile = LogManager.getLogFile(); - File resultLogFile = null; - - if (logFile != null) { - String name = logFile.getName(); - - if (name.lastIndexOf(".") == -1) { - name += "_mysql_" + suffix + ".log"; - } else { - String ext = name.substring(name.lastIndexOf(".")); - name = name.substring(0, name.lastIndexOf(".")); - name += "_mysql_" + suffix + ext; - } - resultLogFile = new File(LogManager.getLogFile().getParentFile(), name); - } - return resultLogFile; - } - - private ExecutionResults runMsiInstallerWindows(File location, File installer, Progress progress) throws InstallationException { - progress.setDetail(PROGRESS_DETAIL_RUNNING_MYSQL_INSTALLER); - final File tempDir; - try { - tempDir = FileUtils.createTempFile( - SystemUtils.getTempDirectory(), true, true); - SystemUtils.setEnvironmentVariable("TEMP", - tempDir.getAbsolutePath(), - EnvironmentScope.PROCESS, - false); - SystemUtils.setEnvironmentVariable("TMP", - tempDir.getAbsolutePath(), - EnvironmentScope.PROCESS, - false); - LogManager.log("... tempdir : " + tempDir); - } catch (NativeException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_INSTALL_MYSQL_ERROR_KEY), e); - } catch (IOException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_INSTALL_MYSQL_ERROR_KEY), e); - } - final File logFile = getLog("install"); - - LogManager.log("... MySQL installation log file : " + logFile); - - final String installLocationOption = "INSTALLDIR=" + QUOTE + location + QUOTE; - installLocationOption.replaceAll("[ ]+", " ").trim(); - List commandsList = new ArrayList(); - commandsList.add("msiexec.exe"); - commandsList.add("/qn"); - - commandsList.addAll(Arrays.asList(installLocationOption.split(" "))); - - commandsList.add("/i"); - commandsList.add(installer.getAbsolutePath()); - - if (logFile != null) { - commandsList.add("/log"); - commandsList.add(logFile.getAbsolutePath()); - } - String[] commands = commandsList.toArray(new String[0]); - - ProgressThread progressThread = new ProgressThread(progress, - new File[]{location, tempDir}, - getProduct().getRequiredDiskSpace() - getProduct().getDownloadSize()); - try { - progressThread.start(); - return SystemUtils.executeCommand(location, commands); - } catch (IOException e) { - throw new InstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_INSTALL_MYSQL_ERROR_KEY), e); - } finally { - progressThread.finish(); - progress.setPercentage(Progress.COMPLETE); - } - } - - private String getInstallationID(File location) throws NativeException { - String id = null; - WindowsNativeUtils utils = (WindowsNativeUtils) SystemUtils.getNativeUtils(); - WindowsRegistry reg = utils.getWindowsRegistry(); - String[] keyNames = reg.getSubKeyNames(HKLM, utils.UNINSTALL_KEY); - for (String key : keyNames) { - if (key.startsWith("{")) {//all IS-based installations start with this string - - String publisher = reg.valueExists(HKLM, utils.UNINSTALL_KEY + reg.SEPARATOR + key, "Publisher") ? reg.getStringValue(HKLM, utils.UNINSTALL_KEY + reg.SEPARATOR + key, "Publisher") - : null; - String installSource = reg.valueExists(HKLM, utils.UNINSTALL_KEY + reg.SEPARATOR + key, "InstallSource") ? reg.getStringValue(HKLM, utils.UNINSTALL_KEY + reg.SEPARATOR + key, "InstallSource") : null; - - if (publisher != null && publisher.equals("MySQL AB") && - installSource != null && new File(installSource).equals(location)) { - // this value is created by JDK installer - String uninstallString = reg.getStringValue(HKLM, utils.UNINSTALL_KEY + reg.SEPARATOR + key, "UninstallString"); - int index = uninstallString.indexOf("/I{"); - if (index != -1) { - uninstallString = uninstallString.substring(index + 2); - if (uninstallString.indexOf("}") != -1) { - id = uninstallString.substring(0, uninstallString.indexOf("}") + 1); - break; - } - } - } - } - - } - return id; - } - - public void uninstall( - final Progress progress) - throws UninstallationException { - File location = getProduct().getInstallationLocation(); - if (SystemUtils.isWindows()) { - uninstallWindows(progress, location); - } else { - uninstallUnix(progress, location); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - for (Product ide: ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + ide.getDisplayName() + " is integrated with " + getProduct().getDisplayName() + " installed at " + location); - final File nbLocation = ide.getInstallationLocation(); - - if (nbLocation != null) { - LogManager.log("... ide location is " + nbLocation); - boolean integrated = false; - - if(SystemUtils.isWindows()) { - final String value = NetBeansUtils.getJvmOption( - nbLocation, MYSQL_START_ARGS_PROPERTY); - LogManager.log("... ide integrated with (start args): " + value); - integrated = value!=null && value.contains(MYSQL_SERVICE_NAME); - } else { - if(SystemUtils.isCurrentUserAdmin()) { - final String value = NetBeansUtils.getJvmOption( - nbLocation, MYSQL_START_COMMAND_PROPERTY); - LogManager.log("... ide integrated with: " + value); - integrated = value!=null && FileUtils.exists(new File(value)); - } else { - final String value = NetBeansUtils.getJvmOption( - nbLocation, MYSQL_START_ARGS_PROPERTY); - LogManager.log("... ide integrated with (start args): " + value); - if(value!=null) { - List args = StringUtils.asList(value, StringUtils.SPACE); - if(args.size()==2) { - integrated = FileUtils.exists(new File(args.get(0))); - } - } - } - } - if (integrated) { - LogManager.log("... removing integration"); - NetBeansUtils.removeJvmOption( - nbLocation, - MYSQL_START_COMMAND_PROPERTY); - NetBeansUtils.removeJvmOption( - nbLocation, - MYSQL_STOP_COMMAND_PROPERTY); - NetBeansUtils.removeJvmOption( - nbLocation, - MYSQL_START_ARGS_PROPERTY); - NetBeansUtils.removeJvmOption( - nbLocation, - MYSQL_STOP_ARGS_PROPERTY); - NetBeansUtils.removeJvmOption( - nbLocation, - MYSQL_PORT_PROPERTY); - } - } else { - LogManager.log("... ide location is null"); - } - } - } - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.ide.integration"), // NOI18N - e); - } catch (NativeException e) { - throw new UninstallationException( - getString("CL.uninstall.error.ide.integration"), // NOI18N - e); - } - - - try { - FileUtils.deleteFile(new File(location, "data"), true); - } catch (IOException e) { - LogManager.log(e); - } - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private void uninstallWindows(Progress progress, File location) throws UninstallationException { - try { - String id = getInstallationID(location); - if (id != null) { - LogManager.log("... uninstall ID : " + id); - final File logFile = getLog("uninstall"); - final String[] commands; - if (logFile != null) { - commands = new String[]{"msiexec.exe", "/qn", "/x", id, "/log", logFile.getAbsolutePath()}; - } else { - commands = new String[]{"msiexec.exe", "/qn", "/x", id}; - } - progress.setDetail(PROGRESS_DETAIL_RUNNING_MYSQL_UNINSTALLER); - - ProgressThread progressThread = new ProgressThread(progress, - new File[]{location}, -1 * FileUtils.getSize(location)); - try { - progressThread.start(); - ExecutionResults results = SystemUtils.executeCommand(commands); - if (results.getErrorCode() != 0) { - throw new UninstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_MYSQL_UNINSTALL_SCRIPT_RETURN_NONZERO_KEY, - StringUtils.EMPTY_STRING + results.getErrorCode())); - } - } catch (IOException e) { - throw new UninstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_UNINSTALL_MYSQL_ERROR_KEY), e); - } finally { - progressThread.finish(); - } - - } - } catch (NativeException e) { - throw new UninstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_UNINSTALL_MYSQL_ERROR_KEY), e); - - } finally { - progress.setPercentage(progress.COMPLETE); - } - } - - private void uninstallUnix(Progress progress, File location) throws UninstallationException { - - final File uninstallScript = new File(location, "uninstall-mysql.sh"); - try { - InputStream is = ResourceUtils.getResource(UNINSTALL_SCRIPT_UNIX, - getClass().getClassLoader()); - FileUtils.writeFile(uninstallScript, is); - SystemUtils.setPermissions(uninstallScript, FileAccessMode.EU, NativeUtils.FA_MODE_ADD); - is.close(); - List commandsList = new ArrayList(); - commandsList.add(uninstallScript.getAbsolutePath()); - commandsList.add(getProperty(MySQLPanel.PASSWORD_PROPERTY)); - ExecutionResults results = SystemUtils.executeCommand(location, commandsList.toArray(new String[0])); - if (results.getStdErr().contains("Check that mysqld is running")) { - LogManager.log("MySQL server is not running"); - } else if (results.getErrorCode() != 0) { - throw new UninstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_MYSQL_UNINSTALL_SCRIPT_RETURN_NONZERO_KEY, - StringUtils.EMPTY_STRING + results.getErrorCode())); - } - } catch (IOException e) { - throw new UninstallationException( - ResourceUtils.getString(ConfigurationLogic.class, - ERROR_UNINSTALL_MYSQL_ERROR_KEY), e); - } finally { - progress.setPercentage(progress.COMPLETE); - try { - FileUtils.deleteFile(uninstallScript); - } catch (IOException e) { - LogManager.log(e); - } - } - } - - public List getWizardComponents() { - return wizardComponents; - } - - @Override - public int getLogicPercentage() { - return 90; - } - - @Override - public boolean registerInSystem() { - return !SystemUtils.isWindows(); - } - - @Override - public boolean allowModifyMode() { - return false; - } - - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.ALL; - } - - class ProgressThread extends NbiThread { - - private File[] directories; - private long deltaSize = 0; - private long initialSize = 0L; - private Progress progress; - private final Object LOCK = new Object(); - private boolean loop = false; - - public ProgressThread(Progress progress, File[] directories, final long maxDeltaSize) { - LogManager.log("... new ProgressThread created"); - this.directories = directories; - for (File directory : directories) { - if (directory.exists()) { - initialSize += FileUtils.getSize(directory); - } - } - this.deltaSize = maxDeltaSize; - this.progress = progress; - LogManager.log("... directories : " + StringUtils.asString(directories)); - LogManager.log("... initial : " + initialSize); - LogManager.log("... delta : " + deltaSize); - } - - @Override - public void run() { - LogManager.log("... progress thread started"); - long sleepTime = 1000L; - try { - synchronized (LOCK) { - loop = true; - } - while (isRunning()) { - try { - boolean update = false; - for (File directory : directories) { - if (directory.exists()) { - update = true; - } - } - if (update) { - updateProgressBar(); - } - Thread.currentThread().sleep(sleepTime); - } catch (InterruptedException ex) { - LogManager.log(ex); - break; - } catch (Exception ex) { - LogManager.log(ex); - break; - } - } - } finally { - synchronized (LOCK) { - LOCK.notify(); - } - } - progress.setPercentage(Progress.COMPLETE); - LogManager.log("... progress thread finished"); - } - - public void finish() { - if (!isRunning()) { - return; - } - synchronized (LOCK) { - loop = false; - } - synchronized (LOCK) { - try { - LOCK.wait(); - } catch (InterruptedException e) { - LogManager.log(e); - } - } - } - - private boolean isRunning() { - boolean result; - synchronized (LOCK) { - result = loop; - } - return result; - } - - private void updateProgressBar() { - //LogManager.log("... get directory size"); - long size = 0; - for (File directory : directories) { - if (directory.exists()) { - size += FileUtils.getSize(directory); - } - } - //LogManager.log("... size : " + size); - long d = progress.COMPLETE * (size - initialSize) / deltaSize; - //LogManager.log(".... real progress : " + d); - d = progress.getPercentage() + (d - progress.getPercentage() + 1) / 2; - //LogManager.log("... bound progress : " + d); - d = (d < 0) ? 0 : (d > progress.COMPLETE ? progress.COMPLETE : d); - if (((int) d) > progress.getPercentage()) { - //LogManager.log("..... set progress : " + d); - progress.setPercentage(d); - } - } - } -///////////////////////////////////////////////////////////////////////////////// -// Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/mysql/wizard.xml"; // NOI18N - public static final String MYSQL_MSI_FILE_NAME = - "{mysql-msi-installer-name}";//NOI18N - public static final String MYSQL_INSTANCE_VERSION = - "{mysql-instance-version}";//NOI18N - public static final String INSTANCE_CONFIGURATION_FILE = - "bin/MySQLInstanceConfig.exe"; - public static final String MYSQL_INSTALLED_WINDOWS_PROPERTY = - "mysql.windows.installed";//NOI18N - public static final String ERROR_MYSQL_INSTALL_SCRIPT_RETURN_NONZERO_KEY = - "CL.error.installation.return.nonzero";//NOI18N - public static final String PROGRESS_DETAIL_RUNNING_MYSQL_INSTALLER = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.progress.detail.install.mysql"); - public static final String PROGRESS_DETAIL_RUNNING_MYSQL_UNINSTALLER = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.progress.detail.uninstall.mysql"); - public static final String PROGRESS_DETAIL_RUNNING_MYSQL_INSTANCE_CONFIGURATION = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.progress.detail.configure.mysql"); - public static final String ERROR_INSTALL_MYSQL_ERROR_KEY = - "CL.error.install.mysql.exception"; - public static final String ERROR_UNINSTALL_MYSQL_ERROR_KEY = - "CL.error.uninstall.mysql.exception"; - public static final String ERROR_MYSQL_UNINSTALL_SCRIPT_RETURN_NONZERO_KEY = - "CL.error.uninstall.mysql.non.zero"; - public static final String ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY = - "CL.error.configure.instance.exception"; - public static final String ERROR_CONFIGURE_INSTANCE_MYSQL_ERROR_KEY_CODE_PREFIX = - "CL.error.configuration.code.";//NOI18N - public static final String PRODUCT_NAME = - "MySQL Server 5.0";//NOI18N - public static final String TARGET_CONFIGURATION_FILE = - "my.ini";//NOI18N - public static final String TEMPLATE_CONFIGURATION_FILE = - "my-template.ini";//NOI18N - public static final String MYSQL_SERVICE_NAME = - "MySQL50"; - private static final String START_MENU_SHORTCUT_LOCATION_PROPERTY = - "start.menu.shortcut.location"; // NOI18N - public static final String START_MYSQL_SHORTCUT_NAME = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.shortcuts.start.mysql"); - public static final String STOP_MYSQL_SHORTCUT_NAME = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.shortcuts.stop.mysql"); - public static final String MYSQL_START_MENU_GROUP = - "MySQL\\MySQL Server 5.0"; - public static final String ERROR_CANNOT_CREATE_SHORTCUT_KEY = - "CL.error.shortcut.create"; - public static final String PRODUCT_ID = - "MYSQL"; - public static final String INSTALL_SCRIPT_UNIX = - "org/netbeans/installer/products/mysql/scripts/install.sh"; - public static final String UNINSTALL_SCRIPT_UNIX = - "org/netbeans/installer/products/mysql/scripts/uninstall.sh"; - final public static String REMOVE_ANONYMOUS_QUERY = - "DELETE FROM mysql.user WHERE User='';"; - final public static String REMOVE_REMOTE_ROOT_QUERY = - "DELETE FROM mysql.user WHERE User='root' AND Host!='localhost';"; - final public static String FLUSH_PRIVILEGES_QUERY = - "FLUSH PRIVILEGES;"; - final public static String MYSQL_EXE = SystemUtils.isWindows() ? "bin/mysql.exe" : "bin/mysql"; - public static final String LEGAL_RESOURCE_PREFIX = - "org/netbeans/installer/products/mysql/"; - public static final String NBGFMYSQL_LICENSE = - "NB_GF_MySQL.txt";//NOI18N - public static final String NBGFMYSQL_THIRDPARTY_README = - "NB_GF_MySQL_Bundle_Thirdparty_license_readme.txt"; - public static final String MYSQL_START_COMMAND_PROPERTY = - "-Dcom.sun.mysql.startcommand"; - public static final String MYSQL_START_ARGS_PROPERTY = - "-Dcom.sun.mysql.startargs"; - public static final String MYSQL_STOP_COMMAND_PROPERTY = - "-Dcom.sun.mysql.stopcommand"; - public static final String MYSQL_STOP_ARGS_PROPERTY = - "-Dcom.sun.mysql.stopargs"; - public static final String MYSQL_PORT_PROPERTY = - "-Dcom.sun.mysql.port"; - public static final String MYSQL_SERVER_DAEMON_FILE_UNIX = - "support-files/mysql.server"; - public static final String[] POSSIBLE_GKSU_LOCATIONS = { - "/usr/bin/gksu", - "/usr/sbin/gksu", - "/bin/gksu", - "/sbin/gksu" - }; - -} diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL.txt b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL.txt deleted file mode 100644 index 91184d269834..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL.txt +++ /dev/null @@ -1,829 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -NETBEANS IDE 6.1 WITH GLASSFISH AND MYSQL - -Please review the complete list of open-source licenses -governing software included in the Product. They can be -found in the THIRDPARTYLICENSE.txt file. Please review the -list of libraries and licenses provided for use. This -license file contains two distinct licenses. - -Unless specified below, the use of NetBeans IDE 6.1 -and components from the GlassFish runtime are governed by -the terms of either the GNU General Public License Version 2 -with Classpath Exception or the Common Development and -Distribution License (CDDL). The Product also contains components -from OpenJDK, which are governed exclusively by the terms of -the GPLv2 with Classpath Exception. - -LICENSE #1: GPLv2 with Classpath Exception. - -LICENSE #2: CDDL. - - -*********************************************************** - -LICENSE #1: - -The GNU General Public License (GPL) Version 2, June 1991 - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. - -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away -your freedom to share and change it. By contrast, the GNU -General Public License is intended to guarantee your freedom -to share and change free software--to make sure the software -is free for all its users. This General Public License -applies to most of the Free Software Foundation's software -and to any other program whose authors commit to using it. -(Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can -apply it to your programs, too. When we speak of free -software, we are referring to freedom, not price. Our -General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and -charge for this service if you wish), that you receive -source code or can get it if you want it, that you can -change the software or use pieces of it in new free -programs; and that you know you can do these things. To -protect your rights, we need to make restrictions that -forbid anyone to deny you these rights or to ask you to -surrender the rights. These restrictions translate to -certain responsibilities for you if you distribute copies of -the software, or if you modify it. - -For example, if you distribute copies of such a program, -whether gratis or for a fee, you must give the recipients -all the rights that you have. You must make sure that they, -too, receive or can get the source code. And you must show -them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the -software, and (2) offer you this license which gives you -legal permission to copy, distribute and/or modify the -software. - -Also, for each author's protection and ours, we want to make -certain that everyone understands that there is no warranty -for this free software. If the software is modified by -someone else and passed on, we want its recipients to know -that what they have is not the original, so that any -problems introduced by others will not reflect on the -original authors' reputations. - -Finally, any free program is threatened constantly by -software patents. We wish to avoid the danger that -redistributors of a free program will individually obtain -patent licenses, in effect making the program proprietary. -To prevent this, we have made it clear that any patent must -be licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution -and modification follow. - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND -MODIFICATION - -0. This License applies to any program or other work which -contains a notice placed by the copyright holder saying it -may be distributed under the terms of this General Public -License. The "Program", below, refers to any such program or -work, and a "work based on the Program" means either the -Program or any derivative work under copyright law: that is -to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into -another language. (Hereinafter, translation is included -without limitation in the term "modification".) Each -licensee is addressed as "you". - -Activities other than copying, distribution and modification -are not covered by this License; they are outside its scope. -The act of running the Program is not restricted, and the -output from the Program is covered only if its contents -constitute a work based on the Program (independent of -having been made by running the Program). Whether that is -true depends on what the Program does. - -1. You may copy and distribute verbatim copies of the -Program's source code as you receive it, in any medium, -provided that you conspicuously and appropriately publish on -each copy an appropriate copyright notice and disclaimer of -warranty; keep intact all the notices that refer to this -License and to the absence of any warranty; and give any -other recipients of the Program a copy of this License along -with the Program. - -You may charge a fee for the physical act of transferring a -copy, and you may at your option offer warranty protection -in exchange for a fee. - -2. You may modify your copy or copies of the Program or any -portion of it, thus forming a work based on the Program, and -copy and distribute such modifications or work under the -terms of Section 1 above, provided that you also meet all of -these conditions: - -a) You must cause the modified files to carry prominent -notices stating that you changed the files and the date of -any change. - -b) You must cause any work that you distribute or publish, -that in whole or in part contains or is derived from the -Program or any part thereof, to be licensed as a whole at no -charge to all third parties under the terms of this License. - -c) If the modified program normally reads commands -interactively when run, you must cause it, when started -running for such interactive use in the most ordinary way, -to print or display an announcement including an appropriate -copyright notice and a notice that there is no warranty (or -else, saying that you provide a warranty) and that users may -redistribute the program under these conditions, and telling -the user how to view a copy of this License. (Exception: if -the Program itself is interactive but does not normally -print such an announcement, your work based on the Program -is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the -Program, and can be reasonably considered independent and -separate works in themselves, then this License, and its -terms, do not apply to those sections when you distribute -them as separate works. But when you distribute the same -sections as part of a whole which is a work based on the -Program, the distribution of the whole must be on the terms -of this License, whose permissions for other licensees -extend to the entire whole, and thus to each and every part -regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights -or contest your rights to work written entirely by you; -rather, the intent is to exercise the right to control the -distribution of derivative or collective works based on the -Program. In addition, mere aggregation of another work not -based on the Program with the Program (or with a work based -on the Program) on a volume of a storage or distribution -medium does not bring the other work under the scope of this -License. - -3. You may copy and distribute the Program (or a work based -on it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you -also do one of the following: - -a) Accompany it with the complete corresponding -machine-readable source code, which must be distributed -under the terms of Sections 1 and 2 above on a medium -customarily used for software interchange; or, - -b) Accompany it with a written offer, valid for at least -three years, to give any third party, for a charge no more -than your cost of physically performing source distribution, -a complete machine-readable copy of the corresponding source -code, to be distributed under the terms of Sections 1 and 2 -above on a medium customarily used for software interchange; -or, - -c) Accompany it with the information you received as to the -offer to distribute corresponding source code. (This -alternative is allowed only for noncommercial distribution -and only if you received the program in object code or -executable form with such an offer, in accord with -Subsection b above.) - -The source code for a work means the preferred form of the -work for making modifications to it. For an executable work, -complete source code means all the source code for all -modules it contains, plus any associated interface -definition files, plus the scripts used to control -compilation and installation of the executable. However, as -a special exception, the source code distributed need not -include anything that is normally distributed (in either -source or binary form) with the major components (compiler, -kernel, and so on) of the operating system on which the -executable runs, unless that component itself accompanies -the executable. If distribution of executable or object code -is made by offering access to copy from a designated place, -then offering equivalent access to copy the source code from -the same place counts as distribution of the source code, -even though third parties are not compelled to copy the -source along with the object code. - -4. You may not copy, modify, sublicense, or distribute the -Program except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense or distribute -the Program is void, and will automatically terminate your -rights under this License. However, parties who have -received copies, or rights, from you under this License will -not have their licenses terminated so long as such parties -remain in full compliance. - -5. You are not required to accept this License, since you -have not signed it. However, nothing else grants you -permission to modify or distribute the Program or its -derivative works. These actions are prohibited by law if you -do not accept this License. Therefore, by modifying or -distributing the Program (or any work based on the Program), -you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or -modifying the Program or works based on it. - -6. Each time you redistribute the Program (or any work based -on the Program), the recipient automatically receives a -license from the original licensor to copy, distribute or -modify the Program subject to these terms and conditions. -You may not impose any further restrictions on the -recipients' exercise of the rights granted herein. You are -not responsible for enforcing compliance by third parties to -this License. - -7. If, as a consequence of a court judgment or allegation of -patent infringement or for any other reason (not limited to -patent issues), conditions are imposed on you (whether by -court order, agreement or otherwise) that contradict the -conditions of this License, they do not excuse you from the -conditions of this License. If you cannot distribute so as -to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a -consequence you may not distribute the Program at all. For -example, if a patent license would not permit royalty-free -redistribution of the Program by all those who receive -copies directly or indirectly through you, then the only way -you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or -unenforceable under any particular circumstance, the balance -of the section is intended to apply and the section as a -whole is intended to apply in other circumstances. It is not -the purpose of this section to induce you to infringe any -patents or other property right claims or to contest -validity of any such claims; this section has the sole -purpose of protecting the integrity of the free software -distribution system, which is implemented by public license -practices. Many people have made generous contributions to -the wide range of software distributed through that system -in reliance on consistent application of that system; it is -up to the author/donor to decide if he or she is willing to -distribute software through any other system and a licensee -cannot impose that choice. - -This section is intended to make thoroughly clear what is -believed to be a consequence of the rest of this License. - -8. If the distribution and/or use of the Program is -restricted in certain countries either by patents or by -copyrighted interfaces, the original copyright holder who -places the Program under this License may add an explicit -geographical distribution limitation excluding those -countries, so that distribution is permitted only in or -among countries not thus excluded. In such case, this -License incorporates the limitation as if written in the -body of this License. - -9. The Free Software Foundation may publish revised and/or -new versions of the General Public License from time to -time. Such new versions will be similar in spirit to the -present version, but may differ in detail to address new -problems or concerns. - -Each version is given a distinguishing version number. If -the Program specifies a version number of this License which -applies to it and "any later version", you have the option -of following the terms and conditions either of that version -or of any later version published by the Free Software -Foundation. If the Program does not specify a version number -of this License, you may choose any version ever published -by the Free Software Foundation. - -10. If you wish to incorporate parts of the Program into -other free programs whose distribution conditions are -different, write to the author to ask for permission. For -software which is copyrighted by the Free Software -Foundation, write to the Free Software Foundation; we -sometimes make exceptions for this. Our decision will be -guided by the two goals of preserving the free status of all -derivatives of our free software and of promoting the -sharing and reuse of software generally. - -NO WARRANTY - -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS -NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE -COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM -"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR -IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE -DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED -TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY -WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED -ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, -SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF -THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT -LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR -LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE -PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH -HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - -END OF TERMS AND CONDITIONS - -How to Apply These Terms to Your New Programs - -If you develop a new program, and you want it to be of the -greatest possible use to the public, the best way to achieve -this is to make it free software which everyone can -redistribute and change under these terms. - -To do so, attach the following notices to the program. It is -safest to attach them to the start of each source file to -most effectively convey the exclusion of warranty; and each -file should have at least the "copyright" line and a pointer -to where the full notice is found. - -One line to give the program's name and a brief idea of what -it does. - -Copyright (C) -This program is free software; you can redistribute it -and/or modify it under the terms of the GNU General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later -version. This program is distributed in the hope that it -will be useful, but WITHOUT ANY WARRANTY; without even the -implied warranty of MERCHANTABILITY or FITNESS FOR A -PARTICULAR PURPOSE. See the GNU General Public License for -more details. You should have received a copy of the GNU -General Public License along with this program; if not, -write to the Free Software Foundation, Inc., 59 Temple -Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and -paper mail. If the program is interactive, make it output a -short notice like this when it starts in an interactive -mode: - -Gnomovision version 69, Copyright (C) year name of author -Gnomovision comes with ABSOLUTELY NO WARRANTY; for details -type `show w'. This is free software, and you are welcome to -redistribute it under certain conditions; type `show c' for -details. The hypothetical commands `show w' and `show c' -should show the appropriate parts of the General Public -License. Of course, the commands you use may be called -something other than `show w' and `show c'; they could even -be mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a -programmer) or your school, if any, to sign a "copyright -disclaimer" for the program, if necessary. Here is a sample; -alter the names: - -Yoyodyne, Inc., hereby disclaims all copyright interest in -the program `Gnomovision' (which makes passes at compilers) -written by James Hacker. - -signature of Ty Coon, 1 April 1989 -Ty Coon, President of Vice -This General Public License does not permit incorporating -your program into proprietary programs. If your program is a -subroutine library, you may consider it more useful to -permit linking proprietary applications with the library. If -this is what you want to do, use the GNU Library General -Public License instead of this License. - -"CLASSPATH" EXCEPTION TO THE GPL VERSION 2 - -Certain source files distributed by Sun Microsystems, Inc. -are subject to the following clarification and special -exception to the GPL Version 2, but only where Sun has -expressly included in the particular source file's header -the words "Sun designates this particular file as subject -to the "Classpath" exception as provided by Sun in the -License file that accompanied this code." - - Linking this library statically or dynamically with other -modules is making a combined work based on this library. -Thus, the terms and conditions of the GNU General Public -License Version 2 cover the whole combination. - -  As a special exception, the copyright holders of this -library give you permission to link this library with -independent modules to produce an executable, regardless of -the license terms of these independent modules, and to copy -and distribute the resulting executable under terms of your -choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license -of that module. An independent module is a module which is -not derived from or based on this library. If you modify -this library, you may extend this exception to your version -of the library, but you are not obligated to do so. If you -do not wish to do so, delete this exception statement from -your version. - -*********************************************************** - -LICENSE #2: - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version -1.0 - -1. Definitions. -1.1. "Contributor" means each individual or entity that -creates or contributes to the creation of Modifications. - -1.2. "Contributor Version" means the combination of the -Original Software, prior Modifications used by a -Contributor (if any), and the Modifications made by that -particular Contributor. - -1.3. "Covered Software" means (a) the Original Software, or -(b) Modifications, or (c) the combination of files -containing Original Software with files containing -Modifications, in each case including portions thereof. - -1.4. "Executable" means the Covered Software in any form -other than Source Code. - -1.5. "Initial Developer" means the individual or entity -that first makes Original Software available under this -License. - -1.6. "Larger Work" means a work which combines Covered -Software or portions thereof with code not governed by the -terms of this License. - -1.7. "License" means this document. - -1.8. "Licensable" means having the right to grant, to the -maximum extent possible, whether at the time of the initial -grant or subsequently acquired, any and all of the rights -conveyed herein. - -1.9. "Modifications" means the Source Code and Executable -form of any of the following: - -A. Any file that results from an addition to, -deletion from or modification of the contents of a -file containing Original Software or previous -Modifications; - -B. Any new file that contains any part of the -Original Software or previous Modification; or - -C. Any new file that is contributed or otherwise made -available under the terms of this License. - -1.10. "Original Software" means the Source Code and -Executable form of computer software code that is -originally released under this License. - -1.11. "Patent Claims" means any patent claim(s), now owned -or hereafter acquired, including without limitation, -method, process, and apparatus claims, in any patent -Licensable by grantor. - -1.12. "Source Code" means (a) the common form of computer -software code in which modifications are made and (b) -associated documentation included in or with such code. - -1.13. "You" (or "Your") means an individual or a legal -entity exercising rights under, and complying with all of -the terms of, this License. For legal entities, "You" -includes any entity which controls, is controlled by, or is -under common control with You. For purposes of this -definition, "control" means (a) the power, direct or -indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (b) ownership -of more than fifty percent (50%) of the outstanding shares -or beneficial ownership of such entity. - -2. License Grants. - -2.1. The Initial Developer Grant. -Conditioned upon Your compliance with Section 3.1 below and -subject to third party intellectual property claims, the -Initial Developer hereby grants You a world-wide, -royalty-free, non-exclusive license: - -(a) under intellectual property rights (other than -patent or trademark) Licensable by Initial Developer, -to use, reproduce, modify, display, perform, -sublicense and distribute the Original Software (or -portions thereof), with or without Modifications, -and/or as part of a Larger Work; and - -(b) under Patent Claims infringed by the making, -using or selling of Original Software, to make, have -made, use, practice, sell, and offer for sale, and/or -otherwise dispose of the Original Software (or -portions thereof). - -(c) The licenses granted in Sections 2.1(a) and (b) -are effective on the date Initial Developer first -distributes or otherwise makes the Original Software -available to a third party under the terms of this -License. - -(d) Notwithstanding Section 2.1(b) above, no patent -license is granted: (1) for code that You delete from -the Original Software, or (2) for infringements -caused by: (i) the modification of the Original -Software, or (ii) the combination of the Original -Software with other software or devices. - -2.2. Contributor Grant. -Conditioned upon Your compliance with Section 3.1 below and -subject to third party intellectual property claims, each -Contributor hereby grants You a world-wide, royalty-free, -non-exclusive license: - -(a) under intellectual property rights (other than -patent or trademark) Licensable by Contributor to -use, reproduce, modify, display, perform, sublicense -and distribute the Modifications created by such -Contributor (or portions thereof), either on an -unmodified basis, with other Modifications, as -Covered Software and/or as part of a Larger Work; and - -(b) under Patent Claims infringed by the making, -using, or selling of Modifications made by that -Contributor either alone and/or in combination with -its Contributor Version (or portions of such -combination), to make, use, sell, offer for sale, -have made, and/or otherwise dispose of: (1) -Modifications made by that Contributor (or portions -thereof); and (2) the combination of Modifications -made by that Contributor with its Contributor Version -(or portions of such combination). - -(c) The licenses granted in Sections 2.2(a) and -2.2(b) are effective on the date Contributor first -distributes or otherwise makes the Modifications -available to a third party. - -(d) Notwithstanding Section 2.2(b) above, no patent -license is granted: (1) for any code that Contributor -has deleted from the Contributor Version; (2) for -infringements caused by: (i) third party -modifications of Contributor Version, or (ii) the -combination of Modifications made by that Contributor -with other software (except as part of the -Contributor Version) or other devices; or (3) under -Patent Claims infringed by Covered Software in the -absence of Modifications made by that Contributor. - -3. Distribution Obligations. - -3.1. Availability of Source Code. -Any Covered Software that You distribute or otherwise make -available in Executable form must also be made available in -Source Code form and that Source Code form must be -distributed only under the terms of this License. You must -include a copy of this License with every copy of the Source -Code form of the Covered Software You distribute or -otherwise make available. You must inform recipients of any -such Covered Software in Executable form as to how they can -obtain such Covered Software in Source Code form in a -reasonable manner on or through a medium customarily used -for software exchange. - -3.2. Modifications. -The Modifications that You create or to which You -contribute are governed by the terms of this License. You -represent that You believe Your Modifications are Your -original creation(s) and/or You have sufficient rights to -grant the rights conveyed by this License. - -3.3. Required Notices. -You must include a notice in each of Your Modifications -that identifies You as the Contributor of the Modification. -You may not remove or alter any copyright, patent or -trademark notices contained within the Covered Software, or -any notices of licensing or any descriptive text giving -attribution to any Contributor or the Initial Developer. - -3.4. Application of Additional Terms. -You may not offer or impose any terms on any Covered -Software in Source Code form that alters or restricts the -applicable version of this License or the recipients' -rights hereunder. You may choose to offer, and to charge a -fee for, warranty, support, indemnity or liability -obligations to one or more recipients of Covered Software. -However, you may do so only on Your own behalf, and not on -behalf of the Initial Developer or any Contributor. You -must make it absolutely clear that any such warranty, -support, indemnity or liability obligation is offered by -You alone, and You hereby agree to indemnify the Initial -Developer and every Contributor for any liability incurred -by the Initial Developer or such Contributor as a result of -warranty, support, indemnity or liability terms You offer. - -3.5. Distribution of Executable Versions. -You may distribute the Executable form of the Covered -Software under the terms of this License or under the terms -of a license of Your choice, which may contain terms -different from this License, provided that You are in -compliance with the terms of this License and that the -license for the Executable form does not attempt to limit -or alter the recipient's rights in the Source Code form -from the rights set forth in this License. If You -distribute the Covered Software in Executable form under a -different license, You must make it absolutely clear that -any terms which differ from this License are offered by You -alone, not by the Initial Developer or Contributor. You -hereby agree to indemnify the Initial Developer and every -Contributor for any liability incurred by the Initial -Developer or such Contributor as a result of any such terms -You offer. - -3.6. Larger Works. -You may create a Larger Work by combining Covered Software -with other code not governed by the terms of this License -and distribute the Larger Work as a single product. In such -a case, You must make sure the requirements of this License -are fulfilled for the Covered Software. - -4. Versions of the License. - -4.1. New Versions. -Sun Microsystems, Inc. is the initial license steward and -may publish revised and/or new versions of this License -from time to time. Each version will be given a -distinguishing version number. Except as provided in -Section 4.3, no one other than the license steward has the -right to modify this License. - -4.2. Effect of New Versions. -You may always continue to use, distribute or otherwise -make the Covered Software available under the terms of the -version of the License under which You originally received -the Covered Software. If the Initial Developer includes a -notice in the Original Software prohibiting it from being -distributed or otherwise made available under any -subsequent version of the License, You must distribute and -make the Covered Software available under the terms of the -version of the License under which You originally received -the Covered Software. Otherwise, You may also choose to -use, distribute or otherwise make the Covered Software -available under the terms of any subsequent version of the -License published by the license steward. - -4.3. Modified Versions. -When You are an Initial Developer and You want to create a -new license for Your Original Software, You may create and -use a modified version of this License if You: (a) rename -the license and remove any references to the name of the -license steward (except to note that the license differs -from this License); and (b) otherwise make it clear that -the license contains terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - -COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS -IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR -IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE -COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A -PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO -THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH -YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY -RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER -CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, -REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY -CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY -COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS -DISCLAIMER. - -6. TERMINATION. - -6.1. This License and the rights granted hereunder will -terminate automatically if You fail to comply with terms -herein and fail to cure such breach within 30 days of -becoming aware of the breach. Provisions which, by their -nature, must remain in effect beyond the termination of -this License shall survive. - -6.2. If You assert a patent infringement claim (excluding -declaratory judgment actions) against Initial Developer or -a Contributor (the Initial Developer or Contributor against -whom You assert such claim is referred to as "Participant") -alleging that the Participant Software (meaning the -Contributor Version where the Participant is a Contributor -or the Original Software where the Participant is the -Initial Developer) directly or indirectly infringes any -patent, then any and all rights granted directly or -indirectly to You by such Participant, the Initial -Developer (if the Initial Developer is not the Participant) -and all Contributors under Sections 2.1 and/or 2.2 of this -License shall, upon 60 days notice from Participant -terminate prospectively and automatically at the expiration -of such 60 day notice period, unless if within such 60 day -period You withdraw Your claim with respect to the -Participant Software against such Participant either -unilaterally or pursuant to a written agreement with -Participant. - -6.3. In the event of termination under Sections 6.1 or 6.2 -above, all end user licenses that have been validly granted -by You or any distributor hereunder prior to termination -(excluding licenses granted to You by any distributor) -shall survive termination. - -7. LIMITATION OF LIABILITY. - -UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER -TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL -YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY -DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF -SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, -SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY -CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST -PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE -OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR -LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE -POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY -SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY -RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT -APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS -DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR -CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY -NOT APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - -The Covered Software is a "commercial item," as that term is -defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of -"commercial computer software" (as that term is defined at -48 C.F.R. ¤ 252.227-7014(a)(1)) and "commercial computer -software documentation" as such terms are used in 48 C.F.R. -12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 -C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. -Government End Users acquire Covered Software with only -those rights set forth herein. This U.S. Government Rights -clause is in lieu of, and supersedes, any other FAR, DFAR, -or other clause or provision that addresses Government -rights in computer software under this License. - -9. MISCELLANEOUS. - -This License represents the complete agreement concerning -subject matter hereof. If any provision of this License is -held to be unenforceable, such provision shall be reformed -only to the extent necessary to make it enforceable. This -License shall be governed by the law of the jurisdiction -specified in a notice contained within the Original Software -(except to the extent applicable law, if any, provides -otherwise), excluding such jurisdiction's conflict-of-law -provisions. Any litigation relating to this License shall be -subject to the jurisdiction of the courts located in the -jurisdiction and venue specified in a notice contained -within the Original Software, with the losing party -responsible for costs, including, without limitation, court -costs and reasonable attorneys' fees and expenses. The -application of the United Nations Convention on Contracts -for the International Sale of Goods is expressly excluded. -Any law or regulation which provides that the language of a -contract shall be construed against the drafter shall not -apply to this License. You agree that You alone are -responsible for compliance with the United States export -administration regulations (and the export control laws and -regulation of any other countries) when You use, distribute -or otherwise make available any Covered Software. - -10. RESPONSIBILITY FOR CLAIMS. - -As between Initial Developer and the Contributors, each -party is responsible for claims and damages arising, -directly or indirectly, out of its utilization of rights -under this License and You agree to work with Initial -Developer and Contributors to distribute such responsibility -on an equitable basis. Nothing herein is intended or shall -be deemed to constitute any admission of liability. - diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL_Bundle_Thirdparty_license_readme.txt b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL_Bundle_Thirdparty_license_readme.txt deleted file mode 100644 index 9b70cf4ccaa7..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/NB_GF_MySQL_Bundle_Thirdparty_license_readme.txt +++ /dev/null @@ -1,365 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -DO NOT TRANSLATE OR LOCALIZE -Sun elects to use only the GNU Lesser General Public License version 2.1 -(LGPL)/GNU General Public License version 2 (GPL) for any software where a -choice of LGPL/GPL license versions are made available with the language -indicating that LGPLv2.1/GPLv2 or any later version may be used, or where a -choice of which version of the LGPL/GPL is applied is unspecified. - -%%The following software may be included in this product: MySQL Connector/J and MySQL -Use of any of this software is governed by the terms of the license below: -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/license.txt b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/license.txt deleted file mode 100644 index 2cf699059db9..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/license.txt +++ /dev/null @@ -1,352 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -Preamble -======== - -The licenses for most software are designed to take away your freedom -to share and change it. By contrast, the GNU General Public License is -intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - -When we speak of free software, we are referring to freedom, not price. -Our General Public Licenses are designed to make sure that you have -the freedom to distribute copies of free software (and charge for this -service if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs; and that you know you can do these things. - -To protect your rights, we need to make restrictions that forbid anyone -to deny you these rights or to ask you to surrender the rights. These -restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis -or for a fee, you must give the recipients all the rights that you -have. You must make sure that they, too, receive or can get the source -code. And you must show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - -Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - -Finally, any free program is threatened constantly by software patents. -We wish to avoid the danger that redistributors of a free program will -individually obtain patent licenses, in effect making the program -proprietary. To prevent this, we have made it clear that any patent -must be licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains a - notice placed by the copyright holder saying it may be distributed - under the terms of this General Public License. The "Program", - below, refers to any such program or work, and a "work based on - the Program" means either the Program or any derivative work under - copyright law: that is to say, a work containing the Program or a - portion of it, either verbatim or with modifications and/or - translated into another language. (Hereinafter, translation is - included without limitation in the term "modification".) Each - licensee is addressed as "you". - - Activities other than copying, distribution and modification are - not covered by this License; they are outside its scope. The act - of running the Program is not restricted, and the output from the - Program is covered only if its contents constitute a work based on - the Program (independent of having been made by running the - Program). Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's - source code as you receive it, in any medium, provided that you - conspicuously and appropriately publish on each copy an appropriate - copyright notice and disclaimer of warranty; keep intact all the - notices that refer to this License and to the absence of any - warranty; and give any other recipients of the Program a copy of - this License along with the Program. - - You may charge a fee for the physical act of transferring a copy, - and you may at your option offer warranty protection in exchange - for a fee. - - 2. You may modify your copy or copies of the Program or any portion - of it, thus forming a work based on the Program, and copy and - distribute such modifications or work under the terms of Section 1 - above, provided that you also meet all of these conditions: - - a. You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b. You must cause any work that you distribute or publish, that - in whole or in part contains or is derived from the Program - or any part thereof, to be licensed as a whole at no charge - to all third parties under the terms of this License. - - c. If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display - an announcement including an appropriate copyright notice and - a notice that there is no warranty (or else, saying that you - provide a warranty) and that users may redistribute the - program under these conditions, and telling the user how to - view a copy of this License. (Exception: if the Program - itself is interactive but does not normally print such an - announcement, your work based on the Program is not required - to print an announcement.) - - These requirements apply to the modified work as a whole. If - identifiable sections of that work are not derived from the - Program, and can be reasonably considered independent and separate - works in themselves, then this License, and its terms, do not - apply to those sections when you distribute them as separate - works. But when you distribute the same sections as part of a - whole which is a work based on the Program, the distribution of - the whole must be on the terms of this License, whose permissions - for other licensees extend to the entire whole, and thus to each - and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or - contest your rights to work written entirely by you; rather, the - intent is to exercise the right to control the distribution of - derivative or collective works based on the Program. - - In addition, mere aggregation of another work not based on the - Program with the Program (or with a work based on the Program) on - a volume of a storage or distribution medium does not bring the - other work under the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, - under Section 2) in object code or executable form under the terms - of Sections 1 and 2 above provided that you also do one of the - following: - - a. Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of - Sections 1 and 2 above on a medium customarily used for - software interchange; or, - - b. Accompany it with a written offer, valid for at least three - years, to give any third-party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a - medium customarily used for software interchange; or, - - c. Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with - such an offer, in accord with Subsection b above.) - - The source code for a work means the preferred form of the work for - making modifications to it. For an executable work, complete - source code means all the source code for all modules it contains, - plus any associated interface definition files, plus the scripts - used to control compilation and installation of the executable. - However, as a special exception, the source code distributed need - not include anything that is normally distributed (in either - source or binary form) with the major components (compiler, - kernel, and so on) of the operating system on which the executable - runs, unless that component itself accompanies the executable. - - If distribution of executable or object code is made by offering - access to copy from a designated place, then offering equivalent - access to copy the source code from the same place counts as - distribution of the source code, even though third parties are not - compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program - except as expressly provided under this License. Any attempt - otherwise to copy, modify, sublicense or distribute the Program is - void, and will automatically terminate your rights under this - License. However, parties who have received copies, or rights, - from you under this License will not have their licenses - terminated so long as such parties remain in full compliance. - - 5. You are not required to accept this License, since you have not - signed it. However, nothing else grants you permission to modify - or distribute the Program or its derivative works. These actions - are prohibited by law if you do not accept this License. - Therefore, by modifying or distributing the Program (or any work - based on the Program), you indicate your acceptance of this - License to do so, and all its terms and conditions for copying, - distributing or modifying the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the - Program), the recipient automatically receives a license from the - original licensor to copy, distribute or modify the Program - subject to these terms and conditions. You may not impose any - further restrictions on the recipients' exercise of the rights - granted herein. You are not responsible for enforcing compliance - by third parties to this License. - - 7. If, as a consequence of a court judgment or allegation of patent - infringement or for any other reason (not limited to patent - issues), conditions are imposed on you (whether by court order, - agreement or otherwise) that contradict the conditions of this - License, they do not excuse you from the conditions of this - License. If you cannot distribute so as to satisfy simultaneously - your obligations under this License and any other pertinent - obligations, then as a consequence you may not distribute the - Program at all. For example, if a patent license would not permit - royalty-free redistribution of the Program by all those who - receive copies directly or indirectly through you, then the only - way you could satisfy both it and this License would be to refrain - entirely from distribution of the Program. - - If any portion of this section is held invalid or unenforceable - under any particular circumstance, the balance of the section is - intended to apply and the section as a whole is intended to apply - in other circumstances. - - It is not the purpose of this section to induce you to infringe any - patents or other property right claims or to contest validity of - any such claims; this section has the sole purpose of protecting - the integrity of the free software distribution system, which is - implemented by public license practices. Many people have made - generous contributions to the wide range of software distributed - through that system in reliance on consistent application of that - system; it is up to the author/donor to decide if he or she is - willing to distribute software through any other system and a - licensee cannot impose that choice. - - This section is intended to make thoroughly clear what is believed - to be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in - certain countries either by patents or by copyrighted interfaces, - the original copyright holder who places the Program under this - License may add an explicit geographical distribution limitation - excluding those countries, so that distribution is permitted only - in or among countries not thus excluded. In such case, this - License incorporates the limitation as if written in the body of - this License. - - 9. The Free Software Foundation may publish revised and/or new - versions of the General Public License from time to time. Such - new versions will be similar in spirit to the present version, but - may differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the - Program specifies a version number of this License which applies - to it and "any later version", you have the option of following - the terms and conditions either of that version or of any later - version published by the Free Software Foundation. If the Program - does not specify a version number of this License, you may choose - any version ever published by the Free Software Foundation. - - 10. If you wish to incorporate parts of the Program into other free - programs whose distribution conditions are different, write to the - author to ask for permission. For software which is copyrighted - by the Free Software Foundation, write to the Free Software - Foundation; we sometimes make exceptions for this. Our decision - will be guided by the two goals of preserving the free status of - all derivatives of our free software and of promoting the sharing - and reuse of software generally. - - NO WARRANTY - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO - WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE - LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT - HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT - WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT - NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE - QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE - PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY - SERVICING, REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN - WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY - MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE - LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, - INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR - INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF - DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU - OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY - OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS -How to Apply These Terms to Your New Programs -============================================= - -If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these -terms. - -To do so, attach the following notices to the program. It is safest to -attach them to the start of each source file to most effectively convey -the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES. - Copyright (C) YYYY NAME OF AUTHOR - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the -appropriate parts of the General Public License. Of course, the -commands you use may be called something other than `show w' and `show -c'; they could even be mouse-clicks or menu items--whatever suits your -program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - SIGNATURE OF TY COON, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, -you may consider it more useful to permit linking proprietary -applications with the library. If this is what you want to do, use the -GNU Library General Public License instead of this License. - diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/install.sh b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/install.sh deleted file mode 100644 index 500ad9e77c82..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/install.sh +++ /dev/null @@ -1,200 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -set -x -ISROOT="$1" -SYSTEM_TYPE="$2" -PASSWORD="$3" - -INSTALLDIR=`pwd` - -cp ./support-files/my-"$SYSTEM_TYPE".cnf ./my.cnf - - -do_query() { - tmpFile=./query.tmp - echo "$1" > $tmpFile - if [ 1 -eq $ISROOT ] ; then - if [ -n "$PASSWORD" ] ; then - ./bin/mysql --defaults-file=./my.cnf --password="$PASSWORD" <$tmpFile - else - ./bin/mysql --defaults-file=./my.cnf <$tmpFile - fi - else - if [ -n "$PASSWORD" ] ; then - ./bin/mysql --defaults-file=./my.cnf --user=root --password="$PASSWORD" <$tmpFile - else - ./bin/mysql --defaults-file=./my.cnf --user=root <$tmpFile - fi - fi - code=$? - rm $tmpFile - return $code -} -escape() { - echo "$1" | sed -e "s/\//\\\\\//g" -} - - -remove_remote_root() { - do_query "DELETE FROM mysql.user WHERE User='root' AND Host!='localhost';" - if [ $? -eq 0 ] ; then - echo " ... Success!" - else - echo " ... Failed!" - fi -} - -remove_anonymous() { - if [ -n "$REMOVE_ANONYMOUS" ] ; then - do_query "DELETE FROM mysql.user WHERE User='';" - echo "Result : $?" - do_query "FLUSH PRIVILEGES;" - echo "Result : $?" - fi -} - -#Modify my.cnf with settings -#PORT_NUMBER, SKIP_NETWORKING, REMOVE_ANONYMOUS, MODIFY_SECURITY should be passed via env variables -if [ -n "$PORT_NUMBER" ] ; then - sed -e "s/3306/$PORT_NUMBER/g" ./my.cnf > ./my.cnf.tmp && mv ./my.cnf.tmp ./my.cnf -fi - -if [ -n "$SKIP_NETWORKING" ] ; then - sed -e "s/#skip-networking/skip-networking/g" ./my.cnf > ./my.cnf.tmp && mv ./my.cnf.tmp ./my.cnf -fi - -#Enable using InnoDB -sed -e "s/#innodb_/innodb_/g" ./my.cnf > ./my.cnf.tmp && mv ./my.cnf.tmp ./my.cnf - -#Update mysql directory -DEFAULT_MYSQL_DIR=/usr/local/mysql -sed -e "s/`escape $DEFAULT_MYSQL_DIR`/`escape $INSTALLDIR`/g" ./my.cnf > ./my.cnf.tmp && mv ./my.cnf.tmp ./my.cnf - -#Set basedir and datadir in support-files/mysql.server and my.cnf files -awk '{ print $i ; if($i=="[mysqld]") { print a ; print b }}' a="basedir = $INSTALLDIR" b="datadir = $INSTALLDIR/data" < ./my.cnf > my.cnf.tmp && mv ./my.cnf.tmp ./my.cnf -instdir=`escape "$INSTALLDIR"` - -cp ./support-files/mysql.server ./support-files/mysql.server.tmp -sed -e "s/^basedir=/basedir=$instdir/g" ./support-files/mysql.server > ./support-files/mysql.server.tmp -mv ./support-files/mysql.server.tmp ./support-files/mysql.server - -#https://bugs.launchpad.net/bugs/251656 -if [ 0 -eq $ISROOT ] && - [ -n "`grep lsb-base-logging.sh /lib/lsb/init-functions 2>/dev/null`" ] && - [ -n "`grep usplash_write /etc/lsb-base-logging.sh 2>/dev/null`" ] && - [ -n "`usplash_write SUCCESS ok > /dev/null | grep \"open: Permission denied\"`"] ; then - echo "... disabling lsb init-functions since it uses usplash_write which is not supported under user" - cp ./support-files/mysql.server ./support-files/mysql.server.tmp - sed -e "s/\/lib\/lsb\/init-functions/\/lib\/lsb\/init-functions-disabled/g" ./support-files/mysql.server > ./support-files/mysql.server.tmp - mv ./support-files/mysql.server.tmp ./support-files/mysql.server -fi - -if [ 1 -eq $ISROOT ] ; then - - groupadd mysql - - if [ 0 -eq $? ] ; then - echo "... OK" - elif [ 9 -eq $? ] ; then - echo "... group mysql already exist" - else - echo "errorcode : $?" - fi - - useradd -g mysql mysql - - if [ 0 -eq $? ] ; then - echo "... OK" - elif [ 9 -eq $? ] ; then - echo "... group mysql already exist" - else - echo "errorcode : $?" - fi - - chown -R mysql . - - if [ 0 -eq $? ] ; then - echo "... OK" - else - echo "errorcode : $?" - fi - - - chgrp -R mysql . - if [ 0 -eq $? ] ; then - echo "... OK" - else - echo "errorcode : $?" - fi - - chmod -R g+w ./data - if [ 0 -eq $? ] ; then - echo "... OK" - else - echo "errorcode : $?" - fi -fi - -if [ 1 -eq $ISROOT ] ; then - ./scripts/mysql_install_db --no-defaults --defaults-file="$INSTALLDIR"/my.cnf --user=mysql - echo "Result : $?" -else - ./scripts/mysql_install_db --no-defaults --defaults-file="$INSTALLDIR"/my.cnf - echo "Result : $?" -fi - -if [ 1 -eq $ISROOT ] ; then - - chown -R root . - if [ 0 -eq $? ] ; then - echo "... OK" - else - echo "errorcode : $?" - fi - - chown -R mysql data - - if [ 0 -eq $? ] ; then - echo "... OK" - else - echo "errorcode : $?" - fi -fi - -if [ 1 -eq $ISROOT ] ; then - ./bin/mysqld_safe --defaults-file="$INSTALLDIR"/my.cnf --user=mysql & -else - ./bin/mysqld_safe --defaults-file="$INSTALLDIR"/my.cnf & -fi - -sleep 3 -sleep 2 - -if [ -n "$PASSWORD" ] ; then - ./bin/mysqladmin --defaults-file=./my.cnf -u root password "$PASSWORD" - echo "Result : $?" - ./bin/mysqladmin --defaults-file=./my.cnf -u root -h `hostname` password "$PASSWORD" - echo "Result : $?" -fi - -if [ -n "$MODIFY_SECURITY" ] ; then - remove_anonymous - remove_remote_root -fi diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/uninstall.sh b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/uninstall.sh deleted file mode 100644 index f22f756c6108..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/scripts/uninstall.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -set -x -PASSWORD="$1" - -if [ -n "$PASSWORD" ] ; then - ./bin/mysqladmin -u root --password="$PASSWORD" shutdown -else - ./bin/mysqladmin -u root shutdown -fi -code="$?" -echo "Result : $code" -exit $code diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard.xml b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard.xml deleted file mode 100644 index 91096fdf831c..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/Bundle.properties deleted file mode 100644 index e5eed3ab8af1..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/Bundle.properties +++ /dev/null @@ -1,47 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# MySQLPanel.java -MSP.title=MySQL {display-version} Community Server Installation -MSP.description=Choose the installation folder and server properties. - -MSP.destination.label.text=&Install MySQL to: -MSP.destination.button.text=B&rowse... - -MSP.password.label.text=Root &Password: -MSP.repeat.password.label.text=R&etype Password: -MSP.anonymous.account.label.text=Crea&te an Anonymous Account (Note: this can lead to an insecure system.) -MSP.anonymous.account.label.text.disabled=Create an Anonymous Account (Note: this can lead to an insecure system.) -MSP.network.label.text=Enable TCP/IP Networking -MSP.port.label.text=Port Number: -MSP.modify.security.text=&Modify Security Settings -#NOI18N -MSP.default.port.number=3306 -#NOI18N -MSP.default.password= -MSP.default.password.text=(default: empty password) - -MSP.error.password.too.short=Password should be at least 8 characters long. -MSP.error.password.spaces=Password cannot start or end with whitespace characters. -MSP.error.passwords.do.not.match=The passwords do not match. -MSP.error.all.ports.occupied=All ports on your system are occupied. Please free at least 1 port which can be used by the MySQL Server. -MSP.error.http.null=Port cannot be empty. -MSP.error.port.not.integer=Port "{0}" is invalid, it should be an integer from 1 to 65535. -MSP.error.port.not.in.range=Port "{0}" is invalid, it should be an integer from 1 to 65535. -MSP.error.port.occupied=Port "{0}" is already occupied on this machine. Specify another port. diff --git a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/MySQLPanel.java b/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/MySQLPanel.java deleted file mode 100644 index 3dfba11252d1..000000000000 --- a/nbbuild/installer/components/products/mysql/src/org/netbeans/installer/products/mysql/wizard/panels/MySQLPanel.java +++ /dev/null @@ -1,704 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.mysql.wizard.panels; - -import java.awt.Dimension; -import java.awt.GridBagConstraints; -import java.awt.Insets; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import javax.swing.JComponent; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.helper.swing.NbiCheckBox; -import org.netbeans.installer.utils.helper.swing.NbiLabel; -import org.netbeans.installer.utils.helper.swing.NbiPanel; -import org.netbeans.installer.utils.helper.swing.NbiPasswordField; -import org.netbeans.installer.utils.helper.swing.NbiTextField; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelSwingUi; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi; -import org.netbeans.installer.wizard.ui.SwingUi; -import org.netbeans.installer.wizard.ui.WizardUi; -import static java.lang.Integer.parseInt; -import org.netbeans.installer.wizard.containers.SwingContainer; - -/** - * - - */ -public class MySQLPanel extends DestinationPanel { - - private static boolean allPortsOccupied; - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public MySQLPanel() { - - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - - setProperty(PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_PASSWORD_LABEL_TEXT); - setProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_REPEAT_PASSWORD_LABEL_TEXT); - setProperty(ANONYMOUS_ACCOUNT_TEXT_PROPERTY, - DEFAULT_ANONYMOUS_ACCOUNT_LABEL_TEXT); - setProperty(ANONYMOUS_ACCOUNT_DISABLED_TEXT_PROPERTY, - DEFAULT_ANONYMOUS_ACCOUNT_LABEL_TEXT_DISABLED); - setProperty(NETWORK_TEXT_PROPERTY, - DEFAULT_NETWORK_LABEL_TEXT); - setProperty(PORT_TEXT_PROPERTY, - DEFAULT_PORT_LABEL_TEXT); - setProperty(DEFAULT_PORT_PROPERTY, - DEFAULT_PORT); - setProperty(DEFAULT_PASSWORD_PROPERTY, - DEFAULT_PASSWORD_PROPERTY); - - setProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY, - DEFAULT_ERROR_PASSWORD_TOO_SHORT); - setProperty(ERROR_PASSWORD_SPACES_PROPERTY, - DEFAULT_ERROR_PASSWORD_SPACES); - setProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY, - DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH); - setProperty(ERROR_ALL_PORTS_OCCUPIED_PROPERTY, - DEFAULT_ERROR_ALL_PORTS_OCCUPIED); - setProperty(ERROR_PORT_NULL_PROPERTY, - DEFAULT_ERROR_PORT_NULL); - setProperty(ERROR_PORT_NOT_IN_RANGE_PROPERTY, - DEFAULT_ERROR_PORT_NOT_IN_RANGE); - setProperty(ERROR_PORT_NOT_INTEGER_PROPERTY, - DEFAULT_ERROR_PORT_NOT_INTEGER); - setProperty(ERROR_PORT_OCCUPIED_PROPERTY, - DEFAULT_ERROR_PORT_OCCUPIED); - setProperty(MODIFY_SECURITY_TEXT_PROPERTY, - DEFAULT_MODIFY_SECURITY_TEXT); - setProperty(DEFAULT_PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_DEFAULT_PASSWORD_LABEL_TEXT); - - } - - @Override - public WizardUi getWizardUi() { - if (wizardUi == null) { - wizardUi = new MySQLPanelUi(this); - } - - return wizardUi; - } - - @Override - public void initialize() { - super.initialize(); - - String password = getWizard().getProperty(PASSWORD_PROPERTY); - if (password == null) { - getWizard().setProperty(PASSWORD_PROPERTY, - getProperty(DEFAULT_PASSWORD_PROPERTY)); - } - - - String port = getWizard().getProperty(PORT_PROPERTY); - if (port == null) { - final int defaultPort = SystemUtils.getAvailablePort( - parseInt(getProperty(DEFAULT_PORT_PROPERTY))); - if (defaultPort != -1) { - port = Integer.toString(defaultPort); - allPortsOccupied = false; - } else { - port = StringUtils.EMPTY_STRING; - allPortsOccupied = true; - } - } - getWizard().setProperty(PORT_PROPERTY, port); - - - String anonymous = getWizard().getProperty(ANONYMOUS_ACCOUNT_PROPERTY); - if (anonymous == null) { - getWizard().setProperty(ANONYMOUS_ACCOUNT_PROPERTY, - StringUtils.EMPTY_STRING + false); - } - String network = getWizard().getProperty(NETWORK_PROPERTY); - if (network == null) { - getWizard().setProperty(NETWORK_PROPERTY, - StringUtils.EMPTY_STRING + true); - } - - String modifySecurity = getWizard().getProperty(MODIFY_SECURITY_PROPERTY); - if (modifySecurity == null) { - getWizard().setProperty(MODIFY_SECURITY_PROPERTY, - StringUtils.EMPTY_STRING + true); - } - } - - ///////////////////////////////////////////////////////////////////////////////// - // Inner Classes - public static class MySQLPanelUi extends DestinationPanelUi { - - protected MySQLPanel component; - - public MySQLPanelUi(MySQLPanel component) { - super(component); - - this.component = component; - } - - @Override - public SwingUi getSwingUi(SwingContainer container) { - if (swingUi == null) { - swingUi = new MySQLPanelSwingUi(component, container); - } - - return super.getSwingUi(container); - } - } - - public static class MySQLPanelSwingUi extends DestinationPanelSwingUi { - - protected MySQLPanel panel; - private NbiPanel containerPanel; - private NbiPanel containerPanel2; - - private NbiPasswordField passwordField; - private NbiPasswordField repeatPasswordField; - private NbiLabel passwordLabel; - private NbiLabel repeatPasswordLabel; - private NbiCheckBox anonymousCheckBox; - private NbiCheckBox networkCheckBox; - private NbiTextField portField; - private NbiLabel portLabel; - private NbiCheckBox securitySettingsCheckbox; - private NbiLabel defaultsLabel; - - public MySQLPanelSwingUi( - final MySQLPanel panel, - final SwingContainer container) { - super(panel, container); - - this.panel = panel; - - initComponents(); - } - - // protected //////////////////////////////////////////////////////////////// - @Override - protected void initialize() { - passwordLabel.setText( - panel.getProperty(PASSWORD_LABEL_TEXT_PROPERTY)); - repeatPasswordLabel.setText( - panel.getProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY)); - passwordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - repeatPasswordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - - anonymousCheckBox.setText( - panel.getProperty(ANONYMOUS_ACCOUNT_DISABLED_TEXT_PROPERTY)); - - anonymousCheckBox.setSelected(false); - if (Boolean.parseBoolean( - panel.getWizard().getProperty(ANONYMOUS_ACCOUNT_PROPERTY))) { - anonymousCheckBox.doClick(); - } - - - networkCheckBox.setText( - panel.getProperty(NETWORK_TEXT_PROPERTY)); - - networkCheckBox.setSelected(false); - if (Boolean.parseBoolean( - panel.getWizard().getProperty(NETWORK_PROPERTY))) { - networkCheckBox.doClick(); - } - - - securitySettingsCheckbox.setText( - panel.getProperty(MODIFY_SECURITY_TEXT_PROPERTY)); - securitySettingsCheckbox.setSelected(false); - - if (Boolean.parseBoolean( - panel.getWizard().getProperty(MODIFY_SECURITY_PROPERTY))) { - securitySettingsCheckbox.doClick(); - } - - - - portLabel.setText(panel.getProperty(PORT_TEXT_PROPERTY)); - portField.setText(panel.getWizard().getProperty(PORT_PROPERTY)); - defaultsLabel.setText(panel.getProperty(DEFAULT_PASSWORD_LABEL_TEXT_PROPERTY)); - - super.initialize(); - } - - @Override - protected void saveInput() { - super.saveInput(); - panel.getWizard().setProperty( - PASSWORD_PROPERTY, - new String(passwordField.getPassword())); - - panel.getWizard().setProperty( - ANONYMOUS_ACCOUNT_PROPERTY, - StringUtils.EMPTY_STRING + anonymousCheckBox.isSelected()); - - panel.getWizard().setProperty( - PORT_PROPERTY, - portField.getText().trim()); - - panel.getWizard().setProperty( - NETWORK_PROPERTY, - StringUtils.EMPTY_STRING + networkCheckBox.isSelected()); - - panel.getWizard().setProperty( - MODIFY_SECURITY_PROPERTY, - StringUtils.EMPTY_STRING + securitySettingsCheckbox.isSelected()); - } - - @Override - protected String validateInput() { - String errorMessage = super.validateInput(); - - if (errorMessage != null) { - return errorMessage; - } - - if (securitySettingsCheckbox.isSelected()) { - final String password = new String(passwordField.getPassword()); - final String password2 = new String(repeatPasswordField.getPassword()); - - if (!password.trim().equals(StringUtils.EMPTY_STRING) || - !password2.trim().equals(StringUtils.EMPTY_STRING)) { - if (!password.equals(password2)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY), - password, - password2); - } - if (password.length() < 8) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY), - password, - password2); - } - - if (!password.trim().equals(password)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_SPACES_PROPERTY), - password, - password2); - } - } - } - - final String port = portField.getText().trim(); - if (port == null || port.equals("")) { - return panel.getProperty(allPortsOccupied ? ERROR_ALL_PORTS_OCCUPIED_PROPERTY : ERROR_PORT_NULL_PROPERTY); - } - - if (!port.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_PORT_NOT_INTEGER_PROPERTY), port); - } - int portNumber = new Integer(port); - if ((portNumber < 0) || (portNumber > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_PORT_NOT_IN_RANGE_PROPERTY), port); - } - if (!SystemUtils.isPortAvailable(portNumber)) { - return StringUtils.format( - panel.getProperty(ERROR_PORT_OCCUPIED_PROPERTY), port); - } - - return null; - } - - @Override - protected String getWarningMessage() { - return null; - } - - // private ////////////////////////////////////////////////////////////////// - private void initComponents() { - containerPanel = new NbiPanel(); - containerPanel2 = new NbiPanel(); - // passwordField //////////////////////////////////////////////////////// - final Dimension longFieldSize = new Dimension( - 200, - new NbiTextField().getPreferredSize().height); - final Dimension shortFieldSize = new Dimension( - 80, - longFieldSize.height); - - passwordField = new NbiPasswordField(); - passwordField.setPreferredSize(longFieldSize); - passwordField.setMinimumSize(longFieldSize); - passwordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // passwordLabel //////////////////////////////////////////////////////// - passwordLabel = new NbiLabel(); - passwordLabel.setLabelFor(passwordField); - - // repeatPasswordField ////////////////////////////////////////////////// - repeatPasswordField = new NbiPasswordField(); - repeatPasswordField.setPreferredSize(longFieldSize); - repeatPasswordField.setMinimumSize(longFieldSize); - repeatPasswordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // repeatPasswordLabel ////////////////////////////////////////////////// - repeatPasswordLabel = new NbiLabel(); - repeatPasswordLabel.setLabelFor(repeatPasswordField); - - anonymousCheckBox = new NbiCheckBox(); - - networkCheckBox = new NbiCheckBox(); - - networkCheckBox.addActionListener(new ActionListener() { - - public void actionPerformed(ActionEvent e) { - portField.setEnabled(networkCheckBox.isSelected()); - portLabel.setEnabled(networkCheckBox.isSelected()); - - panel.getWizard().setProperty(NETWORK_PROPERTY, - StringUtils.EMPTY_STRING + networkCheckBox.isSelected()); - updateErrorMessage(); - - } - }); - - portField = new NbiTextField(); - portField.setPreferredSize(shortFieldSize); - portField.setMinimumSize(shortFieldSize); - portField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - portLabel = new NbiLabel(); - portLabel.setLabelFor(portField); - - defaultsLabel = new NbiLabel(); - - securitySettingsCheckbox = new NbiCheckBox(); - securitySettingsCheckbox.addActionListener(new ActionListener() { - - public void actionPerformed(ActionEvent e) { - JComponent[] securityComponents = new JComponent[]{ - passwordLabel, passwordField, - repeatPasswordLabel, repeatPasswordField, - anonymousCheckBox - }; - for (JComponent c : securityComponents) { - c.setEnabled(securitySettingsCheckbox.isSelected()); - } - anonymousCheckBox.setText( - panel.getProperty( - securitySettingsCheckbox.isSelected() ? - ANONYMOUS_ACCOUNT_TEXT_PROPERTY : - ANONYMOUS_ACCOUNT_DISABLED_TEXT_PROPERTY)); - panel.getWizard().setProperty(MODIFY_SECURITY_PROPERTY, - StringUtils.EMPTY_STRING + securitySettingsCheckbox.isSelected()); - updateErrorMessage(); - - } - }); - int securityPadding = 44; - containerPanel.add(securitySettingsCheckbox, new GridBagConstraints( - 0, 0, // x, y - 4, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 4, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(passwordLabel, new GridBagConstraints( - 0, 1, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, securityPadding + 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(passwordField, new GridBagConstraints( - 1, 1, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(defaultsLabel, new GridBagConstraints( - 3, 1, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 0, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(repeatPasswordLabel, new GridBagConstraints( - 0, 2, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, securityPadding + 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(repeatPasswordField, new GridBagConstraints( - 1, 2, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 2, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(anonymousCheckBox, new GridBagConstraints( - 0, 3, // x, y - 4, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, securityPadding + 8, 11, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel2.add(networkCheckBox, new GridBagConstraints( - 0, 4, // x, y - 4, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel2.add(portLabel, new GridBagConstraints( - 0, 5, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, securityPadding + 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel2.add(portField, new GridBagConstraints( - 1, 5, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel2.add(new NbiPanel(), new GridBagConstraints( - 2, 5, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel2.add(new NbiPanel(), new GridBagConstraints( - 3, 5, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - - add(containerPanel, new GridBagConstraints( - 0, 3 , // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.BOTH, // fill - new Insets(10, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(containerPanel2, new GridBagConstraints( - 0, 4 , // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - - } - } - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String DEFAULT_TITLE = - ResourceUtils.getString(MySQLPanel.class, - "MSP.title"); // NOI18N - - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(MySQLPanel.class, - "MSP.description"); // NOI18N - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.destination.label.text"); // NOI18N - - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.destination.button.text"); // NOI18N - - public static final String ERROR_PASSWORD_TOO_SHORT_PROPERTY = - "error.password.too.short"; // NOI18N - - public static final String ERROR_PASSWORD_SPACES_PROPERTY = - "error.password.spaces"; // NOI18N - - public static final String ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY = - "error.passwords.do.not.match"; // NOI18N - - public static final String ERROR_ALL_PORTS_OCCUPIED_PROPERTY = - "error.all.ports.occupied"; // NOI18N - - public static final String ERROR_PORT_NULL_PROPERTY = - "error.port.null"; // NOI18N - - public static final String ERROR_PORT_NOT_IN_RANGE_PROPERTY = - "error.port.not.in.range"; - public static final String ERROR_PORT_NOT_INTEGER_PROPERTY = - "error.port.not.integer"; - public static final String ERROR_PORT_OCCUPIED_PROPERTY = - "error.port.occupied"; - public static final String PASSWORD_LABEL_TEXT_PROPERTY = - "password.label.text"; // NOI18N - - public static final String REPEAT_PASSWORD_LABEL_TEXT_PROPERTY = - "repeat.password.label.text"; // NOI18N - - public static final String ANONYMOUS_ACCOUNT_TEXT_PROPERTY = - "anonymous.account.text"; - public static final String ANONYMOUS_ACCOUNT_DISABLED_TEXT_PROPERTY = - "anonymous.account.disabled.text"; - public static final String NETWORK_TEXT_PROPERTY = - "network.text"; - public static final String PORT_TEXT_PROPERTY = - "port.text"; - public static final String PORT_PROPERTY = - "port"; - public static final String DEFAULT_PORT_PROPERTY = - "default.port"; - public static final String PASSWORD_PROPERTY = - "password"; - public static final String ANONYMOUS_ACCOUNT_PROPERTY = - "anonymous.account"; - public static final String NETWORK_PROPERTY = - "network"; - public static final String MODIFY_SECURITY_PROPERTY = - "modify.security"; - - public static final String DEFAULT_PASSWORD_LABEL_TEXT_PROPERTY = - "default.password.text"; - - public static final String DEFAULT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.password.label.text"); // NOI18N - - public static final String DEFAULT_REPEAT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.repeat.password.label.text"); // NOI18N - - public static final String DEFAULT_ANONYMOUS_ACCOUNT_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.anonymous.account.label.text"); // NOI18N - public static final String DEFAULT_ANONYMOUS_ACCOUNT_LABEL_TEXT_DISABLED = - ResourceUtils.getString(MySQLPanel.class, - "MSP.anonymous.account.label.text.disabled"); // NOI18N - - public static final String DEFAULT_NETWORK_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.network.label.text"); // NOI18N - - public static final String DEFAULT_PORT_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.port.label.text"); // NOI18N - - public static final String DEFAULT_PORT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.default.port.number"); - public static final String DEFAULT_PASSWORD_PROPERTY = - ResourceUtils.getString(MySQLPanel.class, - "MSP.default.password"); - public static final String MODIFY_SECURITY_TEXT_PROPERTY = - "modify.security.text"; - public static final String DEFAULT_MODIFY_SECURITY_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.modify.security.text"); - - public static final String DEFAULT_ERROR_PASSWORD_TOO_SHORT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.password.too.short"); // NOI18N - - public static final String DEFAULT_ERROR_PASSWORD_SPACES = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.password.spaces"); // NOI18N - - public static final String DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.passwords.do.not.match"); // NOI18N - - public static final String DEFAULT_ERROR_ALL_PORTS_OCCUPIED = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.all.ports.occupied"); // NOI18N - - public static final String DEFAULT_ERROR_PORT_NULL = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.http.null"); // NOI18N - - public static final String DEFAULT_ERROR_PORT_NOT_INTEGER = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.port.not.integer"); // NOI18N - - public static final String DEFAULT_ERROR_PORT_NOT_IN_RANGE = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.port.not.in.range"); // NOI18N - - public static final String DEFAULT_ERROR_PORT_OCCUPIED = - ResourceUtils.getString(MySQLPanel.class, - "MSP.error.port.occupied"); //NOI18N - public static final String DEFAULT_DEFAULT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(MySQLPanel.class, - "MSP.default.password.text"); //NOI18N - -} diff --git a/nbbuild/installer/components/products/nb-base/build.xml b/nbbuild/installer/components/products/nb-base/build.xml deleted file mode 100644 index fafbe5729ac3..000000000000 --- a/nbbuild/installer/components/products/nb-base/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-base/data/Bundle.properties b/nbbuild/installer/components/products/nb-base/data/Bundle.properties deleted file mode 100644 index 0e86892babac..000000000000 --- a/nbbuild/installer/components/products/nb-base/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Base IDE -product.description=Core components of an integrated development environment. diff --git a/nbbuild/installer/components/products/nb-base/data/icon.png b/nbbuild/installer/components/products/nb-base/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-base/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-base/manifest.mf b/nbbuild/installer/components/products/nb-base/manifest.mf deleted file mode 100644 index 42f8a5627deb..000000000000 --- a/nbbuild/installer/components/products/nb-base/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.base.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-base/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-base/nbproject/build-impl.xml deleted file mode 100644 index a7442b4aee5b..000000000000 --- a/nbbuild/installer/components/products/nb-base/nbproject/build-impl.xml +++ /dev/null @@ -1,1418 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-base/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-base/nbproject/genfiles.properties deleted file mode 100644 index c2d53a83385a..000000000000 --- a/nbbuild/installer/components/products/nb-base/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=3973246e -build.xml.script.CRC32=df6e4305 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=273bc314 -nbproject/build-impl.xml.script.CRC32=b421adb5 -nbproject/build-impl.xml.stylesheet.CRC32=a25f357b@1.73.0.48 diff --git a/nbbuild/installer/components/products/nb-base/nbproject/project.properties b/nbbuild/installer/components/products/nb-base/nbproject/project.properties deleted file mode 100644 index d05797dec2cf..000000000000 --- a/nbbuild/installer/components/products/nb-base/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: NetBeans Base IDE -application.vendor=jirka -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NBI_Engine.jar}:\ - ${reference.NetBeans_Installer_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-base/nbproject/project.xml b/nbbuild/installer/components/products/nb-base/nbproject/project.xml deleted file mode 100644 index 7faecc6b004f..000000000000 --- a/nbbuild/installer/components/products/nb-base/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Base IDE - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/Bundle.properties b/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/Bundle.properties deleted file mode 100644 index 3fbcf23fca33..000000000000 --- a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/Bundle.properties +++ /dev/null @@ -1,82 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.jdk.home=Setting the appropriate JDK home -CL.install.netbeans.clusters=Adding IDE clusters to the active clusters list -CL.install.product.id=Creating the productid file -CL.install.license.accepted=Creating the license_accepted marker file -CL.install.irrelevant.files=Removing files irrelevant to the current platform -CL.install.files.permissions=Correcting files permissions -CL.install.desktop=Creating desktop shortcut -CL.install.start.menu=Creating Start Menu entries -CL.install.netbeans.conf=Updating the netbeans.conf file -CL.install.javadb.integration=Integrating the IDE with Java DB -CL.install.javafxsdk.integration=Integrating the IDE with existing JavaFX SDK installations -CL.install.netbeans.update.tracking=Update CRC sums for update tracking files - -CL.uninstall.license.accepted=Removing the license_accepted marker file -CL.uninstall.product.id=Removing the productid file -CL.uninstall.start.menu=Removing desktop shortcut -CL.uninstall.desktop=Removing Start Menu entries -CL.uninstall.update.files=Removing update files -CL.uninstall.remove.userdir=Removing NetBeans userdir -CL.uninstall.remove.cachedir=Removing NetBeans cachedir - -CL.install.error.jdk.home=Cannot set the selected JDK home -CL.install.error.netbeans.clusters=Cannot add NetBeans IDE clusters to the active clusters list -CL.install.error.product.id=Cannot create the productid file -CL.install.error.license.accepted=Cannot create the license_accepted marker file -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files -CL.install.error.files.permissions=Cannot completely correct files permissions -CL.install.error.desktop=Cannot create desktop shortcut -CL.install.error.start.menu=Cannot create Start Menu entries -CL.install.error.netbeans.conf=Cannot update the netbeans.conf file -CL.install.error.javadb.integration=Failed to integrate the IDE with Java DB -CL.install.error.javafxsdk.integration=Failed to integrate the IDE with existing JavaFX SDK installations -CL.install.error.netbeans.update.tracking=Cannot update CRC sums of update tracking files - -CL.uninstall.error.license.accepted=Cannot remove the license_accepted marker file -CL.uninstall.error.product.id=Cannot remove the productid file -CL.uninstall.error.start.menu=Cannot remove desktop shortcut -CL.uninstall.error.desktop=Cannot remove Start Menu entries -CL.uninstall.error.update.files=Cannot remove update files -CL.uninstall.error.registry=Cannot check windows registry: {0} - -# OS Integration ############################################################### -CL.desktop.shortcut.name=NetBeans IDE {display-version} -CL.desktop.shortcut.description=The Smarter Way to Code -CL.desktop.shortcut.path=NetBeans {display-version} - -CL.start.menu.shortcut.name=NetBeans IDE {display-version} -CL.start.menu.shortcut.name.macosx=NetBeans IDE {display-version} -CL.start.menu.shortcut.description=The Smarter Way to Code -CL.start.menu.shortcut.path=NetBeans - -CL.system.display.name=NetBeans IDE {display-version} -#NOI18N -CL.system.display.version={display-version} -#NOI18N -CL.system.publisher=NetBeans.org -#NOI18N -CL.system.url.about=http://www.netbeans.org -#NOI18N -CL.system.url.update=http://www.netbeans.org/downloads -#NOI18N -CL.system.url.support=http://www.netbeans.org/kb/index.html diff --git a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/ConfigurationLogic.java deleted file mode 100644 index 4369f1397e4a..000000000000 --- a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/ConfigurationLogic.java +++ /dev/null @@ -1,942 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.nb.base; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.product.filters.OrFilter; -import org.netbeans.installer.product.filters.ProductFilter; -import org.netbeans.installer.utils.*; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.applications.JavaUtils.JavaInfo; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.NativeException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.utils.system.shortcut.FileShortcut; -import org.netbeans.installer.utils.system.shortcut.LocationType; -import org.netbeans.installer.utils.system.shortcut.Shortcut; -import org.netbeans.installer.utils.system.windows.WindowsRegistry; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; - -/** - * - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - @Override - public void install(final Progress progress) throws InstallationException { - final Product product = getProduct(); - final File installLocation = product.getInstallationLocation(); - final FilesList filesList = product.getInstalledFiles(); - final boolean hasNestedJre = product.getProperty(JdkLocationPanel.JRE_NESTED) != null; - - ///////////////////////////////////////////////////////////////////////////// - final File jdkHome = new File( - product.getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY)); - try { - progress.setDetail(getString("CL.install.jdk.home")); // NOI18N - JavaInfo info = JavaUtils.getInfo(jdkHome); - LogManager.log("Using the following JDK for NetBeans configuration : "); - LogManager.log("... path : " + jdkHome); - LogManager.log("... version : " + info.getVersion().toJdkStyle()); - LogManager.log("... vendor : " + info.getVendor()); - LogManager.log("... arch : " + info.getArch()); - LogManager.log("... final : " + (!info.isNonFinal())); - if (hasNestedJre) { - NetBeansUtils.setJavaHome(installLocation, new File(installLocation, JavaUtils.JRE_NESTED_SUBDIR)); - } else { - NetBeansUtils.setJavaHome(installLocation, jdkHome); - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.jdk.home"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.netbeans.clusters")); // NOI18N - for (String clusterName: CLUSTERS) { - File lastModified = new File(new File(installLocation, clusterName), - NetBeansUtils.LAST_MODIFIED_MARKER); - if(!FileUtils.exists(lastModified)) { - filesList.add(lastModified); - } - NetBeansUtils.addCluster(installLocation, clusterName); - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.netbeans.clusters"), // NOI18N - e); - } - - // update the update_tracking files information ////////////////////////////// - for (String clusterName: CLUSTERS) { - try { - progress.setDetail(getString( - "CL.install.netbeans.update.tracking", // NOI18N - clusterName)); - - NetBeansUtils.updateTrackingFilesInfo(installLocation, clusterName); - } catch (IOException e) { - throw new InstallationException(getString( - "CL.install.error.netbeans.update.tracking", // NOI18N - clusterName), - e); - } - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.product.id")); // NOI18N - - filesList.add(NetBeansUtils.createProductId(installLocation)); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.product.id"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.license.accepted")); // NOI18N - filesList.add( - NetBeansUtils.createLicenseAcceptedMarker(installLocation, "")); - - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.license.accepted"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.install.irrelevant.files")); // NOI18N - // - // SystemUtils.removeIrrelevantFiles(binSubdir); - // SystemUtils.removeIrrelevantFiles(etcSubdir); - // SystemUtils.removeIrrelevantFiles(platformCluster); - // SystemUtils.removeIrrelevantFiles(nbCluster); - // SystemUtils.removeIrrelevantFiles(ideCluster); - //} catch (IOException e) { - // throw new InstallationException( - // getString("CL.install.error.irrelevant.files"), // NOI18N - // e); - //} - - ///////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.install.files.permissions")); // NOI18N - // - // SystemUtils.correctFilesPermissions(binSubdir); - // SystemUtils.correctFilesPermissions(etcSubdir); - // SystemUtils.correctFilesPermissions(platformCluster); - // SystemUtils.correctFilesPermissions(nbCluster); - // SystemUtils.correctFilesPermissions(ideCluster); - //} catch (IOException e) { - // throw new InstallationException( - // getString("CL.install.error.files.permissions"), // NOI18N - // e); - //} - - ///////////////////////////////////////////////////////////////////////////// - LogManager.logIndent( - "creating the desktop shortcut for NetBeans IDE"); // NOI18N - if (!SystemUtils.isMacOS()) { - try { - progress.setDetail(getString("CL.install.desktop")); // NOI18N - - if (SystemUtils.isCurrentUserAdmin()) { - LogManager.log( - "... current user is an administrator " + // NOI18N - "-- creating the shortcut for all users"); // NOI18N - - SystemUtils.createShortcut( - getDesktopShortcut(installLocation), - LocationType.ALL_USERS_DESKTOP); - - getProduct().setProperty( - DESKTOP_SHORTCUT_LOCATION_PROPERTY, - ALL_USERS_PROPERTY_VALUE); - } else { - LogManager.log( - "... current user is an ordinary user " + // NOI18N - "-- creating the shortcut for the current " + // NOI18N - "user only"); // NOI18N - - SystemUtils.createShortcut( - getDesktopShortcut(installLocation), - LocationType.CURRENT_USER_DESKTOP); - - getProduct().setProperty( - DESKTOP_SHORTCUT_LOCATION_PROPERTY, - CURRENT_USER_PROPERTY_VALUE); - } - } catch (NativeException e) { - LogManager.unindent(); - - LogManager.log( - getString("CL.install.error.desktop"), // NOI18N - e); - } - } else { - LogManager.log( - "... skipping this step as we're on Mac OS"); // NOI18N - } - LogManager.logUnindent( - "... done"); // NOI18N - - ///////////////////////////////////////////////////////////////////////////// - LogManager.logIndent( - "creating the start menu shortcut for NetBeans IDE"); // NOI18N - try { - progress.setDetail(getString("CL.install.start.menu")); // NOI18N - - if (SystemUtils.isCurrentUserAdmin()) { - LogManager.log( - "... current user is an administrator " + // NOI18N - "-- creating the shortcut for all users"); // NOI18N - - SystemUtils.createShortcut( - getStartMenuShortcut(installLocation), - LocationType.ALL_USERS_START_MENU); - - getProduct().setProperty( - START_MENU_SHORTCUT_LOCATION_PROPERTY, - ALL_USERS_PROPERTY_VALUE); - } else { - LogManager.log( - "... current user is an ordinary user " + // NOI18N - "-- creating the shortcut for the current " + // NOI18N - "user only"); // NOI18N - - SystemUtils.createShortcut( - getStartMenuShortcut(installLocation), - LocationType.CURRENT_USER_START_MENU); - - getProduct().setProperty( - START_MENU_SHORTCUT_LOCATION_PROPERTY, - CURRENT_USER_PROPERTY_VALUE); - } - } catch (NativeException e) { - LogManager.log( - getString("CL.install.error.start.menu"), // NOI18N - e); - } - LogManager.logUnindent( - "... done"); // NOI18N - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.netbeans.conf")); // NOI18N - - NetBeansUtils.updateNetBeansHome(installLocation); - - // final long xmx = NetBeansUtils.getJvmMemorySize( - // installLocation, - // NetBeansUtils.MEMORY_XMX); - // if (xmx < REQUIRED_XMX_VALUE) { - // NetBeansUtils.setJvmMemorySize( - // installLocation, - // NetBeansUtils.MEMORY_XMX, - // REQUIRED_XMX_VALUE); - // } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.netbeans.conf"), // NOI18N - e); - } - - // register JavaDB if available - File javadbLocation = null; - boolean javadbRegistered = false; - if(SystemUtils.isWindows()) { - javadbLocation = new File(System.getenv("PROGRAMFILES"), "Sun\\JavaDB"); - } - if (javadbLocation == null || ! javadbLocation.exists()) { - if (JavaUtils.isJdk(jdkHome)) { - javadbLocation = new File(jdkHome, "db"); - } - } - - if(javadbLocation != null && javadbLocation.isDirectory()) { - try { - LogManager.log("... integrate " + getSystemDisplayName() + " with Java DB installed at " + javadbLocation); - javadbRegistered = registerJavaDB(installLocation, javadbLocation); - // Derby registration creates this file (see #234759) - File lastModified = new File(installLocation, "nb/var/cache/lastmodified/all-checksum.txt"); - if (lastModified.exists()) { - File actual = lastModified; - do { - filesList.add(actual); - actual = actual.getParentFile(); - } while (!actual.getName().equals("nb")); // NOI18N - } - if (! javadbRegistered) { - LogManager.log("... ... Java DB wasn't registred."); - } - } catch (IOException e) { - LogManager.log("Cannot register JavaDB available at " + javadbLocation, e); - } - } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - if (! javadbRegistered) { - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.javadb.integration")); // NOI18N - - - final List glassfishes = - Registry.getInstance().queryProducts(new OrFilter( - new ProductFilter("glassfish-mod-sun", Registry.getInstance().getTargetPlatform()), - new ProductFilter("glassfish-mod", Registry.getInstance().getTargetPlatform()))); - - Product productToIntegrate = null; - for (Product glassfish : glassfishes) { - final Product bundledProduct = bundledRegistry.getProduct( - glassfish.getUid(), glassfish.getVersion()); - if (glassfish.getStatus() == Status.INSTALLED && bundledProduct != null) { - final File location = glassfish.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - productToIntegrate = glassfish; - break; - } - } - } - if (productToIntegrate == null) { - for (Product glassfish : glassfishes) { - if (glassfish.getStatus() == Status.INSTALLED) { - final File location = glassfish.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - productToIntegrate = glassfish; - break; - } - } - } - } - if (productToIntegrate != null) { - final File location = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate " + getSystemDisplayName() + " with Java DB installed at " + location); - boolean passed = registerJavaDB(installLocation, new File(location, "javadb")); - if (! passed) { - LogManager.log("... ... Java DB wasn't registred."); - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.javadb.integration"), // NOI18N - e); - } finally { - progress.setDetail(StringUtils.EMPTY_STRING); // NOI18N - } - ///////////////////////////////////////////////////////////////////////////// - - } - - try { - progress.setDetail(getString("CL.install.javafxsdk.integration")); // NOI18N - - final List javafxsdks = - Registry.getInstance().queryProducts( - new ProductFilter("javafxsdk", Registry.getInstance().getTargetPlatform())); - - Product productToIntegrate = null; - for (Product javafxsdk : javafxsdks) { - final Product bundledProduct = bundledRegistry.getProduct( - javafxsdk.getUid(), javafxsdk.getVersion()); - if (javafxsdk.getStatus() == Status.INSTALLED && bundledProduct != null) { - final File fxsdkLocation = javafxsdk.getInstallationLocation(); - final File fxrtLocation = - new File(SystemUtils.resolveString(javafxsdk.getProperty(JAVAFX_RUNTIME_INSTALLATION_LOCATION_PROPERTY))); - if (fxsdkLocation != null && fxrtLocation != null && - FileUtils.exists(fxsdkLocation) && !FileUtils.isEmpty(fxsdkLocation) && - FileUtils.exists(fxrtLocation) && !FileUtils.isEmpty(fxrtLocation)) { - productToIntegrate = javafxsdk; - break; - } - } - } - if (productToIntegrate == null) { - for (Product javafxsdk : javafxsdks) { - if (javafxsdk.getStatus() == Status.INSTALLED) { - final File fxsdkLocation = javafxsdk.getInstallationLocation(); - final File fxrtLocation = - new File(SystemUtils.resolveString(javafxsdk.getProperty(JAVAFX_RUNTIME_INSTALLATION_LOCATION_PROPERTY))); - if (fxsdkLocation != null && fxrtLocation != null && - FileUtils.exists(fxsdkLocation) && !FileUtils.isEmpty(fxsdkLocation) && - FileUtils.exists(fxrtLocation) && !FileUtils.isEmpty(fxrtLocation)) { - productToIntegrate = javafxsdk; - break; - } - } - } - } - if (productToIntegrate != null) { - final File fxsdkLocation = productToIntegrate.getInstallationLocation(); - final File fxrtLocation = - new File(SystemUtils.resolveString(productToIntegrate.getProperty(JAVAFX_RUNTIME_INSTALLATION_LOCATION_PROPERTY))); - LogManager.log("... integrate " + getSystemDisplayName() + " with " + productToIntegrate.getDisplayName() + - " installed at " + fxsdkLocation + " and " + fxrtLocation); - registerJavaFX(installLocation, fxsdkLocation, fxrtLocation); - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.javafxsdk.integration"), // NOI18N - e); - } finally { - progress.setDetail(StringUtils.EMPTY_STRING); // NOI18N - } - - ///////////////////////////////////////////////////////////////////////////// - try { - final List jdks = Registry.getInstance().getProducts("jdk"); - for (Product jdk : jdks) { - // if the IDE was installed in the same session as the jdk, - // we should add jdk`s "product id" to the IDE - if (jdk.getStatus().equals(Status.INSTALLED) && jdk.hasStatusChanged()) { - NetBeansUtils.addPackId(installLocation, JDK_PRODUCT_ID); - break; - } - } - } catch (IOException e) { - LogManager.log("Cannot add jdk`s id to netbeans productid file", e); - } - - try { - //IDE Registartion files - final File nbCluster = NetBeansUtils.getNbCluster(installLocation); - filesList.add(new File(nbCluster,"servicetag/registration.xml")); - filesList.add(new File(nbCluster,"servicetag/servicetag")); - filesList.add(new File(nbCluster,"servicetag")); - - //core.properties file is required for usage statistics settings - File coreProp = new File(nbCluster,NetBeansUtils.CORE_PROPERTIES); - filesList.add(coreProp); - filesList.add(coreProp.getParentFile()); - filesList.add(coreProp.getParentFile().getParentFile()); - filesList.add(coreProp.getParentFile().getParentFile().getParentFile()); - - //GlassFish v3/Tomcat integration files - filesList.add(new File (nbCluster, "config/GlassFishEE6WC/Instances/.nbattrs")); - filesList.add(new File (nbCluster, "config/GlassFishEE6WC/Instances/glassfish_autoregistered_instance")); - filesList.add(new File (nbCluster, "config/GlassFishEE6WC/Instances")); - filesList.add(new File (nbCluster, "config/GlassFishEE6WC")); - filesList.add(new File (nbCluster, "config/GlassFishEE6/Instances/.nbattrs")); - filesList.add(new File (nbCluster, "config/GlassFishEE6/Instances/glassfish_autoregistered_instance")); - filesList.add(new File (nbCluster, "config/GlassFishEE6/Instances")); - filesList.add(new File (nbCluster, "config/GlassFishEE6")); - filesList.add(new File (nbCluster, "config/J2EE/InstalledServers/.nbattrs")); - filesList.add(new File (nbCluster, "config/J2EE/InstalledServers/tomcat_autoregistered_instance")); - filesList.add(new File (nbCluster, "config/J2EE/InstalledServers")); - filesList.add(new File (nbCluster, "config/J2EE")); - filesList.add(new File (nbCluster, "config/JavaDB/registration_instance")); - filesList.add(new File (nbCluster, "config/JavaDB/.nbattrs")); - filesList.add(new File (nbCluster, "config/JavaDB")); - - //JavaFX integration files - filesList.add(new File (nbCluster, "config/JavaFX/Instances/javafx_sdk_autoregistered_instance")); - filesList.add(new File (nbCluster, "config/JavaFX/Instances/.nbattrs")); - filesList.add(new File (nbCluster, "config/JavaFX/Instances")); - filesList.add(new File (nbCluster, "config/JavaFX")); - } catch (IOException e) { - LogManager.log(e); - } - - product.setProperty("installation.timestamp", new Long(System.currentTimeMillis()).toString()); - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private boolean registerJavaDB(File nbLocation, File javadbLocation) throws IOException { - if(!FileUtils.exists(javadbLocation)) { - LogManager.log("Requested to register JavaDB at " + javadbLocation + " but can't find it"); - return false; - } - File javaExe = JavaUtils.getExecutable(SystemUtils.getCurrentJavaHome()); - String [] cp = { - "platform/core/core.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "ide/modules/org-netbeans-modules-derby.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for JavaDB integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.derby.DerbyRegistration"; - List commands = new ArrayList (); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add(new File(nbLocation, "nb").getAbsolutePath()); - commands.add(javadbLocation.getAbsolutePath()); - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String [] {})).getErrorCode() == 0; - } - - private boolean registerJavaFX(File nbLocation, File sdkLocation, File reLocation) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "javafx/modules/org-netbeans-modules-javafx2-platform.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for JavaFX integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.javafx2.platform.registration.AutomaticRegistration"; - List commands = new ArrayList (); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add(nbCluster.getAbsolutePath()); - commands.add(sdkLocation.getAbsolutePath()); - commands.add(reLocation.getAbsolutePath()); - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } - - - @Override - public void uninstall(final Progress progress) throws UninstallationException { - final Product product = getProduct(); - final File installLocation = product.getInstallationLocation(); - - NetBeansUtils.warnNetbeansRunning(installLocation); - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.start.menu")); // NOI18N - - final String shortcutLocation = - getProduct().getProperty(START_MENU_SHORTCUT_LOCATION_PROPERTY); - - if ((shortcutLocation == null) || - shortcutLocation.equals(CURRENT_USER_PROPERTY_VALUE)) { - SystemUtils.removeShortcut( - getStartMenuShortcut(installLocation), - LocationType.CURRENT_USER_START_MENU, - true); - } else { - SystemUtils.removeShortcut( - getStartMenuShortcut(installLocation), - LocationType.ALL_USERS_START_MENU, - true); - } - } catch (NativeException e) { - LogManager.log( - getString("CL.uninstall.error.start.menu"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - if (!SystemUtils.isMacOS()) { - try { - progress.setDetail(getString("CL.uninstall.desktop")); // NOI18N - - final String shortcutLocation = getProduct().getProperty( - DESKTOP_SHORTCUT_LOCATION_PROPERTY); - - if ((shortcutLocation == null) || - shortcutLocation.equals(CURRENT_USER_PROPERTY_VALUE)) { - SystemUtils.removeShortcut( - getDesktopShortcut(installLocation), - LocationType.CURRENT_USER_DESKTOP, - false); - } else { - SystemUtils.removeShortcut( - getDesktopShortcut(installLocation), - LocationType.ALL_USERS_DESKTOP, - false); - } - } catch (NativeException e) { - LogManager.log( - getString("CL.uninstall.error.desktop"), // NOI18N - e); - } - } - - if (SystemUtils.isWindows()) { - checkAndDeleteWindowsRegistry(installLocation.getAbsolutePath()); - } - - product.setProperty("uninstallation.timestamp", - new Long(System.currentTimeMillis()).toString()); - - if (Boolean.getBoolean("remove.netbeans.userdir")) { - try { - progress.setDetail(getString("CL.uninstall.remove.userdir")); // NOI18N - LogManager.logIndent("Removing NetBeans userdir... "); - File userDir = NetBeansUtils.getNetBeansUserDirFile(installLocation); - LogManager.log("... NetBeans userdir location : " + userDir); - if (FileUtils.exists(userDir) && FileUtils.canWrite(userDir)) { - FileUtils.deleteFile(userDir, true); - } - LogManager.log("... NetBeans userdir totally removed"); - } catch (IOException e) { - LogManager.log("Can`t remove NetBeans userdir", e); - } finally { - LogManager.unindent(); - } - try { - progress.setDetail(getString("CL.uninstall.remove.cachedir")); // NOI18N - LogManager.logIndent("Removing NetBeans cachedir... "); - File cacheDir = NetBeansUtils.getNetBeansCacheDirFile(installLocation); - LogManager.log("... NetBeans cachedir location : " + cacheDir); - if (FileUtils.exists(cacheDir) && FileUtils.canWrite(cacheDir)) { - FileUtils.deleteFile(cacheDir, true); - } - LogManager.log("... NetBeans cachedir totally removed"); - } catch (IOException e) { - LogManager.log("Can`t remove NetBeans cachedir", e); - } finally { - LogManager.unindent(); - } - } - - ///////////////////////////////////////////////////////////////////////////// - //remove cluster/update files - try { - progress.setDetail(getString("CL.uninstall.update.files")); // NOI18N - for(String cluster : CLUSTERS) { - File updateDir = new File(installLocation, cluster + File.separator + "update"); - if ( updateDir.exists()) { - FileUtils.deleteFile(updateDir, true); - } - } - } catch (IOException e) { - LogManager.log( - getString("CL.uninstall.error.update.files"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - @Override - public List getWizardComponents() { - return wizardComponents; - } - - @Override - public String getSystemDisplayName() { - return getString("CL.system.display.name"); - } - - @Override - public boolean allowModifyMode() { - return false; - } - - @Override - public boolean wrapForMacOs() { - return true; - } - - @Override - public String getExecutable() { - File jdkHome = new File(getProduct().getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY)); - JavaInfo javaInfo = JavaUtils.getInfo(jdkHome); - - if (SystemUtils.isWindows()) { - String javaArch = ""; - if (javaInfo != null) { - if (javaInfo.getArch().isEmpty()) { - javaInfo = JavaUtils.getInfo(jdkHome, true); - if (javaInfo != null) { - javaArch = javaInfo.getArch(); - } - } else { - javaArch = javaInfo.getArch(); - } - } - if (javaArch.endsWith("64")) { - return EXECUTABLE_WINDOWS_64; - } else { - return EXECUTABLE_WINDOWS; - } - } else { - return EXECUTABLE_UNIX; - } - } - - @Override - public String getIcon() { - if (SystemUtils.isWindows()) { - return ICON_WINDOWS; - } else if (SystemUtils.isMacOS()) { - return ICON_MACOSX; - } else { - return ICON_UNIX; - } - } - - @Override - public Text getLicense() { - return null; - } - // private ////////////////////////////////////////////////////////////////////// - private Shortcut getDesktopShortcut(final File directory) { - return getShortcut( - getStrings("CL.desktop.shortcut.name"), // NOI18N - getStrings("CL.desktop.shortcut.description"), // NOI18N - getString("CL.desktop.shortcut.path"), // NOI18N - directory); - } - - private Shortcut getStartMenuShortcut(final File directory) { - if (SystemUtils.isMacOS()) { - return getShortcut( - getStrings("CL.start.menu.shortcut.name.macosx"), // NOI18N - getStrings("CL.start.menu.shortcut.description"), // NOI18N - getString("CL.start.menu.shortcut.path"), // NOI18N - directory); - } else { - return getShortcut( - getStrings("CL.start.menu.shortcut.name"), // NOI18N - getStrings("CL.start.menu.shortcut.description"), // NOI18N - getString("CL.start.menu.shortcut.path"), // NOI18N - directory); - } - } - - private Shortcut getShortcut( - final Map names, - final Map descriptions, - final String relativePath, - final File location) { - final File icon; - final File executable; - - if (SystemUtils.isWindows()) { - icon = new File(location, ICON_WINDOWS); - } else if (SystemUtils.isMacOS()) { - icon = new File(location, ICON_MACOSX); - } else { - icon = new File(location, ICON_UNIX); - } - - executable = new File(location, getExecutable()); - final String name = names.get(new Locale(StringUtils.EMPTY_STRING)); - final FileShortcut shortcut = new FileShortcut(name, executable); - shortcut.setNames(names); - shortcut.setDescriptions(descriptions); - shortcut.setCategories(SHORTCUT_CATEGORIES); - shortcut.setFileName(SHORTCUT_FILENAME); - shortcut.setIcon(icon); - shortcut.setRelativePath(relativePath); - shortcut.setWorkingDirectory(location); - shortcut.setModifyPath(true); - - return shortcut; - } - - private void checkAndDeleteWindowsRegistry(String installLocation) { - final int HKEY = WindowsRegistry.HKEY_CLASSES_ROOT; - final String KEY_ROOT = "Applications"; - final String KEY_ENDS[] = {"netbeans.exe\\shell\\open\\command", - "netbeans64.exe\\shell\\open\\command"}; - - final WindowsRegistry windowsRegistry = new WindowsRegistry(); - - LogManager.log("Checking windows registry"); - - for (String key : KEY_ENDS) { - String fullKey = KEY_ROOT + WindowsRegistry.SEPARATOR + key; - try { - if (windowsRegistry.keyExists(HKEY, fullKey)) { - final String value = windowsRegistry.getStringValue(HKEY, fullKey, StringUtils.EMPTY_STRING); - - String launcherPath = getLauncherPathFromRegistryValue(value); - - File launcher = new File(launcherPath); - if (!launcher.exists() || launcherPath.startsWith(installLocation)) { - while (!fullKey.equals(KEY_ROOT)) { - windowsRegistry.deleteKey(HKEY, fullKey); - LogManager.log("... key deleted : " + fullKey); - fullKey = fullKey.substring(0, fullKey.lastIndexOf("\\")); - } - } - } - } catch (NativeException e) { - LogManager.log( - getString("CL.uninstall.error.registry", "HKEY_CLASSES_ROOT" + WindowsRegistry.SEPARATOR + fullKey), // NOI18N - e); - } - } - } - - private String getLauncherPathFromRegistryValue(String value) { - String splittedRegistry[] = value.split("\""); - if (splittedRegistry.length > 2) { - return splittedRegistry[1]; - } else { - return StringUtils.EMPTY_STRING; - } - } - - @Override - public RemovalMode getRemovalMode() { - if(Boolean.getBoolean("remove.netbeans.installdir")) { - return RemovalMode.ALL; - } - return RemovalMode.LIST; - } - - @Override - public Map getAdditionalSystemIntegrationInfo() { - Map map = super.getAdditionalSystemIntegrationInfo(); - if (SystemUtils.isWindows()) { - //TODO: get localized readme if it is available and matches current locale - String readme = new File(getProduct().getInstallationLocation(), "readme.html").getAbsolutePath(); - map.put("DisplayVersion", getString("CL.system.display.version")); - map.put("Publisher", getString("CL.system.publisher")); - map.put("URLInfoAbout", getString("CL.system.url.about")); - map.put("URLUpdateInfo", getString("CL.system.url.update")); - map.put("HelpLink", getString("CL.system.url.support")); - map.put("Readme", readme); - } - return map; - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + // NOI18N - "org/netbeans/installer/products/nb/base/wizard.xml"; // NOI18N - - public static final String BIN_SUBDIR = - "bin"; // NOI18N - public static final String ETC_SUBDIR = - "etc"; // NOI18N - - public static final String PLATFORM_CLUSTER = - "{platform-cluster}"; // NOI18N - public static final String NB_CLUSTER = - "{nb-cluster}"; // NOI18N - public static final String IDE_CLUSTER = - "{ide-cluster}"; // NOI18N -// public static final String EXTRA_CLUSTER = -// "{extra-cluster}"; // NOI18N - public static final String [] CLUSTERS = new String [] { - PLATFORM_CLUSTER, - NB_CLUSTER, - IDE_CLUSTER, - /*EXTRA_CLUSTER*/}; - - public static final String EXECUTABLE_WINDOWS = - BIN_SUBDIR + "/netbeans.exe"; // NOI18N - public static final String EXECUTABLE_WINDOWS_64 = - BIN_SUBDIR + "/netbeans64.exe"; // NOI18N - public static final String EXECUTABLE_UNIX = - BIN_SUBDIR + "/netbeans"; // NOI18N - - public static final String ICON_WINDOWS = - EXECUTABLE_WINDOWS; - public static final String ICON_UNIX = - NB_CLUSTER + "/netbeans.png"; // NOI18N - public static final String ICON_MACOSX = - NB_CLUSTER + "/netbeans.icns"; // NOI18N - - public static final String SHORTCUT_FILENAME = - "netbeans-{display-version}.desktop"; // NOI18N - public static final String[] SHORTCUT_CATEGORIES = new String[] { - "Application", - "Development", // NOI18N - "Java",// NOI18N - "IDE"// NOI18N - }; - public static final String JDK_PRODUCT_ID = - "JDK";//NOI18N - public static final String GLASSFISH_JVM_OPTION_NAME = - "-Dcom.sun.aas.installRoot"; // NOI18N - - public static final long REQUIRED_XMX_VALUE = - 192 * NetBeansUtils.M; - - private static final String DESKTOP_SHORTCUT_LOCATION_PROPERTY = - "desktop.shortcut.location"; // NOI18N - - private static final String START_MENU_SHORTCUT_LOCATION_PROPERTY = - "start.menu.shortcut.location"; // NOI18N - - private static final String ALL_USERS_PROPERTY_VALUE = - "all.users"; // NOI18N - - private static final String CURRENT_USER_PROPERTY_VALUE = - "current.user"; // NOI18N - - public static final String JAVAFX_RUNTIME_INSTALLATION_LOCATION_PROPERTY = - "javafx.runtime.installation.location"; // NOI18N -} diff --git a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard.xml b/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard.xml deleted file mode 100644 index 1c3914ede159..000000000000 --- a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/Bundle.properties deleted file mode 100644 index 7b9c674c5431..000000000000 --- a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/Bundle.properties +++ /dev/null @@ -1,35 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -##################################################################################### -# NbBasePanel.java -NBP.title=NetBeans IDE {display-version} Installation -NBP.description=Choose the installation folder and JDK\u2122. -NBP.description.java=Choose the installation folder and Java\u2122 environment. - -NBP.destination.label.text=&Install the NetBeans IDE to: -NBP.destination.button.text=B&rowse... - -NBP.jdk.location.label.text=&JDK\u2122 for the NetBeans IDE: -NBP.java.location.label.text=&Java\u2122 environment for the NetBeans IDE: -NBP.browse.button.text=Br&owse... - -NBP.warning.install.into.userdir=It is not recommended to install NetBeans into folder which is commonly used to store its settings ({0}). -NBP.warning.jdk.not.recommended.version=This JDK version is older than the recommended JDK 7u10. For stability reasons we recommend that you download and install the latest JDK 7 update from {0} and restart NetBeans installer. -NBP.warning.jdk.not.recommended.architecture=A 32-bit JDK is selected. For improved performance on your 64-bit system, please use the 64-bit version of Java. Download at {0} and restart NetBeans installer. -NBP.error.contains.non.ascii.chars=The specified installation location cannot contain non-ASCII characters. diff --git a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/NbBasePanel.java b/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/NbBasePanel.java deleted file mode 100644 index b68ff8a99138..000000000000 --- a/nbbuild/installer/components/products/nb-base/src/org/netbeans/installer/products/nb/base/wizard/panels/NbBasePanel.java +++ /dev/null @@ -1,577 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.base.wizard.panels; - -import java.awt.GridBagConstraints; -import java.awt.Insets; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.ItemEvent; -import java.awt.event.ItemListener; -import java.io.File; -import java.nio.charset.Charset; -import java.nio.charset.CharsetEncoder; -import java.util.List; -import javax.swing.ComboBoxModel; -import javax.swing.JFileChooser; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; -import javax.swing.event.HyperlinkListener; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.BrowserUtils; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.helper.Version; -import org.netbeans.installer.utils.helper.swing.NbiButton; -import org.netbeans.installer.utils.helper.swing.NbiComboBox; -import org.netbeans.installer.utils.helper.swing.NbiDirectoryChooser; -import org.netbeans.installer.utils.helper.swing.NbiLabel; -import org.netbeans.installer.utils.helper.swing.NbiTextField; -import org.netbeans.installer.utils.helper.swing.NbiTextPane; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationValidator; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxEditor; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxModel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.wizard.containers.SwingContainer; -import org.netbeans.installer.wizard.ui.SwingUi; -import org.netbeans.installer.wizard.ui.WizardUi; - -/** - * - */ -public class NbBasePanel extends DestinationPanel { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private JdkLocationPanel jdkLocationPanel; - private boolean hasNestedJre = false; - - public NbBasePanel() { - jdkLocationPanel = new JdkLocationPanel(); - - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - - setProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY, - DEFAULT_JDK_LOCATION_LABEL_TEXT); - setProperty(BROWSE_BUTTON_TEXT_PROPERTY, - DEFAULT_BROWSE_BUTTON_TEXT); - setProperty(WARNING_INSTALL_INTO_USERDIR_PROPERTY, - DEFAULT_WARNING_INSTALL_INTO_USERDIR); - setProperty(WARNING_JDK_NOT_RECOMMENDED_VERSION, - DEFAULT_WARNING_JDK_NOT_RECOMMENDED_VERSION); - setProperty(WARNING_JDK_NOT_RECOMMENDED_ARCHITECTURE, - DEFAULT_WARNING_JDK_NOT_RECOMMENDED_ARCHITECTURE); - - setProperty(ERROR_CONTAINS_NON_ASCII_CHARS, - DEFAULT_ERROR_CONTAINS_NON_ASCII_CHARS); - } - - @Override - public WizardUi getWizardUi() { - if (wizardUi == null) { - wizardUi = new NbBaseDestinationPanelUi(this); - } - - return wizardUi; - } - - @Override - public void initialize() { - super.initialize(); - - jdkLocationPanel.setWizard(getWizard()); - - //first, initialize the min and max values with the panel`s default - //second, check if nbProduct has the properties set - //third, check other nb- products if they have these properties set - String minVersionNbBase = getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY); - String maxVersionNbBase = getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY); - String preferredVersion = getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY); - String jreAllowedStr = getProperty(JdkLocationPanel.JRE_ALLOWED_PROPERTY); - - Version min = (minVersionNbBase != null) ? Version.getVersion(minVersionNbBase) : null; - Version max = (maxVersionNbBase != null) ? Version.getVersion(maxVersionNbBase) : null; - Version preferred = (preferredVersion != null) ? Version.getVersion(preferredVersion) : null; - boolean jreAllowed = !"false".equals(jreAllowedStr); // if nothing defined - then true - - if (getWizard().getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY) != null) { - min = Version.getVersion(getWizard().getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - } - if (getWizard().getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY) != null) { - max = Version.getVersion(getWizard().getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - } - if (getWizard().getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY) != null) { - preferred = Version.getVersion(getWizard().getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY)); - } - if (getWizard().getProperty(JdkLocationPanel.JRE_ALLOWED_PROPERTY) != null) { - jreAllowed = !"false".equals(getWizard().getProperty(JdkLocationPanel.JRE_ALLOWED_PROPERTY)); - } - - for (Product product : Registry.getInstance().getProductsToInstall()) { - if (product.getUid().startsWith("nb-")) { - jreAllowed &= !"false".equals(product.getProperty(JdkLocationPanel.JRE_ALLOWED_PROPERTY)); - - String minVersionString = product.getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY); - if (minVersionString != null) { - Version depMinVersion = Version.getVersion(minVersionString); - if (min == null || depMinVersion.newerThan(min)) { - min = depMinVersion; - } - } - String maxVersionString = product.getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY); - if (maxVersionString != null) { - Version depMaxVersion = Version.getVersion(maxVersionString); - if (min == null || depMaxVersion.olderThan(max)) { - max = depMaxVersion; - } - } - // do not check preferred version of the dependent nb product : - // it is not clear how to handle that - } - - if (product.getUid().equals("jre-nested")) { - hasNestedJre = true; - jdkLocationPanel.getWizard().setProperty(JdkLocationPanel.JRE_NESTED, JdkLocationPanel.JRE_NESTED); - } - } - - String finalMinVersion = (min == null) ? null : min.toString(); - String finalMaxVersion = (max == null) ? null : max.toString(); - String preferedVersion = (preferred == null) ? null : preferred.toString(); - String jreAllowedString = Boolean.toString(jreAllowed); - - if (finalMinVersion != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY, - finalMinVersion); - } - if (finalMaxVersion != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY, - finalMaxVersion); - } - if (preferedVersion != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY, - preferedVersion); - } - jdkLocationPanel.setProperty( - JdkLocationPanel.JRE_ALLOWED_PROPERTY, - jreAllowedString); - - jdkLocationPanel.initialize(); - - //reinitialize labels which are different for cases of jdk and jre allowance - setProperty(DESCRIPTION_PROPERTY, - jreAllowed ? DEFAULT_DESCRIPTION_JAVA : DEFAULT_DESCRIPTION); - setProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY, - jreAllowed ? DEFAULT_JAVA_LOCATION_LABEL_TEXT : DEFAULT_JDK_LOCATION_LABEL_TEXT); - - //This makes it possible to perform silent installation with emptry state files - //that means that JDK_LOCATION_PROPERTY property is explicitely set to the first location - //that fits the requirements - //TODO: Investigate the prons&cons and side affects of moving - //this code to the end of JdkLocationPanel.initialize() method - File jdkLocation = jdkLocationPanel.getSelectedLocation(); - if(jdkLocation!=null && !jdkLocation.getPath().equals(StringUtils.EMPTY_STRING)) { - jdkLocationPanel.setLocation(jdkLocation); - } - } - - public boolean hasNestedJre() { - return hasNestedJre; - } - - public JdkLocationPanel getJdkLocationPanel() { - return jdkLocationPanel; - } - - ///////////////////////////////////////////////////////////////////////////////// - // Inner Classes - public static class NbBaseDestinationPanelUi extends DestinationPanelUi { - protected NbBasePanel panel; - - public NbBaseDestinationPanelUi(NbBasePanel panel) { - super(panel); - - - this.panel = panel; - } - - @Override - public SwingUi getSwingUi(SwingContainer container) { - if (swingUi == null) { - swingUi = new NbBaseDestinationPanelSwingUi(panel, container); - } - - return super.getSwingUi(container); - } - } - - public static class NbBaseDestinationPanelSwingUi extends DestinationPanelSwingUi { - protected NbBasePanel panel; - - private NbiLabel jdkLocationLabel; - private NbiComboBox jdkLocationComboBox; - private NbiButton browseButton; - private NbiTextPane statusLabel; - - private NbiTextField jdkLocationField; - - private NbiDirectoryChooser fileChooser; - - private Text jdkWarningMessage = null; - private HyperlinkListener hyperlinkListener = null; - - public NbBaseDestinationPanelSwingUi( - final NbBasePanel panel, - final SwingContainer container) { - super(panel, container); - - this.panel = panel; - - initComponents(); - } - - // protected //////////////////////////////////////////////////////////////// - @Override - protected void initialize() { - jdkLocationLabel.setText( - panel.getProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY)); - - final JdkLocationPanel jdkLocationPanel = panel.getJdkLocationPanel(); - - if (jdkLocationPanel.getLocations().isEmpty()) { - final Version minVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - final Version maxVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - - statusLabel.setContentType("text/html"); - statusLabel.setText(StringUtils.format( - jdkLocationPanel.getProperty(JdkLocationPanel.ERROR_NOTHING_FOUND_PROPERTY), - minVersion.toJdkStyle(), - maxVersion.toJdkStyle(), - jdkLocationPanel.getProperty(JdkLocationPanel.JAVA_DOWNLOAD_PAGE_PROPERTY))); - - statusLabel.addHyperlinkListener(getHyperlinkListener()); - } else { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - - final List jdkLocations = jdkLocationPanel.getLocations(); - final List jdkLabels = jdkLocationPanel.getLabels(); - - final LocationsComboBoxModel model = new LocationsComboBoxModel( - jdkLocations, - jdkLabels); - - ((LocationsComboBoxEditor) jdkLocationComboBox.getEditor()).setModel( - model); - jdkLocationComboBox.setModel( - model); - - final File selectedLocation = jdkLocationPanel.getSelectedLocation(); - final int index = jdkLocations.indexOf(selectedLocation); - String selectedItem; - if(index != -1) { - selectedItem = jdkLabels.get(index); - } else { - selectedItem = selectedLocation.toString(); - } - model.setSelectedItem(selectedItem); - browseButton.setText( - panel.getProperty(BROWSE_BUTTON_TEXT_PROPERTY)); - - super.initialize(); - } - - @Override - protected void saveInput() { - super.saveInput(); - - panel.getJdkLocationPanel().setLocation( - new File(jdkLocationField.getText().trim())); - } - - @Override - protected String validateInput() { - String errorMessage = super.validateInput(); - - if (errorMessage == null) { - // #222846 - non-ascii characters in installation path - File installationFolder = new File(getDestinationPath()); - CharsetEncoder encoder = Charset.forName("US-ASCII").newEncoder(); - if (!encoder.canEncode(installationFolder.getAbsolutePath())) { - return StringUtils.format(panel.getProperty(ERROR_CONTAINS_NON_ASCII_CHARS)); - } - - errorMessage = panel.getJdkLocationPanel().validateLocation( - jdkLocationField.getText().trim()); - } - - return errorMessage; - } - - @Override - protected String getWarningMessage() { - String warning = super.getWarningMessage(); - if (warning == null) { - final String location = getDestinationField().getText().trim(); - final File f = FileUtils.eliminateRelativity(location); - final File nbUserDirRoot = new File(SystemUtils.getUserHomeDirectory(), ".netbeans"); - if (f.equals(nbUserDirRoot) || FileUtils.isParent(nbUserDirRoot, f)) { - warning = StringUtils.format(panel.getProperty( - WARNING_INSTALL_INTO_USERDIR_PROPERTY), - nbUserDirRoot.getAbsolutePath()); - } - } - return warning; - } - - - // private ////////////////////////////////////////////////////////////////// - private void initComponents() { - // selectedLocationField //////////////////////////////////////////////// - jdkLocationField = new NbiTextField(); - jdkLocationField.getDocument().addDocumentListener( - new DocumentListener() { - @Override - public void insertUpdate(DocumentEvent e) { - updateErrorMessage(); - } - - @Override - public void removeUpdate(DocumentEvent e) { - // updateErrorMessage(); - } - - @Override - public void changedUpdate(DocumentEvent e) { - updateErrorMessage(); - } - }); - - // jdkLocationComboBox ////////////////////////////////////////////////// - final LocationValidator validator = new LocationValidator() { - @Override - public void validate(String location) { - jdkLocationField.setText(location); - - if (!panel.jdkLocationPanel.isJdkVersionRecommended(location)) { - statusLabel.setText(getVersionWarningMessage()); - if (statusLabel.getHyperlinkListeners().length == 0) { - statusLabel.addHyperlinkListener(getHyperlinkListener()); - } - statusLabel.setVisible(true); - } else if (!panel.jdkLocationPanel.isArchitectureMatching(location)) { - statusLabel.setText(getArchitectureWarningMessage()); - if (statusLabel.getHyperlinkListeners().length == 0) { - statusLabel.addHyperlinkListener(getHyperlinkListener()); - } - statusLabel.setVisible(true); - } else { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - } - }; - - jdkLocationComboBox = new NbiComboBox(); - jdkLocationComboBox.setEditable(true); - jdkLocationComboBox.setEditor(new LocationsComboBoxEditor(validator)); - jdkLocationComboBox.addItemListener(new ItemListener() { - @Override - public void itemStateChanged(ItemEvent event) { - final ComboBoxModel model = jdkLocationComboBox.getModel(); - - if (model instanceof LocationsComboBoxModel) { - jdkLocationField.setText( - ((LocationsComboBoxModel) model).getLocation()); - } - } - }); - - // jdkLocationLabel ///////////////////////////////////////////////////// - jdkLocationLabel = new NbiLabel(); - jdkLocationLabel.setLabelFor(jdkLocationComboBox); - - // browseButton ///////////////////////////////////////////////////////// - browseButton = new NbiButton(); - browseButton.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent event) { - browseButtonPressed(); - } - }); - - // statusLabel ////////////////////////////////////////////////////////// - statusLabel = new NbiTextPane(); - - // fileChooser ////////////////////////////////////////////////////////// - fileChooser = new NbiDirectoryChooser(); - - // don't show JDK panel when JRE is nested in bin/jre - if(!panel.hasNestedJre()){ - // this ///////////////////////////////////////////////////////////////// - add(jdkLocationLabel, new GridBagConstraints( - 0, 2, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(jdkLocationComboBox, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(browseButton, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(statusLabel, new GridBagConstraints( - 0, 4, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - } - } - - private Text getVersionWarningMessage() { - if (jdkWarningMessage == null) { - String messageContent = StringUtils.format( - panel.getProperty(WARNING_JDK_NOT_RECOMMENDED_VERSION), - panel.jdkLocationPanel.getProperty(JdkLocationPanel.JAVA_DOWNLOAD_PAGE_PROPERTY)); - jdkWarningMessage = new Text(messageContent, Text.ContentType.HTML); - } - - return jdkWarningMessage; - } - - private Text getArchitectureWarningMessage() { - if (jdkWarningMessage == null) { - String messageContent = StringUtils.format( - panel.getProperty(WARNING_JDK_NOT_RECOMMENDED_ARCHITECTURE), - panel.jdkLocationPanel.getProperty(JdkLocationPanel.JAVA_DOWNLOAD_PAGE_PROPERTY)); - jdkWarningMessage = new Text(messageContent, Text.ContentType.HTML); - } - - return jdkWarningMessage; - } - - private HyperlinkListener getHyperlinkListener() { - if (hyperlinkListener == null) { - hyperlinkListener = BrowserUtils.createHyperlinkListener(); - } - - return hyperlinkListener; - } - - private void browseButtonPressed() { - fileChooser.setSelectedFile(new File(jdkLocationField.getText().trim())); - - if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { - jdkLocationComboBox.getModel().setSelectedItem( - fileChooser.getSelectedFile().getAbsolutePath()); - } - } - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String JDK_LOCATION_LABEL_TEXT_PROPERTY = - "jdk.location.label.text"; // NOI18N - public static final String BROWSE_BUTTON_TEXT_PROPERTY = - "browse.button.text"; // NOI18N - public static final String WARNING_INSTALL_INTO_USERDIR_PROPERTY = - "install.into.userdir.storage"; - public static final String WARNING_JDK_NOT_RECOMMENDED_VERSION = - "jdk.not.recommended.version"; - public static final String WARNING_JDK_NOT_RECOMMENDED_ARCHITECTURE = - "jdk.not.recommended.architecture"; - public static final String ERROR_CONTAINS_NON_ASCII_CHARS = - "error.contains.non.ascii.chars"; // NOI18N - - public static final String DEFAULT_TITLE = - ResourceUtils.getString(NbBasePanel.class, - "NBP.title"); // NOI18N - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(NbBasePanel.class, - "NBP.description"); // NOI18N - public static final String DEFAULT_DESCRIPTION_JAVA = - ResourceUtils.getString(NbBasePanel.class, - "NBP.description.java"); // NOI18N - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(NbBasePanel.class, - "NBP.destination.label.text"); // NOI18N - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(NbBasePanel.class, - "NBP.destination.button.text"); // NOI18N - - public static final String DEFAULT_JDK_LOCATION_LABEL_TEXT = - ResourceUtils.getString(NbBasePanel.class, - "NBP.jdk.location.label.text"); // NOI18N - public static final String DEFAULT_JAVA_LOCATION_LABEL_TEXT = - ResourceUtils.getString(NbBasePanel.class, - "NBP.java.location.label.text"); // NOI18N - public static final String DEFAULT_BROWSE_BUTTON_TEXT = - ResourceUtils.getString(NbBasePanel.class, - "NBP.browse.button.text"); // NOI18N - - public static final String DEFAULT_WARNING_INSTALL_INTO_USERDIR = - ResourceUtils.getString(NbBasePanel.class, - "NBP.warning.install.into.userdir"); // NOI18N - public static final String DEFAULT_WARNING_JDK_NOT_RECOMMENDED_VERSION = - ResourceUtils.getString(NbBasePanel.class, - "NBP.warning.jdk.not.recommended.version"); // NOI18N - public static final String DEFAULT_WARNING_JDK_NOT_RECOMMENDED_ARCHITECTURE = - ResourceUtils.getString(NbBasePanel.class, - "NBP.warning.jdk.not.recommended.architecture"); // NOI18N - public static final String DEFAULT_ERROR_CONTAINS_NON_ASCII_CHARS = - ResourceUtils.getString(NbBasePanel.class, - "NBP.error.contains.non.ascii.chars"); // NOI18N -} diff --git a/nbbuild/installer/components/products/nb-cnd/build.xml b/nbbuild/installer/components/products/nb-cnd/build.xml deleted file mode 100644 index 7887f7567c40..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-cnd/data/Bundle.properties b/nbbuild/installer/components/products/nb-cnd/data/Bundle.properties deleted file mode 100644 index 24abceed5ec9..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=C/C++ -product.description=Tools for developing C and C++ applications. Includes project templates, support for existing projects, advanced editor, debug support, and makefile wizard for configuration management. diff --git a/nbbuild/installer/components/products/nb-cnd/data/icon.png b/nbbuild/installer/components/products/nb-cnd/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-cnd/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-cnd/manifest.mf b/nbbuild/installer/components/products/nb-cnd/manifest.mf deleted file mode 100644 index 6d3fee557501..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.cnd.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-cnd/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-cnd/nbproject/build-impl.xml deleted file mode 100644 index 8cf4abeed344..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/nbproject/build-impl.xml +++ /dev/null @@ -1,571 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-cnd/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-cnd/nbproject/genfiles.properties deleted file mode 100644 index 1ba0166e1ea9..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=452a4789 -build.xml.script.CRC32=54669a56 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=56b254ad -nbproject/build-impl.xml.script.CRC32=c36c25f3 -nbproject/build-impl.xml.stylesheet.CRC32=65d7ca21 diff --git a/nbbuild/installer/components/products/nb-cnd/nbproject/project.properties b/nbbuild/installer/components/products/nb-cnd/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-cnd/nbproject/project.xml b/nbbuild/installer/components/products/nb-cnd/nbproject/project.xml deleted file mode 100644 index 4ebd3f18ed49..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans C Native Development - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/Bundle.properties b/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/ConfigurationLogic.java deleted file mode 100644 index 8da1380539ce..000000000000 --- a/nbbuild/installer/components/products/nb-cnd/src/org/netbeans/installer/products/nb/cnd/ConfigurationLogic.java +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.cnd; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String CND_CLUSTER = - "{cnd-cluster}"; // NOI18N - private static final String CNDEXT_CLUSTER = - "{cndext-cluster}"; // NOI18N - private static final String DLIGHT_CLUSTER = - "{dlight-cluster}"; // NOI18N - private static final String ID = - "CND"; // NOI18N - - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - CND_CLUSTER, CNDEXT_CLUSTER, DLIGHT_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/nb-ergonomics/build.xml b/nbbuild/installer/components/products/nb-ergonomics/build.xml deleted file mode 100644 index d92db7bb24ed..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-ergonomics/data/Bundle.properties b/nbbuild/installer/components/products/nb-ergonomics/data/Bundle.properties deleted file mode 100644 index 2278d3bee301..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Features on Demand -product.description=Provides faster startup and improved responsiveness by turning on the installed features only when they are required. It is the perfect balance between rich functionality and low memory/CPU consumption. If memory/CPU is not a limited resource for you, feel free to disable this item and get all NetBeans IDE functionality at once. diff --git a/nbbuild/installer/components/products/nb-ergonomics/data/icon.png b/nbbuild/installer/components/products/nb-ergonomics/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-ergonomics/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-ergonomics/manifest.mf b/nbbuild/installer/components/products/nb-ergonomics/manifest.mf deleted file mode 100644 index 3773bcba03d4..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.ergonomics.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-ergonomics/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-ergonomics/nbproject/build-impl.xml deleted file mode 100644 index b2e73d92a4c8..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/nbproject/build-impl.xml +++ /dev/null @@ -1,679 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-ergonomics/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-ergonomics/nbproject/genfiles.properties deleted file mode 100644 index 8f49595c41a7..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=452a4789 -build.xml.script.CRC32=54669a56 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=8cb02925 -nbproject/build-impl.xml.script.CRC32=45a1489f -nbproject/build-impl.xml.stylesheet.CRC32=e55b27f5 diff --git a/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.properties b/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.properties deleted file mode 100644 index 3d02ac274120..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.properties +++ /dev/null @@ -1,89 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -application.title=NBI Product: NetBeans Ergonomics Pack -application.vendor=Lipin -auxiliary.org-netbeans-modules-editor-indent.CodeStyle.usedProfile=default -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -jnlp.codebase.type=local -jnlp.codebase.url=file:/D:/space/NB-IDE/main/installer/components/products/nb-ergonomics/dist -jnlp.descriptor=application -jnlp.enabled=false -jnlp.offline-allowed=false -jnlp.signed=false -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.xml b/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.xml deleted file mode 100644 index 6acef1d00247..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/nbproject/project.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Ergonomics Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/Bundle.properties b/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/ConfigurationLogic.java deleted file mode 100644 index 32beacdc1b0f..000000000000 --- a/nbbuild/installer/components/products/nb-ergonomics/src/org/netbeans/installer/products/nb/ergonomics/ConfigurationLogic.java +++ /dev/null @@ -1,76 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.ergonomics; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.ErrorLevel; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel; -import org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel.BundleType; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String ERGONOMICS_CLUSTER = - "{ergonomics-cluster}"; // NOI18N - private static final String JAVA_CLUSTER = - "{java-cluster}"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - ERGONOMICS_CLUSTER}, null); - } - - @Override - public void install(Progress progress) throws InstallationException { - super.install(progress); - String type = System.getProperty(NbWelcomePanel.WELCOME_PAGE_TYPE_PROPERTY); - if(type!=null && BundleType.getType(type).equals(BundleType.JAVA)) { - // Issue 157484. JavaSE should be enabled in "Java" distribution - // http://www.netbeans.org/issues/show_bug.cgi?id=157484 - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - final Product nbProduct = - Registry.getInstance().getProducts(dependencies.get(0)).get(0); - final File nbLocation = nbProduct.getInstallationLocation(); - try { - NetBeansUtils.addCluster(nbLocation, ERGONOMICS_CLUSTER, JAVA_CLUSTER); - } catch (IOException e) { - LogManager.log(ErrorLevel.WARNING, e); - } - } - } -} diff --git a/nbbuild/installer/components/products/nb-extide/build.xml b/nbbuild/installer/components/products/nb-extide/build.xml deleted file mode 100644 index 8370c9ecb835..000000000000 --- a/nbbuild/installer/components/products/nb-extide/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-extide/data/Bundle.properties b/nbbuild/installer/components/products/nb-extide/data/Bundle.properties deleted file mode 100644 index 36ac32fac43e..000000000000 --- a/nbbuild/installer/components/products/nb-extide/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Extended IDE -product.description=Additional components of an integrated development environment. diff --git a/nbbuild/installer/components/products/nb-extide/data/icon.png b/nbbuild/installer/components/products/nb-extide/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-extide/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-extide/manifest.mf b/nbbuild/installer/components/products/nb-extide/manifest.mf deleted file mode 100644 index 652a457c7ccd..000000000000 --- a/nbbuild/installer/components/products/nb-extide/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.extide.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-extide/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-extide/nbproject/build-impl.xml deleted file mode 100644 index 0986e83fa6fa..000000000000 --- a/nbbuild/installer/components/products/nb-extide/nbproject/build-impl.xml +++ /dev/null @@ -1,1413 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-extide/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-extide/nbproject/genfiles.properties deleted file mode 100644 index d50bf70e31a7..000000000000 --- a/nbbuild/installer/components/products/nb-extide/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=7963ea73 -nbproject/build-impl.xml.script.CRC32=d98a7dc0 -nbproject/build-impl.xml.stylesheet.CRC32=cdba79fa@1.67.1.46 diff --git a/nbbuild/installer/components/products/nb-extide/nbproject/project.properties b/nbbuild/installer/components/products/nb-extide/nbproject/project.properties deleted file mode 100644 index b4a66ce4b90d..000000000000 --- a/nbbuild/installer/components/products/nb-extide/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: NetBeans Web Common -application.vendor=dlm198383 -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NBI_Engine.jar}:\ - ${reference.NetBeans_Installer_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-extide/nbproject/project.xml b/nbbuild/installer/components/products/nb-extide/nbproject/project.xml deleted file mode 100644 index c41030ed773f..000000000000 --- a/nbbuild/installer/components/products/nb-extide/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Web Common - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/Bundle.properties b/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/ConfigurationLogic.java deleted file mode 100644 index 84f417286559..000000000000 --- a/nbbuild/installer/components/products/nb-extide/src/org/netbeans/installer/products/nb/extide/ConfigurationLogic.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.extide; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String EXTIDE_CLUSTER = - "{extide-cluster}"; // NOI18N - private static final String WEBSVCCOMMON_CLUSTER = - "{websvccommon-cluster}"; // NOI18N - private static final String ID = - "EXTIDE"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - EXTIDE_CLUSTER, - WEBSVCCOMMON_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/nb-groovy/build.xml b/nbbuild/installer/components/products/nb-groovy/build.xml deleted file mode 100644 index e33098e81935..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-groovy/data/Bundle.properties b/nbbuild/installer/components/products/nb-groovy/data/Bundle.properties deleted file mode 100644 index 95dfd4a1d32a..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Groovy -product.description=Provides support for the Groovy language and the Grails framework. diff --git a/nbbuild/installer/components/products/nb-groovy/data/icon.png b/nbbuild/installer/components/products/nb-groovy/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-groovy/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-groovy/manifest.mf b/nbbuild/installer/components/products/nb-groovy/manifest.mf deleted file mode 100644 index 58135a41c321..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.groovy.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-groovy/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-groovy/nbproject/build-impl.xml deleted file mode 100644 index 3b6366536f60..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/nbproject/build-impl.xml +++ /dev/null @@ -1,666 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-groovy/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-groovy/nbproject/genfiles.properties deleted file mode 100644 index 14c68842c1a8..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=fb284b57 -build.xml.script.CRC32=fb5563b2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=361564f1 -nbproject/build-impl.xml.script.CRC32=a988eb24 -nbproject/build-impl.xml.stylesheet.CRC32=487672f9 diff --git a/nbbuild/installer/components/products/nb-groovy/nbproject/project.properties b/nbbuild/installer/components/products/nb-groovy/nbproject/project.properties deleted file mode 100644 index 3c469c7c40a6..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/nbproject/project.properties +++ /dev/null @@ -1,87 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -application.title=NBI Product: NetBeans Groovy Pack -application.vendor= -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -jnlp.codebase.type=local -jnlp.codebase.url=file:/D:/hg/main/installer/components/products/nb-groovy/dist -jnlp.enabled=false -jnlp.offline-allowed=false -jnlp.signed=false -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-groovy/nbproject/project.xml b/nbbuild/installer/components/products/nb-groovy/nbproject/project.xml deleted file mode 100644 index 93b785a17424..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/nbproject/project.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Groovy Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/Bundle.properties b/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/Bundle.properties deleted file mode 100644 index 5d7706d3a92a..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java diff --git a/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/ConfigurationLogic.java deleted file mode 100644 index 606215ab0c2b..000000000000 --- a/nbbuild/installer/components/products/nb-groovy/src/org/netbeans/installer/products/nb/groovy/ConfigurationLogic.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.groovy; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.helper.Text; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{GROOVY_CLUSTER}, ID); - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String GROOVY_CLUSTER = - "{groovy-cluster}"; // NOI18N - public static final String ID = - "GROOVY"; // NOI18N -} diff --git a/nbbuild/installer/components/products/nb-javacard/build.xml b/nbbuild/installer/components/products/nb-javacard/build.xml deleted file mode 100644 index 9ea60023777d..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-javacard/data/Bundle.properties b/nbbuild/installer/components/products/nb-javacard/data/Bundle.properties deleted file mode 100644 index d287f20ab53d..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java Card\u2122 3 Connected -product.description=Comprehensive tool set for creating Java Card Connected 3 servlets, extended applets and classic applets (backward compatible with Java Card 2.2.x and Java Card Classic). Includes Debugging, multiple Java Card Platform/Device creation and works seamlessly with the publicly available Java Card Reference Implementation. diff --git a/nbbuild/installer/components/products/nb-javacard/data/icon.png b/nbbuild/installer/components/products/nb-javacard/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javacard/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javacard/manifest.mf b/nbbuild/installer/components/products/nb-javacard/manifest.mf deleted file mode 100644 index 84b16f36dbc1..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.javacard.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-javacard/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-javacard/nbproject/build-impl.xml deleted file mode 100644 index fea2b0addd65..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/nbproject/build-impl.xml +++ /dev/null @@ -1,863 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-javacard/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-javacard/nbproject/genfiles.properties deleted file mode 100644 index 7ace9a811bfe..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=d835d1d3 -nbproject/build-impl.xml.script.CRC32=7981d2bc -nbproject/build-impl.xml.stylesheet.CRC32=576378a2@1.32.1.45 diff --git a/nbbuild/installer/components/products/nb-javacard/nbproject/project.properties b/nbbuild/installer/components/products/nb-javacard/nbproject/project.properties deleted file mode 100644 index 704b05a92faa..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/nbproject/project.properties +++ /dev/null @@ -1,84 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -application.title=NBI Product: NetBeans Java Card Pack -application.vendor=Lipin -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-javacard/nbproject/project.xml b/nbbuild/installer/components/products/nb-javacard/nbproject/project.xml deleted file mode 100644 index 8c55b9f8ec20..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/nbproject/project.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Java Card Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/Bundle.properties b/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/ConfigurationLogic.java deleted file mode 100644 index b87692588280..000000000000 --- a/nbbuild/installer/components/products/nb-javacard/src/org/netbeans/installer/products/nb/javacard/ConfigurationLogic.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.javacard; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String JAVACARD_CLUSTER = - "{javacard-cluster}"; // NOI18N - private static final String ID = - "JC"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[] {JAVACARD_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/nb-javaee/build.xml b/nbbuild/installer/components/products/nb-javaee/build.xml deleted file mode 100644 index d38fe7f3eef8..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-javaee/data/Bundle.properties b/nbbuild/installer/components/products/nb-javaee/data/Bundle.properties deleted file mode 100644 index 9f7bd6c16e1f..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java EE -product.description=Tools for creating Java web and enterprise applications compatible with Java EE specifications. Includes support for servlets, JSPs, tag libraries, Java Server Faces, Java Persistence API, Enterprise Java Beans, JAX-WS and RESTful web services, Spring and Struts. diff --git a/nbbuild/installer/components/products/nb-javaee/data/icon.png b/nbbuild/installer/components/products/nb-javaee/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javaee/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javaee/manifest.mf b/nbbuild/installer/components/products/nb-javaee/manifest.mf deleted file mode 100644 index 29f3836ac8e9..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.javaee.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-javaee/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-javaee/nbproject/build-impl.xml deleted file mode 100644 index 4a2b03ceb410..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/nbproject/build-impl.xml +++ /dev/null @@ -1,1455 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-javaee/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-javaee/nbproject/genfiles.properties deleted file mode 100644 index cb6a52ab89af..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=759a1c43 -nbproject/build-impl.xml.script.CRC32=032a3f13 -nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.1.46 diff --git a/nbbuild/installer/components/products/nb-javaee/nbproject/project.properties b/nbbuild/installer/components/products/nb-javaee/nbproject/project.properties deleted file mode 100644 index 03f44682123a..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/nbproject/project.properties +++ /dev/null @@ -1,81 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-javaee/nbproject/project.xml b/nbbuild/installer/components/products/nb-javaee/nbproject/project.xml deleted file mode 100644 index 93b21b271f57..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Web Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/Bundle.properties b/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/Bundle.properties deleted file mode 100644 index 38ad9648e390..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/Bundle.properties +++ /dev/null @@ -1,21 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -CL.install.error.tomcat.integration=Failed to integrate the IDE with existing Apache Tomcat installations -CL.install.glassfish.integration=Integrating GlassFish with existing NetBeans IDEs -CL.install.error.glassfish.integration=Failed to integrate GlassFish with existing NetBeans IDEs diff --git a/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/ConfigurationLogic.java deleted file mode 100644 index fca2c4ce0f8e..000000000000 --- a/nbbuild/installer/components/products/nb-javaee/src/org/netbeans/installer/products/nb/javaee/ConfigurationLogic.java +++ /dev/null @@ -1,266 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.nb.javaee; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.filters.ProductFilter; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.progress.Progress; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - - private static final String ENTERPRISE_CLUSTER = - "{enterprise-cluster}"; // NOI18N - //private static final String VISUALWEB_CLUSTER = - // "{visualweb-cluster}"; // NOI18N - //private static final String IDENTITY_CLUSTER = - // "{identity-cluster}"; // NOI18N - private static final String ID = - "WEBEE"; // NOI18N - private static final String MOBILITY_END_2_END_KIT = - "org-netbeans-modules-mobility-end2end-kit"; - private static final String NB_JAVAME_UID = "nb-javame"; - private static final String MOBILITY_CLUSTER = - "{mobility-cluster}"; - ///////////////////////////////////////////////////////////////////////////////// - // Instance - - public ConfigurationLogic() throws InitializationException { - super(new String[]{ENTERPRISE_CLUSTER}, - /* VISUALWEB_CLUSTER, - IDENTITY_CLUSTER},*/ ID); - } - - @Override - public void install(Progress progress) throws InstallationException { - super.install(progress); - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - final Product nbProduct = - Registry.getInstance().getProducts(dependencies.get(0)).get(0); - final File installLocation = nbProduct.getInstallationLocation(); - - for (Product product : Registry.getInstance().getInavoidableDependents(nbProduct)) { - if (product.getUid().equals(NB_JAVAME_UID) && product.getStatus().equals(Status.INSTALLED)) { - //mobility installed, enable end2end kit - NetBeansUtils.setModuleStatus(product.getInstallationLocation(), - MOBILITY_CLUSTER, - MOBILITY_END_2_END_KIT, - true); - break; - } - } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.tomcat.integration")); // NOI18N - - final List tomcats = - Registry.getInstance().getProducts("tomcat"); - - Product productToIntegrate = null; - for (Product tomcat : tomcats) { - final Product bundledProduct = bundledRegistry.getProduct( - tomcat.getUid(), tomcat.getVersion()); - if (tomcat.getStatus() == Status.INSTALLED && bundledProduct != null) { - final File location = tomcat.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - productToIntegrate = tomcat; - break; - } - } - } - if (productToIntegrate == null) { - for (Product tomcat : tomcats) { - if (tomcat.getStatus() == Status.INSTALLED) { - final File location = tomcat.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - productToIntegrate = tomcat; - break; - } - } - } - } - if (productToIntegrate != null) { - final File location = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate " + nbProduct.getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + location); - registerTomcat(installLocation, location); - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.tomcat.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.glassfish.integration")); // NOI18N - - final List glassfishes = - Registry.getInstance().queryProducts( - new ProductFilter("glassfish-mod", Registry.getInstance().getTargetPlatform())); - - Product glassfishToIntegrate = null; - for (Product glassfish : glassfishes) { - final Product bundledProduct = bundledRegistry.getProduct( - glassfish.getUid(), glassfish.getVersion()); - if (glassfish.getStatus() == Status.INSTALLED && bundledProduct != null) { - final File location = glassfish.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - glassfishToIntegrate = glassfish; - break; - } - } - } - if (glassfishToIntegrate == null) { - for (Product glassfish : glassfishes) { - if (glassfish.getStatus() == Status.INSTALLED) { - final File location = glassfish.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - glassfishToIntegrate = glassfish; - break; - } - } - } - } - if (glassfishToIntegrate != null) { - File gfLocation = glassfishToIntegrate.getInstallationLocation(); - if (!isGlassFishRegistred(installLocation)) { - LogManager.log("... integrate " + getSystemDisplayName() + " with " + glassfishToIntegrate.getDisplayName() + " installed at " + gfLocation); - registerGlassFish(installLocation, gfLocation); - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.glassfish.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - } - - private boolean isGlassFishRegistred(File nbLocation) throws IOException { - return new File(nbLocation, "nb/config/GlassFishEE6WC/Instances/glassfish_autoregistered_instance").exists(); - } - - private boolean registerGlassFish(File nbLocation, File gfLocation) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String[] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-glassfish-common.jar", - "enterprise/modules/org-netbeans-modules-glassfish-tooling.jar" - }; - for (String c : cp) { - File f = new File(nbLocation, c); - if (!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for GlassFish integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.glassfish.common.registration.AutomaticRegistration"; - List commands = new ArrayList(); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add(nbCluster.getAbsolutePath()); - commands.add(new File(gfLocation, "glassfish").getAbsolutePath()); - - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } - - private boolean registerTomcat(File nbLocation, File tomcatLocation) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String[] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-tomcat5.jar" - }; - for (String c : cp) { - File f = new File(nbLocation, c); - if (!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for Tomcat integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.tomcat5.registration.AutomaticRegistration"; - List commands = new ArrayList(); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add("--add"); - commands.add(nbCluster.getAbsolutePath()); - commands.add(tomcatLocation.getAbsolutePath()); - - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } -} diff --git a/nbbuild/installer/components/products/nb-javafx-mod/data/Bundle.properties b/nbbuild/installer/components/products/nb-javafx-mod/data/Bundle.properties deleted file mode 100644 index 0d8ecc607c24..000000000000 --- a/nbbuild/installer/components/products/nb-javafx-mod/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java FX -product.description=Start developing with NetBeans IDE and JavaFX technology for building, previewing, and debugging JavaFX applications. diff --git a/nbbuild/installer/components/products/nb-javafx-mod/data/icon.png b/nbbuild/installer/components/products/nb-javafx-mod/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javafx-mod/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javafx/build.xml b/nbbuild/installer/components/products/nb-javafx/build.xml deleted file mode 100644 index e9da62d02e0f..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-javafx/data/Bundle.properties b/nbbuild/installer/components/products/nb-javafx/data/Bundle.properties deleted file mode 100644 index 17e1f20e64ef..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=JavaFX -product.description=Start developing with NetBeans IDE and JavaFX technology for building, previewing, and debugging JavaFX applications. diff --git a/nbbuild/installer/components/products/nb-javafx/data/icon.png b/nbbuild/installer/components/products/nb-javafx/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javafx/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javafx/manifest.mf b/nbbuild/installer/components/products/nb-javafx/manifest.mf deleted file mode 100644 index 568d3fa11723..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.javafx.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-javafx/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-javafx/nbproject/build-impl.xml deleted file mode 100644 index 7a07cba33652..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/nbproject/build-impl.xml +++ /dev/null @@ -1,666 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-javafx/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-javafx/nbproject/genfiles.properties deleted file mode 100644 index 52a4403cbbb5..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=ff18e865 -nbproject/build-impl.xml.script.CRC32=91e52602 -nbproject/build-impl.xml.stylesheet.CRC32=487672f9 diff --git a/nbbuild/installer/components/products/nb-javafx/nbproject/project.properties b/nbbuild/installer/components/products/nb-javafx/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-javafx/nbproject/project.xml b/nbbuild/installer/components/products/nb-javafx/nbproject/project.xml deleted file mode 100644 index cbc97c9c10dd..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Java FX Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/Bundle.properties b/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/ConfigurationLogic.java deleted file mode 100644 index b76ecbbe9414..000000000000 --- a/nbbuild/installer/components/products/nb-javafx/src/org/netbeans/installer/products/nb/javafx/ConfigurationLogic.java +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.javafx; - -import java.io.File; -import java.io.IOException; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.progress.Progress; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String JAVAFX_CLUSTER = - "{javafx-cluster}"; // NOI18N - private static final String ID = - "FX"; // NOI18N - private static final String EULA_ACCEPTED_MARKER = - ".javafx_eula_accepted"; - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - JAVAFX_CLUSTER}, ID); - } - - @Override - public void install(Progress progress) throws InstallationException { - super.install(progress); - final File eula_accepted = new File(SystemUtils.getUserHomeDirectory(), EULA_ACCEPTED_MARKER); - - if (!FileUtils.exists(eula_accepted)) { - try { - getProduct().getInstalledFiles().add(FileUtils.writeFile(eula_accepted, "")); - } catch (IOException e){ - LogManager.log(e); - } - } - } -} diff --git a/nbbuild/installer/components/products/nb-javame/build.xml b/nbbuild/installer/components/products/nb-javame/build.xml deleted file mode 100644 index 83971d9bb67d..000000000000 --- a/nbbuild/installer/components/products/nb-javame/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-javame/data/Bundle.properties b/nbbuild/installer/components/products/nb-javame/data/Bundle.properties deleted file mode 100644 index 47756fb08a96..000000000000 --- a/nbbuild/installer/components/products/nb-javame/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java ME -product.description=Comprehensive tool set for creating Java Micro Edition applications for cell phones and portable devices. Includes visual designer, web services connection wizard, and tools for handling device fragmentation problems. diff --git a/nbbuild/installer/components/products/nb-javame/data/icon.png b/nbbuild/installer/components/products/nb-javame/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javame/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javame/manifest.mf b/nbbuild/installer/components/products/nb-javame/manifest.mf deleted file mode 100644 index 710c6fe11bde..000000000000 --- a/nbbuild/installer/components/products/nb-javame/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.javame.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-javame/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-javame/nbproject/build-impl.xml deleted file mode 100644 index 48c303140127..000000000000 --- a/nbbuild/installer/components/products/nb-javame/nbproject/build-impl.xml +++ /dev/null @@ -1,1422 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-javame/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-javame/nbproject/genfiles.properties deleted file mode 100644 index aabea6dacf50..000000000000 --- a/nbbuild/installer/components/products/nb-javame/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=452a4789 -build.xml.script.CRC32=54669a56 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=e16c43fb -nbproject/build-impl.xml.script.CRC32=eaede32e -nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.56.0.46 diff --git a/nbbuild/installer/components/products/nb-javame/nbproject/project.properties b/nbbuild/installer/components/products/nb-javame/nbproject/project.properties deleted file mode 100644 index c0150f6ba55e..000000000000 --- a/nbbuild/installer/components/products/nb-javame/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: NetBeans Mobility Pack -application.vendor=jirka -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-javame/nbproject/project.xml b/nbbuild/installer/components/products/nb-javame/nbproject/project.xml deleted file mode 100644 index 664a394c15e9..000000000000 --- a/nbbuild/installer/components/products/nb-javame/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Mobility Pack - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/Bundle.properties b/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/Bundle.properties deleted file mode 100644 index cd102564e1d4..000000000000 --- a/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/Bundle.properties +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -error.cannot.remove.end2end=Can`t remove Mobility End-2-End file {0} diff --git a/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/ConfigurationLogic.java deleted file mode 100644 index 4cf2dcd2d6fa..000000000000 --- a/nbbuild/installer/components/products/nb-javame/src/org/netbeans/installer/products/nb/javame/ConfigurationLogic.java +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.nb.javame; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.components.panels.netbeans.NbWelcomePanel; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String MOBILITY_CLUSTER = - "{mobility-cluster}"; // NOI18N - private static final String ENTERPRISE_CLUSTER = - "{enterprise-cluster}"; // NOI18N - private static final String ID = - "MOB"; // NOI18N - private static final String[] MOBILITY_END_2_END = { - "config/Modules/org-netbeans-modules-mobility-end2end.xml", - "config/Modules/org-netbeans-modules-mobility-jsr172.xml", - "config/Modules/org-netbeans-modules-mobility-end2end-kit.xml", - "modules/org-netbeans-modules-mobility-end2end.jar", - "modules/org-netbeans-modules-mobility-jsr172.jar", - "modules/org-netbeans-modules-mobility-end2end-kit.jar", - "update_tracking/org-netbeans-modules-mobility-end2end.xml", - "update_tracking/org-netbeans-modules-mobility-jsr172.xml", - "update_tracking/org-netbeans-modules-mobility-end2end-kit.xml" - }; - private static final String MOBILITY_END_2_END_KIT = - "org-netbeans-modules-mobility-end2end-kit"; - private static final String NB_JAVAEE_UID = "nb-javaee"; //NOI18N - private static final String END2END_CANT_REMOVE_TEXT = ResourceUtils.getString( - ConfigurationLogic.class, "error.cannot.remove.end2end"); - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - MOBILITY_CLUSTER}, ID); - } - - @Override - public void install(final Progress progress) throws InstallationException { - super.install(progress); - - // HACK : remove mobility end-2-end if installed by mobility pack installer - // and there is no enterpise cluster in the netbeans distribution - File installationLocation = getProduct().getInstallationLocation(); - - boolean removeEnd2End = false; - - if(NbWelcomePanel.BundleType.JAVAME.toString().equals( - System.getProperty(NbWelcomePanel.WELCOME_PAGE_TYPE_PROPERTY))) { - // Mobility Pack Installer - removeEnd2End = true; - } - - if (installationLocation != null) { - if (removeEnd2End) { - // check if pack is install in NetBeans with already installed enterprise4 cluster - File entCluster = new File(installationLocation, ENTERPRISE_CLUSTER); - if (!entCluster.exists() || FileUtils.isEmpty(entCluster)) { - for (String file : MOBILITY_END_2_END) { - File del = new File(installationLocation, - MOBILITY_CLUSTER + File.separator + file); - try { - FileUtils.deleteFile(del); - } catch (IOException e) { - throw new InstallationException( - StringUtils.format(END2END_CANT_REMOVE_TEXT, del), e); - } - } - } - } else { - // full installer - // http://www.netbeans.org/issues/show_bug.cgi?id=123636 - // End2End modules must be disabled together with J2EE cluster - // If enterprise will not be installed in the same session - disable end2end kit. - // If it is already installed - do nothing - List toInstall = Registry.getInstance().getProductsToInstall(); - Product eeProduct = null; - for (Product p : toInstall) { - if (p.getUid().equals(NB_JAVAEE_UID)) { - eeProduct = p; - break; - } - } - if (eeProduct == null) { - //not selected to be installed, search for already installed instances of the same version - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - final Product nbProduct = sources.get(0); - for (Product p : Registry.getInstance().getInavoidableDependents(nbProduct)) { - if (p.getUid().equals(NB_JAVAEE_UID) && p.getStatus().equals(Status.INSTALLED)) { - eeProduct = p; - break; - } - } - if (eeProduct == null) { - //not installed and will not be installed in this session, disable end2end kit - LogManager.log("No enterprise features, disabling end2end kit"); - NetBeansUtils.setModuleStatus(installationLocation, - MOBILITY_CLUSTER, - MOBILITY_END_2_END_KIT, - false); - } else { - LogManager.log("Enterprise is installed together with mobility, do nothing with end2end kit"); - } - } else { - LogManager.log("Enterprise would be installed together with mobility, do nothing with end2end kit"); - } - } - } - } -} diff --git a/nbbuild/installer/components/products/nb-javase/build.xml b/nbbuild/installer/components/products/nb-javase/build.xml deleted file mode 100644 index 96ac43affaa6..000000000000 --- a/nbbuild/installer/components/products/nb-javase/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-javase/data/Bundle.properties b/nbbuild/installer/components/products/nb-javase/data/Bundle.properties deleted file mode 100644 index 5dba6bdd6685..000000000000 --- a/nbbuild/installer/components/products/nb-javase/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Java SE -product.description=Essential tools for programming in Java, including an editor, debugger, profiler, refactoring support, and award winning drag-and-drop GUI design tool (formerly known as Project Matisse). diff --git a/nbbuild/installer/components/products/nb-javase/data/icon.png b/nbbuild/installer/components/products/nb-javase/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-javase/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-javase/manifest.mf b/nbbuild/installer/components/products/nb-javase/manifest.mf deleted file mode 100644 index 1013bbf97e62..000000000000 --- a/nbbuild/installer/components/products/nb-javase/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.javase.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-javase/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-javase/nbproject/build-impl.xml deleted file mode 100644 index 0e7d3381271c..000000000000 --- a/nbbuild/installer/components/products/nb-javase/nbproject/build-impl.xml +++ /dev/null @@ -1,1070 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - Must select one file in the IDE or set profile.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-javase/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-javase/nbproject/genfiles.properties deleted file mode 100644 index 6190cfeb6a91..000000000000 --- a/nbbuild/installer/components/products/nb-javase/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=6ce602d3 -nbproject/build-impl.xml.script.CRC32=3e3a7368 -nbproject/build-impl.xml.stylesheet.CRC32=fcddb364@1.50.1.46 diff --git a/nbbuild/installer/components/products/nb-javase/nbproject/project.properties b/nbbuild/installer/components/products/nb-javase/nbproject/project.properties deleted file mode 100644 index 424778eb1d1e..000000000000 --- a/nbbuild/installer/components/products/nb-javase/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: NetBeans Java SE Pack -application.vendor=jirka -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-javase/nbproject/project.xml b/nbbuild/installer/components/products/nb-javase/nbproject/project.xml deleted file mode 100644 index dac20a2761b6..000000000000 --- a/nbbuild/installer/components/products/nb-javase/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Java SE Pack - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/Bundle.properties b/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/Bundle.properties deleted file mode 100644 index 5b9a4d8b93c3..000000000000 --- a/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/Bundle.properties +++ /dev/null @@ -1,26 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.error.license.accepted=Cannot edit the license_accepted marker file -#CL.junit.license.accepted=Updating the license_accepted marker file -#NOI18N -CL.junit.accepted.tag=junit_accepted -#NOI18N -CL.junit.denied.tag=junit_denied diff --git a/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/ConfigurationLogic.java deleted file mode 100644 index 9ba148b63daa..000000000000 --- a/nbbuild/installer/components/products/nb-javase/src/org/netbeans/installer/products/nb/javase/ConfigurationLogic.java +++ /dev/null @@ -1,155 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.javase; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.applications.JavaFXUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String JAVA_CLUSTER = - "{java-cluster}"; // NOI18N - private static final String APISUPPORT_CLUSTER = - "{apisupport-cluster}"; // NOI18N - private static final String HARNESS_CLUSTER = - "{harness-cluster}"; // NOI18N - private static final String PROFILER_CLUSTER = - "{profiler-cluster}"; // NOI18N - private static final String ID = - "JAVA"; // NOI18N - private static final String JUNIT_ACCEPTED_PROPERTY = - "junit.accepted"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - JAVA_CLUSTER, - APISUPPORT_CLUSTER, - HARNESS_CLUSTER, - PROFILER_CLUSTER}, ID); - } - - @Override - public void install(Progress progress) throws InstallationException { - super.install(progress); - String junitAccepted = getProduct().getProperty(JUNIT_ACCEPTED_PROPERTY); - if(junitAccepted != null) { - final List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final File nbLocation = sources.get(0).getInstallationLocation(); - String licenseAcceptedText = junitAccepted.equals("true")? - getString("CL.junit.accepted.tag") : - getString("CL.junit.denied.tag"); - LogManager.log("Adding " + licenseAcceptedText + " to license_accepted file"); - try { - NetBeansUtils.createLicenseAcceptedMarker(nbLocation, licenseAcceptedText);// NOI18N - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.license.accepted"), // NOI18N - e); - } - } - - // register JavaFX if installed - final Product product = getProduct(); - File installationlocation = getProduct().getInstallationLocation(); - File sdkLocation; - File runtimeLocation; - - boolean javaFXBundled = false; - File jdkHome = getJdkLocation(product); - if (jdkHome != null) { - javaFXBundled = JavaFXUtils.jdkContainsJavaFX(jdkHome); - } - - if (javaFXBundled) { - sdkLocation = jdkHome; - runtimeLocation = new File(jdkHome.getAbsoluteFile(), "jre"); - } else { - sdkLocation = getInstalledFXSDKLocation(product); - runtimeLocation = getInstalledFXRuntimeLocation(product); - } - - try { - if (installationlocation != null && sdkLocation != null && runtimeLocation != null) { - JavaFXUtils.registerJavaFX(installationlocation, sdkLocation, runtimeLocation); - } - } catch (IOException ex) { - LogManager.log("... cannot execute commad to register JavaFX", ex); - } - } - - private File getInstalledFXSDKLocation (Product product) { - String sdkPath = JavaFXUtils.getJavaFXSDKInstallationPath(product.getPlatforms().get(0)); - File sdkLocation = null; - if (sdkPath != null) { - sdkLocation = new File(sdkPath); - } - return sdkLocation; - } - - private File getInstalledFXRuntimeLocation (Product product) { - String runtimePath = JavaFXUtils.getJavaFXRuntimeInstallationPath(product.getPlatforms().get(0)); - File runtimeLocation = null; - if (runtimePath != null) { - runtimeLocation = new File(runtimePath); - } - return runtimeLocation; - } - - private File getJdkLocation (Product product) { - List products = Registry.getInstance().getProducts("nb-base"); // NOI18N - String jdkHomePath = null; - - File installLocation = product.getInstallationLocation(); - for (Product p : products) { - if(installLocation.equals(p.getInstallationLocation())) { - jdkHomePath = p.getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY); - if (jdkHomePath != null) { - break; - } - } - } - - return jdkHomePath != null ? new File(jdkHomePath) : null; - } -} diff --git a/nbbuild/installer/components/products/nb-php/build.xml b/nbbuild/installer/components/products/nb-php/build.xml deleted file mode 100644 index a3efba06fea0..000000000000 --- a/nbbuild/installer/components/products/nb-php/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-php/data/Bundle.properties b/nbbuild/installer/components/products/nb-php/data/Bundle.properties deleted file mode 100644 index bfe5f61ecb0c..000000000000 --- a/nbbuild/installer/components/products/nb-php/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=PHP -product.description=Tools for developing PHP applications, including PHP editor and debugger, project management, integration with Apache server, support for MySQL and other databases, FTP upload and download, JavaScript support and other features. diff --git a/nbbuild/installer/components/products/nb-php/data/icon.png b/nbbuild/installer/components/products/nb-php/data/icon.png deleted file mode 100644 index 1b3bcd61d25b..000000000000 Binary files a/nbbuild/installer/components/products/nb-php/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-php/manifest.mf b/nbbuild/installer/components/products/nb-php/manifest.mf deleted file mode 100644 index 4a384d3f52ef..000000000000 --- a/nbbuild/installer/components/products/nb-php/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.php.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-php/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-php/nbproject/build-impl.xml deleted file mode 100644 index 5e4d3a6c7eb1..000000000000 --- a/nbbuild/installer/components/products/nb-php/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-php/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-php/nbproject/genfiles.properties deleted file mode 100644 index 867869653b28..000000000000 --- a/nbbuild/installer/components/products/nb-php/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=452a4789 -build.xml.script.CRC32=54669a56 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=5a6e2ebe -nbproject/build-impl.xml.script.CRC32=653e5fc4 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/nb-php/nbproject/project.properties b/nbbuild/installer/components/products/nb-php/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-php/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-php/nbproject/project.xml b/nbbuild/installer/components/products/nb-php/nbproject/project.xml deleted file mode 100644 index 2d4b12800a97..000000000000 --- a/nbbuild/installer/components/products/nb-php/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans PHP Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/Bundle.properties b/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/ConfigurationLogic.java deleted file mode 100644 index a9c378fb92d5..000000000000 --- a/nbbuild/installer/components/products/nb-php/src/org/netbeans/installer/products/nb/php/ConfigurationLogic.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.php; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String PHP_CLUSTER = - "{php-cluster}"; // NOI18N - private static final String ID = - "PHP"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - PHP_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/nb-platform-sdk/data/Bundle.properties b/nbbuild/installer/components/products/nb-platform-sdk/data/Bundle.properties deleted file mode 100644 index 2e7330a60d2b..000000000000 --- a/nbbuild/installer/components/products/nb-platform-sdk/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=NetBeans Platform SDK -product.description=Tools for developing modular Swing applications based on NetBeans Platform framework. Enables also development of plugins for NetBeans IDE. diff --git a/nbbuild/installer/components/products/nb-platform-sdk/data/icon.png b/nbbuild/installer/components/products/nb-platform-sdk/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-platform-sdk/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-portalpack/build.xml b/nbbuild/installer/components/products/nb-portalpack/build.xml deleted file mode 100644 index 4989bc0090ca..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-portalpack/data/Bundle.properties b/nbbuild/installer/components/products/nb-portalpack/data/Bundle.properties deleted file mode 100644 index 410523572903..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Portal Pack {display-version} -product.description=This module supports full life-cycle of portlet application development inside NetBeans. Using this tool portlet developers can develop, package, deploy and test portlet inside their NetBeans IDE. By automatic code and Deployment Descriptor generation, this tool helps developers to develop portlets quickly. It provides a tight integration with portal servers to support deployment and undeployment of portlets on both local and remote server. diff --git a/nbbuild/installer/components/products/nb-portalpack/data/icon.png b/nbbuild/installer/components/products/nb-portalpack/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-portalpack/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-portalpack/manifest.mf b/nbbuild/installer/components/products/nb-portalpack/manifest.mf deleted file mode 100644 index 7ef0e0958a00..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.portalpack.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-portalpack/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-portalpack/nbproject/build-impl.xml deleted file mode 100644 index 4124c2143767..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/nbproject/build-impl.xml +++ /dev/null @@ -1,571 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-portalpack/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-portalpack/nbproject/genfiles.properties deleted file mode 100644 index b22f33eec081..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=1d3e3ba1 -nbproject/build-impl.xml.script.CRC32=f0e2ecec -nbproject/build-impl.xml.stylesheet.CRC32=65d7ca21 diff --git a/nbbuild/installer/components/products/nb-portalpack/nbproject/project.properties b/nbbuild/installer/components/products/nb-portalpack/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-portalpack/nbproject/project.xml b/nbbuild/installer/components/products/nb-portalpack/nbproject/project.xml deleted file mode 100644 index 55f89943a227..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Portal Pack Plugin - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/Bundle.properties b/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/Bundle.properties deleted file mode 100644 index 58d5da5fa79d..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/Bundle.properties +++ /dev/null @@ -1,19 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -cl.error.running.updater=Error running NetBeans updater diff --git a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/ConfigurationLogic.java deleted file mode 100644 index af299e0b7679..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/ConfigurationLogic.java +++ /dev/null @@ -1,115 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.portalpack; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String ENTERPRISE_CLUSTER = - "{enterprise-cluster}"; // NOI18N - private static final String THIRDPARTYLICENSE_RESOURCE = - "org/netbeans/installer/products/nb/portalpack/THIRDPARTYLICENSE.txt"; - public static final String WIZARD_COMPONENTS_URI = - "resource:" + // NOI18N - "org/netbeans/installer/products/nb/portalpack/wizard.xml"; // NOI18N - private static final String NB_JAVAEE_UID= "nb-javaee"; - private List wizardComponents; - - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - ///////////////////////////////////////////////////////////////////////////////// - // Instance - - public void install(Progress progress) throws InstallationException { - // get the list of suitable glassfish installations - final List dependencies = - getProduct().getDependencyByUid(NB_JAVAEE_UID); - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - // resolve the dependency - dependencies.get(0).setVersionResolved(sources.get(0).getVersion()); - - // pick the first one and integrate with it - final File nbLocation = sources.get(0).getInstallationLocation(); - final File entCluster = new File(nbLocation,ENTERPRISE_CLUSTER); - - try { - List before = FileUtils.listFiles(entCluster).toList(); - NetBeansUtils.runUpdater(nbLocation); - List after = FileUtils.listFiles(entCluster).toList(); - FilesList installedFiles = getProduct().getInstalledFiles(); - for(File f : after) { - if(!before.contains(f)) { - LogManager.log("... file was created during Portal Pack installation : " + f); - installedFiles.add(f); - } - } - } catch (IOException e) { - throw new InstallationException( - getString("cl.error.running.updater"),//NOI18N - e); - } - } - public void uninstall(Progress progress) throws UninstallationException { - //remove data created by updater - } - public List getWizardComponents() { - return wizardComponents; - } - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } - @Override - public Text getThirdPartyLicense() { - final String text = parseString("$R{" + THIRDPARTYLICENSE_RESOURCE + ";utf-8}"); - return new Text(text, Text.ContentType.PLAIN_TEXT); - } -} diff --git a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/THIRDPARTYLICENSE.txt b/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/THIRDPARTYLICENSE.txt deleted file mode 100644 index 62a08e118de3..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/THIRDPARTYLICENSE.txt +++ /dev/null @@ -1,331 +0,0 @@ -DO NOT TRANSLATE OR LOCALIZE. - - -%% The following softwares may be included in this product. -Use of any of this software is governed by the terms of their license below: - - - -* Apache Velocity v1.4 -* Apache Commons Collections v. 2.1 -* Log4j v. 1.1.3 -* Jakarta Avalon Logkit v. 1.0.1 ----------------------------------- - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -* JDOM v1.0 ---------------- - -/*-- - - $Id$ - - Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT - 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. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information - on the JDOM Project, please see . - - */ - - - -* Jaxen 1 ------------- - - /* -$Id$ - -Copyright 2003 (C) The Werken Company. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided - that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. 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. - -3. The name "jaxen" must not be used to endorse or promote - products derived from this Software without prior written - permission of The Werken Company. For written permission, - please contact bob@werken.com. - - 4. Products derived from this Software may not be called "jaxen" -nor may "jaxen" appear in their names without prior written -permission of The Werken Company. "jaxen" is a registered trademark of The -Werken Company. - - 5. Due credit should be given to The Werken Company.(http://jaxen.werken.com/). - - THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED 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 WERKEN COMPANY OR ITS 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. - - */ - - - - - diff --git a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/license.txt b/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/license.txt deleted file mode 100644 index 1930f78da80e..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/license.txt +++ /dev/null @@ -1,136 +0,0 @@ -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) -Version 1.0 - -1. Definitions. - - 1.1. "Contributor" means each individual or entity that creates or contributes to the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. - - 1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. - - 1.4. "Executable" means the Covered Software in any form other than Source Code. - - 1.5. "Initial Developer" means the individual or entity that first makes Original Software available under this License. - - 1.6. "Larger Work" means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. - - 1.7. "License" means this document. - - 1.8. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means the Source Code and Executable form of any of the following: - - A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; - - B. Any new file that contains any part of the Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made available under the terms of this License. - - 1.10. "Original Software" means the Source Code and Executable form of computer software code that is originally released under this License. - - 1.11. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. - - 1.12. "Source Code" means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. - - 1.13. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. - -2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. - -3. Distribution Obligations. - - 3.1. Availability of Source Code. - - Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. - - 3.2. Modifications. - - The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. - - 3.3. Required Notices. - - You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - - You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients' rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.5. Distribution of Executable Versions. - - You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient's rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.6. Larger Works. - - You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. - -4. Versions of the License. - - 4.1. New Versions. - - Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. - - 4.2. Effect of New Versions. - - You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. - - 4.3. Modified Versions. - - When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - -COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -6. TERMINATION. - - 6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as "Participant") alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. - - 6.3. If You assert a patent infringement claim against Participant alleging that the Participant Software directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license. - - 6.4. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. - -7. LIMITATION OF LIABILITY. - -UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - -The Covered Software is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. - -9. MISCELLANEOUS. - -This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction's conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. - -10. RESPONSIBILITY FOR CLAIMS. - -As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. - -NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) - -The NetBeans code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. \ No newline at end of file diff --git a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/wizard.xml b/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/wizard.xml deleted file mode 100644 index 3730d3db78b9..000000000000 --- a/nbbuild/installer/components/products/nb-portalpack/src/org/netbeans/installer/products/nb/portalpack/wizard.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - nb-javaee - {enterprise-cluster}/update/download - - - diff --git a/nbbuild/installer/components/products/nb-ruby/build.xml b/nbbuild/installer/components/products/nb-ruby/build.xml deleted file mode 100644 index 6d5ff9b767e5..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-ruby/data/Bundle.properties b/nbbuild/installer/components/products/nb-ruby/data/Bundle.properties deleted file mode 100644 index c5e33ab9e626..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Ruby -product.description=Complete tool set for creating Ruby and Ruby on Rails applications. Includes JRuby interpreter, Ruby on Rails framework, powerful editor, debugger, gem manager, and interactive Ruby shell. Supports easily creating, modifying, and running Ruby on Rails applications. diff --git a/nbbuild/installer/components/products/nb-ruby/data/icon.png b/nbbuild/installer/components/products/nb-ruby/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-ruby/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-ruby/manifest.mf b/nbbuild/installer/components/products/nb-ruby/manifest.mf deleted file mode 100644 index d169d8b7686e..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.ruby.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-ruby/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-ruby/nbproject/build-impl.xml deleted file mode 100644 index 6df7efa85633..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-ruby/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-ruby/nbproject/genfiles.properties deleted file mode 100644 index 867869653b28..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=452a4789 -build.xml.script.CRC32=54669a56 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=5a6e2ebe -nbproject/build-impl.xml.script.CRC32=653e5fc4 -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/nb-ruby/nbproject/project.properties b/nbbuild/installer/components/products/nb-ruby/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-ruby/nbproject/project.xml b/nbbuild/installer/components/products/nb-ruby/nbproject/project.xml deleted file mode 100644 index 8b9966a7827a..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Ruby Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/Bundle.properties b/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/ConfigurationLogic.java deleted file mode 100644 index d94ce5d47168..000000000000 --- a/nbbuild/installer/components/products/nb-ruby/src/org/netbeans/installer/products/nb/ruby/ConfigurationLogic.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.ruby; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String RUBY_CLUSTER = - "{ruby-cluster}"; // NOI18N - private static final String ID = - "RUBY"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - RUBY_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/nb-soa/build.xml b/nbbuild/installer/components/products/nb-soa/build.xml deleted file mode 100644 index 103c6c25dbcc..000000000000 --- a/nbbuild/installer/components/products/nb-soa/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-soa/data/Bundle.properties b/nbbuild/installer/components/products/nb-soa/data/Bundle.properties deleted file mode 100644 index 93a631c9386f..000000000000 --- a/nbbuild/installer/components/products/nb-soa/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=SOA -product.description=Tools for creating composite applications as part of a Service Oriented Architecture. Provides comprehensive BPEL support. Includes graphical editor, debugger, and refactoring support. diff --git a/nbbuild/installer/components/products/nb-soa/data/icon.png b/nbbuild/installer/components/products/nb-soa/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-soa/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-soa/manifest.mf b/nbbuild/installer/components/products/nb-soa/manifest.mf deleted file mode 100644 index a31cde8eef19..000000000000 --- a/nbbuild/installer/components/products/nb-soa/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.soa.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-soa/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-soa/nbproject/build-impl.xml deleted file mode 100644 index ed135a3ebc44..000000000000 --- a/nbbuild/installer/components/products/nb-soa/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-soa/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-soa/nbproject/genfiles.properties deleted file mode 100644 index 1f9b4b7b993e..000000000000 --- a/nbbuild/installer/components/products/nb-soa/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=200c7913 -build.xml.script.CRC32=965572bf -build.xml.stylesheet.CRC32=a12b3d02 -# 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=da00112a -nbproject/build-impl.xml.script.CRC32=fb50ae8a -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/nb-soa/nbproject/project.properties b/nbbuild/installer/components/products/nb-soa/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-soa/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-soa/nbproject/project.xml b/nbbuild/installer/components/products/nb-soa/nbproject/project.xml deleted file mode 100644 index d82a146b41fc..000000000000 --- a/nbbuild/installer/components/products/nb-soa/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans SOA Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/Bundle.properties b/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/Bundle.properties deleted file mode 100644 index acf93f9e14ca..000000000000 --- a/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/Bundle.properties +++ /dev/null @@ -1,25 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.netbeans.conf.am=Registering access manager runtime in the IDE -CL.uninstall.netbeans.conf.am=Removing access manager runtime registration from the IDE - -CL.install.error.netbeans.conf.am=Failed to register access manager runtime in the IDE -CL.uninstall.error.netbeans.conf.am=Failed to remove access manager runtime registration from the IDE diff --git a/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/ConfigurationLogic.java deleted file mode 100644 index 4df29dc65910..000000000000 --- a/nbbuild/installer/components/products/nb-soa/src/org/netbeans/installer/products/nb/soa/ConfigurationLogic.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.soa; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.progress.Progress; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - SOA_CLUSTER}, ID); - } - - @Override - public void install(Progress progress) throws InstallationException { - super.install(progress); - final File soaLocation = getProduct().getInstallationLocation(); - - // get the list of suitable netbeans ide installations - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final Product nbProduct = sources.get(0); - final File nbLocation = nbProduct.getInstallationLocation(); - - // get the list of suitable openesb installations - dependencies = - getProduct().getDependencyByUid(OPENESB_UID); - sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final Product openesbProduct = sources.get(0); - final File openesbLocation = openesbProduct.getInstallationLocation(); - - //// get the list of suitable access manager installations - //dependencies = - // getProduct().getDependencyByUid(AM_UID); - //sources = - // Registry.getInstance().getProducts(dependencies.get(0)); - // - //// pick the first one and integrate with it - //final Product amProduct = sources.get(0); - //final File amLocation = amProduct.getInstallationLocation(); - // - //// get the list of suitable glassfish installations - //dependencies = - // amProduct.getDependencyByUid(GLASSFISH_UID); - //sources = - // Registry.getInstance().getProducts(dependencies.get(0)); - // - //// pick the first one and integrate with it - //final Product glassfishProduct = sources.get(0); - //final File glassfishLocation = glassfishProduct.getInstallationLocation(); - // - //final File amConfigFile = new File(GlassFishUtils.getDomainConfig( - // glassfishLocation, GlassFishUtils.DEFAULT_DOMAIN), AM_CONFIG_FILE); - // - /////////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.install.netbeans.conf.am")); // NOI18N - // - // NetBeansUtils.setJvmOption( - // nbLocation, - // JVM_OPTION_AM_CONFIG, - // amConfigFile.getAbsolutePath(), - // true); - //} catch (IOException e) { - // throw new InstallationException( - // getString("CL.install.error.netbeans.conf.am"), // NOI18N - // e); - //} - } - - @Override - public void uninstall(Progress progress) throws UninstallationException { - super.uninstall(progress); - - final File soaLocation = getProduct().getInstallationLocation(); - - // get the list of suitable netbeans ide installations - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final Product nbProduct = sources.get(0); - final File nbLocation = nbProduct.getInstallationLocation(); - - /////////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.uninstall.netbeans.conf.am")); // NOI18N - // - // NetBeansUtils.removeJvmOption(nbLocation, JVM_OPTION_AM_CONFIG); - //} catch (IOException e) { - // throw new UninstallationException( - // getString("CL.uninstall.error.netbeans.conf.am"), // NOI18N - // e); - //} - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String SOA_CLUSTER = - "{soa-cluster}"; // NOI18N - public static final String ID = - "SOA"; // NOI18N - - public static final String GLASSFISH_UID = - "glassfish"; // NOI18N - public static final String APPSERVER_UID = - "sjsas"; // NOI18N - - public static final String OPENESB_UID = - "openesb"; // NOI18N - public static final String AM_UID = - "sjsam"; // NOI18N - - public static final String JVM_OPTION_AM_CONFIG = - "-DAM_CONFIG_FILE"; // NOI18N - public static final String JVM_OPTION_GLASSFISH = - "-Dcom.sun.aas.installRoot"; // NOI18N - - public static final String AM_CONFIG_FILE = - "AMConfig.properties"; // NOI18N -} diff --git a/nbbuild/installer/components/products/nb-uml/build.xml b/nbbuild/installer/components/products/nb-uml/build.xml deleted file mode 100644 index d0936a0b2e43..000000000000 --- a/nbbuild/installer/components/products/nb-uml/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-uml/data/Bundle.properties b/nbbuild/installer/components/products/nb-uml/data/Bundle.properties deleted file mode 100644 index ee1f2c344cc8..000000000000 --- a/nbbuild/installer/components/products/nb-uml/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=UML -product.description=Unified Modeling Language tools that support drawing design diagrams, generating code, and automatic creation of design diagrams from existing code. diff --git a/nbbuild/installer/components/products/nb-uml/data/icon.png b/nbbuild/installer/components/products/nb-uml/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-uml/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-uml/manifest.mf b/nbbuild/installer/components/products/nb-uml/manifest.mf deleted file mode 100644 index c656b5a4fc1b..000000000000 --- a/nbbuild/installer/components/products/nb-uml/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.uml.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-uml/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-uml/nbproject/build-impl.xml deleted file mode 100644 index 7d5e7f4373a8..000000000000 --- a/nbbuild/installer/components/products/nb-uml/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-uml/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-uml/nbproject/genfiles.properties deleted file mode 100644 index ae4fe0172278..000000000000 --- a/nbbuild/installer/components/products/nb-uml/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=fb284b57 -build.xml.script.CRC32=fb5563b2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=59cb4d31 -nbproject/build-impl.xml.script.CRC32=61fb602e -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/nb-uml/nbproject/project.properties b/nbbuild/installer/components/products/nb-uml/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/nb-uml/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-uml/nbproject/project.xml b/nbbuild/installer/components/products/nb-uml/nbproject/project.xml deleted file mode 100644 index 8f31f4201929..000000000000 --- a/nbbuild/installer/components/products/nb-uml/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans UML Pack - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/Bundle.properties b/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/Bundle.properties deleted file mode 100644 index 149f713a864f..000000000000 --- a/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/Bundle.properties +++ /dev/null @@ -1,31 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.netbeans.conf=Adding options to the IDE configuration files for the proper work of UML -CL.install.telelogic.integration=Integrate with Telelogic Doors - -CL.install.error.netbeans.conf=Failed to add options to the IDE configuration files for the proper work of UML -CL.install.error.telelogic.integration=Failed to integrate with Telelogic Doors - -CL.uninstall.netbeans.conf=Removing options, that UML used, from IDE configuration files -CL.uninstall.telelogic.integration=Canceling Telelogic Doors integration - -CL.uninstall.error.netbeans.conf=Failed to remove UML-specific options from IDE configuration files -CL.uninstall.error.telelogic.integration=Failed to cancel Telelogic Doors integration diff --git a/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/ConfigurationLogic.java deleted file mode 100644 index c201e64f9461..000000000000 --- a/nbbuild/installer/components/products/nb-uml/src/org/netbeans/installer/products/nb/uml/ConfigurationLogic.java +++ /dev/null @@ -1,238 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.uml; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.NativeException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.EnvironmentScope; -import org.netbeans.installer.utils.helper.ErrorLevel; -import org.netbeans.installer.utils.helper.Version; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.utils.system.WindowsNativeUtils; -import org.netbeans.installer.utils.system.windows.WindowsRegistry; - -/** - * - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - UML_CLUSTER}, ID); - } - - public void install(final Progress progress) throws InstallationException { - super.install(progress); - - LogManager.log("Configuring UML..."); - - // get the list of suitable netbeans ide installations - final List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one, integrate with it and resolve the dependency - final File nbLocation = sources.get(0).getInstallationLocation(); - dependencies.get(0).setVersionResolved(sources.get(0).getVersion()); - - ///////////////////////////////////////////////////////////////////////////// - // telelogic doors integration - if(SystemUtils.isWindows()) { - try { - LogManager.indent(); - progress.setDetail( - getString("CL.install.telelogic.integration")); // NOI18N - configureTelelogicDoors(nbLocation, progress, true); - } catch (IOException ex) { - throw new InstallationException( - getString("CL.install.error.telelogic.integration"), - ex); - } finally { - LogManager.unindent(); - } - } - } - - public void uninstall(final Progress progress) throws UninstallationException { - super.uninstall(progress); - // get the list of suitable netbeans ide installations - List dependencies = - getProduct().getDependencyByUid(BASE_IDE_UID); - List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final File nbLocation = sources.get(0).getInstallationLocation(); - - ///////////////////////////////////////////////////////////////////////////// - if(SystemUtils.isWindows()) { - try { - LogManager.indent(); - progress.setDetail( - getString("CL.uninstall.telelogic.integration")); // NOI18N - configureTelelogicDoors(nbLocation, progress, false); - } catch (IOException ex) { - throw new UninstallationException( - getString("CL.uninstall.error.telelogic.integration"), - ex); - } finally { - LogManager.unindent(); - } - } - } - - private void configureTelelogicDoors( - final File nbLocation, - final Progress progress, - final boolean install) throws IOException { - try { - - File location = new File(getProduct().getInstallationLocation(), - UML_CLUSTER); - String doorsBin = new File(location, CONFIG_DOORS_LOCATION).getPath(); - - //////////////////////////////////////////////////////////////////// - // First configuration step: - // Integrate (if install) with telelogic itself - // If uninstall then skip this step - if(install) { - LogManager.log(ErrorLevel.DEBUG, - "... running script that integrates Telelogic Doors with NetBeans UML"); - - String processPathEnv = SystemUtils.getEnvironmentVariable(PATH_ENV); - if(processPathEnv==null) { - processPathEnv = StringUtils.EMPTY_STRING; - } - - if(!processPathEnv.contains(doorsBin)) { - processPathEnv += File.pathSeparator + doorsBin; - SystemUtils.setEnvironmentVariable(PATH_ENV,processPathEnv); - } - - SystemUtils.executeCommand(nbLocation, new String [] { - CSCRIPT, - new File(location, CONFIG_DOORS_COMMAND).getPath(), - nbLocation.getAbsolutePath() - }); - } else { - LogManager.log(ErrorLevel.DEBUG, - "... cancel telelogic doors integration"); - } - - //////////////////////////////////////////////////////////////////// - // Second configuration step: - // Install : modify system/user PATH variable so the necessary .dll would be in path - // Due to the discussion at - // http://www.netbeans.org/issues/show_bug.cgi?id=98633 - // the manual adding of the addon is switched off - // Uninstall : remove the necessary path from the the system envvar PATH - LogManager.log(ErrorLevel.DEBUG, - "... modify PATH environent variable within windows registry"); - WindowsRegistry winReg = - ((WindowsNativeUtils) SystemUtils.getNativeUtils()). - getWindowsRegistry(); - - // set appropriate environment scope - EnvironmentScope scope = winReg.canModifyKey( - WindowsRegistry.HKEY_LOCAL_MACHINE, - WindowsNativeUtils.ALL_USERS_ENVIRONMENT_KEY) ? - EnvironmentScope.ALL_USERS : - EnvironmentScope.CURRENT_USER; - - LogManager.log(ErrorLevel.DEBUG, - "... environment access level is " + scope.toString()); - - String pathValue = SystemUtils.getEnvironmentVariable(PATH_ENV, scope, false); - LogManager.log(ErrorLevel.DEBUG, - "... old PATH : " + pathValue); - if (pathValue==null && !install) { - // no PATH env variable in the registry and is not an installation process - return; - } - - pathValue = (pathValue == null) ? StringUtils.EMPTY_STRING : pathValue; - - if (install) { - /* // commented due to the comments above - if(!pathValue.contains(doorsBin)) { - pathValue += File.pathSeparator + doorsBin; - } - */ - } else { - // remove all occurences of the path to DLL directory - pathValue = pathValue. - replace(File.pathSeparator + doorsBin, StringUtils.EMPTY_STRING). // remove ";%path%"" - replace(doorsBin, StringUtils.EMPTY_STRING); //remove "%path%" if they still exist - - } - - if(!install) { - LogManager.log(ErrorLevel.DEBUG, - "... new PATH : " + pathValue); - // last parameters is true because PATH in most cases set to expandable - SystemUtils.setEnvironmentVariable(PATH_ENV, pathValue, scope, true); - } - LogManager.log(ErrorLevel.DEBUG, - "... Telelogic Doors configuration finished"); - - } catch (NativeException ex) { - IOException e = new IOException(); - e.initCause(ex); - throw e; - } - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String UML_CLUSTER = - "{uml-cluster}"; // NOI18N - public static final String ID = - "UML"; // NOI18N - - private static final String PATH_ENV = "PATH"; // NOI18N - - private static final String CONFIG_DOORS_LOCATION = - "modules" + File.separator + // NOI18N - "DoorsIntegrationFiles" + File.separator + - "modules" + File.separator + "bin";// NOI18N - - private static final String CSCRIPT = "cscript"; // NOI18N - - private static final String CONFIG_DOORS_COMMAND = - "modules" + File.separator + // NOI18N - "DoorsIntegrationFiles" + File.separator + // NOI18N - "configDoors.vbs"; // NOI18N -} diff --git a/nbbuild/installer/components/products/nb-webcommon/build.xml b/nbbuild/installer/components/products/nb-webcommon/build.xml deleted file mode 100644 index af1328bc5d83..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/nb-webcommon/data/Bundle.properties b/nbbuild/installer/components/products/nb-webcommon/data/Bundle.properties deleted file mode 100644 index 4dfed02e6ea9..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/data/Bundle.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=HTML5/JavaScript -product.description=Tools for developing HTML5 web applications, \ -Node.js applications and Cordova applications, both on the desktop, \ -as well as with iOS and Android devices. Includes HTML5/Javascript application project type, \ -page inspector and visual CSS style editor, editors for HTML, \ -JavaScript, CSS, SASS and LESS, and a JavaScript debugger. diff --git a/nbbuild/installer/components/products/nb-webcommon/data/icon.png b/nbbuild/installer/components/products/nb-webcommon/data/icon.png deleted file mode 100644 index a8c0f8c3480d..000000000000 Binary files a/nbbuild/installer/components/products/nb-webcommon/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/nb-webcommon/manifest.mf b/nbbuild/installer/components/products/nb-webcommon/manifest.mf deleted file mode 100644 index 2d144dca2993..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.nb.webcommon.ConfigurationLogic diff --git a/nbbuild/installer/components/products/nb-webcommon/nbproject/build-impl.xml b/nbbuild/installer/components/products/nb-webcommon/nbproject/build-impl.xml deleted file mode 100644 index 9fa70b3cde5c..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/nbproject/build-impl.xml +++ /dev/null @@ -1,1409 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/nb-webcommon/nbproject/genfiles.properties b/nbbuild/installer/components/products/nb-webcommon/nbproject/genfiles.properties deleted file mode 100644 index bcce966c173a..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=2f3d5c9c -build.xml.script.CRC32=817a5c35 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=7963ea73 -nbproject/build-impl.xml.script.CRC32=856f65cd -nbproject/build-impl.xml.stylesheet.CRC32=6ddba6b6@1.54.0.46 diff --git a/nbbuild/installer/components/products/nb-webcommon/nbproject/project.properties b/nbbuild/installer/components/products/nb-webcommon/nbproject/project.properties deleted file mode 100644 index 8e0d2b643ae3..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/nbproject/project.properties +++ /dev/null @@ -1,91 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: NetBeans Web Common -application.vendor=dlm198383 -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/nb-webcommon/nbproject/project.xml b/nbbuild/installer/components/products/nb-webcommon/nbproject/project.xml deleted file mode 100644 index c41030ed773f..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: NetBeans Web Common - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/Bundle.properties b/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/Bundle.properties deleted file mode 100644 index 661b0cba7743..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - diff --git a/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/ConfigurationLogic.java b/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/ConfigurationLogic.java deleted file mode 100644 index 529852ac4d2b..000000000000 --- a/nbbuild/installer/components/products/nb-webcommon/src/org/netbeans/installer/products/nb/webcommon/ConfigurationLogic.java +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.nb.webcommon; - -import org.netbeans.installer.product.components.NbClusterConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; - -/** - * - - */ -public class ConfigurationLogic extends NbClusterConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - private static final String WEBCOMMON_CLUSTER = - "{webcommon-cluster}"; // NOI18N - private static final String ID = - "WEBCOMMON"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - public ConfigurationLogic() throws InitializationException { - super(new String[]{ - WEBCOMMON_CLUSTER}, ID); - } -} diff --git a/nbbuild/installer/components/products/openesb/build.xml b/nbbuild/installer/components/products/openesb/build.xml deleted file mode 100644 index bf76e4db95f3..000000000000 --- a/nbbuild/installer/components/products/openesb/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/openesb/data/Bundle.properties b/nbbuild/installer/components/products/openesb/data/Bundle.properties deleted file mode 100644 index 0c9455ba497b..000000000000 --- a/nbbuild/installer/components/products/openesb/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Open ESB {display-version} -product.description=Open ESB implements an Enterprise Service Bus (ESB) runtime using Java Business Integration (JBI) as the foundation. Open ESB is an open standard, open-source product that offers a platform to build integration solutions based on service-oriented architecture (SOA). diff --git a/nbbuild/installer/components/products/openesb/data/icon.png b/nbbuild/installer/components/products/openesb/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/openesb/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/openesb/manifest.mf b/nbbuild/installer/components/products/openesb/manifest.mf deleted file mode 100644 index 416e2145a746..000000000000 --- a/nbbuild/installer/components/products/openesb/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.openesb.ConfigurationLogic diff --git a/nbbuild/installer/components/products/openesb/nbproject/build-impl.xml b/nbbuild/installer/components/products/openesb/nbproject/build-impl.xml deleted file mode 100644 index 8454f6b3961b..000000000000 --- a/nbbuild/installer/components/products/openesb/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/openesb/nbproject/genfiles.properties b/nbbuild/installer/components/products/openesb/nbproject/genfiles.properties deleted file mode 100644 index f11e71e9c50d..000000000000 --- a/nbbuild/installer/components/products/openesb/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=753bffcf -nbproject/build-impl.xml.script.CRC32=028587ac -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/openesb/nbproject/project.properties b/nbbuild/installer/components/products/openesb/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/openesb/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/openesb/nbproject/project.xml b/nbbuild/installer/components/products/openesb/nbproject/project.xml deleted file mode 100644 index 92b95412967b..000000000000 --- a/nbbuild/installer/components/products/openesb/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: OpenESB - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/Bundle.properties b/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/Bundle.properties deleted file mode 100644 index 15f868bfa9ef..000000000000 --- a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/Bundle.properties +++ /dev/null @@ -1,31 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.stop.as=Stopping the glassfish default domain -CL.install.openesb.installer=Running Open ESB installer -CL.install.jbi.core.installer=Running JBI core runtime installer -CL.uninstall.stop.as=Stopping the glassfish default domain -CL.uninstall.openesb.installer=Running Open ESB uninstaller - -CL.install.error.stop.as=Failed to stop the default glassfish domain -CL.install.error.openesb.installer=Failed to run Open ESB installer -CL.install.error.jbi.core.installer=Failed to run JBI core runtime installer -CL.uninstall.error.stop.as=Failed to stop the default glassfish domain -CL.uninstall.error.openesb.installer=Failed to run Open ESB uninstaller diff --git a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/ConfigurationLogic.java b/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/ConfigurationLogic.java deleted file mode 100644 index 067b76d7b24f..000000000000 --- a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/ConfigurationLogic.java +++ /dev/null @@ -1,201 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.openesb; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.product.dependencies.Requirement; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - "resource:" + // NOI18N - "org/netbeans/installer/products/openesb/wizard.xml"; // NOI18N - - private static final String JBI_INSTALLER = - "jbi_components_installer.jar"; // NOI18N - - private static final String JBI_CORE_INSTALLER = - "jbi-core-installer.jar"; // NOI18N - - private static final String ADDON_ID = - "jbi_components"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - final File openesbLocation = getProduct().getInstallationLocation(); - - // get the list of suitable glassfish installations - final List dependencies = - getProduct().getDependencies(Requirement.class); - - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final File glassfishLocation = sources.get(0).getInstallationLocation(); - final File jbiInstaller = new File(openesbLocation, JBI_INSTALLER); - - // resolve the dependency - dependencies.get(0).setVersionResolved(sources.get(0).getVersion()); - - // stop the default domain ////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.stop.as")); // NOI18N - - GlassFishUtils.stopDefaultDomain(glassfishLocation); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.stop.as"), // NOI18N - e); - } - - // http://www.netbeans.org/issues/show_bug.cgi?id=125358 - // run the jbi core installer first - temporary solution - /* - final File jbiCoreInstallerTemp = new File(openesbLocation, JBI_CORE_INSTALLER); - final File jbiCoreInstaller = new File(glassfishLocation, JBI_CORE_INSTALLER); - - try - { - FileUtils.moveFile(jbiCoreInstallerTemp, jbiCoreInstaller); - progress.setDetail(getString("CL.install.jbi.core.installer")); // NOI18N - final File java = GlassFishUtils.getJavaHome(glassfishLocation); - SystemUtils.executeCommand(glassfishLocation, - JavaUtils.getExecutable(java).getPath(), - "-jar", - jbiCoreInstaller.getAbsolutePath(), - glassfishLocation.getAbsolutePath(), - "install"); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.jbi.core.installer"), // NOI18N - e); - } finally { - try { - FileUtils.deleteFile(jbiCoreInstaller); - } catch (IOException e) { - LogManager.log(e); - } - } - */ - // run the openesb installer //////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.openesb.installer")); // NOI18N - - final File asadmin = GlassFishUtils.getAsadmin(glassfishLocation); - - SystemUtils.executeCommand( - asadmin.getParentFile(), - asadmin.getAbsolutePath(), - GlassFishUtils.INSTALL_ADDON_COMMAND, - jbiInstaller.getAbsolutePath()); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.openesb.installer"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public void uninstall(Progress progress) throws UninstallationException { - // get the list of suitable glassfish installations - final List dependencies = - getProduct().getDependencies(Requirement.class); - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final File glassfishLocation = sources.get(0).getInstallationLocation(); - - // stop the default domain ////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.stop.as")); // NOI18N - - GlassFishUtils.stopDefaultDomain(glassfishLocation); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.stop.as"), // NOI18N - e); - } - - // run the openesb uninstaller ////////////////////////////////////////////// - try { - progress.setDetail( - getString("CL.uninstall.openesb.installer")); // NOI18N - - final File asadmin = GlassFishUtils.getAsadmin(glassfishLocation); - - SystemUtils.executeCommand( - asadmin.getParentFile(), - asadmin.getAbsolutePath(), - GlassFishUtils.UNINSTALL_ADDON_COMMAND, - ADDON_ID); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.openesb.installer"), // NOI18N - e); - } - } - - public List getWizardComponents() { - return wizardComponents; - } - - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } -} diff --git a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/license.txt b/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/license.txt deleted file mode 100644 index 7b8589de4a58..000000000000 --- a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/license.txt +++ /dev/null @@ -1,90 +0,0 @@ -Technology Evaluation License - -READ THE TERMS OF THIS TECHNOLOGY EVALUATION LICENSE INCLUDING EXHIBIT A ("AGREEMENT") CAREFULLY BEFORE downloading technology or OPENING TECHNOLOGY MEDIA PACKAGE. BY OPENING TECHNOLOGY MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING TECHNOLOGY ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED TECHNOLOGY TO SUN OR, IF TECHNOLOGY IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR EQUIVALENT) BUTTON AT THE END OF THIS AGREEMENT. - -The Agreement is made between Sun Microsystems, Inc., a Delaware corporation with its address at 4150 Network Circle, Santa Clara, CA 95054 ("Sun"), and the individual, corporation, partnership or other legal entity receiving the Technology ("Licensee"). The parties agree as follows: - -I. EXHIBIT A: - -Effective Date: The date Licensee receives the Technology. - -Technology: Open ESB. - -Version: 2 Preview 3. - -The Technology is Pre-Release Technology. - -Permitted Number of Copies: Unlimited. - -Evaluation Period: One Hundred Eighty (180) days. - -Feedback Frequency: Licensee will provide feedback to the individual or alias specified by Sun and at the frequency requested by Sun. - -II. Technology Evaluation License - -1 DEFINITIONS. -1.1 "Binary Technology" means program code provided to Licensee by Sun in machine readable format. Binary Technology includes available related documentation. -1.2 "Confidential Information" means (a) with respect to Licensee, information disclosed by Licensee to Sun about the performance or interoperability of Licensee's products with the Technology that, if written, is clearly identified in writing as confidential, and if oral, is identified as confidential at the time of disclosure and followed by a written summary of the information within 30 days after disclosure, but in any case, excludes Feedback (collectively "Licensee Confidential Information"), and (b) with respect to Sun: (i) information that Sun discloses to Licensee related to the Technology; (ii) the Technology (including the capabilities, features and existence of the Technology); (iii) any Feedback; (iv) any notes, extracts, analyses, or materials prepared by Licensee which are copies of or derivative works of the Technology, or from which the capabilities, features or existence of the Technology can be derived; and (v) the terms of this Agreement (collectively "Sun Confidential Information"). -1.3 "Feedback" means all test results, error data, reports or other information or materials made or other information or materials made or provided to Sun by or on behalf of Licensee relating to the Technology, and all comments, suggestions, enhancements, and any other forms of feedback that Licensee may provide to Sun in the course of discussion, evaluation or exchange of Sun Confidential Information under this Agreement. -1.4 "Intellectual Property Rights" means worldwide common law and statutory rights associated with: (i) patents and patent applications; (ii) works of authorship, including mask work rights, copyrights, and moral rights; (iii) protection of trade and industrial secrets and confidential information; (iv) other proprietary rights relating to intangible intellectual property (specifically excluding Sun Trademarks); and (v) divisions, continuations, renewals, reissuances, and extensions of the rights set forth above (as applicable). -1.5 "Licensed Software" means software in binary or source code forms, including all machine readable materials, user manuals, programming guides and other documentation, as provided to Licensee by Sun under Exhibit A. -1.6 "Licensors" means Sun licensors that have licensed third party code to Sun that is included in Technology. -1.7 "Pre-Release Technology" means all technology designated as Pre-Release in Exhibit A. -1.8 "Source Technology" means program code provided to Licensee by Sun in high-level computer language readable by humans skilled in the language. Source Technology includes available related documentation and tools, including comments, internal development tools and build environments. -1.9 "Sun Confidential Information" means: (i) information that Sun discloses to Licensee related to the Technology or marked as confidential and disclosed under this Agreement; (ii) the Technology (including the capabilities, features and existence of the Technology); (iii) any Feedback; (iv) any notes, extracts, analyses, or materials prepared by Licensee which are copies of or derivative works of the Technology, or from which the capabilities, features or existence of the Technology can be derived; and (v) the terms of this Agreement. -1.10 "Sun Trademarks" means all names, marks, logos, designs, trade dress and other brand designations used by Sun. -1.11 "Technology" means all technology described in Exhibit A and provided to Licensee by Sun under Agreement, including without limitation, Licensed Software, documentation, Updates, and test suites. -1.12 "Updates" means subsequent releases, enhancements or error corrections for the Technology as Sun may provide to Licensee from time to time under this Agreement. - -2 LIMITED LICENSES. Subject to and conditioned upon Licensee's compliance with the conditions and restrictions set forth in this Agreement, Sun grants to Licensee a personal, non-exclusive, non-transferable, royalty-free and limited license to view the Source Technology, if any, and to use other portions of the Technology (including Binary Technology) internally solely for the purpose of evaluation during the term of this Agreement. - -3 RESTRICTIONS. -3.1 No license under this Agreement is granted to Licensee for any purpose not specifically set forth in Section 2 (Limited Licenses) of this Agreement. Except as otherwise provided by law, Licensee is not authorized to modify, make derivative works of, disclose, distribute, reverse engineer or disassemble the Technology, decompile binary portions of the Technology, or otherwise attempt to derive source code from such portions, or transfer the Technology to any third party or use it in development activities. -3.2 Licensee shall have no right to use the Technology for commercial uses or in a production environment. -3.3 Licensee may copy and use the number of copies of Licensed Software as authorized in Exhibit A and make one (1) additional copy for backup purposes only, provided that Licensee reproduces all copyright and other notices appearing on or in the Licensed Software on any such copy. -3.4 Except as expressly provided in Section 2 ("Limited Licenses") of this Agreement, no right, title, or interest in or to the Technology or any Sun Trademarks is granted under this Agreement. Sun retains all right, title and interest, including associated Intellectual Property Rights, in and to the Technology, any Sun Trademarks, and any modifications, improvements or enhancements to the Technology. -3.5 If the Technology is delivered with embedded or bundled software that enables functionality of the Technology ("Embedded Technology"), then Licensee may use such Embedded Technology only in conjunction with the Technology and subject to applicable terms and conditions associated with such Embedded Technology. -3.6 Portions of Licensed Software may be provided with notices and open source licenses from communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations Licensee may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Licensed Software. - -4 NO SUPPORT. -Sun is under no obligation to support the Technology or to provide Licensee with Updates unless otherwise agreed by an authorized representative of Sun in writing. If Sun, at its sole option, supplies Updates to Licensee, the Updates will be considered part of the Technology, and subject to the terms of this Agreement. - -5 LICENSEE DUTIES. -5.1 Pre-Release Technology. If the Technology provided is Pre-Release Technology as designated in Exhibit A, then Licensee agrees to evaluate and test the Technology. Licensee shall supply Sun with Feedback as reasonably requested by Sun, but no more frequently than weekly unless otherwise agreed by the parties in writing. Feedback is the exclusive property of Sun. Licensee hereby agrees to and assigns all right, title and interest it may have in such Feedback, including, without limitation, modifications, improvements, and enhancements to the Technology, to Sun at no cost. -5.2 Delivery of the Technology to Licensee will be at Licensee's cost unless otherwise specified by Sun, subject to availability as determined solely by Sun. Licensee assumes all risk of loss or damage upon shipment of the Technology by Sun. Unless otherwise set forth in Exhibit A, Licensee will be responsible for installing the Technology. - -6 TERM AND TERMINATION. -6.1 This Agreement will commence on the Effective Date and will continue for the term set forth in Exhibit A (the "Evaluation Period"), unless terminated earlier in accordance with this Section 6. If no Evaluation Period is specified in Exhibit A, then the Evaluation Period shall equal (i) ninety (90) days commencing on the Effective Date. -6.2 Either party may terminate this Agreement without cause upon ten (10) days' written notice to the other party. In addition, Sun may terminate this Agreement immediately with written notice if (i) any Technology becomes, or in Sun's opinion is likely to become, the subject of a claim of infringement or misappropriation of any Intellectual Property Right; (ii) Licensee breaches any of its obligations under this Agreement; (iii) Licensee takes any action in derogation of Sun's rights to Sun Confidential Information; or (iv) Licensee infringes or challenges the validity of any Sun Intellectual Property Rights. -6.3 Upon termination or expiration of this Agreement, Licensee will immediately cease using the corresponding Technology. Licensee will immediately destroy any and all Licensed Software and any copies of Licensed Software and provide Sun a written statement by Licensee's authorized representative certifying that Licensee has complied with these obligations. -6.4 Rights and obligations under this Agreement that by their nature should survive will remain in effect after termination or expiration of this Agreement. - -7 CONFIDENTIAL INFORMATION. -7.1 Neither party may disclose or use the other party's Confidential Information except for the purposes specified in this Agreement. Each party will protect the confidentiality of the other party's Confidential Information to the same degree of care, but no less than reasonable care, as the party uses to protect its own confidential information. Each party's obligations regarding the other party's Confidential Information will expire five (5) years from the date of receipt of such Confidential Information, except for Sun source code which will be protected in perpetuity. Licensee agrees and acknowledges that the Technology contains trade secrets of Sun. -7.2 The receiving party will not be obligated to protect Confidential Information that the receiving party can clearly demonstrate in writing is: (i) through no act or failure to act on the part of the receiving party is known or becomes known to the general public; (ii) known to the receiving party without an obligation of confidentiality at the time of receiving the Confidential Information; (iii) rightfully furnished, after the Effective Date, to the receiving party by a third party without restriction on disclosure; or (iv) independently developed by the receiving party without any use of the other party's Confidential Information. -7.3 The receiving party may disclose the other party's Confidential Information pursuant to statute, regulation, or the order of a court of competent jurisdiction, provided that the receiving party provides the other party with prior notice and cooperates with the other party in taking appropriate protective measures. -7.4 The receiving party will restrict access to the other party's Confidential Information to those of the receiving party's employees or subcontractors who require access in order to perform their employment duties or to perform the party's contractual obligations under this Agreement, and who have agreed in writing to be bound by confidentiality obligations at least as protective as those set forth in this Agreement. - -8 DISCLAIMER OF WARRANTY. -8.1 Licensee acknowledges that the Technology is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. -8.2 THE TECHNOLOGY AND CONFIDENTIAL INFORMATION ARE PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND. ALL EXPRESS AND IMPLIED CONDITIONS, REPRESENTATIONS, AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR ANY WARRANTY OF NON-INFRINGEMENT, ARE DISCLAIMED, TO THE FULLEST EXTENT PERMITTED BY LAW. - -9 LIMITATION OF LIABILITY. -9.1 Licensee acknowledges that the Technology may be experimental. Licensee further acknowledges that the Technology may have defects or deficiencies that cannot or will not be corrected by Sun. Licensee will indemnify and hold Sun harmless from any claims based on Licensee's use of the Technology for any purpose, and from any claims that later Updates furnished to Licensee are incompatible with the Technology provided to Licensee under this Agreement. Neither Sun nor its Licensors are under any obligation to release a commercial version of the Technology. -9.2 Licensee acknowledges that the Technology may not have been approved by the United States Federal Communications Commission, any other governmental agency, or any test laboratory (for example without limitation, Underwriter's Laboratories, and TUV). -9.3 NEITHER Sun nor any of its licensors will be liable for any indirect, punitive, special, incidental or consequential damages in connection with or arising out of this Agreement (including loss of business, revenue, profits, goodwill, use, data, electronically transmitted communications or other economic advantage), however they arise, whether for breach of contract, breach of warranty or in tort, including negligence, and even if that party has previously been advised of the possibility of such damages AND WHETHER OR NOT SUCH DAMAGES ARE FORESEEABLE. In no event will Sun's aggregate liability to Licensee for all claims under this Agreement, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by Licensee for the Technology under this Agreement. -9.4 Liability for damages will be limited and excluded as set forth above even if any exclusive remedy provided in this Agreement fails of its essential purpose. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you. - -10 U.S. GOVERNMENT RIGHTS. -The Technology is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), and may consist of "commercial computer software" (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Technology with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this Agreement. - -11 GENERAL. -11.1 All disputes will be governed by California law and controlling U.S. federal law. The venue for litigation will be the appropriate courts located in Santa Clara County, California. The parties agree that the Federal District Court for the Northern District of California shall have exclusive jurisdiction over any dispute involving exclusively federal causes of action. That court and the California state courts in Santa Clara County, California shall have exclusive jurisdiction over all other disputes. The parties hereby submit to the personal jurisdiction of those courts. Choice of law rules of any jurisdiction and the United Nations Convention on Contracts for the International Sale of Goods will not apply to the Agreement or any dispute arising out of or related to this Agreement. -11.2 Licensee agrees that the Technology and technical data delivered under this Agreement are subject to U.S. export laws (including but not limited to the Export Administration Regulations ("EAR": 15 C.F.R. Parts 730-774)) and applicable trade laws of other countries. Licensee agrees to strictly comply with all such laws and assumes responsibility to obtain licenses to export, re-export, or import as may be required. Unless authorized by United States export laws, Licensee agrees that (i) no Technology or technical data or direct product therefrom is being or will be acquired for, shipment, transfer, or re-export, directly or indirectly, to: a) any country subject to U.S. Embargo or terrorist controls or b) a country and its nationals in Country Group D:1 as listed in Part 740 Supplement 1 of the EAR; (ii) Licensee nor any party to whom Technology and technical data are transferred is not identified on any U.S. Government export exclusion lists; and (iii) Technology and technical data will not be used for nuclear, missile, chemical biological weaponry, or other weapons of mass destruction. These obligations shall survive expiration or termination of this Agreement. -11.3 Any express waiver or failure to exercise promptly any right under this Agreement will not create a continuing waiver or any expectation on non-enforcement. To be enforceable, a waiver must be in writing and signed by an authorized representative of the waiving party. -11.4 It is understood and agreed that, notwithstanding any other provision of this Agreement, Licensee's breach of Sections 2.0 (Limited Licenses), 3.0 (Restrictions), 6.0 (Term and Termination), and/or 7.0 (Confidential Information) of this Agreement will cause Sun irreparable damage for which recovery of money damages would be inadequate, and that Sun will therefore be entitled to seek injunctive relief to protect Sun's rights under this Agreement, without posting bond or other security, in addition to any and all other remedies available under this Agreement, at law, and in equity. -11.5 Neither party may assign or otherwise transfer any of its rights or obligations under this Agreement (whether by operation of law or otherwise), without the prior written consent of the other party, except that Sun may assign this Agreement to an affiliated company without such consent. -11.6 If any term or provision of this Agreement is found to be invalid under any applicable statute or rule of law, such provision shall be enforced to the maximum extent permissible to effect the intent of the parties, and the remainder of this Agreement shall continue in full force and effect. -11.7 No modification to this Agreement will be binding, unless in writing and manually signed by an authorized representative of each party. -11.8 This Agreement, constitutes the parties' entire agreement relating to its subject matter. It cancels and supersedes all prior and contemporaneous oral and written communications, proposals, conditions, representations and warranties and prevails over any conflicting or additional terms contained in any quote, purchase order, acknowledgment, or other communication between the parties relating to its subject matter during its term, including but not limited to terms of any Binary Code Licenses, Supplemental Terms, or other standard licenses accompanying the Technology. - diff --git a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/wizard.xml b/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/wizard.xml deleted file mode 100644 index 700aa930808e..000000000000 --- a/nbbuild/installer/components/products/openesb/src/org/netbeans/installer/products/openesb/wizard.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - {server-uid} - addons - - - diff --git a/nbbuild/installer/components/products/portletcontainer/build.xml b/nbbuild/installer/components/products/portletcontainer/build.xml deleted file mode 100644 index c54a369b01d1..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/portletcontainer/data/Bundle.properties b/nbbuild/installer/components/products/portletcontainer/data/Bundle.properties deleted file mode 100644 index 79a02dac7567..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Portlet Container {display-version} -product.description=The Portlet Container {display-version} provides the implementation of the Java Portlet Specification 2.0(JSR 286), which is the next version of Java Portlet Specification 1.0(JSR 168). JSR 286 adds features like Eventing, Public render parameters, Resource Serving and Portlet filter. Portlet Container {display-version} also provides a portlet driver, a lightweight portlet rendering environment. diff --git a/nbbuild/installer/components/products/portletcontainer/data/icon.png b/nbbuild/installer/components/products/portletcontainer/data/icon.png deleted file mode 100644 index dc2d89b49d04..000000000000 Binary files a/nbbuild/installer/components/products/portletcontainer/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/portletcontainer/manifest.mf b/nbbuild/installer/components/products/portletcontainer/manifest.mf deleted file mode 100644 index 09494fb1fe15..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.portletcontainer.ConfigurationLogic diff --git a/nbbuild/installer/components/products/portletcontainer/nbproject/build-impl.xml b/nbbuild/installer/components/products/portletcontainer/nbproject/build-impl.xml deleted file mode 100644 index ad5342d16c9d..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/nbproject/build-impl.xml +++ /dev/null @@ -1,623 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - Platform is not correctly set up - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/portletcontainer/nbproject/genfiles.properties b/nbbuild/installer/components/products/portletcontainer/nbproject/genfiles.properties deleted file mode 100644 index 65041c841ae7..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=99100f38 -build.xml.script.CRC32=a8c7ebf2 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=2e4c070a -nbproject/build-impl.xml.script.CRC32=fc44c7ff -nbproject/build-impl.xml.stylesheet.CRC32=a6c60f5c diff --git a/nbbuild/installer/components/products/portletcontainer/nbproject/project.properties b/nbbuild/installer/components/products/portletcontainer/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/portletcontainer/nbproject/project.xml b/nbbuild/installer/components/products/portletcontainer/nbproject/project.xml deleted file mode 100644 index b5ce92bcb57e..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Portlet Container - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/Bundle.properties b/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/Bundle.properties deleted file mode 100644 index 1b95b89f44e6..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/Bundle.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.stop.as=Stopping the application server default domain -CL.install.portletcontainer.installer=Running Portlet Container installer -CL.install.error.stop.as=Failed to stop the application server default domain -CL.install.error.portletcontainer.installer=Failed to run Portlet Container installer diff --git a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/ConfigurationLogic.java b/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/ConfigurationLogic.java deleted file mode 100644 index 595537fccaa4..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/ConfigurationLogic.java +++ /dev/null @@ -1,152 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.portletcontainer; - -import java.io.File; -import java.io.IOException; -import java.util.List; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.product.dependencies.Requirement; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Dependency; -import org.netbeans.installer.utils.helper.RemovalMode; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/portletcontainer/wizard.xml"; // NOI18N - - private static final String PC_INSTALLER = - "portlet-container-configurator.jar"; // NOI18N - - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install(Progress progress) throws InstallationException { - final File pcLocation = getProduct().getInstallationLocation(); - - // get the list of suitable glassfish installations - final List dependencies = - getProduct().getDependencies(Requirement.class); - final List sources = - Registry.getInstance().getProducts(dependencies.get(0)); - - // pick the first one and integrate with it - final File asLocation = sources.get(0).getInstallationLocation(); - final File pcInstaller = new File(pcLocation, PC_INSTALLER); - - // resolve the dependency - dependencies.get(0).setVersionResolved(sources.get(0).getVersion()); - /* - // stop the default domain ////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.stop.as")); // NOI18N - - GlassFishUtils.stopDefaultDomain(asLocation); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.stop.as"), // NOI18N - e); - } - - // run the pc installer //////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.portletcontainer.installer")); // NOI18N - - File javaExecutable = JavaUtils.getExecutable( - GlassFishUtils.getJavaHome(asLocation)); - - SystemUtils.executeCommand(asLocation, - javaExecutable.getAbsolutePath(), - "-jar", - pcInstaller.getAbsolutePath(), - asLocation.getAbsolutePath(), - asLocation.getAbsolutePath() + File.separator + - "domains" + File.separator + - GlassFishUtils.DEFAULT_DOMAIN); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.portletcontainer.installer"), // NOI18N - e); - } - */ - try { - progress.setDetail(getString("CL.install.portletcontainer.installer")); // NOI18N - final File targetFile = new File(asLocation, - "lib" + File.separator + "addons" + File.separator + PC_INSTALLER); - FileUtils.copyFile(pcInstaller, targetFile); - getProduct().getInstalledFiles().add(targetFile); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.portletcontainer.installer"), // NOI18N - e); - } - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public void uninstall(final Progress progress) throws UninstallationException { - progress.setPercentage(Progress.COMPLETE); - } - - public List getWizardComponents() { - return wizardComponents; - } - - @Override - public boolean registerInSystem() { - return false; - } - @Override - public RemovalMode getRemovalMode() { - return RemovalMode.LIST; - } - - @Override - public Text getLicense() { - return null; - } -} diff --git a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/license.txt b/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/license.txt deleted file mode 100644 index a09946d38f35..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/license.txt +++ /dev/null @@ -1,333 +0,0 @@ -Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE - -Licensee/Company: Entity receiving Software. - -Effective Date: Date of delivery of the Software to -You. - -Software: Portlet Container 1.0 - -License Term: Perpetual (subject to termination under -the SLA) - -Licensed Unit: Software Copy - -Licensed unit Count: Unlimited - -Permitted Uses: - -1. You may reproduce and use the Software for Your own -Individual, Commercial, or Research and Instructional -Use for the purposes of designing, developing, -testing, and running Your applets and application -("Programs"). - -2. Java Technology Restrictions. You may not create, -modify, or change the behavior of, or authorize your -licensees to create, modify, or change the behavior -of, classes, interfaces, or subpackages that are in -any way identified as "java", "javax", "sun" or -similar convention as specified by Sun in any naming -convention designation. - - - -Sun Microsystems, Inc. ("Sun") -SOFTWARE LICENSE AGREEMENT - -READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") -CAREFULLY BEFORE OPENING SOFTWARE MEDIA PACKAGE. BY -OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS -OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE -ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE -TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON -AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO -ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE -TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE -IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR -"EXIT") BUTTON AT THE END OF THIS AGREEMENT. IF YOU -HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER -TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN -SECTIONS 1-6 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE -TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER -TERMS IN RELATION TO THIS SOFTWARE. - -1. Definitions. - -(a) "Entitlement" means the collective set of -applicable documents authorized by Sun evidencing your -obligation to pay associated fees (if any) for the -license, associated Services, and the authorized scope -of use of Software under this Agreement. - -(b) "Licensed Unit" means the unit of measure by -which your use of Software and/or Service is licensed, -as described in your Entitlement. - -(c) "Permitted Use" means the licensed Software -use(s) authorized in this Agreement as specified in -your Entitlement. The Permitted Use for any bundled -Sun software not specified in your Entitlement will be -evaluation use as provided in Section 3. - -(d) "Service" means the service(s) that Sun or its -delegate will provide, if any, as selected in your -Entitlement and as further described in the applicable -service listings at www.sun.com/service/servicelist. - -(e) "Software" means the Sun software described in -your Entitlement. Also, certain software may be -included for evaluation use under Section 3. - -(f) "You" and "Your" means the individual or legal -entity specified in the Entitlement, or for evaluation -purposes, the entity performing the evaluation. - -2. License Grant and Entitlement. - -Subject to the terms of your Entitlement, Sun grants -you a nonexclusive, nontransferable limited license to -use Software for its Permitted Use for the license -term. Your Entitlement will specify (a) Software -licensed, (b) the Permitted Use, (c) the license term, -and (d) the Licensed Units. - -Additionally, if your Entitlement includes Services, -then it will also specify the (e) Service and (f) -service term. - -If your rights to Software or Services are limited in -duration and the date such rights begin is other than -the purchase date, your Entitlement will provide that -beginning date(s). - -The Entitlement may be delivered to you in various -ways depending on the manner in which you obtain -Software and Services, for example, the Entitlement -may be provided in your receipt, invoice or your -contract with Sun or authorized Sun reseller. It may -also be in electronic format if you download Software. - -3. Permitted Use. - -As selected in your Entitlement, one or more of the -following Permitted Uses will apply to your use of -Software. Unless you have an Entitlement that -expressly permits it, you may not use Software for any -of the other Permitted Uses. If you don't have an -Entitlement, or if your Entitlement doesn't cover -additional software delivered to you, then such -software is for your Evaluation Use. - -(a) Evaluation Use. You may evaluate Software -internally for a period of 90 days from your first -use. - -(b) Research and Instructional Use. You may use -Software internally to design, develop and test, and -also to provide instruction on such uses. - -(c) Individual Use. You may use Software internally -for personal, individual use. - -(d) Commercial Use. You may use Software internally -for your own commercial purposes. - -(e) Service Provider Use. You may make Software -functionality accessible (but not by providing -Software itself or through outsourcing services) to -your end users in an extranet deployment, but not to -your affiliated companies or to government agencies. - -4. Licensed Units. - -Your Permitted Use is limited to the number of -Licensed Units stated in your Entitlement. If you -require additional Licensed Units, you will need -additional Entitlement(s). - -5. Restrictions. - -(a) The copies of Software provided to you under this -Agreement are licensed, not sold, to you by Sun. Sun -reserves all rights not expressly granted. (b) You may -make a single archival copy of Software, but otherwise -may not copy, modify, or distribute Software. However -if the Sun documentation accompanying Software lists -specific portions of Software, such as header files, -class libraries, reference source code, and/or -redistributable files, that may be handled -differently, you may do so only as provided in the Sun -documentation. (c) You may not rent, lease, lend or -encumber Software. (d) Unless enforcement is -prohibited by applicable law, you may not decompile, -or reverse engineer Software. (e) The terms and -conditions of this Agreement will apply to any -Software updates, provided to you at Sun's discretion, -that replace and/or supplement the original Software, -unless such update contains a separate license. (f) -You may not publish or provide the results of any -benchmark or comparison tests run on Software to any -third party without the prior written consent of Sun. -(g) Software is confidential and copyrighted. (h) -Unless otherwise specified, if Software is delivered -with embedded or bundled software that enables -functionality of Software, you may not use such -software on a stand-alone basis or use any portion of -such software to interoperate with any program(s) -other than Software. (i) Software may contain programs -that perform automated collection of system data -and/or automated software updating services. System -data collected through such programs may be used by -Sun, its subcontractors, and its service delivery -partners for the purpose of providing you with remote -system services and/or improving Sun's software and -systems. (j) Software is not designed, licensed or -intended for use in the design, construction, -operation or maintenance of any nuclear facility and -Sun and its licensors disclaim any express or implied -warranty of fitness for such uses. (k) No right, title -or interest in or to any trademark, service mark, logo -or trade name of Sun or its licensors is granted under -this Agreement. - -6. Term and Termination. - -The license and service term are set forth in your -Entitlement(s). Your rights under this Agreement will -terminate immediately without notice from Sun if you -materially breach it or take any action in derogation -of Sun's and/or its licensors' rights to Software. Sun -may terminate this Agreement should any Software -become, or in Sun's reasonable opinion likely to -become, the subject of a claim of intellectual -property infringement or trade secret -misappropriation. Upon termination, you will cease use -of, and destroy, Software and confirm compliance in -writing to Sun. Sections 1, 5, 6, 7, and 9-15 will -survive termination of the Agreement. - -7. Java Compatibility and Open Source. - -Software may contain Java technology. You may not -create additional classes to, or modifications of, the -Java technology, except under compatibility -requirements available under a separate agreement -available at www.java.net. - -Sun supports and benefits from the global community of -open source developers, and thanks the community for -its important contributions and open standards-based -technology, which Sun has adopted into many of its -products. - -Please note that portions of Software may be provided -with notices and open source licenses from such -communities and third parties that govern the use of -those portions, and any licenses granted hereunder do -not alter any rights and obligations you may have -under such open source licenses, however, the -disclaimer of warranty and limitation of liability -provisions in this Agreement will apply to all -Software in this distribution. - -8. Limited Warranty. - -Sun warrants to you that for a period of 90 days from -the date of purchase, as evidenced by a copy of the -receipt, the media on which Software is furnished (if -any) will be free of defects in materials and -workmanship under normal use. Except for the -foregoing, Software is provided "AS IS". Your -exclusive remedy and Sun's entire liability under this -limited warranty will be at Sun's option to replace -Software media or refund the fee paid for Software. -Some states do not allow limitations on certain -implied warranties, so the above may not apply to you. -This limited warranty gives you specific legal rights. -You may have others, which vary from state to state. - -9. Disclaimer of Warranty. - -UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR -IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, -INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT -ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE -DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. - -10. Limitation of Liability. - -TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL -SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, -PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, -CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER -CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING -OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE -SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. In no event will Sun's -liability to you, whether in contract, tort (including -negligence), or otherwise, exceed the amount paid by -you for Software under this Agreement. The foregoing -limitations will apply even if the above stated -warranty fails of its essential purpose. Some states -do not allow the exclusion of incidental or -consequential damages, so some of the terms above may -not be applicable to you. - -11. Export Regulations. - -All Software, documents, technical data, and any other -materials delivered under this Agreement are subject -to U.S. export control laws and may be subject to -export or import regulations in other countries. You -agree to comply strictly with these laws and -regulations and acknowledge that you have the -responsibility to obtain any licenses to export, -re-export, or import as may be required after delivery -to you. - -12. U.S. Government Restricted Rights. - -If Software is being acquired by or on behalf of the -U.S. Government or by a U.S. Government prime -contractor or subcontractor (at any tier), then the -Government's rights in Software and accompanying -documentation will be only as set forth in this -Agreement; this is in accordance with 48 CFR 227.7201 -through 227.7202-4 (for Department of Defense (DOD) -acquisitions) and with 48 CFR 2.101 and 12.212 (for -non-DOD acquisitions). - -13. Governing Law. - -Any action related to this Agreement will be governed -by California law and controlling U.S. federal law. No -choice of law rules of any jurisdiction will apply. - -14. Severability. - -If any provision of this Agreement is held to be -unenforceable, this Agreement will remain in effect -with the provision omitted, unless omission would -frustrate the intent of the parties, in which case -this Agreement will immediately terminate. - -15. Integration. - -This Agreement, including any terms contained in your -Entitlement, is the entire agreement between you and -Sun relating to its subject matter. It supersedes all -prior or contemporaneous oral or written -communications, proposals, representations and -warranties and prevails over any conflicting or -additional terms of any quote, order, acknowledgment, -or other communication between the parties relating to -its subject matter during the term of this Agreement. -No modification of this Agreement will be binding, -unless in writing and signed by an authorized -representative of each party. - -Please contact Sun Microsystems, Inc. 4150 Network -Circle, Santa Clara, California 95054 if you have -questions. \ No newline at end of file diff --git a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/wizard.xml b/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/wizard.xml deleted file mode 100644 index 0c1bb1edc38b..000000000000 --- a/nbbuild/installer/components/products/portletcontainer/src/org/netbeans/installer/products/portletcontainer/wizard.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - sjsas - addons - - - diff --git a/nbbuild/installer/components/products/sjsas/build.xml b/nbbuild/installer/components/products/sjsas/build.xml deleted file mode 100644 index 5dc267b8176e..000000000000 --- a/nbbuild/installer/components/products/sjsas/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/sjsas/catalog.xml b/nbbuild/installer/components/products/sjsas/catalog.xml deleted file mode 100644 index a0eb9fbf8cd5..000000000000 --- a/nbbuild/installer/components/products/sjsas/catalog.xml +++ /dev/null @@ -1,20 +0,0 @@ - diff --git a/nbbuild/installer/components/products/sjsas/data/Bundle.properties b/nbbuild/installer/components/products/sjsas/data/Bundle.properties deleted file mode 100644 index b900a3fa69cb..000000000000 --- a/nbbuild/installer/components/products/sjsas/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Sun GlassFish Enterprise Server {display-version} -product.description=The Sun GlassFish Enterprise Server {display-version} is a Java EE 5 platform-compatible server for the development and deployment of Java EE applications and Java technology-based web services in large-scale production environments. diff --git a/nbbuild/installer/components/products/sjsas/data/icon.png b/nbbuild/installer/components/products/sjsas/data/icon.png deleted file mode 100644 index 3adb98c77a76..000000000000 Binary files a/nbbuild/installer/components/products/sjsas/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/sjsas/manifest.mf b/nbbuild/installer/components/products/sjsas/manifest.mf deleted file mode 100644 index 215a1b061e1a..000000000000 --- a/nbbuild/installer/components/products/sjsas/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.sjsas.ConfigurationLogic diff --git a/nbbuild/installer/components/products/sjsas/nbproject/build-impl.xml b/nbbuild/installer/components/products/sjsas/nbproject/build-impl.xml deleted file mode 100644 index 2a47e0e9e287..000000000000 --- a/nbbuild/installer/components/products/sjsas/nbproject/build-impl.xml +++ /dev/null @@ -1,679 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - ${platform.java} -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/sjsas/nbproject/genfiles.properties b/nbbuild/installer/components/products/sjsas/nbproject/genfiles.properties deleted file mode 100644 index 2e5330dcd80a..000000000000 --- a/nbbuild/installer/components/products/sjsas/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=d2699649 -build.xml.script.CRC32=9eebca4d -build.xml.stylesheet.CRC32=a12b3d02 -# 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=2efe2c75 -nbproject/build-impl.xml.script.CRC32=15eaeb48 -nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 diff --git a/nbbuild/installer/components/products/sjsas/nbproject/project.properties b/nbbuild/installer/components/products/sjsas/nbproject/project.properties deleted file mode 100644 index 1741d0117a95..000000000000 --- a/nbbuild/installer/components/products/sjsas/nbproject/project.properties +++ /dev/null @@ -1,80 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -platform.active=JDK_1.5 -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/sjsas/nbproject/project.xml b/nbbuild/installer/components/products/sjsas/nbproject/project.xml deleted file mode 100644 index 9fec2bc21b14..000000000000 --- a/nbbuild/installer/components/products/sjsas/nbproject/project.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Sun Java System Application Server - 1.6.5 - - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/Bundle.properties b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/Bundle.properties deleted file mode 100644 index 28af2b1620e9..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/Bundle.properties +++ /dev/null @@ -1,62 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.replace.tokens=Creating configuration files from templates -CL.install.irrelevant.files=Removing files irrelevant to the current platform -CL.install.files.permissions=Correcting files permissions -CL.install.create.domain=Creating the default domain -CL.install.extra.files=Adding some extra files to the installed files list -CL.install.ide.integration=Integrating Application Server {display-version} with existing NetBeans IDEs -CL.install.shortcuts.creation=Creating Application Server shortcuts - - -CL.start.menu.as.relative=Sun Microsystems/Application Server {display-version} -CL.start.menu.as.about=About Application Server {display-version} -CL.start.menu.as.quick.start=Quick Start Guide -CL.start.menu.as.javaee.documentation=Online Documentation -CL.start.menu.as.admin.console=Admin Console -CL.start.menu.as.start.domain=Start Default Server -CL.start.menu.as.start.derby=Start Java DB -CL.start.menu.as.stop.domain=Stop Default Server -CL.start.menu.as.stop.derby=Stop Java DB -CL.start.menu.as.samples=Sample Applications - - -CL.uninstall.ide.integration=Removing Application Server {display-version} integration from NetBeans IDEs -CL.uninstall.delete.domain=Deleting the default domain -CL.uninstall.shortcuts.delete=Removing Application Server {display-version} shortcuts -CL.uninstall.stop.derby=Stopping Java DB - - -CL.install.error.replace.tokens=Failed to create configuration files from templates -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files -CL.install.error.files.permissions=Cannot completely correct files permissions -CL.install.error.create.domain=Failed to create the default domain -CL.install.error.extra.files=Failed to add extra files to the installed files list -CL.install.error.ide.integration=Failed to integrate Application Server {display-version} with existing NetBeans IDEs -CL.install.error.shortcuts.creation=Failed to create Application Server shortcuts -CL.install.error.legal.creation=Failed to create Legal files - -CL.uninstall.error.ide.integration=Failed to remove Application Server {display-version} integration from NetBeans IDEs -CL.uninstall.error.delete.domain=Failed to delete the default domain -CL.uninstall.error.shortcuts.delete=Failed to remove Application Server shortcuts -CL.uninstall.error.stop.derby=Failed to stop Java DB -#NOI18N -CL.as.javaee.docs.url=http://java.sun.com/javaee/5/docs/ diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/ConfigurationLogic.java b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/ConfigurationLogic.java deleted file mode 100644 index 9dc8ece4c087..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/ConfigurationLogic.java +++ /dev/null @@ -1,752 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.sjsas; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.NativeException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.system.shortcut.FileShortcut; -import org.netbeans.installer.utils.system.shortcut.LocationType; -import org.netbeans.installer.utils.system.shortcut.Shortcut; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.products.sjsas.wizard.panels.ASPanel; -import org.netbeans.installer.utils.FileProxy; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.helper.Text; -import org.netbeans.installer.utils.applications.JavaUtils.JavaInfo; - - -/** - * - - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - // constructor ////////////////////////////////////////////////////////////////// - public ConfigurationLogic( - ) throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - // configuration logic implementation /////////////////////////////////////////// - public void install( - final Progress progress) throws InstallationException { - final File directory = getProduct().getInstallationLocation(); - - final String username = getProperty(ASPanel.USERNAME_PROPERTY); - final String password = getProperty(ASPanel.PASSWORD_PROPERTY); - final String httpPort = getProperty(ASPanel.HTTP_PORT_PROPERTY); - final String httpsPort = getProperty(ASPanel.HTTPS_PORT_PROPERTY); - final String adminPort = getProperty(ASPanel.ADMIN_PORT_PROPERTY); - - final File javaHome = - new File(getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY)); - JavaInfo info = JavaUtils.getInfo(javaHome); - LogManager.log("Using the following JDK for AppServer configuration : "); - LogManager.log("... path : " + javaHome); - LogManager.log("... version : " + info.getVersion().toJdkStyle()); - LogManager.log("... vendor : " + info.getVendor()); - LogManager.log("... final : " + (!info.isNonFinal())); - - final FilesList list = getProduct().getInstalledFiles(); - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.replace.tokens")); // NOI18N - - final Map map = new HashMap(); - - map.put(INSTALL_HOME_TOKEN, directory); - map.put(INSTALL_HOME_F_TOKEN, directory.getPath().replace(StringUtils.BACK_SLASH, StringUtils.FORWARD_SLASH)); - - map.put(JAVA_HOME_TOKEN, javaHome); - map.put(JAVA_HOME_F_TOKEN, javaHome.getPath().replace(StringUtils.BACK_SLASH, StringUtils.FORWARD_SLASH)); - - map.put(HOST_NAME_TOKEN, SystemUtils.getHostName()); - map.put(ADMIN_USERNAME_TOKEN, username); - map.put(HTTP_PORT_TOKEN,httpPort); - map.put(ADMIN_PORT_TOKEN,adminPort); - - FileUtils.modifyFile(new File(directory, BIN_SUBDIR), map); - FileUtils.modifyFile(new File(directory, CONFIG_SUBDIR), map); - FileUtils.modifyFile(new File(directory, DOCS_SUBDIR), map); - FileUtils.modifyFile(new File(directory, IMQ_SUBDIR), map); - FileUtils.modifyFile(new File(directory, JBI_SUBDIR), map); - FileUtils.modifyFile(new File(directory, DERBY_SUBDIR), map); - FileUtils.modifyFile(new File(directory, SAMPLES_SUBDIR), map); - FileUtils.modifyFile(new File(directory, BLUEPRINTS_SUBDIR), map); - FileUtils.modifyFile(new File(directory, UC_BIN_SUBDIR), map); - //ping UC on Tuesdays - map.put("never", "TUE");//NOI18N - FileUtils.modifyFile(new File(directory, UC_CONFIG_SUBDIR), map); - - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.replace.tokens"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.install.irrelevant.files")); // NOI18N - // - // SystemUtils.removeIrrelevantFiles(directory); - //} catch (IOException e) { - // throw new InstallationException( - // getString("CL.install.error.irrelevant.files"), // NOI18N - // e); - //} - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.files.permissions")); // NOI18N - - SystemUtils.correctFilesPermissions(directory); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.files.permissions"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.create.domain")); // NOI18N - - GlassFishUtils.createDomain( - directory, - DOMAIN_NAME, - username, - password, - httpPort, - httpsPort, - adminPort); - } catch (IOException e) { - final InstallationException firstException = new InstallationException( - getString("CL.install.error.create.domain"), // NOI18N - e); - - final File asadminpass = new File( - SystemUtils.getUserHomeDirectory(), - ".asadminpass"); - final File asadmintruststore = new File( - SystemUtils.getUserHomeDirectory(), - ".asadmintruststore"); - if (asadminpass.exists() || asadmintruststore.exists()) { - LogManager.log("either .asadminpass or .asadmintruststore " + - "files exist -- deleting them"); - - getProduct().addInstallationWarning(firstException); - - try { - FileUtils.deleteFile(asadminpass); - FileUtils.deleteFile(asadmintruststore); - FileUtils.deleteFile( - new File(directory, - DOMAINS_SUBDIR + File.separator + DOMAIN_NAME), - true); - - GlassFishUtils.createDomain( - directory, - DOMAIN_NAME, - username, - password, - httpPort, - httpsPort, - adminPort); - } catch (IOException ex) { - throw new InstallationException( - getString("CL.install.error.create.domain"), // NOI18N - ex); - } - } else { - throw firstException; - } - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.extra.files")); // NOI18N - list.add(new File(directory, DOMAINS_SUBDIR)); - list.add(new File(directory, DERBY_LOG)); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.extra.files"), // NOI18N - e); - } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - List productsToIntegrate = new ArrayList(); - for (Product ide : ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + getProduct().getDisplayName() + " can be integrated with " + ide.getDisplayName() + " at " + ide.getInstallationLocation()); - final File location = ide.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - final Product bundledProduct = bundledRegistry.getProduct(ide.getUid(), ide.getVersion()); - if (bundledProduct != null) { - //one of already installed IDEs is in the bundled registry as well - we need to integrate with it - productsToIntegrate.add(ide); - LogManager.log("... will be integrated since this produce is also bundled"); - } else { - //check if this IDE is not integrated with any other GF instance - we need integrate with such IDE instance - try { - String path = NetBeansUtils.getJvmOption(location, JVM_OPTION_NAME); - if (path == null || !FileUtils.exists(new File(path)) || FileUtils.isEmpty(new File(path))) { - LogManager.log("... will be integrated since there it is not yet integrated with any instance or such an instance does not exist"); - productsToIntegrate.add(ide); - } else { - LogManager.log("... will not be integrated since it is already integrated with another instance at " + path); - } - } catch (IOException e) { - LogManager.log(e); - } - } - } else { - LogManager.log("... null, non-existent or empty location"); - } - } - } - - for (Product productToIntegrate : productsToIntegrate) { - final File location = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate " + getProduct().getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + location); - NetBeansUtils.setJvmOption( - location, - JVM_OPTION_NAME, - directory.getAbsolutePath(), - true); - - // if the IDE was installed in the same session as the - // appserver, we should add its "product id" to the IDE - if (productToIntegrate.hasStatusChanged()) { - NetBeansUtils.addPackId( - location, - PRODUCT_ID); - } - - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } - try { - progress.setDetail(getString("CL.install.shortcuts.creation")); // NOI18N - list.add(modifyASLauncherFiles(directory, true)); - } catch (NativeException e) { - throw new InstallationException( - getString("CL.install.error.shortcuts.creation"), // NOI18N - e); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.shortcuts.creation"), // NOI18N - e); - } - if(NetBeansUtils.getNetBeansId().equals("NBEETOOLS")) { - try { - ClassLoader cl = getClass().getClassLoader(); - FileUtils.writeFile(new File(directory, JTB_LICENSE), - ResourceUtils.getResource(JTB_LEGAL_RESOURCE_PREFIX + JTB_LICENSE, - cl)); - FileUtils.writeFile(new File(directory, JTB_THIRDPARTY_README), - ResourceUtils.getResource(JTB_LEGAL_RESOURCE_PREFIX + JTB_THIRDPARTY_README, - cl)); - FileUtils.writeFile(new File(directory, JTB_DISTRIBUTION), - ResourceUtils.getResource(JTB_LEGAL_RESOURCE_PREFIX + JTB_DISTRIBUTION, - cl)); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.legal.creation"), // NOI18N - e); - } - } - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public void uninstall( - final Progress progress) throws UninstallationException { - File directory = getProduct().getInstallationLocation(); - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.shortcuts.delete")); // NOI18N - modifyASLauncherFiles(directory, false); - } catch (NativeException e) { - throw new UninstallationException( - getString("CL.uninstall.error.shortcuts.delete"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - for (Product ide: ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + ide.getDisplayName() + " is integrated with " + getProduct().getDisplayName() + " installed at " + directory); - final File nbLocation = ide.getInstallationLocation(); - - if (nbLocation != null) { - LogManager.log("... ide location is " + nbLocation); - final String value = NetBeansUtils.getJvmOption( - nbLocation, - JVM_OPTION_NAME); - LogManager.log("... ide integrated with: " + value); - if ((value != null) && - (value.equals(directory.getAbsolutePath()))) { - LogManager.log("... removing integration"); - NetBeansUtils.removeJvmOption( - nbLocation, - JVM_OPTION_NAME); - } - } - } - } - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.ide.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.delete.domain")); // NOI18N - - GlassFishUtils.deleteDomain(directory, DOMAIN_NAME); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.delete.domain"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - if(SystemUtils.isWindows()) { - try { - progress.setDetail(getString("CL.uninstall.stop.derby")); // NOI18N - - GlassFishUtils.stopDerby(directory); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.stop.derby"), // NOI18N - e); - } catch (NoSuchMethodError e) { - //TODO - } - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public List getWizardComponents( - ) { - return wizardComponents; - } - - @Override - public boolean allowModifyMode() { - return false; - } - - @Override - public Text getLicense() { - return null; - } - - // private ////////////////////////////////////////////////////////////////////// - private FilesList modifyASLauncherFiles( - final File location, - final boolean isCreate) throws NativeException { - FilesList list = new FilesList(); - try { - LogManager.log("creating the application server launchers");//NOI18N - File asadminLocation = GlassFishUtils.getAsadmin(location); - - File launchersDir = new File(location, BIN_SUBDIR); - - File javaeeDocsFile = new File(launchersDir, LAUNCHER_JAVAEE_DOCS + EXEC_EXT); - File adminConsoleFile = new File(launchersDir, LAUNCHER_ADMIN_CONSOLE + EXEC_EXT); - File startDomainFile = new File(launchersDir, LAUNCHER_START_DOMAIN + EXEC_EXT); - File startDerbyFile = new File(launchersDir, LAUNCHER_START_DB + EXEC_EXT); - File stopDomainFile = new File(launchersDir, LAUNCHER_STOP_DOMAIN + EXEC_EXT); - File stopDerbyFile = new File(launchersDir, LAUNCHER_STOP_DB + EXEC_EXT); - - File aboutFile = new File(location, AS_ABOUT_LOCATION); - File samplesFile = new File(location, AS_SAMPLES_LOCATION); - File quickStartFile = new File(location, AS_QUICK_START_LOCATION); - - if(isCreate) { - String execCommandStub = (SystemUtils.isWindows()) ? - BAT_CALLER_STUB : - SHELL_SCRIPT_STUB; - - String runUrlStub = null; - runUrlStub = SystemUtils.isWindows() ? BAT_STARTER_STUB : - (SystemUtils.isMacOS() ? SHELL_SCRIPT_BROWSER_STUB_MACOS : - SHELL_SCRIPT_BROWSER_STUB_UNIX); - - list.add(FileUtils.writeFile(javaeeDocsFile, - StringUtils.format(runUrlStub, JAVAEE_DOCS_URL))); - - String adminConsoleUrl = StringUtils.format(ADMIN_CONSOLE_URL, - LOCALHOST, - getProperty(ASPanel.ADMIN_PORT_PROPERTY)); - - list.add(FileUtils.writeFile(adminConsoleFile, - StringUtils.format(runUrlStub, adminConsoleUrl))); - - String startDomainContents = StringUtils.format( - execCommandStub, - StringUtils.joinCommand( - asadminLocation.getAbsolutePath(), - GlassFishUtils.START_DOMAIN_COMMAND, - DOMAIN_NAME)); - - - list.add(FileUtils.writeFile(startDomainFile, startDomainContents)); - - String startDbContents = StringUtils.format( - execCommandStub, - StringUtils.joinCommand( - asadminLocation.getAbsolutePath(), - GlassFishUtils.START_DATABASE_COMMAND)); - - list.add(FileUtils.writeFile(startDerbyFile, startDbContents)); - - String stopDomainContents = StringUtils.format( - execCommandStub, - StringUtils.joinCommand( - asadminLocation.getAbsolutePath(), - GlassFishUtils.STOP_DOMAIN_COMMAND, - DOMAIN_NAME)); - - list.add(FileUtils.writeFile(stopDomainFile, stopDomainContents)); - - - String stopDbContents = StringUtils.format( - execCommandStub, - StringUtils.joinCommand( - asadminLocation.getAbsolutePath(), - GlassFishUtils.STOP_DATABASE_COMMAND)); - - list.add(FileUtils.writeFile(stopDerbyFile, stopDbContents)); - - SystemUtils.correctFilesPermissions(launchersDir); - } - - if(SystemUtils.isWindows()) { - modifyShortcut(getIconShortcut(adminConsoleFile, AS_ICON_ADMIN_CONSOLE, AS_ADMIN_CONSOLE_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(javaeeDocsFile, AS_ICON_JAVAEE_DOCS, AS_JAVAEE_DOCS_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(quickStartFile, AS_ICON_QUICK_START, AS_QUICK_START_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(startDomainFile, AS_ICON_START_DOMAIN, AS_START_DOMAIN_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(startDerbyFile, AS_ICON_START_DERBY, AS_START_DERBY_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(stopDomainFile, AS_ICON_STOP_DOMAIN, AS_STOP_DOMAIN_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(stopDerbyFile, AS_ICON_STOP_DERBY, AS_STOP_DERBY_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(samplesFile, AS_ICON_SAMPLES, AS_SAMPLES_NAME, location), - isCreate); - modifyShortcut(getIconShortcut(aboutFile, AS_ICON_ABOUT, AS_ABOUT_NAME, location), - isCreate); - } - } catch (IOException e) { - throw new NativeException("Can`t create application server launchers", e); - } catch (NativeException e) { - throw new NativeException("Can`t create application server launchers", e); - } - return list; - } - - private void modifyShortcut( - final Shortcut shortcut, - final boolean create) throws NativeException { - if(create) { - SystemUtils.createShortcut(shortcut, LocationType.CURRENT_USER_START_MENU); - } else { - SystemUtils.removeShortcut(shortcut, LocationType.CURRENT_USER_START_MENU, true); - } - } - - private Shortcut getIconShortcut( - final File file, - final String icon, - final String resourceName, - final File asLocation) { - FileShortcut shortcut = new FileShortcut( - getString(resourceName), file); - shortcut.setIcon(new File(asLocation, - ICONS_SUBDIR + SystemUtils.getFileSeparator() + icon)); - shortcut.setWorkingDirectory(asLocation); - shortcut.setRelativePath(getString(AS_RELATIVE_SHORTCUT_LOCATION)); - return shortcut; - } - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - FileProxy.RESOURCE_SCHEME_PREFIX + - "org/netbeans/installer/products/sjsas/wizard.xml"; // NOI18N - public static final String DOMAIN_NAME = - "domain1"; // NOI18N - public static final String CONFIG_SUBDIR = - "config"; // NOI18N - public static final String LIB_SUBDIR = - "lib"; // NOI18N - public static final String IMQ_SUBDIR = - "imq"; // NOI18N - public static final String DOMAINS_SUBDIR = - "domains"; // NOI18N - public static final String DERBY_SUBDIR = - "javadb"; // NOI18N - public static final String UC_INSTALL_HOME_SUBDIR = - "updatecenter"; //NOI18N - public static final String UC_BIN_SUBDIR = - "updatecenter/bin"; //NOI18N - public static final String UC_CONFIG_SUBDIR = - "updatecenter/config"; //NOI18N - public static final String BIN_SUBDIR = - "bin"; // NOI18N - public static final String DOCS_SUBDIR = - "docs"; // NOI18N - public static final String JBI_SUBDIR = - "jbi"; // NOI18N - public static final String SAMPLES_SUBDIR = - "samples"; // NOI18N - public static final String BLUEPRINTS_SUBDIR = - "blueprints"; // NOI18N - public static final String ICONS_SUBDIR = - "icons"; // NOI18N - - public static final String INSTALL_HOME_TOKEN = - "%INSTALL_HOME%"; // NOI18N - public static final String INSTALL_HOME_F_TOKEN = - "%INSTALL_HOME_F%"; // NOI18N - public static final String JAVA_HOME_TOKEN = - "%JAVA_HOME%"; // NOI18N - public static final String JAVA_HOME_F_TOKEN = - "%JAVA_HOME_F%"; // NOI18N - public static final String HTTP_PORT_TOKEN = - "%HTTP_PORT%"; //NOI18N - public static final String ADMIN_PORT_TOKEN = - "%ADMIN_PORT%"; //NOI18N - public static final String HOST_NAME_TOKEN = - "%HOST_NAME%";//N0I18N - public static final String ADMIN_USERNAME_TOKEN = - "%ADMIN_USER_NAME%";//N0I18N - - public static final String DERBY_LOG = - "derby.log"; // NOI18N - - private static final String EXEC_EXT = - SystemUtils.isWindows() ? ".bat" : - (SystemUtils.isMacOS() ? ".command" : ".sh"); - public static final String LAUNCHER_JAVAEE_DOCS = - "javaee-docs"; //NOI18N - public static final String LAUNCHER_STOP_DOMAIN = - "stop-default-domain"; //NOI18N - public static final String LAUNCHER_START_DOMAIN = - "start-default-domain"; //NOI18N - public static final String LAUNCHER_START_DB = - "start-derby"; //NOI18N - public static final String LAUNCHER_STOP_DB = - "stop-derby"; //NOI18N - public static final String LAUNCHER_ADMIN_CONSOLE = - "admin-console"; //NOI18N - public static final String ADMIN_CONSOLE_URL = - "http://{0}:{1}/"; //NOI18N - - // bat file caller stub - public static final String BAT_CALLER_STUB = - "call {0}"; //NOI18N - - // bat file starter stub - public static final String BAT_STARTER_STUB = - "start {0}"; //NOI18N - - public static final String SHELL_SCRIPT_STUB = - "#!/bin/sh\n" + //NOI18N - "\n" + //NOI18N - "{0}"; //NOI18N - - // open browser shell script stub - public static final String SHELL_SCRIPT_BROWSER_STUB_UNIX = - "#!/bin/sh\n" + //NOI18N - "\n" + //NOI18N - "browsers=\"firefox mozilla netscape opera konqueror /usr/swf/lib/mozilla/mozilla-bin\"\n" + //NOI18N - "\n" + //NOI18N - "for i in $browsers\n" + //NOI18N - "do\n" + //NOI18N - " type $i 1>/dev/null 2>/dev/null\n" + //NOI18N - " if [ $? -eq 0 ]; then\n" + //NOI18N - " browser=$i\n" + //NOI18N - " break\n" + //NOI18N - " fi\n" + //NOI18N - "done\n" + //NOI18N - "\n" + //NOI18N - "if [ ! -z \"$browser\" ]; then\n" + //NOI18N - " $browser {0} &\n" + //NOI18N - "else\n" + //NOI18N - " echo ERROR: could not find an installed browser\n" + //NOI18N - "fi"; //NOI18N - - public static final String SHELL_SCRIPT_BROWSER_STUB_MACOS = - "#!/bin/sh\n" + //NOI18N - "\n" + //NOI18N - "browsers=\"" + - "/Applications/Firefox.app/Contents/MacOS/firefox " + - "/Applications/Safari.app/Contents/MacOS/Safari\"\n" + //NOI18N - "\n" + //NOI18N - "for i in $browsers\n" + //NOI18N - "do\n" + //NOI18N - " type $i 1>/dev/null 2>/dev/null\n" + //NOI18N - " if [ $? -eq 0 ]; then\n" + //NOI18N - " browser=$i\n" + //NOI18N - " break\n" + //NOI18N - " fi\n" + //NOI18N - "done\n" + //NOI18N - "\n" + //NOI18N - "if [ ! -z \"$browser\" ]; then\n" + //NOI18N - " $browser {0} &\n" + //NOI18N - "else\n" + //NOI18N - " echo ERROR: could not find an installed browser\n" + //NOI18N - "fi"; //NOI18N - - - public static final String AS_ABOUT_NAME = - "CL.start.menu.as.about"; - public static final String AS_QUICK_START_NAME = - "CL.start.menu.as.quick.start"; - public static final String AS_JAVAEE_DOCS_NAME = - "CL.start.menu.as.javaee.documentation"; - public static final String AS_ADMIN_CONSOLE_NAME = - "CL.start.menu.as.admin.console"; - public static final String AS_START_DOMAIN_NAME = - "CL.start.menu.as.start.domain"; - public static final String AS_START_DERBY_NAME = - "CL.start.menu.as.start.derby"; - public static final String AS_STOP_DOMAIN_NAME = - "CL.start.menu.as.stop.domain"; - public static final String AS_STOP_DERBY_NAME = - "CL.start.menu.as.stop.derby"; - public static final String AS_SAMPLES_NAME = - "CL.start.menu.as.samples"; - public static final String AS_RELATIVE_SHORTCUT_LOCATION = - "CL.start.menu.as.relative"; - - public static final String AS_ICON_ADMIN_CONSOLE = - "startadmin.ico"; - public static final String AS_ICON_JAVAEE_DOCS = - "onlinedoc.ico"; - public static final String AS_ICON_ABOUT = - "about.ico"; - public static final String AS_ICON_QUICK_START = - "onlinedoc.ico"; - public static final String AS_ICON_SAMPLES = - "smple_app.ico"; - public static final String AS_ICON_START_DOMAIN = - "startAppserv.ico"; - public static final String AS_ICON_STOP_DOMAIN = - "stopAppserv.ico"; - public static final String AS_ICON_START_DERBY = - "startDerby.ico"; - public static final String AS_ICON_STOP_DERBY = - "stopDerby.ico"; - public static final String LOCALHOST = "localhost"; - - public static final String AS_ABOUT_LOCATION = - "docs/about.html"; - - public static final String AS_SAMPLES_LOCATION = - "samples/index.html"; - - public static final String AS_QUICK_START_LOCATION = - "docs/QuickStart.html"; - - public static final String JAVAEE_DOCS_URL = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.as.javaee.docs.url"); //NOI18N - - public static final String JVM_OPTION_NAME = - "-Dcom.sun.aas.installRoot"; // NOI18N - - public static final String PRODUCT_ID = - "SJSAS"; // NOI18N - - public static final String JTB_LEGAL_RESOURCE_PREFIX = - "org/netbeans/installer/products/sjsas/jtblegal/"; - public static final String JTB_LICENSE = - "Java_EE_5_Tools_Bundle_License.txt";//NOI18N - public static final String JTB_THIRDPARTY_README = - "3RD-PARTY-LICENSE.txt";//NOI18N - public static final String JTB_DISTRIBUTION = - "Java_EE_5_Tools_Bundle_DISTRIBUTION.txt";//NOI18N -} diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/3RD-PARTY-LICENSE.txt b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/3RD-PARTY-LICENSE.txt deleted file mode 100644 index 849949d61101..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/3RD-PARTY-LICENSE.txt +++ /dev/null @@ -1,7002 +0,0 @@ -Java Application Platform SDK Update 7 THIRDPARTYLICENSEREADME -DO NOT TRANSLATE OR LOCALIZE. - - - -%% The following software may be included in this product: JDIC 0.9.1 - Use of any of this software is governed by the terms of the license below: - -GNU LESSER GENERAL PUBLIC LICENSE - -Version 2.1, February 1999 - -Copyright (C) 1991, 1999 Free Software Foundation, Inc. -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - -Preamble - -The licenses for most software are designed to take away your freedom to share -and change it. By contrast, the GNU General Public Licenses are intended to -guarantee your freedom to share and change free software--to make sure the -software is free for all its users. - -This license, the Lesser General Public License, applies to some specially -designated software packages--typically libraries--of the Free Software -Foundation and other authors who decide to use it. You can use it too, but we -suggest you first think carefully about whether this license or the ordinary -General Public License is the better strategy to use in any particular case, -based on the explanations below. - -When we speak of free software, we are referring to freedom of use, not price. -Our General Public Licenses are designed to make sure that you have the freedom -to distribute copies of free software (and charge for this service if you wish); -that you receive source code or can get it if you want it; that you can change -the software and use pieces of it in new free programs; and that you are -informed that you can do these things. - -To protect your rights, we need to make restrictions that forbid distributors to -deny you these rights or to ask you to surrender these rights. These -restrictions translate to certain responsibilities for you if you distribute -copies of the library or if you modify it. - -For example, if you distribute copies of the library, whether gratis or for a -fee, you must give the recipients all the rights that we gave you. You must make -sure that they, too, receive or can get the source code. If you link other code -with the library, you must provide complete object files to the recipients, so -that they can relink them with the library after making changes to the library -and recompiling it. And you must show them these terms so they know their -rights. - -We protect your rights with a two-step method: (1) we copyright the library, and -(2) we offer you this license, which gives you legal permission to copy, -distribute and/or modify the library. - -To protect each distributor, we want to make it very clear that there is no -warranty for the free library. Also, if the library is modified by someone else -and passed on, the recipients should know that what they have is not the -original version, so that the original author's reputation will not be affected -by problems that might be introduced by others. - -Finally, software patents pose a constant threat to the existence of any free -program. We wish to make sure that a company cannot effectively restrict the -users of a free program by obtaining a restrictive license from a patent holder. -Therefore, we insist that any patent license obtained for a version of the -library must be consistent with the full freedom of use specified in this -license. - -Most GNU software, including some libraries, is covered by the ordinary GNU -General Public License. This license, the GNU Lesser General Public License, -applies to certain designated libraries, and is quite different from the -ordinary General Public License. We use this license for certain libraries in -order to permit linking those libraries into non-free programs. - -When a program is linked with a library, whether statically or using a shared -library, the combination of the two is legally speaking a combined work, a -derivative of the original library. The ordinary General Public License -therefore permits such linking only if the entire combination fits its criteria -of freedom. The Lesser General Public License permits more lax criteria for -linking other code with the library. - -We call this license the "Lesser" General Public License because it does Less to -protect the user's freedom than the ordinary General Public License. It also -provides other free software developers Less of an advantage over competing -non-free programs. These disadvantages are the reason we use the ordinary -General Public License for many libraries. However, the Lesser license provides -advantages in certain special circumstances. - -For example, on rare occasions, there may be a special need to encourage the -widest possible use of a certain library, so that it becomes a de-facto -standard. To achieve this, non-free programs must be allowed to use the library. -A more frequent case is that a free library does the same job as widely used -non-free libraries. In this case, there is little to gain by limiting the free -library to free software only, so we use the Lesser General Public License. - -In other cases, permission to use a particular library in non-free programs -enables a greater number of people to use a large body of free software. For -example, permission to use the GNU C Library in non-free programs enables many -more people to use the whole GNU operating system, as well as its variant, the -GNU/Linux operating system. - -Although the Lesser General Public License is Less protective of the users' -freedom, it does ensure that the user of a program that is linked with the -Library has the freedom and the wherewithal to run that program using a modified -version of the Library. - -The precise terms and conditions for copying, distribution and modification -follow. Pay close attention to the difference between a "work based on the -library" and a "work that uses the library". The former contains code derived -from the library, whereas the latter must be combined with the library in order -to run. - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -0. This License Agreement applies to any software library or other program which -contains a notice placed by the copyright holder or other authorized party -saying it may be distributed under the terms of this Lesser General Public -License (also called "this License"). Each licensee is addressed as "you". - -A "library" means a collection of software functions and/or data prepared so as -to be conveniently linked with application programs (which use some of those -functions and data) to form executables. - -The "Library", below, refers to any such software library or work which has been -distributed under these terms. A "work based on the Library" means either the -Library or any derivative work under copyright law: that is to say, a work -containing the Library or a portion of it, either verbatim or with modifications -and/or translated straightforwardly into another language. (Hereinafter, -translation is included without limitation in the term "modification".) - -"Source code" for a work means the preferred form of the work for making -modifications to it. For a library, complete source code means all the source -code for all modules it contains, plus any associated interface definition -files, plus the scripts used to control compilation and installation of the -library. - -Activities other than copying, distribution and modification are not covered by -this License; they are outside its scope. The act of running a program using the -Library is not restricted, and output from such a program is covered only if its -contents constitute a work based on the Library (independent of the use of the -Library in a tool for writing it). Whether that is true depends on what the -Library does and what the program that uses the Library does. - -1. You may copy and distribute verbatim copies of the Library's complete source -code as you receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice and -disclaimer of warranty; keep intact all the notices that refer to this License -and to the absence of any warranty; and distribute a copy of this License along -with the Library. - -You may charge a fee for the physical act of transferring a copy, and you may at -your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Library or any portion of it, thus -forming a work based on the Library, and copy and distribute such modifications -or work under the terms of Section 1 above, provided that you also meet all of -these conditions: - - * a) The modified work must itself be a software library. - * b) You must cause the files modified to carry prominent notices stating -that you changed the files and the date of any change. - * c) You must cause the whole of the work to be licensed at no charge to all -third parties under the terms of this License. - * d) If a facility in the modified Library refers to a function or a table -of data to be supplied by an application program that uses the facility, other -than as an argument passed when the facility is invoked, then you must make a -good faith effort to ensure that, in the event an application does not supply -such function or table, the facility still operates, and performs whatever part -of its purpose remains meaningful. - - (For example, a function in a library to compute square roots has a -purpose that is entirely well-defined independent of the application. Therefore, -Subsection 2d requires that any application-supplied function or table used by -this function must be optional: if the application does not supply it, the -square root function must still compute square roots.) - - These requirements apply to the modified work as a whole. If identifiable -sections of that work are not derived from the Library, and can be reasonably -considered independent and separate works in themselves, then this License, and -its terms, do not apply to those sections when you distribute them as separate -works. But when you distribute the same sections as part of a whole which is a -work based on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the entire whole, -and thus to each and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or contest your -rights to work written entirely by you; rather, the intent is to exercise the -right to control the distribution of derivative or collective works based on the -Library. - - In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of a storage -or distribution medium does not bring the other work under the scope of this -License. - -3. You may opt to apply the terms of the ordinary GNU General Public License -instead of this License to a given copy of the Library. To do this, you must -alter all the notices that refer to this License, so that they refer to the -ordinary GNU General Public License, version 2, instead of to this License. (If -a newer version than version 2 of the ordinary GNU General Public License has -appeared, then you can specify that version instead if you wish.) Do not make -any other change in these notices. - -Once this change is made in a given copy, it is irreversible for that copy, so -the ordinary GNU General Public License applies to all subsequent copies and -derivative works made from that copy. - -This option is useful when you wish to copy part of the code of the Library into -a program that is not a library. - -4. You may copy and distribute the Library (or a portion or derivative of it, -under Section 2) in object code or executable form under the terms of Sections 1 -and 2 above provided that you accompany it with the complete corresponding -machine-readable source code, which must be distributed under the terms of -Sections 1 and 2 above on a medium customarily used for software interchange. - -If distribution of object code is made by offering access to copy from a -designated place, then offering equivalent access to copy the source code from -the same place satisfies the requirement to distribute the source code, even -though third parties are not compelled to copy the source along with the object -code. - -5. A program that contains no derivative of any portion of the Library, but is -designed to work with the Library by being compiled or linked with it, is called -a "work that uses the Library". Such a work, in isolation, is not a derivative -work of the Library, and therefore falls outside the scope of this License. - -However, linking a "work that uses the Library" with the Library creates an -executable that is a derivative of the Library (because it contains portions of -the Library), rather than a "work that uses the library". The executable is -therefore covered by this License. Section 6 states terms for distribution of -such executables. - -When a "work that uses the Library" uses material from a header file that is -part of the Library, the object code for the work may be a derivative work of -the Library even though the source code is not. Whether this is true is -especially significant if the work can be linked without the Library, or if the -work is itself a library. The threshold for this to be true is not precisely -defined by law. - -If such an object file uses only numerical parameters, data structure layouts -and accessors, and small macros and small inline functions (ten lines or less in -length), then the use of the object file is unrestricted, regardless of whether -it is legally a derivative work. (Executables containing this object code plus -portions of the Library will still fall under Section 6.) - -Otherwise, if the work is a derivative of the Library, you may distribute the -object code for the work under the terms of Section 6. Any executables -containing that work also fall under Section 6, whether or not they are linked -directly with the Library itself. - -6. As an exception to the Sections above, you may also combine or link a "work -that uses the Library" with the Library to produce a work containing portions of -the Library, and distribute that work under terms of your choice, provided that -the terms permit modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - -You must give prominent notice with each copy of the work that the Library is -used in it and that the Library and its use are covered by this License. You -must supply a copy of this License. If the work during execution displays -copyright notices, you must include the copyright notice for the Library among -them, as well as a reference directing the user to the copy of this License. -Also, you must do one of these things: - - * a) Accompany the work with the complete corresponding machine-readable -source code for the Library including whatever changes were used in the work -(which must be distributed under Sections 1 and 2 above); and, if the work is an -executable linked with the Library, with the complete machine-readable "work -that uses the Library", as object code and/or source code, so that the user can -modify the Library and then relink to produce a modified executable containing -the modified Library. (It is understood that the user who changes the contents -of definitions files in the Library will not necessarily be able to recompile -the application to use the modified definitions.) - * b) Use a suitable shared library mechanism for linking with the Library. A -suitable mechanism is one that (1) uses at run time a copy of the library -already present on the user's computer system, rather than copying library -functions into the executable, and (2) will operate properly with a modified -version of the library, if the user installs one, as long as the modified -version is interface-compatible with the version that the work was made with. - * c) Accompany the work with a written offer, valid for at least three -years, to give the same user the materials specified in Subsection 6a, above, -for a charge no more than the cost of performing this distribution. - * d) If distribution of the work is made by offering access to copy from a -designated place, offer equivalent access to copy the above specified materials -from the same place. - * e) Verify that the user has already received a copy of these materials or -that you have already sent this user a copy. - -For an executable, the required form of the "work that uses the Library" must -include any data and utility programs needed for reproducing the executable from -it. However, as a special exception, the materials to be distributed need not -include anything that is normally distributed (in either source or binary form) -with the major components (compiler, kernel, and so on) of the operating system -on which the executable runs, unless that component itself accompanies the -executable. - -It may happen that this requirement contradicts the license restrictions of -other proprietary libraries that do not normally accompany the operating system. -Such a contradiction means you cannot use both them and the Library together in -an executable that you distribute. - -7. You may place library facilities that are a work based on the Library -side-by-side in a single library together with other library facilities not -covered by this License, and distribute such a combined library, provided that -the separate distribution of the work based on the Library and of the other -library facilities is otherwise permitted, and provided that you do these two -things: - - * a) Accompany the combined library with a copy of the same work based on -the Library, uncombined with any other library facilities. This must be -distributed under the terms of the Sections above. - * b) Give prominent notice with the combined library of the fact that part -of it is a work based on the Library, and explaining where to find the -accompanying uncombined form of the same work. - -8. You may not copy, modify, sublicense, link with, or distribute the Library -except as expressly provided under this License. Any attempt otherwise to copy, -modify, sublicense, link with, or distribute the Library is void, and will -automatically terminate your rights under this License. However, parties who -have received copies, or rights, from you under this License will not have their -licenses terminated so long as such parties remain in full compliance. - -9. You are not required to accept this License, since you have not signed it. -However, nothing else grants you permission to modify or distribute the Library -or its derivative works. These actions are prohibited by law if you do not -accept this License. Therefore, by modifying or distributing the Library (or any -work based on the Library), you indicate your acceptance of this License to do -so, and all its terms and conditions for copying, distributing or modifying the -Library or works based on it. - -10. Each time you redistribute the Library (or any work based on the Library), -the recipient automatically receives a license from the original licensor to -copy, distribute, link with or modify the Library subject to these terms and -conditions. You may not impose any further restrictions on the recipients' -exercise of the rights granted herein. You are not responsible for enforcing -compliance by third parties with this License. - -11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), conditions -are imposed on you (whether by court order, agreement or otherwise) that -contradict the conditions of this License, they do not excuse you from the -conditions of this License. If you cannot distribute so as to satisfy -simultaneously your obligations under this License and any other pertinent -obligations, then as a consequence you may not distribute the Library at all. -For example, if a patent license would not permit royalty-free redistribution of -the Library by all those who receive copies directly or indirectly through you, -then the only way you could satisfy both it and this License would be to refrain -entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, and -the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any patents or -other property right claims or to contest validity of any such claims; this -section has the sole purpose of protecting the integrity of the free software -distribution system which is implemented by public license practices. Many -people have made generous contributions to the wide range of software -distributed through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing to -distribute software through any other system and a licensee cannot impose that -choice. - -This section is intended to make thoroughly clear what is believed to be a -consequence of the rest of this License. - -12. If the distribution and/or use of the Library is restricted in certain -countries either by patents or by copyrighted interfaces, the original copyright -holder who places the Library under this License may add an explicit -geographical distribution limitation excluding those countries, so that -distribution is permitted only in or among countries not thus excluded. In such -case, this License incorporates the limitation as if written in the body of this -License. - -13. The Free Software Foundation may publish revised and/or new versions of the -Lesser General Public License from time to time. Such new versions will be -similar in spirit to the present version, but may differ in detail to address -new problems or concerns. - -Each version is given a distinguishing version number. If the Library specifies -a version number of this License which applies to it and "any later version", -you have the option of following the terms and conditions either of that version -or of any later version published by the Free Software Foundation. If the -Library does not specify a license version number, you may choose any version -ever published by the Free Software Foundation. - -14. If you wish to incorporate parts of the Library into other free programs -whose distribution conditions are incompatible with these, write to the author -to ask for permission. For software which is copyrighted by the Free Software -Foundation, write to the Free Software Foundation; we sometimes make exceptions -for this. Our decision will be guided by the two goals of preserving the free -status of all derivatives of our free software and of promoting the sharing and -reuse of software generally. - -NO WARRANTY - -15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE -LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED -IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS -IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL -ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE -LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, -SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY -TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF -THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER -PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS -How to Apply These Terms to Your New Libraries - -If you develop a new library, and you want it to be of the greatest possible use -to the public, we recommend making it free software that everyone can -redistribute and change. You can do so by permitting redistribution under these -terms (or, alternatively, under the terms of the ordinary General Public -License). - -To apply these terms, attach the following notices to the library. It is safest -to attach them to the start of each source file to most effectively convey the -exclusion of warranty; and each file should have at least the "copyright" line -and a pointer to where the full notice is found. - -one line to give the library's name and an idea of what it does. -Copyright (C) year name of author - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your school, -if any, to sign a "copyright disclaimer" for the library, if necessary. Here is -a sample; alter the names: - -Yoyodyne, Inc., hereby disclaims all copyright interest in -the library `Frob' (a library for tweaking knobs) written -by James Random Hacker. - -signature of Ty Coon, 1 April 1990 -Ty Coon, President of Vice - -That's all there is to it! - ------------------------------------------ - -$$ Sun GlassFish Enterprise Server v2.1 - - -%% The following software may be included in this product: Java Pack200-ant-task - Use of any of this software is governed by the terms of the license below: - - SUN PUBLIC LICENSE Version 1.0 - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original Code, - prior Modifications used by a Contributor, and the Modifications made - by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof and corresponding documentation released - with the source code. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified as - the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - - A. Any addition to or deletion from the contents of a file containing - Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, and - apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated documentation, interface definition files, scripts used - to control compilation and installation of an Executable, or source - code differential comparisons against either the Original Code or - another well known, available Covered Code of the Contributor's - choice. The Source Code can be in a compressed or archival form, - provided the appropriate decompression or de-archiving software is - widely available for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, to - cause the direction or management of such entity, whether by contract - or otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - -2. Source Code License. - -2.1 The Initial Developer Grant. - - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, modify, - display, perform, sublicense and distribute the Original Code (or - portions thereof) with or without Modifications, and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of - Original Code, to make, have made, use, practice, sell, and offer for - sale, and/or otherwise dispose of the Original Code (or portions - thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are effective - on the date Initial Developer first distributes Original Code under - the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused by: - i) the modification of the Original Code or ii) the combination of the - Original Code with other software or devices. - -2.2. Contributor Grant. - - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications created - by such Contributor (or portions thereof) either on an unmodified - basis, with other Modifications, as Covered Code and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of - Modifications made by that Contributor either alone and/or in - combination with its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, have made, and/or - otherwise dispose of: 1) Modifications made by that Contributor (or - portions thereof); and 2) the combination of Modifications made by - that Contributor with its Contributor Version (or portions of such - combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective - on the date Contributor first makes Commercial Use of the Covered - Code. - - (d) notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; 3) for - infringements caused by: i) third party modifications of Contributor - Version or ii) the combination of Modifications made by that - Contributor with other software (except as part of the Contributor - Version) or other devices; or 4) under Patent Claims infringed by - Covered Code in the absence of Modifications made by that Contributor. - -3. Distribution Obligations. - -3.1. Application of License. - - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - -3.2. Availability of Source Code. - - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - -3.3. Description of Modifications. - - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - -3.4. Intellectual Property Matters. - - (a) Third Party Claims. - - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, Contributor - must include a text file with the Source Code distribution titled - "LEGAL'' which describes the claim and the party making the claim in - sufficient detail that a recipient will know whom to contact. If - Contributor obtains such knowledge after the Modification is made - available as described in Section 3.2, Contributor shall promptly - modify the LEGAL file in all copies Contributor makes available - thereafter and shall take other steps (such as notifying appropriate - mailing lists or newsgroups) reasonably calculated to inform those who - received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - - If Contributor's Modifications include an application programming - interface ("API") and Contributor has knowledge of patent licenses - which are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - - Contributor represents that, except as disclosed pursuant to Section - 3.4(a) above, Contributor believes that Contributor's Modifications - are Contributor's original creation(s) and/or Contributor has - sufficient rights to grant the rights conveyed by this License. - -3.5. Required Notices. - - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - -3.6. Distribution of Executable Versions. - - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - -3.7. Larger Works. - - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - -6.1. New Versions. - - Sun Microsystems, Inc. ("Sun") may publish revised and/or new versions - of the License from time to time. Each version will be given a - distinguishing version number. - -6.2. Effect of New Versions. - - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Sun. No one - other than Sun has the right to modify the terms applicable to Covered - Code created under this License. - -6.3. Derivative Works. - - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must: (a) rename Your license so that - the phrases "Sun," "Sun Public License," or "SPL" or any confusingly - similar phrase do not appear in your license (except to note that your - license differs from this License) and (b) otherwise make it clear - that Your version of the license contains terms which differ from the - Sun Public License. (Filling in the name of the Initial Developer, - Original Code or Contributor in the notice described in Exhibit A - shall not of themselves be deemed to be modifications of this - License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declaratory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, all - end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in 48 - C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" - and "commercial computer software documentation," as such terms are - used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. - 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all - U.S. Government End Users acquire Covered Code with only those rights - set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the alternative licenses, if any, specified by the - Initial Developer in the file described in Exhibit A. - -Exhibit A -Sun Public License Notice. - - The contents of this file are subject to the Sun Public License - Version 1.0 (the "License"); you may not use this file except in - compliance with the License. A copy of the License is available at - http://www.sun.com/ - - The Original Code is _________________. The Initial Developer of the - Original Code is ___________. Portions created by ______ are Copyright - (C)_________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those above. - If you wish to allow use of your version of this file only under the - terms of the [____] License and not to allow others to use your - version of this file under the SPL, indicate your decision by deleting - the provisions above and replace them with the notice and other - provisions required by the [___] License. If you do not delete the - provisions above, a recipient may use your version of this file under - either the SPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - -%% The following software may be included in this product: Network Security Services (NSS). Sun elects to have this file available under and governed by the Mozilla Public License 1.1 (see below for full license text). However, the following notice accompanied the original version of this file: - -***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is the Netscape security libraries. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1994-2000 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - - - MOZILLA PUBLIC LICENSE - Version 1.1 - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the Covered -Code available to a third party. - - 1.1. ''Contributor'' means each entity that creates or contributes to the -creation of Modifications. - - 1.2. ''Contributor Version'' means the combination of the Original Code, -prior Modifications used by a Contributor, and the - Modifications made by that particular Contributor. - - 1.3. ''Covered Code'' means the Original Code or Modifications or the -combination of the Original Code and Modifications, in - each case including portions thereof. - - 1.4. ''Electronic Distribution Mechanism'' means a mechanism generally -accepted in the software development community for - the electronic transfer of data. - - 1.5. ''Executable'' means Covered Code in any form other than Source Code. - - 1.6. ''Initial Developer'' means the individual or entity identified as -the Initial Developer in the Source Code notice required by - Exhibit A. - - 1.7. ''Larger Work'' means a work which combines Covered Code or portions -thereof with code not governed by the terms of - this License. - - 1.8. ''License'' means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum extent -possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. ''Modifications'' means any addition to or deletion from the -substance or structure of either the Original Code or any - previous Modifications. When Covered Code is released as a series of -files, a Modification is: - A. Any addition to or deletion from the contents of a file -containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or -previous Modifications. - - 1.10. ''Original Code'' means Source Code of computer software code which -is described in the Source Code notice required - by Exhibit A as Original Code, and which, at the time of its release under -this License is not already Covered Code governed by - this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter -acquired, including without limitation, method, - process, and apparatus claims, in any patent Licensable by grantor. - - 1.11. ''Source Code'' means the preferred form of the Covered Code for -making modifications to it, including all modules it - contains, plus any associated interface definition files, scripts used to -control compilation and installation of an Executable, or - source code differential comparisons against either the Original Code or -another well known, available Covered Code of the - Contributor's choice. The Source Code can be in a compressed or archival -form, provided the appropriate decompression or - de-archiving software is widely available for no charge. - - 1.12. "You'' (or "Your") means an individual or a legal entity exercising -rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. For -legal entities, "You'' includes any entity which controls, is - controlled by, or is under common control with You. For purposes of this -definition, "control'' means (a) the power, direct or - indirect, to cause the direction or management of such entity, whether by -contract or otherwise, or (b) ownership of more than fifty - percent (50%) of the outstanding shares or beneficial ownership of such -entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, -non-exclusive license, subject to third party intellectual - property claims: - (a) under intellectual property rights (other than patent or -trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original -Code (or portions thereof) with or without Modifications, - and/or as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or selling -of Original Code, to make, have made, use, practice, sell, - and offer for sale, and/or otherwise dispose of the Original Code -(or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are -effective on the date Initial Developer first distributes Original - Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is -granted: 1) for code that You delete from the Original Code; - 2) separate from the Original Code; or 3) for infringements caused -by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor -hereby grants You a world-wide, royalty-free, non-exclusive - license - - (a) under intellectual property rights (other than patent or -trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications -created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code and/or -as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling -of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions of -such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that -Contributor (or portions thereof); and 2) the combination - of Modifications made by that Contributor with its Contributor -Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective -on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is -granted: 1) for any code that Contributor has deleted from - the Contributor Version; 2) separate from the Contributor Version; -3) for infringements caused by: i) third party - modifications of Contributor Version or ii) the combination of -Modifications made by that Contributor with other software - (except as part of the Contributor Version) or other devices; or 4) -under Patent Claims infringed by Covered Code in the - absence of Modifications made by that Contributor. - - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are governed -by the terms of this License, including without - limitation Section 2.2. The Source Code version of Covered Code may be -distributed only under the terms of this License or a - future version of this License released under Section 6.1, and You must -include a copy of this License with every copy of the - Source Code You distribute. You may not offer or impose any terms on any -Source Code version that alters or restricts the - applicable version of this License or the recipients' rights hereunder. -However, You may include an additional document offering - the additional rights described in Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be made -available in Source Code form under the terms of - this License either on the same media as an Executable version or via an -accepted Electronic Distribution Mechanism to anyone - to whom you made an Executable version available; and if made available -via Electronic Distribution Mechanism, must remain - available for at least twelve (12) months after the date it initially -became available, or at least six (6) months after a subsequent - version of that particular Modification has been made available to such -recipients. You are responsible for ensuring that the - Source Code version remains available even if the Electronic Distribution -Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a file -documenting the changes You made to create that - Covered Code and the date of any change. You must include a prominent -statement that the Modification is derived, directly or - indirectly, from Original Code provided by the Initial Developer and -including the name of the Initial Developer in (a) the Source - Code, and (b) in any notice in an Executable version or related -documentation in which You describe the origin or ownership of - the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's -intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, Contributor -must include a text file with the Source Code distribution - titled "LEGAL'' which describes the claim and the party making the -claim in sufficient detail that a recipient will know whom to - contact. If Contributor obtains such knowledge after the -Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies -Contributor makes available thereafter and shall take other - steps (such as notifying appropriate mailing lists or newsgroups) -reasonably calculated to inform those who received the - Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming -interface and Contributor has knowledge of patent - licenses which are reasonably necessary to implement that API, -Contributor must also include this information in the - LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to Section -3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or -Contributor has sufficient rights to grant the rights conveyed by - this License. - - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source -Code. If it is not possible to put such notice in a particular - Source Code file due to its structure, then You must include such notice -in a location (such as a relevant directory) where a user - would be likely to look for such a notice. If You created one or more -Modification(s) You may add your name as a Contributor to - the notice described in Exhibit A. You must also duplicate this License -in any documentation for the Source Code where You - describe recipients' rights or ownership rights relating to Covered Code. -You may choose to offer, and to charge a fee for, - warranty, support, indemnity or liability obligations to one or more -recipients of Covered Code. However, You may do so only on - Your own behalf, and not on behalf of the Initial Developer or any -Contributor. You must make it absolutely clear than any such - warranty, support, indemnity or liability obligation is offered by You -alone, and You hereby agree to indemnify the Initial Developer - and every Contributor for any liability incurred by the Initial Developer -or such Contributor as a result of warranty, support, - indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the -requirements of Section 3.1-3.5 have been met for that Covered - Code, and if You include a notice stating that the Source Code version of -the Covered Code is available under the terms of this - License, including a description of how and where You have fulfilled the -obligations of Section 3.2. The notice must be - conspicuously included in any notice in an Executable version, related -documentation or collateral in which You describe - recipients' rights relating to the Covered Code. You may distribute the -Executable version of Covered Code or ownership rights - under a license of Your choice, which may contain terms different from -this License, provided that You are in compliance with the - terms of this License and that the license for the Executable version does -not attempt to limit or alter the recipient's rights in the - Source Code version from the rights set forth in this License. If You -distribute the Executable version under a different license - You must make it absolutely clear that any terms which differ from this -License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the Initial -Developer and every Contributor for any liability incurred - by the Initial Developer or such Contributor as a result of any such terms -You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code not -governed by the terms of this License and - distribute the Larger Work as a single product. In such a case, You must -make sure the requirements of this License are fulfilled - for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this -License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with the -terms of this License to the maximum extent possible; and - (b) describe the limitations and the code they affect. Such description -must be included in the LEGAL file described in Section 3.4 - and must be included with all distributions of the Source Code. Except to -the extent prohibited by statute or regulation, such - description must be sufficiently detailed for a recipient of ordinary -skill to be able to understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has attached -the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation (''Netscape'') may publish revised -and/or new versions of the License from time to time. - Each version will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the -License, You may always continue to use it under the - terms of that version. You may also choose to use such Covered Code under -the terms of any subsequent version of the - License published by Netscape. No one other than Netscape has the right to -modify the terms applicable to Covered Code - created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may -only do in order to apply it to code which is not already - Covered Code governed by this License), You must (a) rename Your license -so that the phrases ''Mozilla'', ''MOZILLAPL'', - ''MOZPL'', ''Netscape'', "MPL", ''NPL'' or any confusingly similar phrase -do not appear in your license (except to note that your - license differs from this License) and (b) otherwise make it clear that -Your version of the license contains terms which differ from - the Mozilla Public License and Netscape Public License. (Filling in the -name of the Initial Developer, Original Code or Contributor - in the notice described in Exhibit A shall not of themselves be deemed to -be modifications of this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT -WARRANTY OF ANY KIND, - EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES -THAT THE COVERED CODE IS - FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR -NON-INFRINGING. THE ENTIRE RISK AS TO - THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY -COVERED CODE PROVE - DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER -CONTRIBUTOR) ASSUME THE COST - OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF -WARRANTY CONSTITUTES AN - ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED -HEREUNDER EXCEPT UNDER - THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate -automatically if You fail to comply with terms herein and fail to - cure such breach within 30 days of becoming aware of the breach. All -sublicenses to the Covered Code which are properly - granted shall survive any termination of this License. Provisions which, -by their nature, must remain in effect beyond the - termination of this License shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement claim -(excluding declatory judgment actions) against Initial - Developer or a Contributor (the Initial Developer or Contributor against -whom You file such action is referred to as "Participant") - alleging that: - - (a) such Participant's Contributor Version directly or indirectly -infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License shall, -upon 60 days notice from Participant terminate - prospectively, unless if within 60 days after receipt of notice You -either: (i) agree in writing to pay Participant a mutually agreeable - reasonable royalty for Your past and future use of Modifications made by -such Participant, or (ii) withdraw Your litigation claim with - respect to the Contributor Version against such Participant. If within 60 -days of notice, a reasonable royalty and payment - arrangement are not mutually agreed upon in writing by the parties or the -litigation claim is not withdrawn, the rights granted by - Participant to You under Sections 2.1 and/or 2.2 automatically terminate -at the expiration of the 60 day notice period specified - above. - - (b) any software, hardware, or device, other than such Participant's -Contributor Version, directly or indirectly infringes any patent, - then any rights granted to You by such Participant under Sections 2.1(b) -and 2.2(b) are revoked effective as of the date You first - made, used, sold, distributed, or had made, Modifications made by that -Participant. - - 8.3. If You assert a patent infringement claim against Participant -alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as by -license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses granted -by such Participant under Sections 2.1 or 2.2 shall be - taken into account in determining the amount or value of any payment or -license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, all -end user license agreements (excluding distributors and - resellers) which have been validly granted by You or any distributor -hereunder prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING -NEGLIGENCE), CONTRACT, - OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR -ANY DISTRIBUTOR OF - COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY -PERSON FOR ANY INDIRECT, - SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, -WITHOUT LIMITATION, - DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR -MALFUNCTION, OR ANY AND ALL - OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN -INFORMED OF THE - POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY -TO LIABILITY FOR DEATH OR - PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT -APPLICABLE LAW PROHIBITS - SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR -LIMITATION OF INCIDENTAL OR - CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO -YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a ''commercial item,'' as that term is defined in 48 -C.F.R. 2.101 (Oct. 1995), consisting of ''commercial - computer software'' and ''commercial computer software documentation,'' as -such terms are used in 48 C.F.R. 12.212 (Sept. - 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through -227.7202-4 (June 1995), all U.S. Government End - Users acquire Covered Code with only those rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter -hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent -necessary to make it enforceable. This License shall be - governed by California law provisions (except to the extent applicable -law, if any, provides otherwise), excluding its conflict-of-law - provisions. With respect to disputes in which at least one party is a -citizen of, or an entity chartered or registered to do business - in the United States of America, any litigation relating to this License -shall be subject to the jurisdiction of the Federal Courts of - the Northern District of California, with venue lying in Santa Clara -County, California, with the losing party responsible for costs, - including without limitation, court costs and reasonable attorneys' fees -and expenses. The application of the United Nations - Convention on Contracts for the International Sale of Goods is expressly -excluded. Any law or regulation which provides that the - language of a contract shall be construed against the drafter shall not -apply to this License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is -responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to work -with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or shall -be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as -?Multiple-Licensed?. ?Multiple-Licensed? means that the - Initial Developer permits you to utilize portions of the Covered Code -under Your choice of the MPL or the alternative licenses, if - any, specified by the Initial Developer in the file described in Exhibit -A. - - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License -Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" basis, -WITHOUT WARRANTY OF - ANY KIND, either express or implied. See the License for the specific -language governing rights and - limitations under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. -Portions created by - ______________________ are Copyright (C) ______ _______________________. -All Rights - Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms of -the _____ license (the ?[___] License?), in which case the - provisions of [______] License are applicable instead of those above. If -you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use your -version of this file under the MPL, indicate your decision - by deleting the provisions above and replace them with the notice and -other provisions required by the [___] License. If you do - not delete the provisions above, a recipient may use your version of this -file under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of the -notices in the Source Code files of the Original Code. You - should use the text of this Exhibit A rather than the text found in the -Original Code Source Code for Your Modifications.] - - -%% The following software may be included in this product: Woodstox XML Processor. Sun elects to have this file available under and governed by the Apache (Software) License, version 2.0 (see below for full license text). However, the following notice accompanied the original version of this file: - -This copy of Woodstox XML processor is licensed under the -Apache (Software) License, version 2.0 ("the License"). -See the License for details about distribution rights, and the -specific rights regarding derivate works. - -You may obtain a copy of the License at: - -http://www.apache.org/licenses/ - -A copy is also included in the downloadable source code package -containing Woodstox, in file "ASL2.0", under the same directory -as this file. - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - -%% The following software may be included in this product: - Java DB (Derby) - Base64 - JSTL 1.1.0-D13 - REGEXP 1.2 - XML Security: XML Dsig & XML Encryption - Tomcat - ANT - Apache Commons FileUpload - Apache Commons IO Library - Apache Commons Codec - Apache Commons Logging, - Apache Commons Digester, - Apache Commons Bean Utils, - Apache Commons Collections - Apache Commons Modeler - - Use of any of this software is governed by the terms of the license below: - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - -%% The following software may be included in this product: BCEL 5.1. Use of any of -this software is governed by the terms of the license below: - -The Apache Software License, Version 1.1 - * - * Copyright (c) 2001 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. 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. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Apache" and "Apache Software Foundation" and - * "Apache BCEL" must not be used to endorse or promote products - * derived from this software without prior written permission. For - * written permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * "Apache BCEL", nor may "Apache" appear in their name, without - * prior written permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - * ITS 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. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * . - */ - - -%% The following software may be included in this product: sfx4j. Use of any of this software is governed by the terms of the license below: -Copyright (c) 2003, Kohsuke Kawaguchi -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. - -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. - -%% The following software may be included in this product: Stax API. Use of any of this software is governed by the terms of the license below: -Streaming API for XML (JSR-173) Specification -Reference Implementation -License Agreement - -READ THE TERMS OF THIS (THE "AGREEMENT") CAREFULLY BEFORE VIEWING OR USING THE -SOFTWARE LICENS -ED HEREUNDER. BY VIEWING OR USING THE SOFTWARE, YOU AGREE TO THE TERMS OF THIS -AGREEMENT. IF -YOU ARE ACCESSING THE SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE -TERMS BY SELE -CTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO -ALL THESE TERMS -, PROMPTLY RETURN THE UNUSED SOFTWARE TO ORIGINAL CONTRIBUTOR, DEFINED HEREIN. - -1.0 DEFINITIONS. - -1.1. "BEA" means BEA Systems, Inc., the licensor of the Original Code. - -1.2. "Contributor" means BEA and each entity that creates or contributes to the -creation of Mo -difications. - -1.3. "Covered Code" means the Original Code or Modifications or the combination -of the Origina -l Code and Modifications, in each case including portions thereof and -corresponding documentat -ion released with the source code. - -1.4. "Executable" means Covered Code in any form other than Source Code. - -1.5. "FCS" means first commercial shipment of a product. - -1.6. "Modifications" means any addition to or deletion from the substance or -structure of eith -er the Original Code or any previous Modifications. When Covered Code is -released as a series -of files, a Modification is: - -(a) Any addition to or deletion from the contents of a file containing Original -Code or previous Modifications. - -(b) Any new file that contains any part of the Original Code or previous -Modifications. - -1.7. "Original Code" means Source Code of computer software code Reference -Implementation. - -1.8. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, -including wit -hout limitation, method, process, and apparatus claims, in any patent for which -the grantor ha -s the right to grant a license. - -1.9. "Reference Implementation" means the prototype or "proof of concept" -implementa­tion of -the Specification developed and made available for license by or on behalf of BEA. - -1.10. "Source Code" means the preferred form of the Covered Code for making -modifications to i -t, including all modules it contains, plus any associated documentation, -interface definition -files, scripts used to control compilation and installation of an Executable, or -source code d -ifferential comparisons against either the Original Code or another well known, -available Cove -red Code of the Contributor's choice. - -1.11. "Specification" means the written specification for the Streaming API for -XML , Java te -chnology developed pursuant to the Java Community Process. -1.12. "Technology Compatibility Kit" or "TCK" means the documentation, testing -tools and test -suites associated with the Specification as may be revised by BEA from time to -time, that is p -rovided so that an implementer of the Specifi­cation may determine if its -implementation is co -mpliant with the Specification. - -1.13. "You" (or "Your") means an individual or a legal entity exercising rights -under, and com -plying with all of the terms of, this Agreement or a future version of this -Agreement issued u -nder Section 6.1. For legal entities, "You" includes any entity which controls, -is controlled -by, or is under common control with You. For purposes of this definition, -"control" means (a) -the power, direct or indirect, to cause the direction or management of such -entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent (50%) of the -outstanding s -hares or beneficial ownership of such entity. - -2.0 SOURCE CODE LICENSE. - -2.1. Copyright Grant. Subject to the terms of this Agreement, each Contributor -hereby grants -You a non-exclusive, worldwide, royalty-free copyright license to reproduce, -prepare derivativ -e works of, publicly display, publicly perform, distribute and sublicense the -Covered Code of -such Contributor, if any, and such derivative works, in Source Code and -Executable form. - -2.2. Patent Grant. Subject to the terms of this Agreement, each Contributor -hereby grants Yo -u a non-exclusive, worldwide, royalty-free patent license under the Patent -Claims to make, use -, sell, offer to sell, import and otherwise transfer the Covered Code prepared -and provided by - such Contributor, if any, in Source Code and Executable form. This patent -license shall apply - to the Covered Code if, at the time a Modification is added by the Contributor, -such addition - of the Modification causes such combination to be covered by the Patent Claims. -The patent li -cense shall not apply to any other combinations which include the Modification. - -2.3. Conditions to Grants. You understand that although each Contributor -grants the licenses - to the Covered Code prepared by it, no assurances are provided by any -Contributor that the Co -vered Code does not infringe the patent or other intellectual property rights of -any other ent -ity. Each Contributor disclaims any liability to You for claims brought by any -other entity ba -sed on infringement of intellectual property rights or otherwise. As a condition -to exercising - the rights and licenses granted hereunder, You hereby assume sole -responsibility to secure an -y other intellectual property rights needed, if any. For example, if a third -party patent lice -nse is required to allow You to distribute Covered Code, it is Your -responsibility to acquire -that license before distributing such code. - -2.4. Contributors' Representation. Each Contributor represents that to its -knowledge it has -sufficient copyright rights in the Covered Code it provides , if any, to grant -the copyright l -icense set forth in this Agreement. - -3.0 DISTRIBUION RESTRICTIONS. - -3.1. Application of Agreement. - -The Modifications which You create or to which You contribute are governed by -the terms of thi -s Agreement, including without limitation Section 2.0. The Source Code version -of Covered Code - may be distributed only under the terms of this Agreement or a future version -of this Agreeme -nt released under Section 6.1, and You must include a copy of this Agreement -with every copy o -f the Source Code You distribute. You may not offer or impose any terms on any -Source Code ver -sion that alters or restricts the applicable version of this Agreement or the -recipients' righ -ts hereunder. However, You may include an additional document offering the -additional rights d -escribed in Section 3.3. - -3.2. Description of Modifications. - -You must cause all Covered Code to which You contribute to contain a file -documenting the chan -ges You made to create that Covered Code and the date of any change. You must -include a promin -ent statement that the Modification is derived, directly or indirectly, from -Original Code pro -vided by BEA and including the name of BEA in (a) the Source Code, and (b) in -any notice in an - Executable version or related documentation in which You describe the origin or -ownership of -the Covered Code. -%% The following software may be included in this product: RelaxNGCC. Use of any of this software is governed by the terms of the license below: -Copyright (c) 2000-2003 Daisuke Okajima and Kohsuke Kawaguchi. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -2. 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. - -3. The end-user documentation included with the redistribution, if -any, must include the following acknowledgment: - - "This product includes software developed by Daisuke Okajima - and Kohsuke Kawaguchi (http://relaxngcc.sf.net/)." - -Alternately, this acknowledgment may appear in the software itself, -if and wherever such third-party acknowledgments normally appear. - -4. The names of the copyright holders must not be used to endorse or -promote products derived from this software without prior written -permission. For written permission, please contact the copyright -holders. - -5. Products derived from this software may not be called "RELAXNGCC", -nor may "RELAXNGCC" appear in their name, without prior written -permission of the copyright holders. - -THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR ITS 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. - -%% The following software may be included in this product: RelaxNG Object Model/Parser. Use of any of this software is governed by the terms of the license below: -The MIT License -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -%% The following software may be included in this product: ASM. Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2000-2005 INRIA, France Telecom -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. 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. - -3. Neither the name of the copyright holders 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. -%% The following software may be included in this product: zlib. Use of any of this software is governed by the terms of the license below: - -License - -/* zlib.h -- interface of the 'zlib' general purpose compression library - version 1.2.1, November 17th, 2003 - - Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly jloup@gzip.org - Mark Adler madler@alumni.caltech.edu - -*/ - - -Copyright ýý 2004 by the Open Source Initiative -Technical questions about the website go to Steve M.: webmaster at -opensource.org / Policy questions about open source go to the Board of Directors. - -The contents of this website are licensed under the Open Software License 2.0 or -Academic Free License 2.0 - -OSI is a registered non-profit with 501(c)(3) status. Contact our Board for -further donation information. - -%% The following software may be included in this product: Sun Multi-Schema Validator v. relaxngDatatype.jar . Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun Microsystems. -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 names of the copyright holders 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 REGENTS 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. - - -%% Portions of this product were developed using ANTLR. ANTLR 1989-2000 -developed by jGuru.com, http://www.ANTLR.org and http://www.jGuru.com. - - -ANTLR 1989-2000 Developed by jGuru.com (MageLang Institute), -http://www.ANTLR.org and http://www.jGuru.com - -We reserve no legal rights to the ANTLR--it is fully in the -public domain. An individual or company may do whatever -they wish with source code distributed with ANTLR or the -code generated by ANTLR, including the incorporation of -ANTLR, or its output, into commerical software. - -We encourage users to develop software with ANTLR. However, -we do ask that credit is given to us for developing -ANTLR. By "credit", we mean that if you use ANTLR or -incorporate any source code into one of your programs -(commercial product, research project, or otherwise) that -you acknowledge this fact somewhere in the documentation, -research report, etc... If you like ANTLR and have -developed a nice tool with the output, please mention that -you developed it using ANTLR. In addition, we ask that the -headers remain intact in our source code. As long as these -guidelines are kept, we expect to continue enhancing this -system and expect to make other tools available as they are -completed. - - -%% The following software may be included in this product: schema2beans, dbschema from the Netbeans Project, http://www.netbeans.org. Use of any of this software is governed by the terms of the license below: - - -SUN PUBLIC LICENSE Version 1.0 - - 1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original Code, - prior Modifications used by a Contributor, and the Modifications made - by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof and corresponding documentation released - with the source code. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified as - the Initial Developer in the Source Code notice required by Exhibit A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - - A. Any addition to or deletion from the contents of a file containing - Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, and - apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated documentation, interface definition files, scripts used - to control compilation and installation of an Executable, or source - code differential comparisons against either the Original Code or - another well known, available Covered Code of the Contributor's - choice. The Source Code can be in a compressed or archival form, - provided the appropriate decompression or de-archiving software is - widely available for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, to - cause the direction or management of such entity, whether by contract - or otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - 2. Source Code License. - - 2.1 The Initial Developer Grant. - - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, modify, - display, perform, sublicense and distribute the Original Code (or - portions thereof) with or without Modifications, and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of - Original Code, to make, have made, use, practice, sell, and offer for - sale, and/or otherwise dispose of the Original Code (or portions - thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are effective - on the date Initial Developer first distributes Original Code under - the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused by: - i) the modification of the Original Code or ii) the combination of the - Original Code with other software or devices. - - 2.2. Contributor Grant. - - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications created - by such Contributor (or portions thereof) either on an unmodified - basis, with other Modifications, as Covered Code and/or as part of a - Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of - Modifications made by that Contributor either alone and/or in - combination with its Contributor Version (or portions of such - combination), to make, use, sell, offer for sale, have made, and/or - otherwise dispose of: 1) Modifications made by that Contributor (or - portions thereof); and 2) the combination of Modifications made by - that Contributor with its Contributor Version (or portions of such - combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective - on the date Contributor first makes Commercial Use of the Covered - Code. - - (d) notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; 3) for - infringements caused by: i) third party modifications of Contributor - Version or ii) the combination of Modifications made by that - Contributor with other software (except as part of the Contributor - Version) or other devices; or 4) under Patent Claims infringed by - Covered Code in the absence of Modifications made by that Contributor. - - 3. Distribution Obligations. - - 3.1. Application of License. - - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters. - - (a) Third Party Claims. - - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, Contributor - must include a text file with the Source Code distribution titled - "LEGAL'' which describes the claim and the party making the claim in - sufficient detail that a recipient will know whom to contact. If - Contributor obtains such knowledge after the Modification is made - available as described in Section 3.2, Contributor shall promptly - modify the LEGAL file in all copies Contributor makes available - thereafter and shall take other steps (such as notifying appropriate - mailing lists or newsgroups) reasonably calculated to inform those who - received the Covered Code that new knowledge has been obtained. - - (b) Contributor APIs. - - If Contributor's Modifications include an application programming - interface ("API") and Contributor has knowledge of patent licenses - which are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - - Contributor represents that, except as disclosed pursuant to Section - 3.4(a) above, Contributor believes that Contributor's Modifications - are Contributor's original creation(s) and/or Contributor has - sufficient rights to grant the rights conveyed by this License. - - 3.5. Required Notices. - - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - - 4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - - 5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - - 6. Versions of the License. - - 6.1. New Versions. - - Sun Microsystems, Inc. ("Sun") may publish revised and/or new versions - of the License from time to time. Each version will be given a - distinguishing version number. - - 6.2. Effect of New Versions. - - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Sun. No one - other than Sun has the right to modify the terms applicable to Covered - Code created under this License. - - 6.3. Derivative Works. - - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must: (a) rename Your license so that - the phrases "Sun," "Sun Public License," or "SPL" or any confusingly - similar phrase do not appear in your license (except to note that your - license differs from this License) and (b) otherwise make it clear - that Your version of the license contains terms which differ from the - Sun Public License. (Filling in the name of the Initial Developer, - Original Code or Contributor in the notice described in Exhibit A - shall not of themselves be deemed to be modifications of this - License.) - - 7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - - 8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declaratory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, all - end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - - 9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - - 10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in 48 - C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" - and "commercial computer software documentation," as such terms are - used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. - 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all - U.S. Government End Users acquire Covered Code with only those rights - set forth herein. - - 11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - - 12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - - 13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - ?Multiple-Licensed?. ?Multiple-Licensed? means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the alternative licenses, if any, specified by the - Initial Developer in the file described in Exhibit A. - - Exhibit A -Sun Public License Notice. - - The contents of this file are subject to the Sun Public License - Version 1.0 (the "License"); you may not use this file except in - compliance with the License. A copy of the License is available at - http://www.sun.com/ - - The Original Code is _________________. The Initial Developer of the - Original Code is ___________. Portions created by ______ are Copyright - (C)_________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the ?[___] License?), in which case the - provisions of [______] License are applicable instead of those above. - If you wish to allow use of your version of this file only under the - terms of the [____] License and not to allow others to use your - version of this file under the SPL, indicate your decision by deleting - the provisions above and replace them with the notice and other - provisions required by the [___] License. If you do not delete the - provisions above, a recipient may use your version of this file under - either the SPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - - -@@ JAXB -%% The following software may be included in this product: iso-relax.jar v2002/07/07. Use of any of this software is governed by the terms of the license below: -The MIT License -Copyright (c) -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE - -%% The following software may be included in this product: relaxNGDatatype.jar. Use of any of this software is governed by the terms of the license below: - -Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all -copies and that both the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the names of the authors or their employers not be -used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. - -The authors and their employers disclaim all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the authors or their -employers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other -tortious action, arising out of or in connection with the use or performance of this software. - - -%% The following software may be included in this product: Resolver. Use of any of this software is governed by the terms of the license below: -xml-commons/LICENSE.txt $Id: LICENSE.txt,v 1.1 2002/01/31 23:42:49 curcuru Exp $ -See README.txt for additional licensing information. - -/* ==================================================================== - * The Apache Software License, Version 1.1 - * - * Copyright (c) 2001-2002 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. 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. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Apache" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - * ITS 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. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * http://www.apache.org/. - - -*Woodstock 4.0 - - %% The following software may be included in this product: Dojo - Use of any of this software is governed by the terms of the license below: - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original Work: - - Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the following: - - * to reproduce the Original Work in copies; - * to prepare derivative works ("Derivative Works") based upon the Original Work; - * to distribute copies of the Original Work and Derivative Works to the public; - * to perform the Original Work publicly; and - * to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred form -of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby agrees -to provide a machine-readable copy of the Source Code of the Original Work along -with each copy of the Original Work that Licensor distributes. Licensor reserves -the right to satisfy this obligation by placing a machine-readable copy of the -Source Code in an information repository reasonably calculated to permit -inexpensive and convenient access by You for as long as Licensor continues to -distribute the Original Work, and by publishing the address of that information -repository in a notice immediately following the copyright notice that applies -to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or service -marks, may be used to endorse or promote products derived from this Original -Work without express prior written permission of the Licensor. Nothing in this -License shall be deemed to grant any rights to trademarks, copyrights, patents, -trade secrets or any other intellectual property of Licensor except as expressly -stated herein. No patent license is granted to make, use, sell or offer to sell -embodiments of any patent claims other than the licensed claims defined in -Section 2. No right is granted to the trademarks of Licensor even if such marks -are included in the Original Work. Nothing in this License shall be interpreted -to prohibit Licensor from licensing under different terms from this License any -Original Work that Licensor otherwise would have a right to license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the -copyright in and to the Original Work and the patent rights granted herein by -Licensor are owned by the Licensor or are sublicensed to You under the terms of -this License with the permission of the contributor(s) of those copyrights and -patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License or -the use of the Original Work including, without limitation, damages for loss of -goodwill, work stoppage, computer failure or malfunction, or any and all other -commercial damages or losses. This limitation of liability shall not apply to -liability for death or personal injury resulting from Licensor's negligence to -the extent applicable law prohibits such limitation. Some jurisdictions do not -allow the exclusion or limitation of incidental or consequential damages, so -this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work or -to exercise any of the rights granted in Section 1 herein, and any attempt to do -so except under the terms of this License (or another written agreement between -Licensor and You) is expressly prohibited by U.S. copyright law, the equivalent -laws of other countries, and by international treaty. Therefore, by exercising -any of the rights granted to You in Section 1 herein, You indicate Your -acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging patent -infringement by combinations of the Original Work with other software or hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the Licensor -resides or in which Licensor conducts its primary business, and under the laws -of that jurisdiction excluding its conflict-of-law provisions. The application -of the United Nations Convention on Contracts for the International Sale of -Goods is expressly excluded. Any use of the Original Work outside the scope of -this License or after its termination shall be subject to the requirements and -penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et seq., the equivalent -laws of other countries, and international treaty. This section shall survive -the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including any -appeal of such action. This section shall survive the termination of this License. - -13) Miscellaneous. This License represents the complete agreement concerning the -subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal entities, -"You" includes any entity that controls, is controlled by, or is under common -control with you. For purposes of this definition, "control" means (i) the -power, direct or indirect, to cause the direction or management of such entity, -whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or -more of the outstanding shares, or (iii) beneficial ownership of such entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. - - -Previous Approved Versions: AFL 2.0, AFL 1.2, AFL 1.1 -Plain Text Version - -Copyright ? 2005 by the Open Source Initiative -Technical questions about the website go to Steve M.: webmaster at -opensource.org / Policy questions about open source go to the Board of Directors. - -The contents of this website are licensed under the Open Software License 2.1 or -Academic Free License 2.1 - -OSI is a registered non-profit with 501(c)(3) status. Donating to OSI is one way -to show your support. - -%% The following software may be included in this product: JSON - Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2002 JSON.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -The Software shall be used for Good, not Evil. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -%% The following software may be included in this product: Shale, Velocity - Use of any of this software is governed by the terms of the license below: - -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and -distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright -owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities -that control, are controlled by, or are under common control with that entity. -For the purposes of this definition, "control" means (i) the power, direct or -indirect, to cause the direction or management of such entity, whether by -contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the -outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising -permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including -but not limited to software source code, documentation source, and configuration -files. - -"Object" form shall mean any form resulting from mechanical transformation or -translation of a Source form, including but not limited to compiled object code, -generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made -available under the License, as indicated by a copyright notice that is included -in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that -is based on (or derived from) the Work and for which the editorial revisions, -annotations, elaborations, or other modifications represent, as a whole, an -original work of authorship. For the purposes of this License, Derivative Works -shall not include works that remain separable from, or merely link (or bind by -name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version -of the Work and any modifications or additions to that Work or Derivative Works -thereof, that is intentionally submitted to Licensor for inclusion in the Work -by the copyright owner or by an individual or Legal Entity authorized to submit -on behalf of the copyright owner. For the purposes of this definition, -"submitted" means any form of electronic, verbal, or written communication sent -to the Licensor or its representatives, including but not limited to -communication on electronic mailing lists, source code control systems, and -issue tracking systems that are managed by, or on behalf of, the Licensor for -the purpose of discussing and improving the Work, but excluding communication -that is conspicuously marked or otherwise designated in writing by the copyright -owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf -of whom a Contribution has been received by Licensor and subsequently -incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, -sublicense, and distribute the Work and such Derivative Works in Source or -Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, -each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, -no-charge, royalty-free, irrevocable (except as stated in this section) patent -license to make, have made, use, offer to sell, sell, import, and otherwise -transfer the Work, where such license applies only to those patent claims -licensable by such Contributor that are necessarily infringed by their -Contribution(s) alone or by combination of their Contribution(s) with the Work -to which such Contribution(s) was submitted. If You institute patent litigation -against any entity (including a cross-claim or counterclaim in a lawsuit) -alleging that the Work or a Contribution incorporated within the Work -constitutes direct or contributory patent infringement, then any patent licenses -granted to You under this License for that Work shall terminate as of the date -such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and in -Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a copy -of this License; and - - 2. You must cause any modified files to carry prominent notices stating that -You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You -distribute, all copyright, patent, trademark, and attribution notices from the -Source form of the Work, excluding those notices that do not pertain to any part -of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its distribution, -then any Derivative Works that You distribute must include a readable copy of -the attribution notices contained within such NOTICE file, excluding those -notices that do not pertain to any part of the Derivative Works, in at least one -of the following places: within a NOTICE text file distributed as part of the -Derivative Works; within the Source form or documentation, if provided along -with the Derivative Works; or, within a display generated by the Derivative -Works, if and wherever such third-party notices normally appear. The contents of -the NOTICE file are for informational purposes only and do not modify the -License. You may add Your own attribution notices within Derivative Works that -You distribute, alongside or as an addendum to the NOTICE text from the Work, -provided that such additional attribution notices cannot be construed as -modifying the License. - -You may add Your own copyright statement to Your modifications and may provide -additional or different license terms and conditions for use, reproduction, or -distribution of Your modifications, or for any such Derivative Works as a whole, -provided Your use, reproduction, and distribution of the Work otherwise complies -with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to the -Licensor shall be under the terms and conditions of this License, without any -additional terms or conditions. Notwithstanding the above, nothing herein shall -supersede or modify the terms of any separate license agreement you may have -executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, -trademarks, service marks, or product names of the Licensor, except as required -for reasonable and customary use in describing the origin of the Work and -reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in -writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any warranties -or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A -PARTICULAR PURPOSE. You are solely responsible for determining the -appropriateness of using or redistributing the Work and assume any risks -associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in -tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to in -writing, shall any Contributor be liable to You for damages, including any -direct, indirect, special, incidental, or consequential damages of any character -arising as a result of this License or out of the use or inability to use the -Work (including but not limited to damages for loss of goodwill, work stoppage, -computer failure or malfunction, or any and all other commercial damages or -losses), even if such Contributor has been advised of the possibility of such -damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or -Derivative Works thereof, You may choose to offer, and charge a fee for, -acceptance of support, warranty, indemnity, or other liability obligations -and/or rights consistent with this License. However, in accepting such -obligations, You may act only on Your own behalf and on Your sole -responsibility, not on behalf of any other Contributor, and only if You agree to -indemnify, defend, and hold each Contributor harmless for any liability incurred -by, or claims asserted against, such Contributor by reason of your accepting any -such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -%% The following software may be included in this product: Prototype -Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2005-2007 Sam Stephenson -2 -3 Permission is hereby granted, free of charge, to any person obtaining a copy -4 of this software and associated documentation files (the "Software"), to deal -5 in the Software without restriction, including without limitation the rights -6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -7 copies of the Software, and to permit persons to whom the Software is -8 furnished to do so, subject to the following conditions: -9 -10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -11 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -12 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -13 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -14 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -15 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -16 SOFTWARE. - -*Update Center 1.0 - -%% The following software may be included in this product: JDIC, Swing Layout extensions. Use of any of this software is governed by the terms of the license below: - -GNU LESSER GENERAL PUBLIC LICENSE - -Version 2.1, February 1999 - -Copyright (C) 1991, 1999 Free Software Foundation, Inc. -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - -Preamble - -The licenses for most software are designed to take away your freedom to share -and change it. By contrast, the GNU General Public Licenses are intended to -guarantee your freedom to share and change free software--to make sure the -software is free for all its users. - -This license, the Lesser General Public License, applies to some specially -designated software packages--typically libraries--of the Free Software -Foundation and other authors who decide to use it. You can use it too, but we -suggest you first think carefully about whether this license or the ordinary -General Public License is the better strategy to use in any particular case, -based on the explanations below. - -When we speak of free software, we are referring to freedom of use, not price. -Our General Public Licenses are designed to make sure that you have the freedom -to distribute copies of free software (and charge for this service if you wish); -that you receive source code or can get it if you want it; that you can change -the software and use pieces of it in new free programs; and that you are -informed that you can do these things. - -To protect your rights, we need to make restrictions that forbid distributors to -deny you these rights or to ask you to surrender these rights. These -restrictions translate to certain responsibilities for you if you distribute -copies of the library or if you modify it. - -For example, if you distribute copies of the library, whether gratis or for a -fee, you must give the recipients all the rights that we gave you. You must make -sure that they, too, receive or can get the source code. If you link other code -with the library, you must provide complete object files to the recipients, so -that they can relink them with the library after making changes to the library -and recompiling it. And you must show them these terms so they know their rights. - -We protect your rights with a two-step method: (1) we copyright the library, and -(2) we offer you this license, which gives you legal permission to copy, -distribute and/or modify the library. - -To protect each distributor, we want to make it very clear that there is no -warranty for the free library. Also, if the library is modified by someone else -and passed on, the recipients should know that what they have is not the -original version, so that the original author's reputation will not be affected -by problems that might be introduced by others. - -Finally, software patents pose a constant threat to the existence of any free -program. We wish to make sure that a company cannot effectively restrict the -users of a free program by obtaining a restrictive license from a patent holder. -Therefore, we insist that any patent license obtained for a version of the -library must be consistent with the full freedom of use specified in this license. - -Most GNU software, including some libraries, is covered by the ordinary GNU -General Public License. This license, the GNU Lesser General Public License, -applies to certain designated libraries, and is quite different from the -ordinary General Public License. We use this license for certain libraries in -order to permit linking those libraries into non-free programs. - -When a program is linked with a library, whether statically or using a shared -library, the combination of the two is legally speaking a combined work, a -derivative of the original library. The ordinary General Public License -therefore permits such linking only if the entire combination fits its criteria -of freedom. The Lesser General Public License permits more lax criteria for -linking other code with the library. - -We call this license the "Lesser" General Public License because it does Less to -protect the user's freedom than the ordinary General Public License. It also -provides other free software developers Less of an advantage over competing -non-free programs. These disadvantages are the reason we use the ordinary -General Public License for many libraries. However, the Lesser license provides -advantages in certain special circumstances. - -For example, on rare occasions, there may be a special need to encourage the -widest possible use of a certain library, so that it becomes a de-facto -standard. To achieve this, non-free programs must be allowed to use the library. -A more frequent case is that a free library does the same job as widely used -non-free libraries. In this case, there is little to gain by limiting the free -library to free software only, so we use the Lesser General Public License. - -In other cases, permission to use a particular library in non-free programs -enables a greater number of people to use a large body of free software. For -example, permission to use the GNU C Library in non-free programs enables many -more people to use the whole GNU operating system, as well as its variant, the -GNU/Linux operating system. - -Although the Lesser General Public License is Less protective of the users' -freedom, it does ensure that the user of a program that is linked with the -Library has the freedom and the wherewithal to run that program using a modified -version of the Library. - -The precise terms and conditions for copying, distribution and modification -follow. Pay close attention to the difference between a "work based on the -library" and a "work that uses the library". The former contains code derived -from the library, whereas the latter must be combined with the library in order -to run. - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -0. This License Agreement applies to any software library or other program which -contains a notice placed by the copyright holder or other authorized party -saying it may be distributed under the terms of this Lesser General Public -License (also called "this License"). Each licensee is addressed as "you". - -A "library" means a collection of software functions and/or data prepared so as -to be conveniently linked with application programs (which use some of those -functions and data) to form executables. - -The "Library", below, refers to any such software library or work which has been -distributed under these terms. A "work based on the Library" means either the -Library or any derivative work under copyright law: that is to say, a work -containing the Library or a portion of it, either verbatim or with modifications -and/or translated straightforwardly into another language. (Hereinafter, -translation is included without limitation in the term "modification".) - -"Source code" for a work means the preferred form of the work for making -modifications to it. For a library, complete source code means all the source -code for all modules it contains, plus any associated interface definition -files, plus the scripts used to control compilation and installation of the library. - -Activities other than copying, distribution and modification are not covered by -this License; they are outside its scope. The act of running a program using the -Library is not restricted, and output from such a program is covered only if its -contents constitute a work based on the Library (independent of the use of the -Library in a tool for writing it). Whether that is true depends on what the -Library does and what the program that uses the Library does. - -1. You may copy and distribute verbatim copies of the Library's complete source -code as you receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice and -disclaimer of warranty; keep intact all the notices that refer to this License -and to the absence of any warranty; and distribute a copy of this License along -with the Library. - -You may charge a fee for the physical act of transferring a copy, and you may at -your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Library or any portion of it, thus -forming a work based on the Library, and copy and distribute such modifications -or work under the terms of Section 1 above, provided that you also meet all of -these conditions: - - * a) The modified work must itself be a software library. - * b) You must cause the files modified to carry prominent notices stating -that you changed the files and the date of any change. - * c) You must cause the whole of the work to be licensed at no charge to all -third parties under the terms of this License. - * d) If a facility in the modified Library refers to a function or a table -of data to be supplied by an application program that uses the facility, other -than as an argument passed when the facility is invoked, then you must make a -good faith effort to ensure that, in the event an application does not supply -such function or table, the facility still operates, and performs whatever part -of its purpose remains meaningful. - - (For example, a function in a library to compute square roots has a -purpose that is entirely well-defined independent of the application. Therefore, -Subsection 2d requires that any application-supplied function or table used by -this function must be optional: if the application does not supply it, the -square root function must still compute square roots.) - - These requirements apply to the modified work as a whole. If identifiable -sections of that work are not derived from the Library, and can be reasonably -considered independent and separate works in themselves, then this License, and -its terms, do not apply to those sections when you distribute them as separate -works. But when you distribute the same sections as part of a whole which is a -work based on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the entire whole, -and thus to each and every part regardless of who wrote it. - - Thus, it is not the intent of this section to claim rights or contest your -rights to work written entirely by you; rather, the intent is to exercise the -right to control the distribution of derivative or collective works based on the -Library. - - In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of a storage -or distribution medium does not bring the other work under the scope of this -License. - -3. You may opt to apply the terms of the ordinary GNU General Public License -instead of this License to a given copy of the Library. To do this, you must -alter all the notices that refer to this License, so that they refer to the -ordinary GNU General Public License, version 2, instead of to this License. (If -a newer version than version 2 of the ordinary GNU General Public License has -appeared, then you can specify that version instead if you wish.) Do not make -any other change in these notices. - -Once this change is made in a given copy, it is irreversible for that copy, so -the ordinary GNU General Public License applies to all subsequent copies and -derivative works made from that copy. - -This option is useful when you wish to copy part of the code of the Library into -a program that is not a library. - -4. You may copy and distribute the Library (or a portion or derivative of it, -under Section 2) in object code or executable form under the terms of Sections 1 -and 2 above provided that you accompany it with the complete corresponding -machine-readable source code, which must be distributed under the terms of -Sections 1 and 2 above on a medium customarily used for software interchange. - -If distribution of object code is made by offering access to copy from a -designated place, then offering equivalent access to copy the source code from -the same place satisfies the requirement to distribute the source code, even -though third parties are not compelled to copy the source along with the object -code. - -5. A program that contains no derivative of any portion of the Library, but is -designed to work with the Library by being compiled or linked with it, is called -a "work that uses the Library". Such a work, in isolation, is not a derivative -work of the Library, and therefore falls outside the scope of this License. - -However, linking a "work that uses the Library" with the Library creates an -executable that is a derivative of the Library (because it contains portions of -the Library), rather than a "work that uses the library". The executable is -therefore covered by this License. Section 6 states terms for distribution of -such executables. - -When a "work that uses the Library" uses material from a header file that is -part of the Library, the object code for the work may be a derivative work of -the Library even though the source code is not. Whether this is true is -especially significant if the work can be linked without the Library, or if the -work is itself a library. The threshold for this to be true is not precisely -defined by law. - -If such an object file uses only numerical parameters, data structure layouts -and accessors, and small macros and small inline functions (ten lines or less in -length), then the use of the object file is unrestricted, regardless of whether -it is legally a derivative work. (Executables containing this object code plus -portions of the Library will still fall under Section 6.) - -Otherwise, if the work is a derivative of the Library, you may distribute the -object code for the work under the terms of Section 6. Any executables -containing that work also fall under Section 6, whether or not they are linked -directly with the Library itself. - -6. As an exception to the Sections above, you may also combine or link a "work -that uses the Library" with the Library to produce a work containing portions of -the Library, and distribute that work under terms of your choice, provided that -the terms permit modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - -You must give prominent notice with each copy of the work that the Library is -used in it and that the Library and its use are covered by this License. You -must supply a copy of this License. If the work during execution displays -copyright notices, you must include the copyright notice for the Library among -them, as well as a reference directing the user to the copy of this License. -Also, you must do one of these things: - - * a) Accompany the work with the complete corresponding machine-readable -source code for the Library including whatever changes were used in the work -(which must be distributed under Sections 1 and 2 above); and, if the work is an -executable linked with the Library, with the complete machine-readable "work -that uses the Library", as object code and/or source code, so that the user can -modify the Library and then relink to produce a modified executable containing -the modified Library. (It is understood that the user who changes the contents -of definitions files in the Library will not necessarily be able to recompile -the application to use the modified definitions.) - * b) Use a suitable shared library mechanism for linking with the Library. A -suitable mechanism is one that (1) uses at run time a copy of the library -already present on the user's computer system, rather than copying library -functions into the executable, and (2) will operate properly with a modified -version of the library, if the user installs one, as long as the modified -version is interface-compatible with the version that the work was made with. - * c) Accompany the work with a written offer, valid for at least three -years, to give the same user the materials specified in Subsection 6a, above, -for a charge no more than the cost of performing this distribution. - * d) If distribution of the work is made by offering access to copy from a -designated place, offer equivalent access to copy the above specified materials -from the same place. - * e) Verify that the user has already received a copy of these materials or -that you have already sent this user a copy. - -For an executable, the required form of the "work that uses the Library" must -include any data and utility programs needed for reproducing the executable from -it. However, as a special exception, the materials to be distributed need not -include anything that is normally distributed (in either source or binary form) -with the major components (compiler, kernel, and so on) of the operating system -on which the executable runs, unless that component itself accompanies the -executable. - -It may happen that this requirement contradicts the license restrictions of -other proprietary libraries that do not normally accompany the operating system. -Such a contradiction means you cannot use both them and the Library together in -an executable that you distribute. - -7. You may place library facilities that are a work based on the Library -side-by-side in a single library together with other library facilities not -covered by this License, and distribute such a combined library, provided that -the separate distribution of the work based on the Library and of the other -library facilities is otherwise permitted, and provided that you do these two -things: - - * a) Accompany the combined library with a copy of the same work based on -the Library, uncombined with any other library facilities. This must be -distributed under the terms of the Sections above. - * b) Give prominent notice with the combined library of the fact that part -of it is a work based on the Library, and explaining where to find the -accompanying uncombined form of the same work. - -8. You may not copy, modify, sublicense, link with, or distribute the Library -except as expressly provided under this License. Any attempt otherwise to copy, -modify, sublicense, link with, or distribute the Library is void, and will -automatically terminate your rights under this License. However, parties who -have received copies, or rights, from you under this License will not have their -licenses terminated so long as such parties remain in full compliance. - -9. You are not required to accept this License, since you have not signed it. -However, nothing else grants you permission to modify or distribute the Library -or its derivative works. These actions are prohibited by law if you do not -accept this License. Therefore, by modifying or distributing the Library (or any -work based on the Library), you indicate your acceptance of this License to do -so, and all its terms and conditions for copying, distributing or modifying the -Library or works based on it. - -10. Each time you redistribute the Library (or any work based on the Library), -the recipient automatically receives a license from the original licensor to -copy, distribute, link with or modify the Library subject to these terms and -conditions. You may not impose any further restrictions on the recipients' -exercise of the rights granted herein. You are not responsible for enforcing -compliance by third parties with this License. - -11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), conditions -are imposed on you (whether by court order, agreement or otherwise) that -contradict the conditions of this License, they do not excuse you from the -conditions of this License. If you cannot distribute so as to satisfy -simultaneously your obligations under this License and any other pertinent -obligations, then as a consequence you may not distribute the Library at all. -For example, if a patent license would not permit royalty-free redistribution of -the Library by all those who receive copies directly or indirectly through you, -then the only way you could satisfy both it and this License would be to refrain -entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, and -the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any patents or -other property right claims or to contest validity of any such claims; this -section has the sole purpose of protecting the integrity of the free software -distribution system which is implemented by public license practices. Many -people have made generous contributions to the wide range of software -distributed through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing to -distribute software through any other system and a licensee cannot impose that -choice. - -This section is intended to make thoroughly clear what is believed to be a -consequence of the rest of this License. - -12. If the distribution and/or use of the Library is restricted in certain -countries either by patents or by copyrighted interfaces, the original copyright -holder who places the Library under this License may add an explicit -geographical distribution limitation excluding those countries, so that -distribution is permitted only in or among countries not thus excluded. In such -case, this License incorporates the limitation as if written in the body of this -License. - -13. The Free Software Foundation may publish revised and/or new versions of the -Lesser General Public License from time to time. Such new versions will be -similar in spirit to the present version, but may differ in detail to address -new problems or concerns. - -Each version is given a distinguishing version number. If the Library specifies -a version number of this License which applies to it and "any later version", -you have the option of following the terms and conditions either of that version -or of any later version published by the Free Software Foundation. If the -Library does not specify a license version number, you may choose any version -ever published by the Free Software Foundation. - -14. If you wish to incorporate parts of the Library into other free programs -whose distribution conditions are incompatible with these, write to the author -to ask for permission. For software which is copyrighted by the Free Software -Foundation, write to the Free Software Foundation; we sometimes make exceptions -for this. Our decision will be guided by the two goals of preserving the free -status of all derivatives of our free software and of promoting the sharing and -reuse of software generally. - -NO WARRANTY - -15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE -LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED -IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS -IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL -ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE -LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, -SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY -TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF -THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER -PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS -How to Apply These Terms to Your New Libraries - -If you develop a new library, and you want it to be of the greatest possible use -to the public, we recommend making it free software that everyone can -redistribute and change. You can do so by permitting redistribution under these -terms (or, alternatively, under the terms of the ordinary General Public License). - -To apply these terms, attach the following notices to the library. It is safest -to attach them to the start of each source file to most effectively convey the -exclusion of warranty; and each file should have at least the "copyright" line -and a pointer to where the full notice is found. - -one line to give the library's name and an idea of what it does. -Copyright (C) year name of author - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your school, -if any, to sign a "copyright disclaimer" for the library, if necessary. Here is -a sample; alter the names: - -Yoyodyne, Inc., hereby disclaims all copyright interest in -the library `Frob' (a library for tweaking knobs) written -by James Random Hacker. - -signature of Ty Coon, 1 April 1990 -Ty Coon, President of Vice - -That's all there is to it! - -*Shoal -%% The following software may be included in this product: JXTA - Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2001-2004 Sun Microsystems, Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -2. 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. - -3. The end-user documentation included with the redistribution, if any, must -include the following acknowledgment: "This product includes software developed -by Sun Microsystems, Inc. for JXTA(TM) technology." Alternately, this -acknowledgment may appear in the software itself, if and wherever such -third-party acknowledgments normally appear. - -4. The names "Sun", "Sun Microsystems, Inc.", "JXTA" and "Project JXTA" must not -be used to endorse or promote products derived from this software without prior -written permission. For written permission, please contact Project JXTA at -http://www.jxta.org. - -5. Products derived from this software may not be called "JXTA", nor may "JXTA"appear in their name, without prior written permission of Sun. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 SUN -MICROSYSTEMS OR ITS 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. - -JXTA is a registered trademark of Sun Microsystems, Inc. in the United States -and other countries. - - -*JBI - -%% The following software may be included in this product: XML Beans, commons-httpclient.jar, resolver.jar, commons-codec, commons-logging - Use of any of this software is governed by the terms of the license below: - -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and -distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright -owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities -that control, are controlled by, or are under common control with that entity. -For the purposes of this definition, "control" means (i) the power, direct or -indirect, to cause the direction or management of such entity, whether by -contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the -outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising -permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including -but not limited to software source code, documentation source, and configuration -files. - -"Object" form shall mean any form resulting from mechanical transformation or -translation of a Source form, including but not limited to compiled object code, -generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made -available under the License, as indicated by a copyright notice that is included -in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that -is based on (or derived from) the Work and for which the editorial revisions, -annotations, elaborations, or other modifications represent, as a whole, an -original work of authorship. For the purposes of this License, Derivative Works -shall not include works that remain separable from, or merely link (or bind by -name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version -of the Work and any modifications or additions to that Work or Derivative Works -thereof, that is intentionally submitted to Licensor for inclusion in the Work -by the copyright owner or by an individual or Legal Entity authorized to submit -on behalf of the copyright owner. For the purposes of this definition, -"submitted" means any form of electronic, verbal, or written communication sent -to the Licensor or its representatives, including but not limited to -communication on electronic mailing lists, source code control systems, and -issue tracking systems that are managed by, or on behalf of, the Licensor for -the purpose of discussing and improving the Work, but excluding communication -that is conspicuously marked or otherwise designated in writing by the copyright -owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf -of whom a Contribution has been received by Licensor and subsequently -incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this -License, each Contributor hereby grants to You a perpetual, worldwide, -non-exclusive, no-charge, royalty-free, irrevocable copyright license to -reproduce, prepare Derivative Works of, publicly display, publicly perform, -sublicense, and distribute the Work and such Derivative Works in Source or -Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, -each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, -no-charge, royalty-free, irrevocable (except as stated in this section) patent -license to make, have made, use, offer to sell, sell, import, and otherwise -transfer the Work, where such license applies only to those patent claims -licensable by such Contributor that are necessarily infringed by their -Contribution(s) alone or by combination of their Contribution(s) with the Work -to which such Contribution(s) was submitted. If You institute patent litigation -against any entity (including a cross-claim or counterclaim in a lawsuit) -alleging that the Work or a Contribution incorporated within the Work -constitutes direct or contributory patent infringement, then any patent licenses -granted to You under this License for that Work shall terminate as of the date -such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or -Derivative Works thereof in any medium, with or without modifications, and in -Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a copy -of this License; and - - 2. You must cause any modified files to carry prominent notices stating that -You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You -distribute, all copyright, patent, trademark, and attribution notices from the -Source form of the Work, excluding those notices that do not pertain to any part -of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its distribution, -then any Derivative Works that You distribute must include a readable copy of -the attribution notices contained within such NOTICE file, excluding those -notices that do not pertain to any part of the Derivative Works, in at least one -of the following places: within a NOTICE text file distributed as part of the -Derivative Works; within the Source form or documentation, if provided along -with the Derivative Works; or, within a display generated by the Derivative -Works, if and wherever such third-party notices normally appear. The contents of -the NOTICE file are for informational purposes only and do not modify the -License. You may add Your own attribution notices within Derivative Works that -You distribute, alongside or as an addendum to the NOTICE text from the Work, -provided that such additional attribution notices cannot be construed as -modifying the License. - -You may add Your own copyright statement to Your modifications and may provide -additional or different license terms and conditions for use, reproduction, or -distribution of Your modifications, or for any such Derivative Works as a whole, -provided Your use, reproduction, and distribution of the Work otherwise complies -with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any -Contribution intentionally submitted for inclusion in the Work by You to the -Licensor shall be under the terms and conditions of this License, without any -additional terms or conditions. Notwithstanding the above, nothing herein shall -supersede or modify the terms of any separate license agreement you may have -executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, -trademarks, service marks, or product names of the Licensor, except as required -for reasonable and customary use in describing the origin of the Work and -reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in -writing, Licensor provides the Work (and each Contributor provides its -Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied, including, without limitation, any warranties -or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A -PARTICULAR PURPOSE. You are solely responsible for determining the -appropriateness of using or redistributing the Work and assume any risks -associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in -tort (including negligence), contract, or otherwise, unless required by -applicable law (such as deliberate and grossly negligent acts) or agreed to in -writing, shall any Contributor be liable to You for damages, including any -direct, indirect, special, incidental, or consequential damages of any character -arising as a result of this License or out of the use or inability to use the -Work (including but not limited to damages for loss of goodwill, work stoppage, -computer failure or malfunction, or any and all other commercial damages or -losses), even if such Contributor has been advised of the possibility of such -damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or -Derivative Works thereof, You may choose to offer, and charge a fee for, -acceptance of support, warranty, indemnity, or other liability obligations -and/or rights consistent with this License. However, in accepting such -obligations, You may act only on Your own behalf and on Your sole -responsibility, not on behalf of any other Contributor, and only if You agree to -indemnify, defend, and hold each Contributor harmless for any liability incurred -by, or claims asserted against, such Contributor by reason of your accepting any -such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -%% The following software may be included in this product: wsdl4j.jar - Use of any of this software is governed by the terms of the license below: - -Common Public License - v 1.0 -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. -1. DEFINITIONS -"Contribution" means: -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and -b) in the case of each subsequent Contributor: -i) changes to the Program, and -ii) additions to the Program; -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or -anyone acting on such Contributor's behalf. Contributions do not include -additions to the Program which: (i) are separate modules of software -distributed in conjunction with the Program under their own license agreement, -and (ii) are not derivative works of the Program. -"Contributor" means any person or entity that distributes the Program. -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. -"Program" means the Contributions distributed in accordance with this -Agreement. -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. -2. GRANT OF RIGHTS -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and -such derivative works, in source code and object code form. -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under -Licensed Patents to make, use, sell, offer to sell, import and otherwise -transfer the Contribution of such Contributor, if any, in source code and -object code form. This patent license shall apply to the combination of the -Contribution and the Program if, at the time the Contribution is added by the -Contributor, such addition of the Contribution causes such combination to be -covered by the Licensed Patents. The patent license shall not apply to any -other combinations which include the Contribution. No hardware per se is -licensed hereunder. -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other -intellectual property rights of any other entity. Each Contributor disclaims -any liability to Recipient for claims brought by any other entity based on -infringement of intellectual property rights or otherwise. As a condition to -exercising the rights and licenses granted hereunder, each Recipient hereby -assumes sole responsibility to secure any other intellectual property rights -needed, if any. For example, if a third party patent license is required to -allow Recipient to distribute the Program, it is Recipient's responsibility to -acquire that license before distributing the Program. -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright license -set forth in this Agreement. -3. REQUIREMENTS -A Contributor may choose to distribute the Program in object code form under -its own license agreement, provided that: -a) it complies with the terms and conditions of this Agreement; and -b) its license agreement: -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; -iii) states that any provisions which differ from this Agreement are offered -by that Contributor alone and not by any other party; and -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable manner on -or through a medium customarily used for software exchange. -When the Program is made available in source code form: -a) it must be made available under this Agreement; and -b) a copy of this Agreement must be included with each copy of the Program. -Contributors may not remove or alter any copyright notices contained within -the Program. -Each Contributor must identify itself as the originator of its Contribution, -if any, in a manner that reasonably allows subsequent Recipients to identify -the originator of the Contribution. -4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, -if a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits and -other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such Commercial -Contributor in connection with its distribution of the Program in a commercial -product offering. The obligations in this section do not apply to any claims -or Losses relating to any actual or alleged intellectual property -infringement. In order to qualify, an Indemnified Contributor must: a) -promptly notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If -that Commercial Contributor then makes performance claims, or offers -warranties related to Product X, those performance claims and warranties are -such Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages. -5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON -AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS -OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. -Each Recipient is solely responsible for determining the appropriateness of -using and distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to the -risks and costs of program errors, compliance with applicable laws, damage to -or loss of data, programs or equipment, and unavailability or interruption of -operations. -6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION -LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. -7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of the -remainder of the terms of this Agreement, and without further action by the -parties hereto, such provision shall be reformed to the minimum extent -necessary to make such provision valid and enforceable. -If Recipient institutes patent litigation against a Contributor with respect -to a patent applicable to software (including a cross-claim or counterclaim in -a lawsuit), then any patent licenses granted by that Contributor to such -Recipient under this Agreement shall terminate as of the date such litigation -is filed. In addition, if Recipient institutes patent litigation against any -entity (including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue -and survive. -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to -time. No one other than the Agreement Steward has the right to modify this -Agreement. IBM is the initial Agreement Steward. IBM may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to distribute the Program (including its Contributions) -under the new version. Except as expressly stated in Sections 2(a) and 2(b) -above, Recipient receives no rights or licenses to the intellectual property -of any Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted under -this Agreement are reserved. -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial -in any resulting litigation. - -%% The following software may be included in this product: Xalan - Use of any of this software is governed by the terms of the license below: - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License - - -====================================================================================== - == NOTICE file corresponding to the section 4d of the Apache -License, Version 2.0, == - == in this case for the Apache Xalan -distribution. == - -====================================================================================== - - This product includes software developed by - The Apache Software Foundation (http://www.apache.org/). - - Portions of this software was originally based on the following: - - - software copyright (c) 1999-2002, Lotus Development -Corporation., http://www.lotus.com. - - software copyright (c) 2001-2002, Sun Microsystems., -http://www.sun.com. - - software copyright (c) 2003, IBM Corporation., -http://www.ibm.com. - - voluntary contributions made by Ovidiu Predescu -(ovidiu@cup.hp.com) on behalf of the - Apache Software Foundation and was originally developed at -Hewlett Packard Company. - - -%% The following software may be included in this product: Xerces - Use of any of this software is governed by the terms of the license below: - -Apache Software License - -Version 1.1 - -Copyright (c) 2000 The Apache Software Foundation. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. - -2. 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. - -3. The end-user documentation included with the redistribution, if any, must -include the following acknowledgment: - - "This product includes software developed by the Apache Software Foundation - (http://www.apache.org/)." - -Alternately, this acknowledgment may appear in the software itself, if and -wherever such third-party acknowledgments normally appear. - -4. The names "Apache" and "Apache Software Foundation" must not be used to -endorse or promote products derived from this software without prior written -permission. For written permission, please contact apache@apache.org. - -5. Products derived from this software may not be called "Apache", nor may -"Apache" appear in their name, without prior written permission of the Apache -Software Foundation. - -THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 APACHE -SOFTWARE FOUNDATION OR ITS 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. - - -%% The following software may be included in this product: DOM - Use of any of this software is governed by the terms of the license below: - -W3C® SOFTWARE NOTICE AND LICENSE -Copyright © 1994-2002 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/ - -This W3C work (including software, documents, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions: - -Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: - - 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. - 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/" - 3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) - -THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. - -The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. - - -*jMaki - -%% The following software may be included in this product: Dojo - Use of any of this software is governed by the terms of the license below: - - Academic Free License - v. 2.1 - -(plain text version) - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original Work: - - Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the following: - - * to reproduce the Original Work in copies; - * to prepare derivative works ("Derivative Works") based upon the Original Work; - * to distribute copies of the Original Work and Derivative Works to the public; - * to perform the Original Work publicly; and - * to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred form -of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby agrees -to provide a machine-readable copy of the Source Code of the Original Work along -with each copy of the Original Work that Licensor distributes. Licensor reserves -the right to satisfy this obligation by placing a machine-readable copy of the -Source Code in an information repository reasonably calculated to permit -inexpensive and convenient access by You for as long as Licensor continues to -distribute the Original Work, and by publishing the address of that information -repository in a notice immediately following the copyright notice that applies -to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or service -marks, may be used to endorse or promote products derived from this Original -Work without express prior written permission of the Licensor. Nothing in this -License shall be deemed to grant any rights to trademarks, copyrights, patents, -trade secrets or any other intellectual property of Licensor except as expressly -stated herein. No patent license is granted to make, use, sell or offer to sell -embodiments of any patent claims other than the licensed claims defined in -Section 2. No right is granted to the trademarks of Licensor even if such marks -are included in the Original Work. Nothing in this License shall be interpreted -to prohibit Licensor from licensing under different terms from this License any -Original Work that Licensor otherwise would have a right to license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the -copyright in and to the Original Work and the patent rights granted herein by -Licensor are owned by the Licensor or are sublicensed to You under the terms of -this License with the permission of the contributor(s) of those copyrights and -patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License or -the use of the Original Work including, without limitation, damages for loss of -goodwill, work stoppage, computer failure or malfunction, or any and all other -commercial damages or losses. This limitation of liability shall not apply to -liability for death or personal injury resulting from Licensor's negligence to -the extent applicable law prohibits such limitation. Some jurisdictions do not -allow the exclusion or limitation of incidental or consequential damages, so -this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work or -to exercise any of the rights granted in Section 1 herein, and any attempt to do -so except under the terms of this License (or another written agreement between -Licensor and You) is expressly prohibited by U.S. copyright law, the equivalent -laws of other countries, and by international treaty. Therefore, by exercising -any of the rights granted to You in Section 1 herein, You indicate Your -acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging patent -infringement by combinations of the Original Work with other software or hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the Licensor -resides or in which Licensor conducts its primary business, and under the laws -of that jurisdiction excluding its conflict-of-law provisions. The application -of the United Nations Convention on Contracts for the International Sale of -Goods is expressly excluded. Any use of the Original Work outside the scope of -this License or after its termination shall be subject to the requirements and -penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et seq., the equivalent -laws of other countries, and international treaty. This section shall survive -the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including any -appeal of such action. This section shall survive the termination of this License. - -13) Miscellaneous. This License represents the complete agreement concerning the -subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal entities, -"You" includes any entity that controls, is controlled by, or is under common -control with you. For purposes of this definition, "control" means (i) the -power, direct or indirect, to cause the direction or management of such entity, -whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or -more of the outstanding shares, or (iii) beneficial ownership of such entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. - - -Previous Approved Versions: AFL 2.0, AFL 1.2, AFL 1.1 -Plain Text Version - -Copyright © 2005 by the Open Source Initiative -Technical questions about the website go to Steve M.: webmaster at -opensource.org / Policy questions about open source go to the Board of Directors. - -The contents of this website are licensed under the Open Software License 2.1 or -Academic Free License 2.1 - -OSI is a registered non-profit with 501(c)(3) status. Donating to OSI is one way -to show your support. - - -%% The following software may be included in this product: Scriptaculous - Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -%% The following software may be included in this product: Spry - Use of any of this software is governed by the terms of the license below: - -BSD License -The BSD License (http://www.opensource.org/licenses/bsd-license.php) specifies -the terms and conditions of use for Spry: - -Copyright (c) 2006. Adobe Systems Incorporated. -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 Adobe Systems Incorporated 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. - -%% The following software may be included in this product: Yahoo Widgets - Use of any of this software is governed by the terms of the license below: - -Software License Agreement (BSD License) - -Copyright (c) 2006, Yahoo! Inc. -All rights reserved. - -Redistribution and use of this software 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 Yahoo! Inc. nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission of Yahoo! Inc. - -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. - -%% The following software may be included in this product: json.org - Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2002 JSON.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -The Software shall be used for Good, not Evil. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -%% The following software may be included in this product: json.php - Use of any of this software is governed by the terms of the license below: - -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 the 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. - - - -********************************** - -Java EE 5 Samples - -DO NOT TRANSLATE OR LOCALIZE. - - * - * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * -Redistribution of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * - * -Redistribution 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 Sun Microsystems, Inc. or the names of contributors may - * be used to endorse or promote products derived from this software without - * specific prior written permission. - * - * This software is provided "AS IS," without a warranty of any kind. ALL - * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, - * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A - * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN - * MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR - * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR - * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR - * ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR - * DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE - * DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, - * ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF - * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - * - * You acknowledge that this software is not designed, licensed or intended - * for use in the design, construction, operation or maintenance of any - * nuclear facility. - */ - - -*************************** - - -DO NOT TRANSLATE OR LOCALIZE. - -- Java BluePrints - -%% The following software may be included in this product: - -- Dojo toolkit (http://dojotoolkit.org/). -- Apache Jakarta Commons FileUpload Libraries -(http://jakarta.apache.org/commons/fileupload/). -- Apache Jakarta Commons IO Libraries (http://jakarta.apache.org/commons/io/). -- Apache Jakarta Commons Logging Libraries -(http://jakarta.apache.org/commons/logging/). -- Apache Shale Framework (http://struts.apache.org/struts-shale/). -- Rome (https://rome.dev.java.net/) -- JDOM (http://jdom.org) - - -Use of any of this software is governed by the terms of thier licenses below: - - --------------------------------------------------------------------------------- ------------ -* Dojo toolkit - -The Academic Free License -v. 2.1 - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original -Work: - -Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the -following: - -a) to reproduce the Original Work in copies; - -b) to prepare derivative works ("Derivative Works") based upon the Original -Work; - -c) to distribute copies of the Original Work and Derivative Works to the -public; - -d) to perform the Original Work publicly; and - -e) to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred -form of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby -agrees to provide a machine-readable copy of the Source Code of the Original -Work along with each copy of the Original Work that Licensor distributes. -Licensor reserves the right to satisfy this obligation by placing a -machine-readable copy of the Source Code in an information repository -reasonably calculated to permit inexpensive and convenient access by You for as -long as Licensor continues to distribute the Original Work, and by publishing -the address of that information repository in a notice immediately following -the copyright notice that applies to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or -service marks, may be used to endorse or promote products derived from this -Original Work without express prior written permission of the Licensor. Nothing -in this License shall be deemed to grant any rights to trademarks, copyrights, -patents, trade secrets or any other intellectual property of Licensor except as -expressly stated herein. No patent license is granted to make, use, sell or -offer to sell embodiments of any patent claims other than the licensed claims -defined in Section 2. No right is granted to the trademarks of Licensor even if -such marks are included in the Original Work. Nothing in this License shall be -interpreted to prohibit Licensor from licensing under different terms from this -License any Original Work that Licensor otherwise would have a right to -license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that -the copyright in and to the Original Work and the patent rights granted herein -by Licensor are owned by the Licensor or are sublicensed to You under the terms -of this License with the permission of the contributor(s) of those copyrights -and patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License -or the use of the Original Work including, without limitation, damages for loss -of goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses. This limitation of liability shall not -apply to liability for death or personal injury resulting from Licensor's -negligence to the extent applicable law prohibits such limitation. Some -jurisdictions do not allow the exclusion or limitation of incidental or -consequential damages, so this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work -or to exercise any of the rights granted in Section 1 herein, and any attempt -to do so except under the terms of this License (or another written agreement -between Licensor and You) is expressly prohibited by U.S. copyright law, the -equivalent laws of other countries, and by international treaty. Therefore, by -exercising any of the rights granted to You in Section 1 herein, You indicate -Your acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging -patent infringement by combinations of the Original Work with other software or -hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the -Licensor resides or in which Licensor conducts its primary business, and under -the laws of that jurisdiction excluding its conflict-of-law provisions. The -application of the United Nations Convention on Contracts for the International -Sale of Goods is expressly excluded. Any use of the Original Work outside the -scope of this License or after its termination shall be subject to the -requirements and penalties of the U.S. Copyright Act, 17 U.S.C. ???? 101 et -seq., the equivalent laws of other countries, and international treaty. This -section shall survive the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including -any appeal of such action. This section shall survive the termination of this -License. - -13) Miscellaneous. This License represents the complete agreement concerning -the subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal -entities, "You" includes any entity that controls, is controlled by, or is -under common control with you. For purposes of this definition, "control" means -(i) the power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty percent -(50%) or more of the outstanding shares, or (iii) beneficial ownership of such -entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. - - - --------------------------------------------------------------------------------- ------------ -* Apache Jakarta Commons FileUpload, Logging & IO Libraries -* Apache Shale Framework -* Rome -* JDOM - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - --------------------------- - -OPEN ESB 2.0 - - -%% The following software may be included in this product: Jdom. Use of any of this software is governed by the terms of the license below: - - Copyright (C) 2000-2003 Jason Hunter & Brett McLaughlin. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the disclaimer that follows - these conditions in the documentation and/or other materials - provided with the distribution. - - 3. The name "JDOM" must not be used to endorse or promote products - derived from this software without prior written permission. For - written permission, please contact . - - 4. Products derived from this software may not be called "JDOM", nor - may "JDOM" appear in their name, without prior written permission - from the JDOM Project Management . - - In addition, we request (but do not require) that you include in the - end-user documentation provided with the redistribution and/or in the - software itself an acknowledgement equivalent to the following: - "This product includes software developed by the - JDOM Project (http://www.jdom.org/)." - Alternatively, the acknowledgment may be graphical using the logos - available at http://www.jdom.org/images/logos. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 JDOM AUTHORS OR THE PROJECT - 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. - - This software consists of voluntary contributions made by many - individuals on behalf of the JDOM Project and was originally - created by Jason Hunter and - Brett McLaughlin . For more information on - the JDOM Project, please see . - - -%% - -%% The following software may be included in this product: Castor. Use of any of this software is governed by the terms of the license below: - -Original Intalio license -The code of this project is released under a BSD-like license [license.txt]: - - -Copyright 1999-2004 (C) Intalio Inc., and others. All Rights -Reserved. Redistribution and use of this software and -associated documentation ("Software"), with or without -modification, are permitted provided that the following -conditions are met: - -1. Redistributions of source code must - retain copyright statements and notices. Redistributions must - also contain a copy of this document. - -2. 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. - -3. The name "ExoLab" must not be used to endorse - or promote products derived from this Software without prior - written permission of Intalio Inc. For written permission, - please contact info@exolab.org. - -4. Products derived from this Software may not be called "Castor" nor may - "Castor" appear in their names without prior written permission - of Intalio Inc. Exolab, Castor and Intalio are trademarks of - Intalio Inc. - -5. Due credit should be given to the ExoLab Project - (http://www.exolab.org/). - - -THIS SOFTWARE IS PROVIDED BY INTALIO AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESSED 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 INTALIO OR -ITS 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. - New Apache-style license -As of release 0.9.7, any new code artefacts should carry a new, Apache 2.0-style -license. This shall include files that have been changed substantially through -e.g. refactoring. - - -Copyright 2004-2005 Werner Guttmann - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - - -%% - -%% The following software may be included in this product: JX Path. Use of any of this software is governed by the terms of the license below: - -The Apache Software License, Version 1.1 - * - * - * Copyright (c) 2001 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. 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. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "XML-RPC" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - * ITS 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. - - -%% - -%% The following software may be included in this product: Resolver. Use of any of this software is governed by the terms of the license below: - -The Apache Software License, Version 1.1 - * - * - * Copyright (c) 2001 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. 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. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "XML-RPC" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - * ITS 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. - - -%% - -%% The following software may be included in this product: WSDL4J. Use of any of this software is governed by the terms of the license below: - -Common Public License - v 1.0 -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. -1. DEFINITIONS -"Contribution" means: -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and -b) in the case of each subsequent Contributor: -i) changes to the Program, and -ii) additions to the Program; -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or -anyone acting on such Contributor's behalf. Contributions do not include -additions to the Program which: (i) are separate modules of software -distributed in conjunction with the Program under their own license agreement, -and (ii) are not derivative works of the Program. -"Contributor" means any person or entity that distributes the Program. -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. -"Program" means the Contributions distributed in accordance with this -Agreement. -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. -2. GRANT OF RIGHTS -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and -such derivative works, in source code and object code form. -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under -Licensed Patents to make, use, sell, offer to sell, import and otherwise -transfer the Contribution of such Contributor, if any, in source code and -object code form. This patent license shall apply to the combination of the -Contribution and the Program if, at the time the Contribution is added by the -Contributor, such addition of the Contribution causes such combination to be -covered by the Licensed Patents. The patent license shall not apply to any -other combinations which include the Contribution. No hardware per se is -licensed hereunder. -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other -intellectual property rights of any other entity. Each Contributor disclaims -any liability to Recipient for claims brought by any other entity based on -infringement of intellectual property rights or otherwise. As a condition to -exercising the rights and licenses granted hereunder, each Recipient hereby -assumes sole responsibility to secure any other intellectual property rights -needed, if any. For example, if a third party patent license is required to -allow Recipient to distribute the Program, it is Recipient's responsibility to -acquire that license before distributing the Program. -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright license -set forth in this Agreement. -3. REQUIREMENTS -A Contributor may choose to distribute the Program in object code form under -its own license agreement, provided that: -a) it complies with the terms and conditions of this Agreement; and -b) its license agreement: -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; -iii) states that any provisions which differ from this Agreement are offered -by that Contributor alone and not by any other party; and -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable manner on -or through a medium customarily used for software exchange. -When the Program is made available in source code form: -a) it must be made available under this Agreement; and -b) a copy of this Agreement must be included with each copy of the Program. -Contributors may not remove or alter any copyright notices contained within -the Program. -Each Contributor must identify itself as the originator of its Contribution, -if any, in a manner that reasonably allows subsequent Recipients to identify -the originator of the Contribution. -4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, -if a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits and -other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such Commercial -Contributor in connection with its distribution of the Program in a commercial -product offering. The obligations in this section do not apply to any claims -or Losses relating to any actual or alleged intellectual property -infringement. In order to qualify, an Indemnified Contributor must: a) -promptly notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If -that Commercial Contributor then makes performance claims, or offers -warranties related to Product X, those performance claims and warranties are -such Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages. -5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON -AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS -OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. -Each Recipient is solely responsible for determining the appropriateness of -using and distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to the -risks and costs of program errors, compliance with applicable laws, damage to -or loss of data, programs or equipment, and unavailability or interruption of -operations. -6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION -LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. -7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of the -remainder of the terms of this Agreement, and without further action by the -parties hereto, such provision shall be reformed to the minimum extent -necessary to make such provision valid and enforceable. -If Recipient institutes patent litigation against a Contributor with respect -to a patent applicable to software (including a cross-claim or counterclaim in -a lawsuit), then any patent licenses granted by that Contributor to such -Recipient under this Agreement shall terminate as of the date such litigation -is filed. In addition, if Recipient institutes patent litigation against any -entity (including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue -and survive. -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to -time. No one other than the Agreement Steward has the right to modify this -Agreement. IBM is the initial Agreement Steward. IBM may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to distribute the Program (including its Contributions) -under the new version. Except as expressly stated in Sections 2(a) and 2(b) -above, Recipient receives no rights or licenses to the intellectual property -of any Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted under -this Agreement are reserved. -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial -in any resulting litigation. - - -%% - -%% The following software may be included in this product: Castor. Use of any of this software is governed by the terms of the license below: - -Original Intalio license -The code of this project is released under a BSD-like license [license.txt]: - - -Copyright 1999-2004 (C) Intalio Inc., and others. All Rights -Reserved. Redistribution and use of this software and -associated documentation ("Software"), with or without -modification, are permitted provided that the following -conditions are met: - -1. Redistributions of source code must - retain copyright statements and notices. Redistributions must - also contain a copy of this document. - -2. 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. - -3. The name "ExoLab" must not be used to endorse - or promote products derived from this Software without prior - written permission of Intalio Inc. For written permission, - please contact info@exolab.org. - -4. Products derived from this Software may not be called "Castor" nor may - "Castor" appear in their names without prior written permission - of Intalio Inc. Exolab, Castor and Intalio are trademarks of - Intalio Inc. - -5. Due credit should be given to the ExoLab Project - (http://www.exolab.org/). - - -THIS SOFTWARE IS PROVIDED BY INTALIO AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESSED 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 INTALIO OR -ITS 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. - New Apache-style license -As of release 0.9.7, any new code artefacts should carry a new, Apache 2.0-style -license. This shall include files that have been changed substantially through -e.g. refactoring. - - -Copyright 2004-2005 Werner Guttmann - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - - -%% - -%% The following software may be included in this product: Jmock. Use of any of this software is governed by the terms of the license below: - -jMock Project LicenseCopyright (c) 2000-2003, jMock.org -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 jMock 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. - - -%% - -%% The following software may be included in this product: Commons Net . Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: Jakarta ORO. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: HTTP Client. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: Apache MINA. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: Apache Jakarta Commons-codec. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: Apache Jakarta Commons-logging. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: WSDL4J. Use of any of this software is governed by the terms of the license below: - -Common Public License - v 1.0 -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. -1. DEFINITIONS -"Contribution" means: -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and -b) in the case of each subsequent Contributor: -i) changes to the Program, and -ii) additions to the Program; -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or -anyone acting on such Contributor's behalf. Contributions do not include -additions to the Program which: (i) are separate modules of software -distributed in conjunction with the Program under their own license agreement, -and (ii) are not derivative works of the Program. -"Contributor" means any person or entity that distributes the Program. -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. -"Program" means the Contributions distributed in accordance with this -Agreement. -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. -2. GRANT OF RIGHTS -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and -such derivative works, in source code and object code form. -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under -Licensed Patents to make, use, sell, offer to sell, import and otherwise -transfer the Contribution of such Contributor, if any, in source code and -object code form. This patent license shall apply to the combination of the -Contribution and the Program if, at the time the Contribution is added by the -Contributor, such addition of the Contribution causes such combination to be -covered by the Licensed Patents. The patent license shall not apply to any -other combinations which include the Contribution. No hardware per se is -licensed hereunder. -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other -intellectual property rights of any other entity. Each Contributor disclaims -any liability to Recipient for claims brought by any other entity based on -infringement of intellectual property rights or otherwise. As a condition to -exercising the rights and licenses granted hereunder, each Recipient hereby -assumes sole responsibility to secure any other intellectual property rights -needed, if any. For example, if a third party patent license is required to -allow Recipient to distribute the Program, it is Recipient's responsibility to -acquire that license before distributing the Program. -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright license -set forth in this Agreement. -3. REQUIREMENTS -A Contributor may choose to distribute the Program in object code form under -its own license agreement, provided that: -a) it complies with the terms and conditions of this Agreement; and -b) its license agreement: -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; -iii) states that any provisions which differ from this Agreement are offered -by that Contributor alone and not by any other party; and -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable manner on -or through a medium customarily used for software exchange. -When the Program is made available in source code form: -a) it must be made available under this Agreement; and -b) a copy of this Agreement must be included with each copy of the Program. -Contributors may not remove or alter any copyright notices contained within -the Program. -Each Contributor must identify itself as the originator of its Contribution, -if any, in a manner that reasonably allows subsequent Recipients to identify -the originator of the Contribution. -4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, -if a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits and -other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such Commercial -Contributor in connection with its distribution of the Program in a commercial -product offering. The obligations in this section do not apply to any claims -or Losses relating to any actual or alleged intellectual property -infringement. In order to qualify, an Indemnified Contributor must: a) -promptly notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If -that Commercial Contributor then makes performance claims, or offers -warranties related to Product X, those performance claims and warranties are -such Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages. -5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON -AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS -OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. -Each Recipient is solely responsible for determining the appropriateness of -using and distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to the -risks and costs of program errors, compliance with applicable laws, damage to -or loss of data, programs or equipment, and unavailability or interruption of -operations. -6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION -LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. -7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of the -remainder of the terms of this Agreement, and without further action by the -parties hereto, such provision shall be reformed to the minimum extent -necessary to make such provision valid and enforceable. -If Recipient institutes patent litigation against a Contributor with respect -to a patent applicable to software (including a cross-claim or counterclaim in -a lawsuit), then any patent licenses granted by that Contributor to such -Recipient under this Agreement shall terminate as of the date such litigation -is filed. In addition, if Recipient institutes patent litigation against any -entity (including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue -and survive. -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to -time. No one other than the Agreement Steward has the right to modify this -Agreement. IBM is the initial Agreement Steward. IBM may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to distribute the Program (including its Contributions) -under the new version. Except as expressly stated in Sections 2(a) and 2(b) -above, Recipient receives no rights or licenses to the intellectual property -of any Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted under -this Agreement are reserved. -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial -in any resulting litigation. - - -%% - -%% The following software may be included in this product: XMLBeans. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - -%% - -%% The following software may be included in this product: HTTPUnit. Use of any of this software is governed by the terms of the license below: - -Copyright ýýýýýýýý 2000-2003, Russell Gold - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -%% - -%% The following software may be included in this product: XMLUnit. Use of any of this software is governed by the terms of the license below: - -Copyright (c) 2001, Jeff Martin, Tim Bacon -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 the xmlunit.sourceforge.net 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. - -%% - -%% The following software may be included in this product: JXPath. Use of any of this software is governed by the terms of the license below: - -The Apache Software License, Version 1.1 - * - * - * Copyright (c) 2001 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. 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. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "XML-RPC" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - * ITS 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. - - -%% - -%% The following software may be included in this product: Concurrent. Use of any of this software is governed by the terms of the license below: - -The Java Software technologies are Copyright (c) 1994-2000 Sun -Microsystems, Inc. All rights reserved. -This software is provided "AS IS," without a warranty of any kind. -ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, -INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN -MICROSYSTEMS, INC. AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY -DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR -DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN -MICROSYSTEMS, INC. OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, -PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, -INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF -THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO -USE -SOFTWARE, EVEN IF SUN MICROSYSTEMS, INC. HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - -You acknowledge that Software is not designed,licensed or intended -for use in the design, construction, operation or maintenance of any -nuclear facility. - - -%% - -%% The following software may be included in this product: Ant-Contrib Tasks. Use of any of this software is governed by the terms of the license below: - -Redistributions of source must maintain the "Copyright (c) 1999-2000 The Apache Software Foundation. All rights reserved," notice. Redistributions in binary form must include the entire "Apache" license, consisting of the copyright notice, license grant, and disclaimer. Additionally, the Apache license requires that End-User documentation include a notice of Apache's contribution, and that commercial use of the terms 'Xerces' and 'Apache' be used only by permission. - - -%% - -%% The following software may be included in this product: Junit. Use of any of this software is governed by the terms of the license below: - -Common Public License - v 1.0 -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. -1. DEFINITIONS -"Contribution" means: -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and -b) in the case of each subsequent Contributor: -i) changes to the Program, and -ii) additions to the Program; -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or -anyone acting on such Contributor's behalf. Contributions do not include -additions to the Program which: (i) are separate modules of software -distributed in conjunction with the Program under their own license agreement, -and (ii) are not derivative works of the Program. -"Contributor" means any person or entity that distributes the Program. -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. -"Program" means the Contributions distributed in accordance with this -Agreement. -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. -2. GRANT OF RIGHTS -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and -such derivative works, in source code and object code form. -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under -Licensed Patents to make, use, sell, offer to sell, import and otherwise -transfer the Contribution of such Contributor, if any, in source code and -object code form. This patent license shall apply to the combination of the -Contribution and the Program if, at the time the Contribution is added by the -Contributor, such addition of the Contribution causes such combination to be -covered by the Licensed Patents. The patent license shall not apply to any -other combinations which include the Contribution. No hardware per se is -licensed hereunder. -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other -intellectual property rights of any other entity. Each Contributor disclaims -any liability to Recipient for claims brought by any other entity based on -infringement of intellectual property rights or otherwise. As a condition to -exercising the rights and licenses granted hereunder, each Recipient hereby -assumes sole responsibility to secure any other intellectual property rights -needed, if any. For example, if a third party patent license is required to -allow Recipient to distribute the Program, it is Recipient's responsibility to -acquire that license before distributing the Program. -d) Each Contributor represents that to its knowledge it has sufficient -copyright rights in its Contribution, if any, to grant the copyright license -set forth in this Agreement. -3. REQUIREMENTS -A Contributor may choose to distribute the Program in object code form under -its own license agreement, provided that: -a) it complies with the terms and conditions of this Agreement; and -b) its license agreement: -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title -and non-infringement, and implied warranties or conditions of merchantability -and fitness for a particular purpose; -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; -iii) states that any provisions which differ from this Agreement are offered -by that Contributor alone and not by any other party; and -iv) states that source code for the Program is available from such -Contributor, and informs licensees how to obtain it in a reasonable manner on -or through a medium customarily used for software exchange. -When the Program is made available in source code form: -a) it must be made available under this Agreement; and -b) a copy of this Agreement must be included with each copy of the Program. -Contributors may not remove or alter any copyright notices contained within -the Program. -Each Contributor must identify itself as the originator of its Contribution, -if any, in a manner that reasonably allows subsequent Recipients to identify -the originator of the Contribution. -4. COMMERCIAL DISTRIBUTION -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, -if a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, -damages and costs (collectively "Losses") arising from claims, lawsuits and -other legal actions brought by a third party against the Indemnified -Contributor to the extent caused by the acts or omissions of such Commercial -Contributor in connection with its distribution of the Program in a commercial -product offering. The obligations in this section do not apply to any claims -or Losses relating to any actual or alleged intellectual property -infringement. In order to qualify, an Indemnified Contributor must: a) -promptly notify the Commercial Contributor in writing of such claim, and b) -allow the Commercial Contributor to control, and cooperate with the Commercial -Contributor in, the defense and any related settlement negotiations. The -Indemnified Contributor may participate in any such claim at its own expense. -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If -that Commercial Contributor then makes performance claims, or offers -warranties related to Product X, those performance claims and warranties are -such Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a -court requires any other Contributor to pay any damages as a result, the -Commercial Contributor must pay those damages. -5. NO WARRANTY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON -AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS -OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF -TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. -Each Recipient is solely responsible for determining the appropriateness of -using and distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to the -risks and costs of program errors, compliance with applicable laws, damage to -or loss of data, programs or equipment, and unavailability or interruption of -operations. -6. DISCLAIMER OF LIABILITY -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION -LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE -EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGES. -7. GENERAL -If any provision of this Agreement is invalid or unenforceable under -applicable law, it shall not affect the validity or enforceability of the -remainder of the terms of this Agreement, and without further action by the -parties hereto, such provision shall be reformed to the minimum extent -necessary to make such provision valid and enforceable. -If Recipient institutes patent litigation against a Contributor with respect -to a patent applicable to software (including a cross-claim or counterclaim in -a lawsuit), then any patent licenses granted by that Contributor to such -Recipient under this Agreement shall terminate as of the date such litigation -is filed. In addition, if Recipient institutes patent litigation against any -entity (including a cross-claim or counterclaim in a lawsuit) alleging that -the Program itself (excluding combinations of the Program with other software -or hardware) infringes such Recipient's patent(s), then such Recipient's -rights granted under Section 2(b) shall terminate as of the date such -litigation is filed. -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue -and survive. -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to -time. No one other than the Agreement Steward has the right to modify this -Agreement. IBM is the initial Agreement Steward. IBM may assign the -responsibility to serve as the Agreement Steward to a suitable separate -entity. Each new version of the Agreement will be given a distinguishing -version number. The Program (including Contributions) may always be -distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to distribute the Program (including its Contributions) -under the new version. Except as expressly stated in Sections 2(a) and 2(b) -above, Recipient receives no rights or licenses to the intellectual property -of any Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted under -this Agreement are reserved. -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial -in any resulting litigation. - - -%% - -********************** - -Sun Java System Access Manager 7.1 - -DO NOT TRANSLATE OR LOCALIZE. - -%% The following software may be included in this product: - -JSS (Network Security Services for Java) 3.1.3 -NSS (Network Security Services) 3.3.10 -NSPR (Netscape Portable Runtime) v. 4.1.2 -Mozilla LDAP C-SDK v. 5.1 - - -Use of any of this software is governed by the terms of the license below: - -MOZILLA PUBLIC LICENSE Version 1.1 - -Mozilla Public License Version 1.1 -1. Definitions. - -1.0.1. "Commercial Use" - means distribution or otherwise making the Covered Code available to a third -party. -1.1. "Contributor" - means each entity that creates or contributes to the creation of -Modifications. -1.2. "Contributor Version" - means the combination of the Original Code, prior Modifications used by a -Contributor, and the Modifications made by that particular Contributor. -1.3. "Covered Code" - means the Original Code or Modifications or the combination of the Original -Code and Modifications, in each case including portions thereof. -1.4. "Electronic Distribution Mechanism" - means a mechanism generally accepted in the software development community -for the electronic transfer of data. -1.5. "Executable" - means Covered Code in any form other than Source Code. -1.6. "Initial Developer" - means the individual or entity identified as the Initial Developer in the -Source Code notice required by Exhibit A. -1.7. "Larger Work" - means a work which combines Covered Code or portions thereof with code not -governed by the terms of this License. -1.8. "License" - means this document. -1.8.1. "Licensable" - means having the right to grant, to the maximum extent possible, whether at -the time of the initial grant or subsequently acquired, any and all of the -rights conveyed herein. -1.9. "Modifications" - - means any addition to or deletion from the substance or structure of either -the Original Code or any previous Modifications. When Covered Code is released -as a series of files, a Modification is: - - 1. Any addition to or deletion from the contents of a file containing -Original Code or previous Modifications. - 2. Any new file that contains any part of the Original Code or previous -Modifications. - -1.10. "Original Code" - means Source Code of computer software code which is described in the Source -Code notice required by Exhibit A as Original Code, and which, at the time of -its release under this License is not already Covered Code governed by this -License. -1.10.1. "Patent Claims" - means any patent claim(s), now owned or hereafter acquired, including -without limitation, method, process, and apparatus claims, in any patent -Licensable by grantor. -1.11. "Source Code" - means the preferred form of the Covered Code for making modifications to it, -including all modules it contains, plus any associated interface definition -files, scripts used to control compilation and installation of an Executable, or -source code differential comparisons against either the Original Code or another -well known, available Covered Code of the Contributor's choice. The Source Code -can be in a compressed or archival form, provided the appropriate decompression -or de-archiving software is widely available for no charge. -1.12. "You" (or "Your") - means an individual or a legal entity exercising rights under, and complying -with all of the terms of, this License or a future version of this License -issued under Section 6.1. For legal entities, "You" includes any entity which -controls, is controlled by, or is under common control with You. For purposes of -this definition, "control" means (a) the power, direct or indirect, to cause the -direction or management of such entity, whether by contract or otherwise, or (b) -ownership of more than fifty percent (50%) of the outstanding shares or -beneficial ownership of such entity. - -2. Source Code License. -2.1. The Initial Developer Grant. - -The Initial Developer hereby grants You a world-wide, royalty-free, -non-exclusive license, subject to third party intellectual property claims: - - 1. under intellectual property rights (other than patent or trademark) -Licensable by Initial Developer to use, reproduce, modify, display, perform, -sublicense and distribute the Original Code (or portions thereof) with or -without Modifications, and/or as part of a Larger Work; and - 2. under Patents Claims infringed by the making, using or selling of Original -Code, to make, have made, use, practice, sell, and offer for sale, and/or -otherwise dispose of the Original Code (or portions thereof). - 3. the licenses granted in this Section 2.1 (a) and (b) are effective on the -date Initial Developer first distributes Original Code under the terms of this -License. - 4. Notwithstanding Section 2.1 (b) above, no patent license is granted: 1) -for code that You delete from the Original Code; 2) separate from the Original -Code; or 3) for infringements caused by: i) the modification of the Original -Code or ii) the combination of the Original Code with other software or devices. - -2.2. Contributor Grant. - -Subject to third party intellectual property claims, each Contributor hereby -grants You a world-wide, royalty-free, non-exclusive license - - 1. under intellectual property rights (other than patent or trademark) -Licensable by Contributor, to use, reproduce, modify, display, perform, -sublicense and distribute the Modifications created by such Contributor (or -portions thereof) either on an unmodified basis, with other Modifications, as -Covered Code and/or as part of a Larger Work; and - 2. under Patent Claims infringed by the making, using, or selling of -Modifications made by that Contributor either alone and/or in combination with -its Contributor Version (or portions of such combination), to make, use, sell, -offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by -that Contributor (or portions thereof); and 2) the combination of Modifications -made by that Contributor with its Contributor Version (or portions of such -combination). - 3. the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the -date Contributor first makes Commercial Use of the Covered Code. - 4. Notwithstanding Section 2.2 (b) above, no patent license is granted: 1) -for any code that Contributor has deleted from the Contributor Version; 2) -separate from the Contributor Version; 3) for infringements caused by: i) third -party modifications of Contributor Version or ii) the combination of -Modifications made by that Contributor with other software (except as part of -the Contributor Version) or other devices; or 4) under Patent Claims infringed -by Covered Code in the absence of Modifications made by that Contributor. - -3. Distribution Obligations. -3.1. Application of License. - -The Modifications which You create or to which You contribute are governed by -the terms of this License, including without limitation Section 2.2. The Source -Code version of Covered Code may be distributed only under the terms of this -License or a future version of this License released under Section 6.1, and You -must include a copy of this License with every copy of the Source Code You -distribute. You may not offer or impose any terms on any Source Code version -that alters or restricts the applicable version of this License or the -recipients' rights hereunder. However, You may include an additional document -offering the additional rights described in Section 3.5. -3.2. Availability of Source Code. - -Any Modification which You create or to which You contribute must be made -available in Source Code form under the terms of this License either on the same -media as an Executable version or via an accepted Electronic Distribution -Mechanism to anyone to whom you made an Executable version available; and if -made available via Electronic Distribution Mechanism, must remain available for -at least twelve (12) months after the date it initially became available, or at -least six (6) months after a subsequent version of that particular Modification -has been made available to such recipients. You are responsible for ensuring -that the Source Code version remains available even if the Electronic -Distribution Mechanism is maintained by a third party. -3.3. Description of Modifications. - -You must cause all Covered Code to which You contribute to contain a file -documenting the changes You made to create that Covered Code and the date of any -change. You must include a prominent statement that the Modification is derived, -directly or indirectly, from Original Code provided by the Initial Developer and -including the name of the Initial Developer in (a) the Source Code, and (b) in -any notice in an Executable version or related documentation in which You -describe the origin or ownership of the Covered Code. -3.4. Intellectual Property Matters -(a) Third Party Claims - -If Contributor has knowledge that a license under a third party's intellectual -property rights is required to exercise the rights granted by such Contributor -under Sections 2.1 or 2.2, Contributor must include a text file with the Source -Code distribution titled "LEGAL" which describes the claim and the party making -the claim in sufficient detail that a recipient will know whom to contact. If -Contributor obtains such knowledge after the Modification is made available as -described in Section 3.2, Contributor shall promptly modify the LEGAL file in -all copies Contributor makes available thereafter and shall take other steps -(such as notifying appropriate mailing lists or newsgroups) reasonably -calculated to inform those who received the Covered Code that new knowledge has -been obtained. -(b) Contributor APIs - -If Contributor's Modifications include an application programming interface and -Contributor has knowledge of patent licenses which are reasonably necessary to -implement that API, Contributor must also include this information in the legal -file. -(c) Representations. - -Contributor represents that, except as disclosed pursuant to Section 3.4 (a) -above, Contributor believes that Contributor's Modifications are Contributor's -original creation(s) and/or Contributor has sufficient rights to grant the -rights conveyed by this License. -3.5. Required Notices. - -You must duplicate the notice in Exhibit A in each file of the Source Code. If -it is not possible to put such notice in a particular Source Code file due to -its structure, then You must include such notice in a location (such as a -relevant directory) where a user would be likely to look for such a notice. If -You created one or more Modification(s) You may add your name as a Contributor -to the notice described in Exhibit A. You must also duplicate this License in -any documentation for the Source Code where You describe recipients' rights or -ownership rights relating to Covered Code. You may choose to offer, and to -charge a fee for, warranty, support, indemnity or liability obligations to one -or more recipients of Covered Code. However, You may do so only on Your own -behalf, and not on behalf of the Initial Developer or any Contributor. You must -make it absolutely clear than any such warranty, support, indemnity or liability -obligation is offered by You alone, and You hereby agree to indemnify the -Initial Developer and every Contributor for any liability incurred by the -Initial Developer or such Contributor as a result of warranty, support, -indemnity or liability terms You offer. -3.6. Distribution of Executable Versions. - -You may distribute Covered Code in Executable form only if the requirements of -Sections 3.1, 3.2, 3.3, 3.4 and 3.5 have been met for that Covered Code, and if -You include a notice stating that the Source Code version of the Covered Code is -available under the terms of this License, including a description of how and -where You have fulfilled the obligations of Section 3.2. The notice must be -conspicuously included in any notice in an Executable version, related -documentation or collateral in which You describe recipients' rights relating to -the Covered Code. You may distribute the Executable version of Covered Code or -ownership rights under a license of Your choice, which may contain terms -different from this License, provided that You are in compliance with the terms -of this License and that the license for the Executable version does not attempt -to limit or alter the recipient's rights in the Source Code version from the -rights set forth in this License. If You distribute the Executable version under -a different license You must make it absolutely clear that any terms which -differ from this License are offered by You alone, not by the Initial Developer -or any Contributor. You hereby agree to indemnify the Initial Developer and -every Contributor for any liability incurred by the Initial Developer or such -Contributor as a result of any such terms You offer. -3.7. Larger Works. - -You may create a Larger Work by combining Covered Code with other code not -governed by the terms of this License and distribute the Larger Work as a single -product. In such a case, You must make sure the requirements of this License are -fulfilled for the Covered Code. -4. Inability to Comply Due to Statute or Regulation. - -If it is impossible for You to comply with any of the terms of this License with -respect to some or all of the Covered Code due to statute, judicial order, or -regulation then You must: (a) comply with the terms of this License to the -maximum extent possible; and (b) describe the limitations and the code they -affect. Such description must be included in the legal file described in Section -3.4 and must be included with all distributions of the Source Code. Except to -the extent prohibited by statute or regulation, such description must be -sufficiently detailed for a recipient of ordinary skill to be able to understand -it. -5. Application of this License. - -This License applies to code to which the Initial Developer has attached the -notice in Exhibit A and to related Covered Code. -6. Versions of the License. -6.1. New Versions - -Netscape Communications Corporation ("Netscape") may publish revised and/or new -versions of the License from time to time. Each version will be given a -distinguishing version number. -6.2. Effect of New Versions - -Once Covered Code has been published under a particular version of the License, -You may always continue to use it under the terms of that version. You may also -choose to use such Covered Code under the terms of any subsequent version of the -License published by Netscape. No one other than Netscape has the right to -modify the terms applicable to Covered Code created under this License. -6.3. Derivative Works - -If You create or use a modified version of this License (which you may only do -in order to apply it to code which is not already Covered Code governed by this -License), You must (a) rename Your license so that the phrases "Mozilla", -"MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase -do not appear in your license (except to note that your license differs from -this License) and (b) otherwise make it clear that Your version of the license -contains terms which differ from the Mozilla Public License and Netscape Public -License. (Filling in the name of the Initial Developer, Original Code or -Contributor in the notice described in Exhibit A shall not of themselves be -deemed to be modifications of this License.) -7. Disclaimer of warranty - -Covered code is provided under this license on an "as is" basis, without -warranty of any kind, either expressed or implied, including, without -limitation, warranties that the covered code is free of defects, merchantable, -fit for a particular purpose or non-infringing. The entire risk as to the -quality and performance of the covered code is with you. Should any covered code -prove defective in any respect, you (not the initial developer or any other -contributor) assume the cost of any necessary servicing, repair or correction. -This disclaimer of warranty constitutes an essential part of this license. No -use of any covered code is authorized hereunder except under this disclaimer. -8. Termination - -8.1. This License and the rights granted hereunder will terminate automatically -if You fail to comply with terms herein and fail to cure such breach within 30 -days of becoming aware of the breach. All sublicenses to the Covered Code which -are properly granted shall survive any termination of this License. Provisions -which, by their nature, must remain in effect beyond the termination of this -License shall survive. - -8.2. If You initiate litigation by asserting a patent infringement claim -(excluding declatory judgment actions) against Initial Developer or a -Contributor (the Initial Developer or Contributor against whom You file such -action is referred to as "Participant") alleging that: - - 1. such Participant's Contributor Version directly or indirectly infringes -any patent, then any and all rights granted by such Participant to You under -Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from -Participant terminate prospectively, unless if within 60 days after receipt of -notice You either: (i) agree in writing to pay Participant a mutually agreeable -reasonable royalty for Your past and future use of Modifications made by such -Participant, or (ii) withdraw Your litigation claim with respect to the -Contributor Version against such Participant. If within 60 days of notice, a -reasonable royalty and payment arrangement are not mutually agreed upon in -writing by the parties or the litigation claim is not withdrawn, the rights -granted by Participant to You under Sections 2.1 and/or 2.2 automatically -terminate at the expiration of the 60 day notice period specified above. - 2. any software, hardware, or device, other than such Participant's -Contributor Version, directly or indirectly infringes any patent, then any -rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are -revoked effective as of the date You first made, used, sold, distributed, or had -made, Modifications made by that Participant. - -8.3. If You assert a patent infringement claim against Participant alleging that -such Participant's Contributor Version directly or indirectly infringes any -patent where such claim is resolved (such as by license or settlement) prior to -the initiation of patent infringement litigation, then the reasonable value of -the licenses granted by such Participant under Sections 2.1 or 2.2 shall be -taken into account in determining the amount or value of any payment or license. - -8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user -license agreements (excluding distributors and resellers) which have been -validly granted by You or any distributor hereunder prior to termination shall -survive termination. -9. Limitation of liability - -Under no circumstances and under no legal theory, whether tort (including -negligence), contract, or otherwise, shall you, the initial developer, any other -contributor, or any distributor of covered code, or any supplier of any of such -parties, be liable to any person for any indirect, special, incidental, or -consequential damages of any character including, without limitation, damages -for loss of goodwill, work stoppage, computer failure or malfunction, or any and -all other commercial damages or losses, even if such party shall have been -informed of the possibility of such damages. This limitation of liability shall -not apply to liability for death or personal injury resulting from such party's -negligence to the extent applicable law prohibits such limitation. Some -jurisdictions do not allow the exclusion or limitation of incidental or -consequential damages, so this exclusion and limitation may not apply to you. -10. U.S. government end users - -The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. -2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial -computer software documentation," as such terms are used in 48 C.F.R. 12.212 -(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through -227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with -only those rights set forth herein. -11. Miscellaneous - -This License represents the complete agreement concerning subject matter hereof. -If any provision of this License is held to be unenforceable, such provision -shall be reformed only to the extent necessary to make it enforceable. This -License shall be governed by California law provisions (except to the extent -applicable law, if any, provides otherwise), excluding its conflict-of-law -provisions. With respect to disputes in which at least one party is a citizen -of, or an entity chartered or registered to do business in the United States of -America, any litigation relating to this License shall be subject to the -jurisdiction of the Federal Courts of the Northern District of California, with -venue lying in Santa Clara County, California, with the losing party responsible -for costs, including without limitation, court costs and reasonable attorneys' -fees and expenses. The application of the United Nations Convention on Contracts -for the International Sale of Goods is expressly excluded. Any law or regulation -which provides that the language of a contract shall be construed against the -drafter shall not apply to this License. -12. Responsibility for claims - -As between Initial Developer and the Contributors, each party is responsible for -claims and damages arising, directly or indirectly, out of its utilization of -rights under this License and You agree to work with Initial Developer and -Contributors to distribute such responsibility on an equitable basis. Nothing -herein is intended or shall be deemed to constitute any admission of liability. -13. Multiple-licensed code - -Initial Developer may designate portions of the Covered Code as -"Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer -permits you to utilize portions of the Covered Code under Your choice of the MPL -or the alternative licenses, if any, specified by the Initial Developer in the -file described in Exhibit A. -Exhibit A - Mozilla Public License. -"The contents of this file are subject to the Mozilla Public License Version 1.1 -(the "License"); you may not use this file except in compliance with the -License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ -Software distributed under the License is distributed on an "AS IS" basis, -WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the -specific language governing rights and limitations under the License. The -Original Code is ______________________________________. The Initial Developer -of the Original Code is ________________________. Portions created by -______________________ are Copyright (C) ______ _______________________. All -Rights Reserved. Contributor(s): ______________________________________. -Alternatively, the contents of this file may be used under the terms of the -_____ license (the "[___] License"), in which case the provisions of [______] -License are applicable instead of those above. If you wish to allow use of your -version of this file only under the terms of the [____] License and not to allow -others to use your version of this file under the MPL, indicate your decision by -deleting the provisions above and replace them with the notice and other -provisions required by the [___] License. If you do not delete the provisions -above, a recipient may use your version of this file under either the MPL or the -[___] License." - -NOTE: The text of this Exhibit A may differ slightly from the text of the -notices in the Source Code files of the Original Code. You should use the text -of this Exhibit A rather than the text found in the Original Code Source Code -for Your Modifications. - - ------------------------------------------------------------------ -%% The following software may be included in this product: - -xmlsec.jar Apache XML Security API 1.0.5 - -Use of any of this software is governed by the terms of the license below: - -The Apache Software License, Version 1.1 -http://www.apache.org/licenses/ - -Copyright (c) 2000 The Apache Software Foundation. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. 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. - - 3. The end-user documentation included with the redistribution, - if any, must include the following acknowledgment: - "This product includes software developed by the - Apache Software Foundation (http://www.apache.org/)." - Alternately, this acknowledgment may appear in the software itself, - if and wherever such third-party acknowledgments normally appear. - - 4. The names "Apache" and "Apache Software Foundation" must - not be used to endorse or promote products derived from this - software without prior written permission. For written - permission, please contact apache@apache.org. - - 5. Products derived from this software may not be called "Apache", - nor may "Apache" appear in their name, without prior written - permission of the Apache Software Foundation. - - THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 APACHE SOFTWARE FOUNDATION OR - ITS 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. - ==================================================================== - - This software consists of voluntary contributions made by many - individuals on behalf of the Apache Software Foundation. For more - information on the Apache Software Foundation, please see - . - - Portions of this software are based upon public domain software - originally written at the National Center for Supercomputing Applications, - University of Illinois, Urbana-Champaign. - - --------------------------------------------------------------------------------- --- -%% The following software may be included in this product: - -Libxml2 C XML parser for agents 2.4.15, (Win) 2.5.4 (Sol) - - -Use of any of this software is governed by the terms of the license below: - -The MIT License - -Copyright ? 2006 by the Open Source Initiative -Technical questions about the website go to Steve M.: webmaster at -opensource.org / -Policy questions about open source go to the Board of Directors. - -The contents of this website are licensed under the Open Software License 2.1 -or Academic Free License 2.1 -OSI is a registered non-profit with 501(c)(3) status. Donating to -OSI is one way to show your support. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -********************************************** -Portlet Container 2.1 - - - -%%The following software may be included in this product: -Apache Commons FileUpload, Apache Commons IO, JavaServer Pages Standard Tag Library (JSTL), Jakarta Taglib - -Use of any of this software is governed by the terms of the license below: - -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -*************************************************************************** - - - --------------------------- - - - - diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_DISTRIBUTION.txt b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_DISTRIBUTION.txt deleted file mode 100644 index 4404f82fb530..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_DISTRIBUTION.txt +++ /dev/null @@ -1,69 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -DistributionREADME - -DISTRIBUTION BY DEVELOPERS. Subject to the terms and conditions of the Software License Agreement and the obligations, restrictions, and exceptions set forth below, You may reproduce and distribute the portions of Software identified below ("each a Redistributable"), provided that You comply with the following (note that You may be entitled to reproduce and distribute other portions of the Software not defined here as a Redistributable under certain other licenses as described in the THIRDPARTYLICENSEREADME, if applicable): - -(a) You distribute the Redistributable complete and unmodified and only bundled as part of Your applets and applications ("Programs"), - -(b) Your Programs add significant and primary functionality to the Software - -(c) You distribute Redistributable for the sole purpose of running Your Programs, - -(d) You do not distribute additional software intended to replace any -component(s) of the Redistributable, - -(e) You do not remove or alter any proprietary legends or notices contained in or on the Redistributable. - -(f) You only distribute the Redistributable subject to a license agreement that protects Sun's interests consistent with the terms contained in the Software License Agreement, and - -(g) You agree to defend and indemnify Sun and its licensors from and against any damages, costs, liabilities, settlement amounts and/or expenses (including attorneys' fees) incurred in connection with any claim, lawsuit or action by any third party that arises or results from the use or distribution of any and all Programs and/or Redistributable. - -The following files are each a Redistributable: - -Java Platform, Enterprise Edition 5 Tools Bundle Update 7 - -INSTRUCTIONS FOR CLIENT: -1. When complete remove the instruction and example text. - -2. List all portions of Software that may be copied and removed from Software to be distributed bundled complete and unmodified with a developer's program. - -3. If there are any additional restrictions or exceptions specific to a particular Redistributable, describe the restriction or exception after the Redistributable's file name. See example below. - -4. This distributionREADME may be included bundled in the Software's documentation anywhere that is convenient for the user or in the the Software's legal directory. - -5. This distributionREADME should be the only place where Redistributables and the restrictions and exceptions for Redistributables are described. - - -Example: - -(i) Netbeans 4.1, provided that if You choose to distribute the Java 2 Platform, Enterprise Edition (J2EE), Platform Specification, You bind Your licensee's to the J2EE Specification License. - The following files may be removed from Your distribution of Netbeans: - - Java 2 Platform, Enterprise Edition (J2EE), Platform Specification - - JAVAHELP - - JAVAC COMPILER - - J2EE DEPLOYMENT SPECIFICATION INTERFACE CLASSES 1.1 - - JMX, VERSION 1.2 - - J2EEeditor.jar - - JAVA METADATA INTERFACE ("JMI"), VERSION 1.0 - -(ii) PLUGIN FOR SUN JAVA SYSTEM APPLICATION SERVER PLATFORM EDITION 8.1 TO NETBEANS IDE - -(iii) JAVAHELP - -(iv) JAVAC COMPILER, provided it is bundled with the Netbeans Platform diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_License.txt b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_License.txt deleted file mode 100644 index d7f4fffcf6ce..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/jtblegal/Java_EE_5_Tools_Bundle_License.txt +++ /dev/null @@ -1,672 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -Java Platform, Enterprise Edition 5 Tools Bundle Update 7 - -Please review the complete list of open-source licenses governing software included in this software. They can be found in the THIRDPARTYREADME.txt file. Please review the list of libraries and licenses provided for use and redistribution by other parties. These libraries are redistributable subject to the conditions in the DISTRIBUTION.txt file. - -This license file contains three (3) distinct licenses. - -Unless specified below, the use of NetBeans IDE 6.5, and components from the GlassFish runtime are governed by the terms of either the GNU General Public License Version 2 with Classpath Exception ("GPLv2 with Classpath Exception") or the Common Development and Distribution License ("CDDL"). The Product also contains components from OpenJDK, which are governed exclusively by the terms of the GPLv2 with Classpath Exception. - -LICENSE #1: GPLv2 with Classpath Exception. - -LICENSE #2: The CDDL governs your use of Portal Pack 3.0 Beta. - -LICENSE #3: The Software License Agreement governs your use of Java Platform, Enterprise Edition 5 SDK Update 7 - - -*********************************************************************** - -LICENSE #1: - -The GNU General Public License (GPL) Version 2, June 1991 - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. - -59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Everyone is permitted to copy and distribute verbatim copies -of this license document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. -When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. - -Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. - -Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and modification follow. -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. - -1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. - -You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - -a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. - -b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. - -c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. -In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. - -3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - -a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, - -b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, - -c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. -If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - -4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. - -5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. - -6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. - -7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. -It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. - -This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - -8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. - -9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. - -10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - -NO WARRANTY -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS - -How to Apply These Terms to Your New Programs - -If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. - -To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - -One line to give the program's name and a brief idea of what it does. - -Copyright (C) -This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. -This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. -If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - -Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. -The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - -Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. - -signature of Ty Coon, 1 April 1989 -Ty Coon, President of Vice -This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. - -"CLASSPATH" EXCEPTION TO THE GPL VERSION 2 - -Certain source files distributed by Sun Microsystems, Inc.  are subject to -the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words -"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." - -   Linking this library statically or dynamically with other modules is making a combined work based on this library.  Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. - -   As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent modules, -and to copy and distribute the resulting executable under terms of your -choice, provided that you also meet, for each linked independent module, -the terms and conditions of the license of that module.  An independent -module is a module which is not derived from or based on this library.  If -you modify this library, you may extend this exception to your version of -the library, but you are not obligated to do so.  If you do not wish to do -so, delete this exception statement from your version. - - -*********************************************************************** - -LICENSE #2: - -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - -1. Definitions. -1.1. "Contributor" means each individual or entity that -creates or contributes to the creation of Modifications. - -1.2. "Contributor Version" means the combination of the -Original Software, prior Modifications used by a -Contributor (if any), and the Modifications made by that -particular Contributor. - -1.3. "Covered Software" means (a) the Original Software, or -(b) Modifications, or (c) the combination of files -containing Original Software with files containing -Modifications, in each case including portions thereof. - -1.4. "Executable" means the Covered Software in any form -other than Source Code. - -1.5. "Initial Developer" means the individual or entity -that first makes Original Software available under this -License. - -1.6. "Larger Work" means a work which combines Covered -Software or portions thereof with code not governed by the -terms of this License. - -1.7. "License" means this document. - -1.8. "Licensable" means having the right to grant, to the -maximum extent possible, whether at the time of the initial -grant or subsequently acquired, any and all of the rights -conveyed herein. - -1.9. "Modifications" means the Source Code and Executable -form of any of the following: - -A. Any file that results from an addition to, -deletion from or modification of the contents of a -file containing Original Software or previous -Modifications; - -B. Any new file that contains any part of the -Original Software or previous Modification; or - -C. Any new file that is contributed or otherwise made -available under the terms of this License. - -1.10. "Original Software" means the Source Code and -Executable form of computer software code that is -originally released under this License. - -1.11. "Patent Claims" means any patent claim(s), now owned -or hereafter acquired, including without limitation, -method, process, and apparatus claims, in any patent -Licensable by grantor. - -1.12. "Source Code" means (a) the common form of computer -software code in which modifications are made and (b) -associated documentation included in or with such code. - -1.13. "You" (or "Your") means an individual or a legal -entity exercising rights under, and complying with all of -the terms of, this License. For legal entities, "You" -includes any entity which controls, is controlled by, or is -under common control with You. For purposes of this -definition, "control" means (a) the power, direct or -indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (b) ownership -of more than fifty percent (50%) of the outstanding shares -or beneficial ownership of such entity. - -2. License Grants. - -2.1. The Initial Developer Grant. -Conditioned upon Your compliance with Section 3.1 below and -subject to third party intellectual property claims, the -Initial Developer hereby grants You a world-wide, -royalty-free, non-exclusive license: - -(a) under intellectual property rights (other than -patent or trademark) Licensable by Initial Developer, -to use, reproduce, modify, display, perform, -sublicense and distribute the Original Software (or -portions thereof), with or without Modifications, -and/or as part of a Larger Work; and - -(b) under Patent Claims infringed by the making, -using or selling of Original Software, to make, have -made, use, practice, sell, and offer for sale, and/or -otherwise dispose of the Original Software (or -portions thereof). - -(c) The licenses granted in Sections 2.1(a) and (b) -are effective on the date Initial Developer first -distributes or otherwise makes the Original Software -available to a third party under the terms of this -License. - -(d) Notwithstanding Section 2.1(b) above, no patent -license is granted: (1) for code that You delete from -the Original Software, or (2) for infringements -caused by: (i) the modification of the Original -Software, or (ii) the combination of the Original -Software with other software or devices. - -2.2. Contributor Grant. -Conditioned upon Your compliance with Section 3.1 below and -subject to third party intellectual property claims, each -Contributor hereby grants You a world-wide, royalty-free, -non-exclusive license: - -(a) under intellectual property rights (other than -patent or trademark) Licensable by Contributor to -use, reproduce, modify, display, perform, sublicense -and distribute the Modifications created by such -Contributor (or portions thereof), either on an -unmodified basis, with other Modifications, as -Covered Software and/or as part of a Larger Work; and - -(b) under Patent Claims infringed by the making, -using, or selling of Modifications made by that -Contributor either alone and/or in combination with -its Contributor Version (or portions of such -combination), to make, use, sell, offer for sale, -have made, and/or otherwise dispose of: (1) -Modifications made by that Contributor (or portions -thereof); and (2) the combination of Modifications -made by that Contributor with its Contributor Version -(or portions of such combination). - -(c) The licenses granted in Sections 2.2(a) and -2.2(b) are effective on the date Contributor first -distributes or otherwise makes the Modifications -available to a third party. - -(d) Notwithstanding Section 2.2(b) above, no patent -license is granted: (1) for any code that Contributor -has deleted from the Contributor Version; (2) for -infringements caused by: (i) third party -modifications of Contributor Version, or (ii) the -combination of Modifications made by that Contributor -with other software (except as part of the -Contributor Version) or other devices; or (3) under -Patent Claims infringed by Covered Software in the -absence of Modifications made by that Contributor. - -3. Distribution Obligations. - -3.1. Availability of Source Code. -Any Covered Software that You distribute or otherwise make -available in Executable form must also be made available in -Source Code form and that Source Code form must be -distributed only under the terms of this License. You must -include a copy of this License with every copy of the -Source Code form of the Covered Software You distribute or -otherwise make available. You must inform recipients of any -such Covered Software in Executable form as to how they can -obtain such Covered Software in Source Code form in a -reasonable manner on or through a medium customarily used -for software exchange. - -3.2. Modifications. -The Modifications that You create or to which You -contribute are governed by the terms of this License. You -represent that You believe Your Modifications are Your -original creation(s) and/or You have sufficient rights to -grant the rights conveyed by this License. - -3.3. Required Notices. -You must include a notice in each of Your Modifications -that identifies You as the Contributor of the Modification. -You may not remove or alter any copyright, patent or -trademark notices contained within the Covered Software, or -any notices of licensing or any descriptive text giving -attribution to any Contributor or the Initial Developer. - -3.4. Application of Additional Terms. -You may not offer or impose any terms on any Covered -Software in Source Code form that alters or restricts the -applicable version of this License or the recipients' -rights hereunder. You may choose to offer, and to charge a -fee for, warranty, support, indemnity or liability -obligations to one or more recipients of Covered Software. -However, you may do so only on Your own behalf, and not on -behalf of the Initial Developer or any Contributor. You -must make it absolutely clear that any such warranty, -support, indemnity or liability obligation is offered by -You alone, and You hereby agree to indemnify the Initial -Developer and every Contributor for any liability incurred -by the Initial Developer or such Contributor as a result of -warranty, support, indemnity or liability terms You offer. - -3.5. Distribution of Executable Versions. -You may distribute the Executable form of the Covered -Software under the terms of this License or under the terms -of a license of Your choice, which may contain terms -different from this License, provided that You are in -compliance with the terms of this License and that the -license for the Executable form does not attempt to limit -or alter the recipient's rights in the Source Code form -from the rights set forth in this License. If You -distribute the Covered Software in Executable form under a -different license, You must make it absolutely clear that -any terms which differ from this License are offered by You -alone, not by the Initial Developer or Contributor. You -hereby agree to indemnify the Initial Developer and every -Contributor for any liability incurred by the Initial -Developer or such Contributor as a result of any such terms -You offer. - -3.6. Larger Works. -You may create a Larger Work by combining Covered Software -with other code not governed by the terms of this License -and distribute the Larger Work as a single product. In such -a case, You must make sure the requirements of this License -are fulfilled for the Covered Software. - -4. Versions of the License. - -4.1. New Versions. -Sun Microsystems, Inc. is the initial license steward and -may publish revised and/or new versions of this License -from time to time. Each version will be given a -distinguishing version number. Except as provided in -Section 4.3, no one other than the license steward has the -right to modify this License. - -4.2. Effect of New Versions. -You may always continue to use, distribute or otherwise -make the Covered Software available under the terms of the -version of the License under which You originally received -the Covered Software. If the Initial Developer includes a -notice in the Original Software prohibiting it from being -distributed or otherwise made available under any -subsequent version of the License, You must distribute and -make the Covered Software available under the terms of the -version of the License under which You originally received -the Covered Software. Otherwise, You may also choose to -use, distribute or otherwise make the Covered Software -available under the terms of any subsequent version of the -License published by the license steward. - -4.3. Modified Versions. -When You are an Initial Developer and You want to create a -new license for Your Original Software, You may create and -use a modified version of this License if You: (a) rename -the license and remove any references to the name of the -license steward (except to note that the license differs -from this License); and (b) otherwise make it clear that -the license contains terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - -COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" -BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, -INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED -SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR -PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND -PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY -COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE -INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF -ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF -WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF -ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS -DISCLAIMER. - -6. TERMINATION. - -6.1. This License and the rights granted hereunder will -terminate automatically if You fail to comply with terms -herein and fail to cure such breach within 30 days of -becoming aware of the breach. Provisions which, by their -nature, must remain in effect beyond the termination of -this License shall survive. - - -6.2. If You assert a patent infringement claim (excluding -declaratory judgment actions) against Initial Developer or -a Contributor (the Initial Developer or Contributor against -whom You assert such claim is referred to as "Participant") -alleging that the Participant Software (meaning the -Contributor Version where the Participant is a Contributor -or the Original Software where the Participant is the -Initial Developer) directly or indirectly infringes any -patent, then any and all rights granted directly or -indirectly to You by such Participant, the Initial -Developer (if the Initial Developer is not the Participant) -and all Contributors under Sections 2.1 and/or 2.2 of this -License shall, upon 60 days notice from Participant -terminate prospectively and automatically at the expiration -of such 60 day notice period, unless if within such 60 day -period You withdraw Your claim with respect to the -Participant Software against such Participant either -unilaterally or pursuant to a written agreement with -Participant. - -6.3. In the event of termination under Sections 6.1 or 6.2 -above, all end user licenses that have been validly granted -by You or any distributor hereunder prior to termination -(excluding licenses granted to You by any distributor) -shall survive termination. - -7. LIMITATION OF LIABILITY. - -UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT -(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE -INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF -COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE -LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR -CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT -LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK -STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER -COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN -INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF -LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL -INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT -APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO -NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR -CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT -APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - -The Covered Software is a "commercial item," as that term is -defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial -computer software" (as that term is defined at 48 C.F.R. ¤ -252.227-7014(a)(1)) and "commercial computer software -documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. -1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 -through 227.7202-4 (June 1995), all U.S. Government End Users -acquire Covered Software with only those rights set forth herein. -This U.S. Government Rights clause is in lieu of, and supersedes, -any other FAR, DFAR, or other clause or provision that addresses -Government rights in computer software under this License. - -9. MISCELLANEOUS. - -This License represents the complete agreement concerning subject -matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the -extent necessary to make it enforceable. This License shall be -governed by the law of the jurisdiction specified in a notice -contained within the Original Software (except to the extent -applicable law, if any, provides otherwise), excluding such -jurisdiction's conflict-of-law provisions. Any litigation -relating to this License shall be subject to the jurisdiction of -the courts located in the jurisdiction and venue specified in a -notice contained within the Original Software, with the losing -party responsible for costs, including, without limitation, court -costs and reasonable attorneys' fees and expenses. The -application of the United Nations Convention on Contracts for the -International Sale of Goods is expressly excluded. Any law or -regulation which provides that the language of a contract shall -be construed against the drafter shall not apply to this License. -You agree that You alone are responsible for compliance with the -United States export administration regulations (and the export -control laws and regulation of any other countries) when You use, -distribute or otherwise make available any Covered Software. - -10. RESPONSIBILITY FOR CLAIMS. - -As between Initial Developer and the Contributors, each party is -responsible for claims and damages arising, directly or -indirectly, out of its utilization of rights under this License -and You agree to work with Initial Developer and Contributors to -distribute such responsibility on an equitable basis. Nothing -herein is intended or shall be deemed to constitute any admission -of liability. - -*********************************************************************** - - -License #3 - -Sun Microsystems, Inc. ("Sun") ENTITLEMENT for SOFTWARE - -Licensee/Company: Entity receiving Software. - -Effective Date: Date of delivery of the Software to You. - -Software: Java Application Platform SDK Update 7, which includes the following: - -i)Sun GlassFish Enterprise Server v2.1 -ii)Open ESB v2 -iii)Sun Java System Access Manager 7.1 Patch 1 -iv)Portlet Container 2.1 -v)Web Services for Remote Portlets 2.0 Beta 2 -vi)Java Platform, Enterprise Edition 5 Samples -vii)Java BluePrints -viii)API Documentation -ix)Your First Cup: An Introduction to the Java EE Platform - -Host Software: The software product described in the Software's documentation with which the Software is intended to be used. - -Permitted Use: The Permitted Use shall be the same as the Permitted Use in Your Host Software's Software License Agreement. Software may only be used in conjunction with the Host Software. Use of the Software on a stand-alone basis is not permitted under this license. If You do not have a valid license to use the Host Software, You may not use the Software for any Permitted Use, including Evaluation Use. - -License Term: The License Term shall be the same as the License Term set forth in your Host Software's Software License Agreement. - -Licensed Unit: The Licensed Unit shall be the same as the Licensed Unit set forth in your Host Software's Software License Agreement. - -Licensed Unit Count: The License Unit Count shall be the same as the Licensed Unit Count set forth in your Host Software's Software License Agreement. - -Sun Microsystems, Inc. ("Sun") -SOFTWARE LICENSE AGREEMENT - -READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR "EXIT") BUTTON AT THE END OF THIS AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS 1-6 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS SOFTWARE. - -1. Definitions. - -(a) "Entitlement" means the collective set of applicable documents authorized by Sun evidencing your obligation to pay associated fees (if any) for the license, associated Services, and the authorized scope of use of Software under this Agreement. - -(b) "Licensed Unit" means the unit of measure by which your use of Software and/or Service is licensed, as described in your Entitlement. - -(c) "Permitted Use" means the licensed Software use(s) authorized in this Agreement as specified in your Entitlement. The Permitted Use for any bundled Sun software not specified in your Entitlement will be evaluation use as provided in Section 3. - -(d) "Service" means the service(s) that Sun or its delegate will provide, if any, as selected in your Entitlement and as further described in the applicable service listings at www.sun.com/service/servicelist. - -(e) "Software" means the Sun software described in your Entitlement. Also, certain software may be included for evaluation use under Section 3. - -(f) "You" and "Your" means the individual or legal entity specified in the Entitlement, or for evaluation purposes, the entity performing the evaluation. - -2. License Grant and Entitlement. - -Subject to the terms of your Entitlement, Sun grants you a nonexclusive, nontransferable limited license to use Software for its Permitted Use for the license term. Your Entitlement will specify (a) Software licensed, (b) the Permitted Use, (c) the license term, and (d) the Licensed Units. - -Additionally, if your Entitlement includes Services, then it will also specify the (e) Service and (f) service term. - -If your rights to Software or Services are limited in duration and the date such rights begin is other than the purchase date, your Entitlement will provide that beginning date(s). - -The Entitlement may be delivered to you in various ways depending on the manner in which you obtain Software and Services, for example, the Entitlement may be provided in your receipt, invoice or your contract with Sun or authorized Sun reseller. It may also be in electronic format if you download Software. - -3. Permitted Use. - -As selected in your Entitlement, one or more of the following Permitted Uses will apply to your use of Software. Unless you have an Entitlement that expressly permits it, you may not use Software for any of the other Permitted Uses. If you don't have an Entitlement, or if your Entitlement doesn't cover additional software delivered to you, then such software is for your Evaluation Use. - -(a) Evaluation Use. You may evaluate Software internally for a period of 90 days from your first use. - -(b) Research and Instructional Use. You may use Software internally to design, develop and test, and also to provide instruction on such uses. - -(c) Individual Use. You may use Software internally for personal, individual use. - -(d) Commercial Use. You may use Software internally for your own commercial purposes. - -(e) Service Provider Use. You may make Software functionality accessible (but not by providing Software itself or through outsourcing services) to your end users in an extranet deployment, but not to your affiliated companies or to government agencies. - -4. Licensed Units. - -Your Permitted Use is limited to the number of Licensed Units stated in your Entitlement. If you require additional Licensed Units, you will need additional Entitlement(s). - -5. Restrictions. - -(a) The copies of Software provided to you under this Agreement are licensed, not sold, to you by Sun. Sun reserves all rights not expressly granted. (b) You may make a single archival copy of Software, but otherwise may not copy, modify, or distribute Software. However if the Sun documentation accompanying Software lists specific portions of Software, such as header files, class libraries, reference source code, and/or redistributable files, that may be handled differently, you may do so only as provided in the Sun documentation. (c) You may not rent, lease, lend or encumber Software. (d) Unless enforcement is prohibited by applicable law, you may not decompile, or reverse engineer Software. (e) The terms and conditions of this Agreement will apply to any Software updates, provided to you at Sun's discretion, that replace and/or supplement the original Software, unless such update contains a separate license. (f) You may not publish or provide the results of any benchmark or comparison tests run on Software to any third party without the prior written consent of Sun. (g) Software is confidential and copyrighted. (h) Unless otherwise specified, if Software is delivered with embedded or bundled software that enables functionality of Software, you may not use such software on a stand-alone basis or use any portion of such software to interoperate with any program(s) other than Software. (i) Software may contain programs that perform automated collection of system data and/or automated software updating services. System data collected through such programs may be used by Sun, its subcontractors, and its service delivery partners for the purpose of providing you with remote system services and/or improving Sun's software and systems. (j) Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Sun and its licensors disclaim any express or implied warranty of fitness for such uses. (k) No right, title or interest in or to any trademark, service mark, logo or trade name of Sun or its licensors is granted under this Agreement. - -6. Java Compatibility and Open Source. - -Software may contain Java technology. You may not create additional classes to, or modifications of, the Java technology, except under compatibility requirements available under a separate agreement available at www.java.net. - -Sun supports and benefits from the global community of open source developers, and thanks the community for its important contributions and open standards-based technology, which Sun has adopted into many of its products. - -Please note that portions of Software may be provided with notices and open source licenses from such communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations you may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Software in this distribution. - -7. Term and Termination. - -The license and service term are set forth in your Entitlement(s). Your rights under this Agreement will terminate immediately without notice from Sun if you materially breach it or take any action in derogation of Sun's and/or its licensors' rights to Software. Sun may terminate this Agreement should any Software become, or in Sun's reasonable opinion likely to become, the subject of a claim of intellectual property infringement or trade secret misappropriation. Upon termination, you will cease use of, and destroy, Software and confirm compliance in writing to Sun. Sections 1, 5, 6, 7, and 9-15 will survive termination of the Agreement. - -8. Limited Warranty. - -Sun warrants to you that for a period of 90 days from the date of purchase, as evidenced by a copy of the receipt, the media on which Software is furnished (if any) will be free of defects in materials and workmanship under normal use. Except for the foregoing, Software is provided "AS IS". Your exclusive remedy and Sun's entire liability under this limited warranty will be at Sun's option to replace Software media or refund the fee paid for Software. Some states do not allow limitations on certain implied warranties, so the above may not apply to you. This limited warranty gives you specific legal rights. You may have others, which vary from state to state. - -9. Disclaimer of Warranty. - -UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. - -10. Limitation of Liability. - -TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event will Sun's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Software under this Agreement. The foregoing limitations will apply even if the above stated warranty fails of its essential purpose. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you. - -11. Export Regulations. - -All Software, documents, technical data, and any other materials delivered under this Agreement are subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to comply strictly with these laws and regulations and acknowledge that you have the responsibility to obtain any licenses to export, re-export, or import as may be required after delivery to you. - -12. U.S. Government Restricted Rights. - -If Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in Software and accompanying documentation will be only as set forth in this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions). - -13. Governing Law. - -Any action related to this Agreement will be governed by California law and controlling U.S. federal law. No choice of law rules of any jurisdiction will apply. - -14. Severability. - -If any provision of this Agreement is held to be unenforceable, this Agreement will remain in effect with the provision omitted, unless omission would frustrate the intent of the parties, in which case this Agreement will immediately terminate. - -15. Integration. - -This Agreement, including any terms contained in your Entitlement, is the entire agreement between you and Sun relating to its subject matter. It supersedes all prior or contemporaneous oral or written communications, proposals, representations and warranties and prevails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication between the parties relating to its subject matter during the term of this Agreement. No modification of this Agreement will be binding, unless in writing and signed by an authorized representative of each party. - -Please contact Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, California 95054 if you have questions. diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/license.txt b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/license.txt deleted file mode 100644 index 26863fbbc2c0..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/license.txt +++ /dev/null @@ -1,91 +0,0 @@ -Technology Evaluation License - -READ THE TERMS OF THIS TECHNOLOGY EVALUATION LICENSE INCLUDING EXHIBIT A ("AGREEMENT") CAREFULLY BEFORE downloading technology or OPENING TECHNOLOGY MEDIA PACKAGE. BY OPENING TECHNOLOGY MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING TECHNOLOGY ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" (OR EQUIVALENT) BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS, PROMPTLY RETURN THE UNUSED TECHNOLOGY TO SUN OR, IF TECHNOLOGY IS ACCESSED ELECTRONICALLY, SELECT THE "DECLINE" (OR EQUIVALENT) BUTTON AT THE END OF THIS AGREEMENT. - -The Agreement is made between Sun Microsystems, Inc., a Delaware corporation with its address at 4150 Network Circle, Santa Clara, CA 95054 ("Sun"), and the individual, corporation, partnership or other legal entity receiving the Technology ("Licensee"). The parties agree as follows: - -I. EXHIBIT A: - -Effective Date: The date Licensee receives the Technology. - -Technology: Sun Java System Applicaton Server Beta 2. - -Version: 9.1. - -The Technology is Pre-Release Technology. - -Permitted Number of Copies: 1. - -Evaluation Period: Ninety (90) days. - -Feedback Frequency: Customer will provide feedback to the individual or alias specified by Sun and at the frequency requested by Sun. - -II. Technology Evaluation License - -1 DEFINITIONS. -1.1 "Binary Technology" means program code provided to Licensee by Sun in machine readable format. Binary Technology includes available related documentation. -1.2 "Confidential Information" means (a) with respect to Licensee, information disclosed by Licensee to Sun about the performance or interoperability of Licensee's products with the Technology that, if written, is clearly identified in writing as confidential, and if oral, is identified as confidential at the time of disclosure and followed by a written summary of the information within 30 days after disclosure, but in any case, excludes Feedback (collectively "Licensee Confidential Information"), and (b) with respect to Sun: (i) information that Sun discloses to Licensee related to the Technology; (ii) the Technology (including the capabilities, features and existence of the Technology); (iii) any Feedback; (iv) any notes, extracts, analyses, or materials prepared by Licensee which are copies of or derivative works of the Technology, or from which the capabilities, features or existence of the Technology can be derived; and (v) the terms of this Agreement (collectively "Sun Confidential Information"). -1.3 "Feedback" means all test results, error data, reports or other information or materials made or other information or materials made or provided to Sun by or on behalf of Licensee relating to the Technology, and all comments, suggestions, enhancements, and any other forms of feedback that Licensee may provide to Sun in the course of discussion, evaluation or exchange of Sun Confidential Information under this Agreement. -1.4 "Intellectual Property Rights" means worldwide common law and statutory rights associated with: (i) patents and patent applications; (ii) works of authorship, including mask work rights, copyrights, and moral rights; (iii) protection of trade and industrial secrets and confidential information; (iv) other proprietary rights relating to intangible intellectual property (specifically excluding Sun Trademarks); and (v) divisions, continuations, renewals, reissuances, and extensions of the rights set forth above (as applicable). -1.5 "Licensed Software" means software in binary or source code forms, including all machine readable materials, user manuals, programming guides and other documentation, as provided to Licensee by Sun under Exhibit A. -1.6 "Licensors" means Sun licensors that have licensed third party code to Sun that is included in Technology. -1.7 "Pre-Release Technology" means all technology designated as Pre-Release in Exhibit A. -1.8 "Source Technology" means program code provided to Licensee by Sun in high-level computer language readable by humans skilled in the language. Source Technology includes available related documentation and tools, including comments, internal development tools and build environments. -1.9 "Sun Confidential Information" means: (i) information that Sun discloses to Licensee related to the Technology or marked as confidential and disclosed under this Agreement; (ii) the Technology (including the capabilities, features and existence of the Technology); (iii) any Feedback; (iv) any notes, extracts, analyses, or materials prepared by Licensee which are copies of or derivative works of the Technology, or from which the capabilities, features or existence of the Technology can be derived; and (v) the terms of this Agreement. -1.10 "Sun Trademarks" means all names, marks, logos, designs, trade dress and other brand designations used by Sun. -1.11 "Technology" means all technology described in Exhibit A and provided to Licensee by Sun under Agreement, including without limitation, Licensed Software, documentation, Updates, and test suites. -1.12 "Updates" means subsequent releases, enhancements or error corrections for the Technology as Sun may provide to Licensee from time to time under this Agreement. - -2 LIMITED LICENSES. Subject to and conditioned upon Licensee's compliance with the conditions and restrictions set forth in this Agreement, Sun grants to Licensee a personal, non-exclusive, non-transferable, royalty-free and limited license to view the Source Technology, if any, and to use other portions of the Technology (including Binary Technology) internally solely for the purpose of evaluation during the term of this Agreement. - -3 RESTRICTIONS. -3.1 No license under this Agreement is granted to Licensee for any purpose not specifically set forth in Section 2 (Limited Licenses) of this Agreement. Except as otherwise provided by law, Licensee is not authorized to modify, make derivative works of, disclose, distribute, reverse engineer or disassemble the Technology, decompile binary portions of the Technology, or otherwise attempt to derive source code from such portions, or transfer the Technology to any third party or use it in development activities. -3.2 Licensee shall have no right to use the Technology for commercial uses or in a production environment. -3.3 Licensee may copy and use the number of copies of Licensed Software as authorized in Exhibit A and make one (1) additional copy for backup purposes only, provided that Licensee reproduces all copyright and other notices appearing on or in the Licensed Software on any such copy. -3.4 Except as expressly provided in Section 2 ("Limited Licenses") of this Agreement, no right, title, or interest in or to the Technology or any Sun Trademarks is granted under this Agreement. Sun retains all right, title and interest, including associated Intellectual Property Rights, in and to the Technology, any Sun Trademarks, and any modifications, improvements or enhancements to the Technology. -3.5 If the Technology is delivered with embedded or bundled software that enables functionality of the Technology ("Embedded Technology"), then Licensee may use such Embedded Technology only in conjunction with the Technology and subject to applicable terms and conditions associated with such Embedded Technology. -3.6 Portions of Licensed Software may be provided with notices and open source licenses from communities and third parties that govern the use of those portions, and any licenses granted hereunder do not alter any rights and obligations Licensee may have under such open source licenses, however, the disclaimer of warranty and limitation of liability provisions in this Agreement will apply to all Licensed Software. -3.7 Technology may contain programs that perform automated collection of system data and/or automated software updating services. System data collected through such programs may be used by Sun, its subcontractors, and its service delivery partners for the purpose of providing Licensee with remote system services and/or improving Sun's software and systems. - - -4 NO SUPPORT. -Sun is under no obligation to support the Technology or to provide Licensee with Updates unless otherwise agreed by an authorized representative of Sun in writing. If Sun, at its sole option, supplies Updates to Licensee, the Updates will be considered part of the Technology, and subject to the terms of this Agreement. - -5 LICENSEE DUTIES. -5.1 Pre-Release Technology. If the Technology provided is Pre-Release Technology as designated in Exhibit A, then Licensee agrees to evaluate and test the Technology. Licensee shall supply Sun with Feedback as reasonably requested by Sun, but no more frequently than weekly unless otherwise agreed by the parties in writing. Feedback is the exclusive property of Sun. Licensee hereby agrees to and assigns all right, title and interest it may have in such Feedback, including, without limitation, modifications, improvements, and enhancements to the Technology, to Sun at no cost. -5.2 Delivery of the Technology to Licensee will be at Licensee's cost unless otherwise specified by Sun, subject to availability as determined solely by Sun. Licensee assumes all risk of loss or damage upon shipment of the Technology by Sun. Unless otherwise set forth in Exhibit A, Licensee will be responsible for installing the Technology. - -6 TERM AND TERMINATION. -6.1 This Agreement will commence on the Effective Date and will continue for the term set forth in Exhibit A (the "Evaluation Period"), unless terminated earlier in accordance with this Section 6. If no Evaluation Period is specified in Exhibit A, then the Evaluation Period shall equal (i) ninety (90) days commencing on the Effective Date. -6.2 Either party may terminate this Agreement without cause upon ten (10) days' written notice to the other party. In addition, Sun may terminate this Agreement mmediately with written notice if (i) any Technology becomes, or in Sun's opinion is likely to become, the subject of a claim of infringement or misappropriation of any Intellectual Property Right; (ii) Licensee breaches any of its obligations under this Agreement; (iii) Licensee takes any action in derogation of Sun's rights to Sun Confidential Information; or (iv) Licensee infringes or challenges the validity of any Sun Intellectual Property Rights. -6.3 Upon termination or expiration of this Agreement, Licensee will immediately cease using the corresponding Technology. Licensee will immediately destroy any and all Licensed Software and any copies of Licensed Software and provide Sun a written statement by Licensee's authorized representative certifying that Licensee has complied with these obligations. -6.4 Rights and obligations under this Agreement that by their nature should survive will remain in effect after termination or expiration of this Agreement. - -7 CONFIDENTIAL INFORMATION. -7.1 Neither party may disclose or use the other party's Confidential Information except for the purposes specified in this Agreement. Each party will protect the confidentiality of the other party's Confidential Information to the same degree of care, but no less than reasonable care, as the party uses to protect its own confidential information. Each party's obligations regarding the other party's Confidential Information will expire five (5) years from the date of receipt of such Confidential Information, except for Sun source code which will be protected in perpetuity. Licensee agrees and acknowledges that the Technology contains trade secrets of Sun. -7.2 The receiving party will not be obligated to protect Confidential Information that the receiving party can clearly demonstrate in writing is: (i) through no act or failure to act on the part of the receiving party is known or becomes known to the general public; (ii) known to the receiving party without an obligation of confidentiality at the time of receiving the Confidential Information; (iii) rightfully furnished, after the Effective Date, to the receiving party by a third party without restriction on disclosure; or (iv) independently developed by the receiving party without any use of the other party's Confidential Information. -7.3 The receiving party may disclose the other party's Confidential Information pursuant to statute, regulation, or the order of a court of competent jurisdiction, provided that the receiving party provides the other party with prior notice and cooperates with the other party in taking appropriate protective measures. -7.4 The receiving party will restrict access to the other party's Confidential Information to those of the receiving party's employees or subcontractors who require access in order to perform their employment duties or to perform the party's contractual obligations under this Agreement, and who have agreed in writing to be bound by confidentiality obligations at least as protective as those set forth in this Agreement. - -8 DISCLAIMER OF WARRANTY. -8.1 Licensee acknowledges that the Technology is not designed or intended for use in the design, construction, operation or maintenance of any nuclear facility. -8.2 THE TECHNOLOGY AND CONFIDENTIAL INFORMATION ARE PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND. ALL EXPRESS AND IMPLIED CONDITIONS, REPRESENTATIONS, AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR ANY WARRANTY OF NON-INFRINGEMENT, ARE DISCLAIMED, TO THE FULLEST EXTENT PERMITTED BY LAW. - -9 LIMITATION OF LIABILITY. -9.1 Licensee acknowledges that the Technology may be experimental. Licensee further acknowledges that the Technology may have defects or deficiencies that cannot or will not be corrected by Sun. Licensee will indemnify and hold Sun harmless from any claims based on Licensee's use of the Technology for any purpose, and from any claims that later Updates furnished to Licensee are incompatible with the Technology provided to Licensee under this Agreement. Neither Sun nor its Licensors are under any obligation to release a commercial version of the Technology. -9.2 Licensee acknowledges that the Technology may not have been approved by the United States Federal Communications Commission, any other governmental agency, or any test laboratory (for example without limitation, Underwriter's Laboratories, and TUV). -9.3 NEITHER Sun nor any of its licensors will be liable for any indirect, punitive, special, incidental or consequential damages in connection with or arising out of this Agreement (including loss of business, revenue, profits, goodwill, use, data, electronically transmitted communications or other economic advantage), however they arise, whether for breach of contract, breach of warranty or in tort, including negligence, and even if that party has previously been advised of the possibility of such damages AND WHETHER OR NOT SUCH DAMAGES ARE FORESEEABLE. In no event will Sun's aggregate liability to Licensee for all claims under this Agreement, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by Licensee for the Technology under this Agreement. -9.4 Liability for damages will be limited and excluded as set forth above even if any exclusive remedy provided in this Agreement fails of its essential purpose. Some states do not allow the exclusion of incidental or consequential damages, so some of the terms above may not be applicable to you. - -10 U.S. GOVERNMENT RIGHTS. -The Technology is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), and may consist of "commercial computer software" (as that term is defined at 48 C.F.R. º 252.227-7014(a)(1)) and "commercial computer software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Technology with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this Agreement. - -11 GENERAL. -11.1 All disputes will be governed by California law and controlling U.S. federal law. The venue for litigation will be the appropriate courts located in Santa Clara County, California. The parties agree that the Federal District Court for the Northern District of California shall have exclusive jurisdiction over any dispute involving exclusively federal causes of action. That court and the California state courts in Santa Clara County, California shall have exclusive jurisdiction over all other disputes. The parties hereby submit to the personal jurisdiction of those courts. Choice of law rules of any jurisdiction and the United Nations Convention on Contracts for the International Sale of Goods will not apply to the Agreement or any dispute arising out of or related to this Agreement. -11.2 Licensee agrees that the Technology and technical data delivered under this Agreement are subject to U.S. export laws (including but not limited to the Export Administration Regulations ("EAR": 15 C.F.R. Parts 730-774)) and applicable trade laws of other countries. Licensee agrees to strictly comply with all such laws and assumes responsibility to obtain licenses to export, re-export, or import as may be required. Unless authorized by United States export laws, Licensee agrees that (i)áno Technology or technical data or direct product therefrom is being or will be acquired for, shipment, transfer, or re-export, directly or indirectly, to: a) any country subject to U.S. Embargo or terrorist controls or b) a country and its nationals in Country Group D:1 as listed in Part 740 Supplement 1 of the EAR; (ii) Licensee nor any party to whom Technology and technical data are transferred is not identified on any U.S. Government export exclusion lists; and (iii) Technology and technical data will not be used for nuclear, missile, chemical biological weaponry, or other weapons of mass destruction. These obligations shall survive expiration or termination of this Agreement. -11.3 Any express waiver or failure to exercise promptly any right under this Agreement will not create a continuing waiver or any expectation on non-enforcement. To be enforceable, a waiver must be in writing and signed by an authorized representative of the waiving party. -11.4 It is understood and agreed that, notwithstanding any other provision of this Agreement, Licensee's breach of Sections 2.0 (Limited Licenses), 3.0 (Restrictions), 6.0 (Term and Termination), and/or 7.0 (Confidential Information) of this Agreement will cause Sun irreparable damage for which recovery of money damages would be inadequate, and that Sun will therefore be entitled to seek injunctive relief to protect Sun's rights under this Agreement, without posting bond or other security, in addition to any and all other remedies available under this Agreement, at law, and in equity. -11.5 Neither party may assign or otherwise transfer any of its rights or obligations under this Agreement (whether by operation of law or otherwise), without the prior written consent of the other party, except that Sun may assign this Agreement to an affiliated company without such consent. -11.6 If any term or provision of this Agreement is found to be invalid under any applicable statute or rule of law, such provision shall be enforced to the maximum extent permissible to effect the intent of the parties, and the remainder of this Agreement shall continue in full force and effect. -11.7 No modification to this Agreement will be binding, unless in writing and manually signed by an authorized representative of each party. -11.8 This Agreement, constitutes the parties' entire agreement relating to its subject matter. It cancels and supersedes all prior and contemporaneous oral and written communications, proposals, conditions, representations and warranties and prevails over any conflicting or additional terms contained in any quote, purchase order, acknowledgment, or other communication between the parties relating to its subject matter during its term, including but not limited to terms of any Binary Code Licenses, Supplemental Terms, or other standard licenses accompanying the Technology. diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard.xml b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard.xml deleted file mode 100644 index dcd3ee801dec..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - 1.5.0.7.0 - - - diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/ASPanel.java b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/ASPanel.java deleted file mode 100644 index ac2cad9f2a02..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/ASPanel.java +++ /dev/null @@ -1,1343 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.sjsas.wizard.panels; - -import java.awt.Dimension; -import java.awt.GridBagConstraints; -import java.awt.Insets; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.ItemEvent; -import java.awt.event.ItemListener; -import java.io.File; -import java.io.IOException; -import java.util.List; -import javax.swing.ComboBoxModel; -import javax.swing.JFileChooser; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.filters.OrFilter; -import org.netbeans.installer.product.filters.ProductFilter; -import org.netbeans.installer.product.filters.RegistryFilter; -import org.netbeans.installer.utils.ErrorManager; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.GlassFishUtils; -import org.netbeans.installer.utils.exceptions.XMLException; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.helper.Version; -import org.netbeans.installer.utils.helper.swing.NbiButton; -import org.netbeans.installer.utils.helper.swing.NbiComboBox; -import org.netbeans.installer.utils.helper.swing.NbiLabel; -import org.netbeans.installer.utils.helper.swing.NbiPanel; -import org.netbeans.installer.utils.helper.swing.NbiPasswordField; -import org.netbeans.installer.utils.helper.swing.NbiTextField; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationValidator; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxEditor; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxModel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelSwingUi; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi; -import org.netbeans.installer.wizard.ui.SwingUi; -import org.netbeans.installer.wizard.ui.WizardUi; -import org.netbeans.installer.wizard.components.panels.ErrorMessagePanel.ErrorMessagePanelSwingUi.ValidatingDocumentListener; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.wizard.containers.SwingContainer; -import static java.lang.Integer.parseInt; -import org.netbeans.installer.utils.helper.swing.NbiDirectoryChooser; - -/** - * - - */ -public class ASPanel extends DestinationPanel { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private JdkLocationPanel jdkLocationPanel; - private static boolean allPortsOccupied; - - public ASPanel() { - jdkLocationPanel = new JdkLocationPanel(); - - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - - setProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY, - DEFAULT_JDK_LOCATION_LABEL_TEXT); - setProperty(BROWSE_BUTTON_TEXT_PROPERTY, - DEFAULT_BROWSE_BUTTON_TEXT); - - setProperty(USERNAME_LABEL_TEXT_PROPERTY, - DEFAULT_USERNAME_LABEL_TEXT); - setProperty(PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_PASSWORD_LABEL_TEXT); - setProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_REPEAT_PASSWORD_LABEL_TEXT); - setProperty(DEFAULTS_LABEL_TEXT_PROPERTY, - DEFAULT_DEFAULTS_LABEL_TEXT); - setProperty(HTTP_LABEL_TEXT_PROPERTY, - DEFAULT_HTTP_LABEL_TEXT); - setProperty(HTTPS_LABEL_TEXT_PROPERTY, - DEFAULT_HTTPS_LABEL_TEXT); - setProperty(ADMIN_LABEL_TEXT_PROPERTY, - DEFAULT_ADMIN_LABEL_TEXT); - - setProperty(ERROR_USERNAME_NULL_PROPERTY, - DEFAULT_ERROR_USERNAME_NULL); - setProperty(ERROR_USERNAME_NOT_ALNUM_PROPERTY, - DEFAULT_ERROR_USERNAME_NOT_ALNUM); - setProperty(ERROR_PASSWORD_NULL_PROPERTY, - DEFAULT_ERROR_PASSWORD_NULL); - setProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY, - DEFAULT_ERROR_PASSWORD_TOO_SHORT); - setProperty(ERROR_PASSWORD_SPACES_PROPERTY, - DEFAULT_ERROR_PASSWORD_SPACES); - setProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY, - DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH); - setProperty(ERROR_ALL_PORTS_OCCUPIED_PROPERTY, - DEFAULT_ERROR_ALL_PORTS_OCCUPIED); - setProperty(ERROR_HTTP_NULL_PROPERTY, - DEFAULT_ERROR_HTTP_NULL); - setProperty(ERROR_HTTPS_NULL_PROPERTY, - DEFAULT_ERROR_HTTPS_NULL); - setProperty(ERROR_ADMIN_NULL_PROPERTY, - DEFAULT_ERROR_ADMIN_NULL); - setProperty(ERROR_HTTP_NOT_INTEGER_PROPERTY, - DEFAULT_ERROR_HTTP_NOT_INTEGER); - setProperty(ERROR_HTTPS_NOT_INTEGER_PROPERTY, - DEFAULT_ERROR_HTTPS_NOT_INTEGER); - setProperty(ERROR_ADMIN_NOT_INTEGER_PROPERTY, - DEFAULT_ERROR_ADMIN_NOT_INTEGER); - setProperty(ERROR_HTTP_NOT_IN_RANGE_PROPERTY, - DEFAULT_ERROR_HTTP_NOT_IN_RANGE); - setProperty(ERROR_HTTPS_NOT_IN_RANGE_PROPERTY, - DEFAULT_ERROR_HTTPS_NOT_IN_RANGE); - setProperty(ERROR_ADMIN_NOT_IN_RANGE_PROPERTY, - DEFAULT_ERROR_ADMIN_NOT_IN_RANGE); - setProperty(ERROR_HTTP_OCCUPIED_PROPERTY, - DEFAULT_ERROR_HTTP_OCCUPIED); - setProperty(ERROR_HTTPS_OCCUPIED_PROPERTY, - DEFAULT_ERROR_HTTPS_OCCUPIED); - setProperty(ERROR_ADMIN_OCCUPIED_PROPERTY, - DEFAULT_ERROR_ADMIN_OCCUPIED); - setProperty(ERROR_HTTP_EQUALS_HTTPS_PROPERTY, - DEFAULT_ERROR_HTTP_EQUALS_HTTPS); - setProperty(ERROR_HTTP_EQUALS_ADMIN_PROPERTY, - DEFAULT_ERROR_HTTP_EQUALS_ADMIN); - setProperty(ERROR_HTTPS_EQUALS_ADMIN_PROPERTY, - DEFAULT_ERROR_HTTPS_EQUALS_ADMIN); - setProperty(ERROR_UNC_PATH_UNSUPPORTED_PROPERTY, - DEFAULT_ERROR_UNC_PATH_UNSUPPORTED); - setProperty(ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY, - DEFAULT_BRACKETS_IN_NOT_SPACED_PATH); - - setProperty(WARNING_PORT_IN_USE_PROPERTY, - DEFAULT_WARNING_PORT_IN_USE); - setProperty(WARNING_ASADMIN_FILES_EXIST_PROPERTY, - DEFAULT_WARNING_ASADMIN_FILES_EXIST); - - setProperty(DEFAULT_USERNAME_PROPERTY, - DEFAULT_DEFAULT_USERNAME); - setProperty(DEFAULT_PASSWORD_PROPERTY, - DEFAULT_DEFAULT_PASSWORD); - setProperty(DEFAULT_HTTP_PORT_PROPERTY, - DEFAULT_DEFAULT_HTTP_PORT); - setProperty(DEFAULT_HTTPS_PORT_PROPERTY, - DEFAULT_DEFAULT_HTTPS_PORT); - setProperty(DEFAULT_ADMIN_PORT_PROPERTY, - DEFAULT_DEFAULT_ADMIN_PORT); - - setProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY, - DEFAULT_MINIMUM_JDK_VERSION); - setProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY, - DEFAULT_MAXIMUM_JDK_VERSION); - setProperty(JdkLocationPanel.VENDOR_JDK_ALLOWED_PROPERTY, - SystemUtils.isMacOS() ? - DEFAULT_VENDOR_JDK_ALLOWED_MACOSX : - DEFAULT_VENDOR_JDK_ALLOWED); - - } - - @Override - public WizardUi getWizardUi() { - if (wizardUi == null) { - wizardUi = new GlassFishPanelUi(this); - } - - return wizardUi; - } - - @Override - public void initialize() { - super.initialize(); - - jdkLocationPanel.setWizard(getWizard()); - - jdkLocationPanel.setProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY, - getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - jdkLocationPanel.setProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY, - getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - jdkLocationPanel.setProperty( - JdkLocationPanel.VENDOR_JDK_ALLOWED_PROPERTY, - getProperty(JdkLocationPanel.VENDOR_JDK_ALLOWED_PROPERTY)); - - if (getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY) != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY, - getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY)); - } - - jdkLocationPanel.initialize(); - - //This makes it possible to perform silent installation with emptry state files - //that means that JDK_LOCATION_PROPERTY property is explicitely set to the first location - //that fits the requirements - //TODO: Investigate the prons&cons and side affects of moving - //this code to the end of JdkLocationPanel.initialize() method - File jdkLocation = jdkLocationPanel.getSelectedLocation(); - if(jdkLocation!=null && !jdkLocation.getPath().equals(StringUtils.EMPTY_STRING)) { - jdkLocationPanel.setLocation(jdkLocation); - } - final int defaultHttpPort = SystemUtils.getAvailablePort( - parseInt( - getProperty(DEFAULT_HTTP_PORT_PROPERTY))); - final int defaultHttpsPort = SystemUtils.getAvailablePort( - parseInt(getProperty(DEFAULT_HTTPS_PORT_PROPERTY)), - defaultHttpPort); - final int defaultAdminPort = SystemUtils.getAvailablePort( - parseInt(getProperty(DEFAULT_ADMIN_PORT_PROPERTY)), - defaultHttpPort, - defaultHttpsPort); - - String password = getWizard().getProperty(PASSWORD_PROPERTY); - if (password == null) { - password = getProperty(DEFAULT_PASSWORD_PROPERTY); - } - getWizard().setProperty(PASSWORD_PROPERTY, password); - - String username = getWizard().getProperty(USERNAME_PROPERTY); - if (username == null) { - username = getProperty(DEFAULT_USERNAME_PROPERTY); - } - getWizard().setProperty(USERNAME_PROPERTY, username); - - String httpPort = getWizard().getProperty(HTTP_PORT_PROPERTY); - if (httpPort == null) { - if (defaultHttpPort != -1) { - httpPort = Integer.toString(defaultHttpPort); - allPortsOccupied = false; - } else { - httpPort = StringUtils.EMPTY_STRING; - allPortsOccupied = true; - } - } - getWizard().setProperty(HTTP_PORT_PROPERTY, httpPort); - - String httpsPort = getWizard().getProperty(HTTPS_PORT_PROPERTY); - if (httpsPort == null) { - if (defaultHttpsPort != -1) { - httpsPort = Integer.toString(defaultHttpsPort); - allPortsOccupied = false; - } else { - httpsPort = StringUtils.EMPTY_STRING; - allPortsOccupied = true; - } - } - getWizard().setProperty(HTTPS_PORT_PROPERTY, httpsPort); - - - String adminPort = getWizard().getProperty(ADMIN_PORT_PROPERTY); - if (adminPort == null) { - if (defaultAdminPort != -1) { - adminPort = Integer.toString(defaultAdminPort); - allPortsOccupied = false; - } else { - adminPort = StringUtils.EMPTY_STRING; - allPortsOccupied = true; - } - } - getWizard().setProperty(ADMIN_PORT_PROPERTY,adminPort); - } - - public JdkLocationPanel getJdkLocationPanel() { - return jdkLocationPanel; - } - - ///////////////////////////////////////////////////////////////////////////////// - // Inner Classes - public static class GlassFishPanelUi extends DestinationPanelUi { - protected ASPanel component; - - public GlassFishPanelUi(ASPanel component) { - super(component); - - this.component = component; - } - @Override - public SwingUi getSwingUi(SwingContainer container) { - if (swingUi == null) { - swingUi = new GlassFishPanelSwingUi(component, container); - } - - return super.getSwingUi(container); - } - } - - public static class GlassFishPanelSwingUi extends DestinationPanelSwingUi { - protected ASPanel panel; - - private NbiPanel containerPanel; - - private NbiLabel jdkLocationLabel; - private NbiComboBox jdkLocationComboBox; - private NbiButton browseButton; - private NbiLabel statusLabel; - - private NbiTextField jdkLocationField; - - private NbiDirectoryChooser fileChooser; - - private NbiLabel usernameLabel; - private NbiTextField usernameField; - - private NbiLabel passwordLabel; - private NbiPasswordField passwordField; - - private NbiLabel defaultsLabel; - - private NbiLabel repeatPasswordLabel; - private NbiPasswordField repeatPasswordField; - - private NbiLabel httpPortLabel; - private NbiTextField httpPortField; - - private NbiLabel httpsPortLabel; - private NbiTextField httpsPortField; - - private NbiLabel adminPortLabel; - private NbiTextField adminPortField; - - private boolean allPortsOccupied; - - public GlassFishPanelSwingUi( - final ASPanel panel, - final SwingContainer container) { - super(panel, container); - - this.panel = panel; - - initComponents(); - } - - // protected //////////////////////////////////////////////////////////////// - @Override - protected void initialize() { - jdkLocationLabel.setText( - panel.getProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY)); - - final JdkLocationPanel jdkLocationPanel = panel.getJdkLocationPanel(); - - if (jdkLocationPanel.getLocations().size() == 0) { - final Version minVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - final Version maxVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - - statusLabel.setText(StringUtils.format( - jdkLocationPanel.getProperty(JdkLocationPanel.ERROR_NOTHING_FOUND_PROPERTY), - minVersion.toJdkStyle(), - minVersion.toJdkStyle())); - } else { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - - final List jdkLocations = jdkLocationPanel.getLocations(); - final List jdkLabels = jdkLocationPanel.getLabels(); - - final LocationsComboBoxModel model = new LocationsComboBoxModel( - jdkLocations, - jdkLabels); - - ((LocationsComboBoxEditor) jdkLocationComboBox.getEditor()).setModel( - model); - jdkLocationComboBox.setModel( - model); - - final File selectedLocation = jdkLocationPanel.getSelectedLocation(); - final int index = jdkLocations.indexOf(selectedLocation); - String selectedItem; - if(index != -1) { - selectedItem = jdkLabels.get(index); - } else { - selectedItem = selectedLocation.toString(); - } - model.setSelectedItem(selectedItem); - - browseButton.setText( - panel.getProperty(BROWSE_BUTTON_TEXT_PROPERTY)); - - - usernameLabel.setText( - panel.getProperty(USERNAME_LABEL_TEXT_PROPERTY)); - passwordLabel.setText( - panel.getProperty(PASSWORD_LABEL_TEXT_PROPERTY)); - repeatPasswordLabel.setText( - panel.getProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY)); - httpPortLabel.setText( - panel.getProperty(HTTP_LABEL_TEXT_PROPERTY)); - httpsPortLabel.setText( - panel.getProperty(HTTPS_LABEL_TEXT_PROPERTY)); - adminPortLabel.setText( - panel.getProperty(ADMIN_LABEL_TEXT_PROPERTY)); - - - usernameField.setText(panel.getWizard().getProperty(USERNAME_PROPERTY)); - passwordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - repeatPasswordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - - defaultsLabel.setText(StringUtils.format( - panel.getProperty(DEFAULTS_LABEL_TEXT_PROPERTY), - panel.getProperty(DEFAULT_USERNAME_PROPERTY), - panel.getProperty(DEFAULT_PASSWORD_PROPERTY))); - - - httpPortField.setText(panel.getWizard().getProperty(HTTP_PORT_PROPERTY)); - httpsPortField.setText(panel.getWizard().getProperty(HTTPS_PORT_PROPERTY)); - adminPortField.setText(panel.getWizard().getProperty(ADMIN_PORT_PROPERTY)); - - super.initialize(); - } - - @Override - protected void saveInput() { - super.saveInput(); - - panel.getJdkLocationPanel().setLocation( - new File(jdkLocationField.getText())); - - panel.getWizard().setProperty( - USERNAME_PROPERTY, - usernameField.getText()); - panel.getWizard().setProperty( - PASSWORD_PROPERTY, - new String(passwordField.getPassword())); - - panel.getWizard().setProperty( - HTTP_PORT_PROPERTY, - httpPortField.getText()); - panel.getWizard().setProperty( - HTTPS_PORT_PROPERTY, - httpsPortField.getText()); - panel.getWizard().setProperty( - ADMIN_PORT_PROPERTY, - adminPortField.getText()); - } - - @Override - protected String validateInput() { - String errorMessage = super.validateInput(); - - if (errorMessage == null) { - errorMessage = panel.getJdkLocationPanel().validateLocation( - jdkLocationField.getText()); - } - - if (errorMessage != null) { - return errorMessage; - } - - final String username = usernameField.getText(); - final String password = new String(passwordField.getPassword()); - final String password2 = new String(repeatPasswordField.getPassword()); - final String httpPort = httpPortField.getText().trim(); - final String httpsPort = httpsPortField.getText().trim(); - final String adminPort = adminPortField.getText().trim(); - - if ((username == null) || username.trim().equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_USERNAME_NULL_PROPERTY), - username, - password, - password2); - } - if (!username.matches("[0-9a-zA-Z]+")) { - return StringUtils.format( - panel.getProperty(ERROR_USERNAME_NOT_ALNUM_PROPERTY), - username, - password, - password2); - } - - if ((password == null) || password.trim().equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_NULL_PROPERTY), - username, - password, - password2); - } - if (password.length() < 8) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY), - username, - password, - password2); - } - if (!password.equals(password2)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY), - username, - password, - password2); - } - if (!password.trim().equals(password)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_SPACES_PROPERTY), - username, - password, - password2); - } - - if ((httpPort.equals("") || httpsPort.equals("") || adminPort.equals("")) && allPortsOccupied) { - return panel.getProperty(ERROR_ALL_PORTS_OCCUPIED_PROPERTY); - } - - if ((httpPort == null) || httpPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NULL_PROPERTY), - httpPort); - } - if (!httpPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NOT_INTEGER_PROPERTY), - httpPort); - } - int port = new Integer(httpPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NOT_IN_RANGE_PROPERTY), - httpPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_OCCUPIED_PROPERTY), - httpPort); - } - - if ((httpsPort == null) || httpsPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NULL_PROPERTY), - httpsPort); - } - if (!httpsPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NOT_INTEGER_PROPERTY), - httpsPort); - } - port = new Integer(httpsPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NOT_IN_RANGE_PROPERTY), - httpsPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_OCCUPIED_PROPERTY), - httpsPort); - } - - if ((adminPort == null) || adminPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NULL_PROPERTY), - adminPort); - } - if (!adminPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NOT_INTEGER_PROPERTY), - adminPort); - } - port = new Integer(adminPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NOT_IN_RANGE_PROPERTY), - adminPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_OCCUPIED_PROPERTY), - adminPort); - } - - if (httpPort.equals(httpsPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_EQUALS_HTTPS_PROPERTY), - httpPort, - httpsPort); - } - if (httpPort.equals(adminPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_EQUALS_ADMIN_PROPERTY), - httpPort, - adminPort); - } - if (httpsPort.equals(adminPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_EQUALS_ADMIN_PROPERTY), - httpsPort, adminPort); - } - - //#128991: Installation not recognized not empty dir for GF - File f = FileUtils.eliminateRelativity(getDestinationField().getText().trim()); - if(FileUtils.exists(f)) { - File [] list = f.listFiles(); - if (list!= null && list.length > 0) { - return StringUtils.format( - component.getProperty(ERROR_NOT_EMPTY_PROPERTY), - f.getAbsolutePath()); - } - } - //#137248: Glassfish installation failed while using UNC paths - if(SystemUtils.isWindows() && FileUtils.isUNCPath(f.getAbsolutePath())) { - return StringUtils.format( - component.getProperty(ERROR_UNC_PATH_UNSUPPORTED_PROPERTY), - f.getAbsolutePath()); - } - //#163233 Installer allow enter paths which can not be used for installation - //#163426 Unable to install GlassFish V2.1 to C:\Program Files (x86)\glassfish-v2.1 - if(SystemUtils.isWindows() && - !f.getAbsolutePath().contains(StringUtils.SPACE) && - (f.getAbsolutePath().contains("(") || f.getAbsolutePath().contains(")"))) { - return StringUtils.format( - component.getProperty(ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY), - f.getAbsolutePath()); - - } - //#172006 Portlet container driver does not work when appserver is installed into folder with space in path - if(SystemUtils.isUnix() && f.getAbsolutePath().contains(StringUtils.SPACE)) { - return StringUtils.format( - component.getProperty(ERROR_SPACE_IN_UNIX_PATH_PROPERTY), - f.getAbsolutePath()); - } - return null; - } - - @Override - protected String getWarningMessage() { - // check whether the selected ports are already in use by any other - // installed application server (SJSAS or GlassFish) - final RegistryFilter filter = new OrFilter( - new ProductFilter("glassfish", SystemUtils.getCurrentPlatform()), - new ProductFilter("sjsas", SystemUtils.getCurrentPlatform())); - final List products = - Registry.getInstance().queryProducts(filter); - - final int httpPort = Integer.parseInt(httpPortField.getText().trim()); - final int httpsPort = Integer.parseInt(httpsPortField.getText().trim()); - final int adminPort = Integer.parseInt(adminPortField.getText().trim()); - - try { - for (Product product: products) { - if (product.getStatus() == Status.INSTALLED) { - final File location = product.getInstallationLocation(); - - for (String domainName: GlassFishUtils.getDomainNames(location)) { - int port = GlassFishUtils.getHttpPort(location, domainName); - if ((port == httpPort) || - (port == httpsPort) || - (port == adminPort)) { - return StringUtils.format( - panel.getProperty(WARNING_PORT_IN_USE_PROPERTY), - StringUtils.EMPTY_STRING + port, - product); - } - - port = GlassFishUtils.getHttpsPort(location, domainName); - if ((port == httpPort) || - (port == httpsPort) || - (port == adminPort)) { - return StringUtils.format( - panel.getProperty(WARNING_PORT_IN_USE_PROPERTY), - StringUtils.EMPTY_STRING + port, - product); - } - - port = GlassFishUtils.getAdminPort(location, domainName); - if ((port == httpPort) || - (port == httpsPort) || - (port == adminPort)) { - return StringUtils.format( - panel.getProperty(WARNING_PORT_IN_USE_PROPERTY), - StringUtils.EMPTY_STRING + port, - product); - } - } - } - } - } catch (IOException e) { - ErrorManager.notifyDebug("Failed to get the port value.", e); - } catch (XMLException e) { - ErrorManager.notifyDebug("Failed to get the port value.", e); - } - - // check whether the .asadminpass and .asadmintruststore file exist - // in the user's home directory - final File asadminpass = new File( - SystemUtils.getUserHomeDirectory(), - ".asadminpass");; - final File asadmintruststore = new File( - SystemUtils.getUserHomeDirectory(), - ".asadmintruststore"); - if (asadminpass.exists() || asadmintruststore.exists()) { - return panel.getProperty(WARNING_ASADMIN_FILES_EXIST_PROPERTY); - } - - return null; - } - - // private ////////////////////////////////////////////////////////////////// - private void initComponents() { - // containerPanel /////////////////////////////////////////////////////// - containerPanel = new NbiPanel(); - - // selectedLocationField //////////////////////////////////////////////// - jdkLocationField = new NbiTextField(); - jdkLocationField.getDocument().addDocumentListener( - new DocumentListener() { - public void insertUpdate(DocumentEvent e) { - updateErrorMessage(); - } - - public void removeUpdate(DocumentEvent e) { - //updateErrorMessage(); - } - - public void changedUpdate(DocumentEvent e) { - updateErrorMessage(); - } - }); - - // jdkLocationComboBox ////////////////////////////////////////////////// - final LocationValidator validator = new LocationValidator() { - public void validate(String location) { - jdkLocationField.setText(location); - } - }; - - jdkLocationComboBox = new NbiComboBox(); - jdkLocationComboBox.setEditable(true); - jdkLocationComboBox.setEditor(new LocationsComboBoxEditor(validator)); - jdkLocationComboBox.addItemListener(new ItemListener() { - public void itemStateChanged(ItemEvent e) { - final ComboBoxModel model = jdkLocationComboBox.getModel(); - - if (model instanceof LocationsComboBoxModel) { - jdkLocationField.setText( - ((LocationsComboBoxModel) model).getLocation()); - } - } - }); - - // jdkLocationLabel ///////////////////////////////////////////////////// - jdkLocationLabel = new NbiLabel(); - jdkLocationLabel.setLabelFor(jdkLocationComboBox); - - // browseButton ///////////////////////////////////////////////////////// - browseButton = new NbiButton(); - browseButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent event) { - browseButtonPressed(); - } - }); - - // statusLabel ////////////////////////////////////////////////////////// - statusLabel = new NbiLabel(); - - // fileChooser ////////////////////////////////////////////////////////// - fileChooser = new NbiDirectoryChooser(); - - final Dimension longFieldSize = new Dimension( - 200, - new NbiTextField().getPreferredSize().height); - final Dimension shortFieldSize = new Dimension( - 80, - longFieldSize.height); - - // usernameField //////////////////////////////////////////////////////// - usernameField = new NbiTextField(); - usernameField.setPreferredSize(longFieldSize); - usernameField.setMinimumSize(longFieldSize); - usernameField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // usernameLabel //////////////////////////////////////////////////////// - usernameLabel = new NbiLabel(); - usernameLabel.setLabelFor(usernameField); - - // passwordField //////////////////////////////////////////////////////// - passwordField = new NbiPasswordField(); - passwordField.setPreferredSize(longFieldSize); - passwordField.setMinimumSize(longFieldSize); - passwordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // passwordLabel //////////////////////////////////////////////////////// - passwordLabel = new NbiLabel(); - passwordLabel.setLabelFor(passwordField); - - // repeatPasswordField ////////////////////////////////////////////////// - repeatPasswordField = new NbiPasswordField(); - repeatPasswordField.setPreferredSize(longFieldSize); - repeatPasswordField.setMinimumSize(longFieldSize); - repeatPasswordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // repeatPasswordLabel ////////////////////////////////////////////////// - repeatPasswordLabel = new NbiLabel(); - repeatPasswordLabel.setLabelFor(repeatPasswordField); - - // httpPortField //////////////////////////////////////////////////////// - httpPortField = new NbiTextField(); - httpPortField.setPreferredSize(shortFieldSize); - httpPortField.setMinimumSize(shortFieldSize); - httpPortField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // httpPortLabel //////////////////////////////////////////////////////// - httpPortLabel = new NbiLabel(); - httpPortLabel.setLabelFor(httpPortField); - - // httpsPortField /////////////////////////////////////////////////////// - httpsPortField = new NbiTextField(); - httpsPortField.setPreferredSize(shortFieldSize); - httpsPortField.setMinimumSize(shortFieldSize); - httpsPortField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // httpsPortLabel /////////////////////////////////////////////////////// - httpsPortLabel = new NbiLabel(); - httpsPortLabel.setLabelFor(httpsPortField); - - // adminPortField /////////////////////////////////////////////////////// - adminPortField = new NbiTextField(); - adminPortField.setPreferredSize(shortFieldSize); - adminPortField.setMinimumSize(shortFieldSize); - adminPortField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // adminPortLabel /////////////////////////////////////////////////////// - adminPortLabel = new NbiLabel(); - adminPortLabel.setLabelFor(adminPortField); - - // commentsPane ///////////////////////////////////////////////////////// - defaultsLabel = new NbiLabel(); - - // this ///////////////////////////////////////////////////////////////// - add(jdkLocationLabel, new GridBagConstraints( - 0, 2, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(jdkLocationComboBox, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(browseButton, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(statusLabel, new GridBagConstraints( - 0, 4, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(containerPanel, new GridBagConstraints( - 0, 5, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - // containerPanel /////////////////////////////////////////////////////// - containerPanel.add(usernameLabel, new GridBagConstraints( - 0, 0, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(usernameField, new GridBagConstraints( - 1, 0, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 0, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(passwordLabel, new GridBagConstraints( - 0, 1, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(passwordField, new GridBagConstraints( - 1, 1, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(defaultsLabel, new GridBagConstraints( - 3, 1, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 0, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(repeatPasswordLabel, new GridBagConstraints( - 0, 2, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(repeatPasswordField, new GridBagConstraints( - 1, 2, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 2, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(httpPortLabel, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(httpPortField, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 3, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(httpsPortLabel, new GridBagConstraints( - 0, 4, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(httpsPortField, new GridBagConstraints( - 1, 4, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 4, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 4, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(adminPortLabel, new GridBagConstraints( - 0, 5, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(adminPortField, new GridBagConstraints( - 1, 5, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 5, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 5, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - } - - private void browseButtonPressed() { - fileChooser.setSelectedFile(new File(jdkLocationField.getText())); - - if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { - jdkLocationComboBox.getModel().setSelectedItem( - fileChooser.getSelectedFile().getAbsolutePath()); - } - } - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String DEFAULT_TITLE = - ResourceUtils.getString(ASPanel.class, - "AS.title"); // NOI18N - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(ASPanel.class, - "AS.description"); // NOI18N - - public static final String USERNAME_PROPERTY = - "username"; // NOI18N - public static final String PASSWORD_PROPERTY = - "password"; // NOI18N - public static final String HTTP_PORT_PROPERTY = - "http.port"; // NOI18N - public static final String HTTPS_PORT_PROPERTY = - "https.port"; // NOI18N - public static final String ADMIN_PORT_PROPERTY = - "admin.port"; // NOI18N - - public static final String JDK_LOCATION_LABEL_TEXT_PROPERTY = - "jdk.location.label.text"; // NOI18N - public static final String BROWSE_BUTTON_TEXT_PROPERTY = - "browse.button.text"; // NOI18N - public static final String USERNAME_LABEL_TEXT_PROPERTY = - "username.label.text"; // NOI18N - public static final String PASSWORD_LABEL_TEXT_PROPERTY = - "password.label.text"; // NOI18N - public static final String REPEAT_PASSWORD_LABEL_TEXT_PROPERTY = - "repeat.password.label.text"; // NOI18N - public static final String HTTP_LABEL_TEXT_PROPERTY = - "http.label.text"; // NOI18N - public static final String HTTPS_LABEL_TEXT_PROPERTY = - "https.label.text"; // NOI18N - public static final String ADMIN_LABEL_TEXT_PROPERTY = - "admin.label.text"; // NOI18N - public static final String DEFAULTS_LABEL_TEXT_PROPERTY = - "defaults.label.text"; // NOI18N - - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.destination.label.text"); // NOI18N - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.destination.button.text"); // NOI18N - - public static final String DEFAULT_JDK_LOCATION_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.jdk.location.label.text"); // NOI18N - public static final String DEFAULT_BROWSE_BUTTON_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.browse.button.text"); // NOI18N - public static final String DEFAULT_USERNAME_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.username.label.text"); // NOI18N - public static final String DEFAULT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.password.label.text"); // NOI18N - public static final String DEFAULT_REPEAT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.repeat.password.label.text"); // NOI18N - public static final String DEFAULT_HTTP_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.http.label.text"); // NOI18N - public static final String DEFAULT_HTTPS_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.https.label.text"); // NOI18N - public static final String DEFAULT_ADMIN_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.admin.label.text"); // NOI18N - public static final String DEFAULT_DEFAULTS_LABEL_TEXT = - ResourceUtils.getString(ASPanel.class, - "AS.defaults.label.text"); // NOI18N - - public static final String DEFAULT_USERNAME_PROPERTY = - "default.username"; // NOI18N - public static final String DEFAULT_PASSWORD_PROPERTY = - "default.password"; // NOI18N - public static final String DEFAULT_HTTP_PORT_PROPERTY = - "default.http.port"; // NOI18N - public static final String DEFAULT_HTTPS_PORT_PROPERTY = - "default.https.port"; // NOI18N - public static final String DEFAULT_ADMIN_PORT_PROPERTY = - "default.admin.port"; // NOI18N - - public static final String DEFAULT_DEFAULT_USERNAME = - ResourceUtils.getString(ASPanel.class, - "AS.default.username"); // NOI18N - public static final String DEFAULT_DEFAULT_PASSWORD = - ResourceUtils.getString(ASPanel.class, - "AS.default.password"); // NOI18N - public static final String DEFAULT_DEFAULT_HTTP_PORT = - ResourceUtils.getString(ASPanel.class, - "AS.default.http.port"); // NOI18N - public static final String DEFAULT_DEFAULT_HTTPS_PORT = - ResourceUtils.getString(ASPanel.class, - "AS.default.https.port"); // NOI18N - public static final String DEFAULT_DEFAULT_ADMIN_PORT = - ResourceUtils.getString(ASPanel.class, - "AS.default.admin.port"); // NOI18N - - public static final String ERROR_USERNAME_NULL_PROPERTY = - "error.username.null"; // NOI18N - public static final String ERROR_USERNAME_NOT_ALNUM_PROPERTY = - "error.username.not.alnum"; // NOI18N - public static final String ERROR_PASSWORD_NULL_PROPERTY = - "error.password.null"; // NOI18N - public static final String ERROR_PASSWORD_TOO_SHORT_PROPERTY = - "error.password.too.short"; // NOI18N - public static final String ERROR_PASSWORD_SPACES_PROPERTY = - "error.password.spaces"; // NOI18N - public static final String ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY = - "error.passwords.do.not.match"; // NOI18N - public static final String ERROR_ALL_PORTS_OCCUPIED_PROPERTY = - "error.all.ports.occupied"; // NOI18N - public static final String ERROR_HTTP_NULL_PROPERTY = - "error.http.null"; // NOI18N - public static final String ERROR_HTTPS_NULL_PROPERTY = - "error.https.null"; // NOI18N - public static final String ERROR_ADMIN_NULL_PROPERTY = - "error.admin.null"; // NOI18N - public static final String ERROR_HTTP_NOT_INTEGER_PROPERTY = - "error.http.not.integer"; // NOI18N - public static final String ERROR_HTTPS_NOT_INTEGER_PROPERTY = - "error.https.not.integer"; // NOI18N - public static final String ERROR_ADMIN_NOT_INTEGER_PROPERTY = - "error.admin.not.integer"; // NOI18N - public static final String ERROR_HTTP_NOT_IN_RANGE_PROPERTY = - "error.http.not.in.range"; // NOI18N - public static final String ERROR_HTTPS_NOT_IN_RANGE_PROPERTY = - "error.https.not.in.range"; // NOI18N - public static final String ERROR_ADMIN_NOT_IN_RANGE_PROPERTY = - "error.admin.not.in.range"; // NOI18N - public static final String ERROR_HTTP_OCCUPIED_PROPERTY = - "error.http.occupied"; // NOI18N - public static final String ERROR_HTTPS_OCCUPIED_PROPERTY = - "error.https.occupied"; // NOI18N - public static final String ERROR_ADMIN_OCCUPIED_PROPERTY = - "error.admin.occupied"; // NOI18N - public static final String ERROR_HTTP_EQUALS_HTTPS_PROPERTY = - "error.http.equals.https"; // NOI18N - public static final String ERROR_HTTP_EQUALS_ADMIN_PROPERTY = - "error.http.equals.admin"; // NOI18N - public static final String ERROR_HTTPS_EQUALS_ADMIN_PROPERTY = - "error.https.equals.admin"; // NOI18N - public static final String ERROR_UNC_PATH_UNSUPPORTED_PROPERTY = - "error.unc.path.unsupported"; // NOI18N - public static final String ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY = - "error.brackets.in.not.spaced.path"; - public static final String ERROR_SPACE_IN_UNIX_PATH_PROPERTY = - "error.space.in.unix.path"; - - - public static final String WARNING_PORT_IN_USE_PROPERTY = - "warning.port.in.use"; // NOI18N - public static final String WARNING_ASADMIN_FILES_EXIST_PROPERTY = - "warning.asadmin.files.exist"; // NOI18N - - public static final String DEFAULT_ERROR_USERNAME_NULL = - ResourceUtils.getString(ASPanel.class, - "AS.error.username.null"); // NOI18N - public static final String DEFAULT_ERROR_USERNAME_NOT_ALNUM = - ResourceUtils.getString(ASPanel.class, - "AS.error.username.not.alnum"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_NULL = - ResourceUtils.getString(ASPanel.class, - "AS.error.password.null"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_TOO_SHORT = - ResourceUtils.getString(ASPanel.class, - "AS.error.password.too.short"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_SPACES = - ResourceUtils.getString(ASPanel.class, - "AS.error.password.spaces"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH = - ResourceUtils.getString(ASPanel.class, - "AS.error.passwords.do.not.match"); // NOI18N - public static final String DEFAULT_ERROR_ALL_PORTS_OCCUPIED = - ResourceUtils.getString(ASPanel.class, - "AS.error.all.ports.occupied"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_NULL = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.null"); // NOI18N - public static final String DEFAULT_ERROR_HTTPS_NULL = - ResourceUtils.getString(ASPanel.class, - "AS.error.https.null"); // NOI18N - public static final String DEFAULT_ERROR_ADMIN_NULL = - ResourceUtils.getString(ASPanel.class, - "AS.error.admin.null"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_NOT_INTEGER = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.not.integer"); // NOI18N - public static final String DEFAULT_ERROR_HTTPS_NOT_INTEGER = - ResourceUtils.getString(ASPanel.class, - "AS.error.https.not.integer"); // NOI18N - public static final String DEFAULT_ERROR_ADMIN_NOT_INTEGER = - ResourceUtils.getString(ASPanel.class, - "AS.error.admin.not.integer"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_NOT_IN_RANGE = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.not.in.range"); // NOI18N - public static final String DEFAULT_ERROR_HTTPS_NOT_IN_RANGE = - ResourceUtils.getString(ASPanel.class, - "AS.error.https.not.in.range"); // NOI18N - public static final String DEFAULT_ERROR_ADMIN_NOT_IN_RANGE = - ResourceUtils.getString(ASPanel.class, - "AS.error.admin.not.in.range"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_OCCUPIED = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.occupied"); // NOI18N - public static final String DEFAULT_ERROR_HTTPS_OCCUPIED = - ResourceUtils.getString(ASPanel.class, - "AS.error.https.occupied"); // NOI18N - public static final String DEFAULT_ERROR_ADMIN_OCCUPIED = - ResourceUtils.getString(ASPanel.class, - "AS.error.admin.occupied"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_EQUALS_HTTPS = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.equals.https"); // NOI18N - public static final String DEFAULT_ERROR_HTTP_EQUALS_ADMIN = - ResourceUtils.getString(ASPanel.class, - "AS.error.http.equals.admin"); // NOI18N - public static final String DEFAULT_ERROR_HTTPS_EQUALS_ADMIN = - ResourceUtils.getString(ASPanel.class, - "AS.error.https.equals.admin"); // NOI18N - public static final String DEFAULT_ERROR_UNC_PATH_UNSUPPORTED = - ResourceUtils.getString(ASPanel.class, - "AS.error.unc.path.unsupported"); // NOI18N - public static final String DEFAULT_BRACKETS_IN_NOT_SPACED_PATH = - ResourceUtils.getString(ASPanel.class, - "AS.error.parantheses.in.not.spaced.path"); // NOI18N - - public static final String DEFAULT_WARNING_PORT_IN_USE = - ResourceUtils.getString(ASPanel.class, - "AS.warning.port.in.use"); // NOI18N - public static final String DEFAULT_WARNING_ASADMIN_FILES_EXIST = - ResourceUtils.getString(ASPanel.class, - "AS.warning.asadmin.files.exist"); // NOI18N - - public static final String DEFAULT_MINIMUM_JDK_VERSION = - ResourceUtils.getString(ASPanel.class, - "AS.minimum.jdk.version"); // NOI18N - public static final String DEFAULT_MAXIMUM_JDK_VERSION = - ResourceUtils.getString(ASPanel.class, - "AS.maximum.jdk.version"); // NOI18N - public static final String DEFAULT_VENDOR_JDK_ALLOWED = - ResourceUtils.getString(ASPanel.class, - "AS.vendor.jdk.allowed"); // NOI18N - public static final String DEFAULT_VENDOR_JDK_ALLOWED_MACOSX = - ResourceUtils.getString(ASPanel.class, - "AS.vendor.jdk.allowed.macosx"); // NOI18N -} diff --git a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/Bundle.properties deleted file mode 100644 index 386f773e38e4..000000000000 --- a/nbbuild/installer/components/products/sjsas/src/org/netbeans/installer/products/sjsas/wizard/panels/Bundle.properties +++ /dev/null @@ -1,85 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ASPanel.java -AS.title=Sun GlassFish Enterprise Server {display-version} Installation -AS.description=Choose the installation folder and server properties. - -AS.destination.label.text=&Install Sun GlassFish Enterprise Server {display-version} to: -AS.destination.button.text=B&rowse... - -AS.jdk.location.label.text=&JDK\u2122 for application server: -AS.browse.button.text=Br&owse... - -AS.username.label.text=Admin &Username: -AS.password.label.text=Admin &Password: -AS.repeat.password.label.text=R&etype Password: -AS.http.label.text=H&TTP Port: -AS.https.label.text=HTTP&S Port: -AS.admin.label.text=&Admin Port: -AS.defaults.label.text=(default: {1}) - -AS.error.username.null=Username cannot be empty. -AS.error.username.not.alnum=Username "{0}" is invalid. Username should be an alphanumeric string. -AS.error.password.null=Password cannot be null. -AS.error.password.too.short=Password should be at least 8 characters long. -AS.error.password.spaces=Password cannot start or end with whitespace characters. -AS.error.passwords.do.not.match=The passwords do not match. -AS.error.http.null=HTTP port cannot be empty. -AS.error.https.null=HTTPS port cannot be empty. -AS.error.admin.null=Admin port cannot be empty. -AS.error.http.not.integer=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -AS.error.https.not.integer=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -AS.error.admin.not.integer=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -AS.error.http.not.in.range=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -AS.error.https.not.in.range=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -AS.error.admin.not.in.range=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -AS.error.http.occupied=HTTP port "{0}" is already occupied on this machine. Please select another port. -AS.error.https.occupied=HTTPS port "{0}" is already occupied on this machine. Please select another port. -AS.error.admin.occupied=Admin port "{0}" is already occupied on this machine. Please select another port. -AS.error.http.equals.https=HTTP port value equals the HTTPS port value. They should be different. -AS.error.http.equals.admin=HTTP port value equals the Admin port value. They should be different. -AS.error.https.equals.admin=HTTPS port value equals the Admin port value. They should be different. -AS.error.all.ports.occupied=All ports on your system are occupied. Please free at least 6 ports which can be used by the initial domain. -AS.error.unc.path.unsupported=The installation folder is in the UNC form which is not supported. -AS.error.parantheses.in.not.spaced.path=The installation folder path should not contain parentheses if there are no spaces in it. See JDK bug #6851660. -AS.error.space.in.unix.path=The installation folder path should not contain spaces. - -AS.warning.port.in.use=Port {0} is already in use by {1}, please select another value. -AS.warning.asadmin.files.exist=Either .asadminpass or .asadmintruststore file exists in your home directory. - -#NOI18N -AS.minimum.jdk.version=1.5.0 -#NOI18N -AS.maximum.jdk.version=10.0.0 -#NOI18N -AS.vendor.jdk.allowed=Sun Microsystems.* -#NOI18N -AS.vendor.jdk.allowed.macosx=Apple.* - -#NOI18N -AS.default.username=admin -#NOI18N -AS.default.password=adminadmin -#NOI18N -AS.default.http.port=8080 -#NOI18N -AS.default.https.port=8181 -#NOI18N -AS.default.admin.port=4848 diff --git a/nbbuild/installer/components/products/tomcat/build.xml b/nbbuild/installer/components/products/tomcat/build.xml deleted file mode 100644 index f2f650c243cf..000000000000 --- a/nbbuild/installer/components/products/tomcat/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/tomcat/data/Bundle.properties b/nbbuild/installer/components/products/tomcat/data/Bundle.properties deleted file mode 100644 index 7741d88fa920..000000000000 --- a/nbbuild/installer/components/products/tomcat/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Apache Tomcat {display-version} -product.description=Open source web container for Java Servlet and JSP specifications. diff --git a/nbbuild/installer/components/products/tomcat/manifest.mf b/nbbuild/installer/components/products/tomcat/manifest.mf deleted file mode 100644 index 5e0dbc745b90..000000000000 --- a/nbbuild/installer/components/products/tomcat/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.tomcat.ConfigurationLogic diff --git a/nbbuild/installer/components/products/tomcat/nbproject/build-impl.xml b/nbbuild/installer/components/products/tomcat/nbproject/build-impl.xml deleted file mode 100644 index 28e097b3be83..000000000000 --- a/nbbuild/installer/components/products/tomcat/nbproject/build-impl.xml +++ /dev/null @@ -1,1073 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - Must select one file in the IDE or set profile.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/tomcat/nbproject/genfiles.properties b/nbbuild/installer/components/products/tomcat/nbproject/genfiles.properties deleted file mode 100644 index 9c857a4b6b59..000000000000 --- a/nbbuild/installer/components/products/tomcat/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=4c0de5c1 -build.xml.script.CRC32=41ea1d22 -build.xml.stylesheet.CRC32=a12b3d02 -# 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=ffd454d1 -nbproject/build-impl.xml.script.CRC32=29ce1f07 -nbproject/build-impl.xml.stylesheet.CRC32=8cfa0561@1.51.0.46 diff --git a/nbbuild/installer/components/products/tomcat/nbproject/project.properties b/nbbuild/installer/components/products/tomcat/nbproject/project.properties deleted file mode 100644 index 790700be4ab7..000000000000 --- a/nbbuild/installer/components/products/tomcat/nbproject/project.properties +++ /dev/null @@ -1,105 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -application.title=NBI Product: Apache Tomcat -application.vendor=ondra -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.archive.disabled=${jnlp.enabled} -jar.compress=false -jar.index=${jnlp.enabled} -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -jnlp.codebase.type=no.codebase -jnlp.descriptor=application -jnlp.enabled=false -jnlp.mixed.code=default -jnlp.offline-allowed=false -jnlp.signed=false -jnlp.signing= -jnlp.signing.alias= -jnlp.signing.keystore= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src - -platforms.JDK_1.5.bootclasspath=${platforms.JDK_1.5.home}\\jre\\lib\\rt.jar;${platforms.JDK_1.5.home}\\jre\\lib\\i18n.jar;${platforms.JDK_1.5.home}\\jre\\lib\\sunrsasign.jar;${platforms.JDK_1.5.home}\\jre\\lib\\jsse.jar;${platforms.JDK_1.5.home}\\jre\\lib\\jce.jar;${platforms.JDK_1.5.home}\\jre\\lib\\charsets.jar;${platforms.JDK_1.5.home}\\jre\\classes;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\dnsns.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\localedata.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\sunjce_provider.jar;${platforms.JDK_1.5.home}\\jre\\lib\\ext\\sunpkcs11.jar -platforms.JDK_1.5.compiler=modern diff --git a/nbbuild/installer/components/products/tomcat/nbproject/project.xml b/nbbuild/installer/components/products/tomcat/nbproject/project.xml deleted file mode 100644 index f8b147806819..000000000000 --- a/nbbuild/installer/components/products/tomcat/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: Apache Tomcat - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/Bundle.properties b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/Bundle.properties deleted file mode 100644 index 15b37103882a..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/Bundle.properties +++ /dev/null @@ -1,30 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.irrelevant.files=Removing files irrelevant to the current platform -CL.install.files.permissions=Correcting files permissions -CL.install.ide.integration=Integrating Apache Tomcat {display-version} with existing NetBeans IDEs - -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files -CL.install.error.files.permissions=Cannot completely correct files permissions -CL.install.error.ide.integration=Failed to integrate Apache Tomcat {display-version} with existing NetBeans IDEs - -CL.uninstall.ide.integration=Removing Apache Tomcat {display-version} IDE integration -CL.uninstall.error.ide.integration=Failed to remove Apache Tomcat {display-version} IDE integration diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/ConfigurationLogic.java b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/ConfigurationLogic.java deleted file mode 100644 index a22796af5259..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/ConfigurationLogic.java +++ /dev/null @@ -1,282 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.tomcat; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.Status; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; - -/** - * - - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - public void install( - final Progress progress) throws InstallationException { - final File location = getProduct().getInstallationLocation(); - - ///////////////////////////////////////////////////////////////////////////// - //try { - // progress.setDetail(getString("CL.install.irrelevant.files")); // NOI18N - // - // SystemUtils.removeIrrelevantFiles(location); - //} catch (IOException e) { - // throw new InstallationException( - // getString("CL.install.error.irrelevant.files"), // NOI18N - // e); - //} - - ///////////////////////////////////////////////////////////////////////////// -// try { -// progress.setDetail(getString("CL.install.files.permissions")); // NOI18N -// -// SystemUtils.correctFilesPermissions(location); -// } catch (IOException e) { -// throw new InstallationException( -// getString("CL.install.error.files.permissions"), // NOI18N -// e); -// } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - ///////////////////////////////////////////////////////////////////////////// - // Reference: http://wiki.netbeans.org/wiki/view/TomcatAutoRegistration - try { - progress.setDetail(getString("CL.install.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - List productsToIntegrate = new ArrayList(); - for (Product ide : ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + getProduct().getDisplayName() + " can be integrated with " + ide.getDisplayName() + " at " + ide.getInstallationLocation()); - final File ideLocation = ide.getInstallationLocation(); - if (ideLocation != null && FileUtils.exists(ideLocation) && !FileUtils.isEmpty(ideLocation)) { - final Product bundledProduct = bundledRegistry.getProduct(ide.getUid(), ide.getVersion()); - if (bundledProduct != null) { - //one of already installed IDEs is in the bundled registry as well - we need to integrate with it - productsToIntegrate.add(ide); - LogManager.log("... will be integrated since this produce is also bundled"); - } else { - //check if this IDE is not integrated with any other GF instance - we need integrate with such IDE instance - try { - if(!isTomcatRegistred(location)) { - LogManager.log("... will be integrated since there it is not yet integrated with any instance or such an instance does not exist"); - productsToIntegrate.add(ide); - } else { - LogManager.log("... will not be integrated since it is already integrated with another instance"); - } - } catch (IOException e) { - LogManager.log(e); - } - } - } - } - } - - for (Product productToIntegrate : productsToIntegrate) { - final File ideLocation = productToIntegrate.getInstallationLocation(); - LogManager.log("... integrate " + getProduct().getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + ideLocation); - ///////////////////////////////////////////////////////////////////////////// - // Reference: http://wiki.netbeans.org/wiki/view/TomcatAutoRegistration - if(!registerTomcat(ideLocation, location)) { - continue; - } - - // if the IDE was installed in the same session as the - // appserver, we should add its "product id" to the IDE - if (productToIntegrate.hasStatusChanged()) { - NetBeansUtils.addPackId( - ideLocation, - PRODUCT_ID); - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private boolean isTomcatRegistred(File nbLocation) throws IOException { - return new File (nbLocation, "nb/config/J2EE/InstalledServers/tomcat_autoregistered_instance").exists(); - } - - private boolean registerTomcat(File nbLocation, File tomcatLocation) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-tomcat5.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for Tomcat integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.tomcat5.registration.AutomaticRegistration"; - List commands = new ArrayList (); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add("--add"); - commands.add(nbCluster.getAbsolutePath()); - commands.add(tomcatLocation.getAbsolutePath()); - - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } - - private void removeTomcatIntegration(File nbLocation, File tomcatLocation) throws IOException { - /* - final String value = NetBeansUtils.getJvmOption( - nbLocation, - JVM_OPTION_AUTOREGISTER_HOME_NAME); - LogManager.log("... ide integrated with: " + value); - if ((value != null) - && (value.equals(tomcatLocation.getAbsolutePath()))) { - LogManager.log("... removing integration"); - NetBeansUtils.removeJvmOption( - nbLocation, - JVM_OPTION_AUTOREGISTER_HOME_NAME); - NetBeansUtils.removeJvmOption( - nbLocation, - JVM_OPTION_AUTOREGISTER_TOKEN_NAME); - }*/ - FileUtils.deleteFile(new File (nbLocation, "nb/config/J2EE/InstalledServers/tomcat_autoregistered_instance")); - FileUtils.deleteFile(new File (nbLocation, "nb/config/J2EE/InstalledServers/.nbattrs")); - } - - public void uninstall( - final Progress progress) throws UninstallationException { - final File location = getProduct().getInstallationLocation(); - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - for (Product ide: ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + ide.getDisplayName() + " is integrated with " + getProduct().getDisplayName() + " installed at " + location); - final File nbLocation = ide.getInstallationLocation(); - - if (nbLocation != null) { - LogManager.log("... ide location is " + nbLocation); - removeTomcatIntegration(nbLocation, location); - } else { - LogManager.log("... ide location is null"); - } - } - } - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.ide.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public List getWizardComponents( - ) { - return wizardComponents; - } - - @Override - public String getIcon() { - if (SystemUtils.isWindows()) { - return "bin/tomcat7.exe"; - } else { - return null; - } - } - - public boolean requireLegalArtifactSaving() { - return false; - } - - @Override - public boolean allowModifyMode() { - return false; - } - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String WIZARD_COMPONENTS_URI = - "resource:" + // NOI18N - "org/netbeans/installer/products/tomcat/wizard.xml"; // NOI18N - public static final String PRODUCT_ID = - "TOMCAT"; // NOI18N -} diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/license.txt b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/license.txt deleted file mode 100644 index 985eb14386f8..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/license.txt +++ /dev/null @@ -1,707 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - -APACHE TOMCAT SUBCOMPONENTS: - -Apache Tomcat includes a number of subcomponents with separate copyright notices -and license terms. Your use of these subcomponents is subject to the terms and -conditions of the following licenses. - - -For the jasper-jdt.jar component: - -Eclipse Public License - v 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and - -b) in the case of each subsequent Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or anyone -acting on such Contributor's behalf. Contributions do not include additions to -the Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) are not -derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents" mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and such -derivative works, in source code and object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed -Patents to make, use, sell, offer to sell, import and otherwise transfer the -Contribution of such Contributor, if any, in source code and object code form. -This patent license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, such -addition of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other combinations -which include the Contribution. No hardware per se is licensed hereunder. - -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other intellectual -property rights of any other entity. Each Contributor disclaims any liability to -Recipient for claims brought by any other entity based on infringement of -intellectual property rights or otherwise. As a condition to exercising the -rights and licenses granted hereunder, each Recipient hereby assumes sole -responsibility to secure any other intellectual property rights needed, if any. -For example, if a third party patent license is required to allow Recipient to -distribute the Program, it is Recipient's responsibility to acquire that license -before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its -own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title and -non-infringement, and implied warranties or conditions of merchantability and -fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are offered by -that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such Contributor, -and informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the -Program. - -Each Contributor must identify itself as the originator of its Contribution, if -any, in a manner that reasonably allows subsequent Recipients to identify the -originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, if -a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, damages -and costs (collectively "Losses") arising from claims, lawsuits and other legal -actions brought by a third party against the Indemnified Contributor to the -extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor -to control, and cooperate with the Commercial Contributor in, the defense and -any related settlement negotiations. The Indemnified Contributor may -participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If that -Commercial Contributor then makes performance claims, or offers warranties -related to Product X, those performance claims and warranties are such -Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a court -requires any other Contributor to pay any damages as a result, the Commercial -Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, -NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each -Recipient is solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its exercise of -rights under this Agreement , including but not limited to the risks and costs -of program errors, compliance with applicable laws, damage to or loss of data, -programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable -law, it shall not affect the validity or enforceability of the remainder of the -terms of this Agreement, and without further action by the parties hereto, such -provision shall be reformed to the minimum extent necessary to make such -provision valid and enforceable. - -If Recipient institutes patent litigation against any entity (including a -cross-claim or counterclaim in a lawsuit) alleging that the Program itself -(excluding combinations of the Program with other software or hardware) -infringes such Recipient's patent(s), then such Recipient's rights granted under -Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to time. -No one other than the Agreement Steward has the right to modify this Agreement. -The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation -may assign the responsibility to serve as the Agreement Steward to a suitable -separate entity. Each new version of the Agreement will be given a -distinguishing version number. The Program (including Contributions) may always -be distributed subject to the version of the Agreement under which it was -received. In addition, after a new version of the Agreement is published, -Contributor may elect to distribute the Program (including its Contributions) -under the new version. Except as expressly stated in Sections 2(a) and 2(b) -above, Recipient receives no rights or licenses to the intellectual property of -any Contributor under this Agreement, whether expressly, by implication, -estoppel or otherwise. All rights in the Program not expressly granted under -this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial in -any resulting litigation. - - -For the Windows Installer component: - - * All NSIS source code, plug-ins, documentation, examples, header files and - graphics, with the exception of the compression modules and where - otherwise noted, are licensed under the zlib/libpng license. - * The zlib compression module for NSIS is licensed under the zlib/libpng - license. - * The bzip2 compression module for NSIS is licensed under the bzip2 license. - * The lzma compression module for NSIS is licensed under the Common Public - License version 1.0. - -zlib/libpng license - -This software is provided 'as-is', without any express or implied warranty. In -no event will the authors be held liable for any damages arising from the use of -this software. - -Permission is granted to anyone to use this software for any purpose, including -commercial applications, and to alter it and redistribute it freely, subject to -the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - -bzip2 license - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - 2. The origin of this software must not be misrepresented; you must not claim - that you wrote the original software. If you use this software in a - product, an acknowledgment in the product documentation would be - appreciated but is not required. - 3. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 4. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. - -Julian Seward, Cambridge, UK. - -jseward@acm.org -Common Public License version 1.0 - -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC -LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM -CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. - -1. DEFINITIONS - -"Contribution" means: - -a) in the case of the initial Contributor, the initial code and documentation -distributed under this Agreement, and b) in the case of each subsequent -Contributor: - -i) changes to the Program, and - -ii) additions to the Program; - -where such changes and/or additions to the Program originate from and are -distributed by that particular Contributor. A Contribution 'originates' from a -Contributor if it was added to the Program by such Contributor itself or anyone -acting on such Contributor's behalf. Contributions do not include additions to -the Program which: (i) are separate modules of software distributed in -conjunction with the Program under their own license agreement, and (ii) are not -derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are -necessarily infringed by the use or sale of its Contribution alone or when -combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, -including all Contributors. - -2. GRANT OF RIGHTS - -a) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free copyright license to -reproduce, prepare derivative works of, publicly display, publicly perform, -distribute and sublicense the Contribution of such Contributor, if any, and such -derivative works, in source code and object code form. - -b) Subject to the terms of this Agreement, each Contributor hereby grants -Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed -Patents to make, use, sell, offer to sell, import and otherwise transfer the -Contribution of such Contributor, if any, in source code and object code form. -This patent license shall apply to the combination of the Contribution and the -Program if, at the time the Contribution is added by the Contributor, such -addition of the Contribution causes such combination to be covered by the -Licensed Patents. The patent license shall not apply to any other combinations -which include the Contribution. No hardware per se is licensed hereunder. - -c) Recipient understands that although each Contributor grants the licenses to -its Contributions set forth herein, no assurances are provided by any -Contributor that the Program does not infringe the patent or other intellectual -property rights of any other entity. Each Contributor disclaims any liability to -Recipient for claims brought by any other entity based on infringement of -intellectual property rights or otherwise. As a condition to exercising the -rights and licenses granted hereunder, each Recipient hereby assumes sole -responsibility to secure any other intellectual property rights needed, if any. -For example, if a third party patent license is required to allow Recipient to -distribute the Program, it is Recipient's responsibility to acquire that license -before distributing the Program. - -d) Each Contributor represents that to its knowledge it has sufficient copyright -rights in its Contribution, if any, to grant the copyright license set forth in -this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its -own license agreement, provided that: - -a) it complies with the terms and conditions of this Agreement; and - -b) its license agreement: - -i) effectively disclaims on behalf of all Contributors all warranties and -conditions, express and implied, including warranties or conditions of title and -non-infringement, and implied warranties or conditions of merchantability and -fitness for a particular purpose; - -ii) effectively excludes on behalf of all Contributors all liability for -damages, including direct, indirect, special, incidental and consequential -damages, such as lost profits; - -iii) states that any provisions which differ from this Agreement are offered by -that Contributor alone and not by any other party; and - -iv) states that source code for the Program is available from such Contributor, -and informs licensees how to obtain it in a reasonable manner on or through a -medium customarily used for software exchange. - -When the Program is made available in source code form: - -a) it must be made available under this Agreement; and - -b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the -Program. - -Each Contributor must identify itself as the originator of its Contribution, if -any, in a manner that reasonably allows subsequent Recipients to identify the -originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with -respect to end users, business partners and the like. While this license is -intended to facilitate the commercial use of the Program, the Contributor who -includes the Program in a commercial product offering should do so in a manner -which does not create potential liability for other Contributors. Therefore, if -a Contributor includes the Program in a commercial product offering, such -Contributor ("Commercial Contributor") hereby agrees to defend and indemnify -every other Contributor ("Indemnified Contributor") against any losses, damages -and costs (collectively "Losses") arising from claims, lawsuits and other legal -actions brought by a third party against the Indemnified Contributor to the -extent caused by the acts or omissions of such Commercial Contributor in -connection with its distribution of the Program in a commercial product -offering. The obligations in this section do not apply to any claims or Losses -relating to any actual or alleged intellectual property infringement. In order -to qualify, an Indemnified Contributor must: a) promptly notify the Commercial -Contributor in writing of such claim, and b) allow the Commercial Contributor to -control, and cooperate with the Commercial Contributor in, the defense and any -related settlement negotiations. The Indemnified Contributor may participate in -any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product -offering, Product X. That Contributor is then a Commercial Contributor. If that -Commercial Contributor then makes performance claims, or offers warranties -related to Product X, those performance claims and warranties are such -Commercial Contributor's responsibility alone. Under this section, the -Commercial Contributor would have to defend claims against the other -Contributors related to those performance claims and warranties, and if a court -requires any other Contributor to pay any damages as a result, the Commercial -Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR -IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, -NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each -Recipient is solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its exercise of -rights under this Agreement, including but not limited to the risks and costs of -program errors, compliance with applicable laws, damage to or loss of data, -programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY -CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST -PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS -GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable -law, it shall not affect the validity or enforceability of the remainder of the -terms of this Agreement, and without further action by the parties hereto, such -provision shall be reformed to the minimum extent necessary to make such -provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to -a patent applicable to software (including a cross-claim or counterclaim in a -lawsuit), then any patent licenses granted by that Contributor to such Recipient -under this Agreement shall terminate as of the date such litigation is filed. In -addition, if Recipient institutes patent litigation against any entity -(including a cross-claim or counterclaim in a lawsuit) alleging that the Program -itself (excluding combinations of the Program with other software or hardware) -infringes such Recipient's patent(s), then such Recipient's rights granted under -Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to -comply with any of the material terms or conditions of this Agreement and does -not cure such failure in a reasonable period of time after becoming aware of -such noncompliance. If all Recipient's rights under this Agreement terminate, -Recipient agrees to cease use and distribution of the Program as soon as -reasonably practicable. However, Recipient's obligations under this Agreement -and any licenses granted by Recipient relating to the Program shall continue and -survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in -order to avoid inconsistency the Agreement is copyrighted and may only be -modified in the following manner. The Agreement Steward reserves the right to -publish new versions (including revisions) of this Agreement from time to time. -No one other than the Agreement Steward has the right to modify this Agreement. -IBM is the initial Agreement Steward. IBM may assign the responsibility to serve -as the Agreement Steward to a suitable separate entity. Each new version of the -Agreement will be given a distinguishing version number. The Program (including -Contributions) may always be distributed subject to the version of the Agreement -under which it was received. In addition, after a new version of the Agreement -is published, Contributor may elect to distribute the Program (including its -Contributions) under the new version. Except as expressly stated in Sections -2(a) and 2(b) above, Recipient receives no rights or licenses to the -intellectual property of any Contributor under this Agreement, whether -expressly, by implication, estoppel or otherwise. All rights in the Program not -expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the -intellectual property laws of the United States of America. No party to this -Agreement will bring a legal action under this Agreement more than one year -after the cause of action arose. Each party waives its rights to a jury trial in -any resulting litigation. - -Special exception for LZMA compression module - -Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for -NSIS, expressly permit you to statically or dynamically link your code (or bind -by name) to the files from the LZMA compression module for NSIS without -subjecting your linked code to the terms of the Common Public license version -1.0. Any modifications or additions to files from the LZMA compression module -for NSIS, however, are subject to the terms of the Common Public License version -1.0. \ No newline at end of file diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard.xml b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard.xml deleted file mode 100644 index f5ca995ad85e..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/Bundle.properties deleted file mode 100644 index 841fab8f2353..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/Bundle.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# TomcatPanel.java -TP.title=Apache Tomcat {display-version} Installation -TP.description=Choose destination folder. -TP.destination.label.text=&Install Apache Tomcat to: -TP.destination.button.text=B&rowse..... diff --git a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/TomcatPanel.java b/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/TomcatPanel.java deleted file mode 100644 index cdb0b17d3e07..000000000000 --- a/nbbuild/installer/components/products/tomcat/src/org/netbeans/installer/products/tomcat/wizard/panels/TomcatPanel.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.tomcat.wizard.panels; - -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; - -/** - * - - */ -public class TomcatPanel extends DestinationPanel { - - - public TomcatPanel() { - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - - public static final String DEFAULT_TITLE = - ResourceUtils.getString(TomcatPanel.class, - "TP.title"); // NOI18N - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(TomcatPanel.class, - "TP.description"); // NOI18N - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(TomcatPanel.class, - "TP.destination.label.text"); // NOI18N - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(TomcatPanel.class, - "TP.destination.button.text"); // NOI18N -} diff --git a/nbbuild/installer/components/products/weblogic/build.xml b/nbbuild/installer/components/products/weblogic/build.xml deleted file mode 100644 index 0858aa97dc34..000000000000 --- a/nbbuild/installer/components/products/weblogic/build.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - diff --git a/nbbuild/installer/components/products/weblogic/data/Bundle.properties b/nbbuild/installer/components/products/weblogic/data/Bundle.properties deleted file mode 100644 index f46a58494265..000000000000 --- a/nbbuild/installer/components/products/weblogic/data/Bundle.properties +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -product.display.name=Oracle WebLogic Server {display-version} -product.description=Oracle WebLogic Server {display-version} diff --git a/nbbuild/installer/components/products/weblogic/data/icon.png b/nbbuild/installer/components/products/weblogic/data/icon.png deleted file mode 100644 index 3adb98c77a76..000000000000 Binary files a/nbbuild/installer/components/products/weblogic/data/icon.png and /dev/null differ diff --git a/nbbuild/installer/components/products/weblogic/manifest.mf b/nbbuild/installer/components/products/weblogic/manifest.mf deleted file mode 100644 index a6eb88c57166..000000000000 --- a/nbbuild/installer/components/products/weblogic/manifest.mf +++ /dev/null @@ -1 +0,0 @@ -Configuration-Logic-Class: org.netbeans.installer.products.weblogic.ConfigurationLogic diff --git a/nbbuild/installer/components/products/weblogic/nbproject/build-impl.xml b/nbbuild/installer/components/products/weblogic/nbproject/build-impl.xml deleted file mode 100644 index f627eee5e934..000000000000 --- a/nbbuild/installer/components/products/weblogic/nbproject/build-impl.xml +++ /dev/null @@ -1,1422 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nbbuild/installer/components/products/weblogic/nbproject/genfiles.properties b/nbbuild/installer/components/products/weblogic/nbproject/genfiles.properties deleted file mode 100644 index 96224508ae28..000000000000 --- a/nbbuild/installer/components/products/weblogic/nbproject/genfiles.properties +++ /dev/null @@ -1,5 +0,0 @@ -# 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=802026e5 -nbproject/build-impl.xml.script.CRC32=bf4c65b4 -nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.54.0.46 diff --git a/nbbuild/installer/components/products/weblogic/nbproject/project.properties b/nbbuild/installer/components/products/weblogic/nbproject/project.properties deleted file mode 100644 index 4ed22b23c7d8..000000000000 --- a/nbbuild/installer/components/products/weblogic/nbproject/project.properties +++ /dev/null @@ -1,90 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.run.all.processors=true -application.title=NBI Product: WebLogic -application.vendor=yn158264 -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/logic.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -includes=** -jar.compress=false -javac.classpath=\ - ${reference.NetBeans_Installer_Engine.jar}:\ - ${reference.NBI_Engine.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.6 -javac.target=1.6 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class= -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -project.NBI_Engine=../../../../nbi/engine -project.NetBeans_Installer_Engine=../../../engine -reference.NBI_Engine.jar=${project.NBI_Engine}/dist/nbi-engine.jar -reference.NetBeans_Installer_Engine.jar=${project.NetBeans_Installer_Engine}/dist/nbi-engine.jar -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/nbbuild/installer/components/products/weblogic/nbproject/project.xml b/nbbuild/installer/components/products/weblogic/nbproject/project.xml deleted file mode 100644 index f09dbde5c4be..000000000000 --- a/nbbuild/installer/components/products/weblogic/nbproject/project.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - org.netbeans.modules.java.j2seproject - - - NBI Product: WebLogic - 1.6.5 - - - - - - - - NBI_Engine - jar - - jar - clean - jar - - - NetBeans_Installer_Engine - jar - - jar - clean - jar - - - - diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/Bundle.properties b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/Bundle.properties deleted file mode 100644 index f43a7dc8c52a..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/Bundle.properties +++ /dev/null @@ -1,53 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# ConfigurationLogic.java -CL.install.copy.files=Creating configuration files from templates -CL.install.replace.tokens=Creating configuration files from templates -CL.install.irrelevant.files=Removing files irrelevant to the current platform -CL.install.files.permissions=Correcting files permissions -CL.install.running.jar=Installing the server -CL.install.create.domain=Creating the default domain -CL.install.extra.files=Adding some extra files to the installed files list -CL.install.ide.integration=Integrating Oracle WebLogic Server {display-version} with existing NetBeans IDEs - -#NOI18N -CL.wls.installer.file={wls-installer-file} - -CL.uninstall.ide.integration=Removing Oracle WebLogic Server {display-version} integration from NetBeans IDEs -CL.uninstall.delete.domain=Deleting the default domain -CL.uninstall.extra.files=Deleting extra files and the default domain -CL.uninstall.stop.derby=Stopping Java DB -CL.uninstall.stop.domain=Stopping the default domain - -CL.install.error.copy.files=Failed to create configuration files from templates -CL.install.error.replace.tokens=Failed to create configuration files from templates -CL.install.error.irrelevant.files=Cannot completely remove irrelevant files -CL.install.error.files.permissions=Cannot completely correct files permissions -CL.install.error.running.jar=Failed to unpack files -CL.install.error.create.domain=Failed to create the default domain -CL.install.error.extra.files=Failed to add extra files to the installed files list -CL.install.error.ide.integration=Failed to integrate GlassFish {display-version} with existing NetBeans IDEs - - -CL.uninstall.error.ide.integration=Failed to remove Oracle WebLogic Server {display-version} integration from NetBeans IDEs -CL.uninstall.error.delete.domain=Failed to delete the default domain -CL.uninstall.error.extra.files=Failed to delete extra files -CL.uninstall.error.stop.derby=Failed to stop Java DB - diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/ConfigurationLogic.java b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/ConfigurationLogic.java deleted file mode 100644 index 2b1cddac92d4..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/ConfigurationLogic.java +++ /dev/null @@ -1,388 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.netbeans.installer.products.weblogic; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.netbeans.installer.product.Registry; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.applications.JavaUtils; -import org.netbeans.installer.product.components.ProductConfigurationLogic; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.InstallationException; -import org.netbeans.installer.utils.exceptions.UninstallationException; -import org.netbeans.installer.utils.helper.FilesList; -import org.netbeans.installer.utils.progress.Progress; -import org.netbeans.installer.wizard.Wizard; -import org.netbeans.installer.wizard.components.WizardComponent; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.products.weblogic.wizard.panels.WebLogicPanel; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.applications.JavaUtils.JavaInfo; -import org.netbeans.installer.utils.applications.NetBeansUtils; -import org.netbeans.installer.utils.applications.WebLogicUtils; -import org.netbeans.installer.utils.helper.Status; - -/** - * - - - */ -public class ConfigurationLogic extends ProductConfigurationLogic { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private List wizardComponents; - - // constructor ////////////////////////////////////////////////////////////////// - public ConfigurationLogic() throws InitializationException { - wizardComponents = Wizard.loadWizardComponents( - WIZARD_COMPONENTS_URI, - getClass().getClassLoader()); - } - - // configuration logic implementation /////////////////////////////////////////// - @Override - public void install(final Progress progress) - throws InstallationException { - final File directory = getProduct().getInstallationLocation(); - - final File domainsubdir = new File(getProperty(WebLogicPanel.DOMAIN_INSTALLATION_SUBDIR_PROPERTY)); - final String domainname = getProperty(WebLogicPanel.DOMAINNAME_PROPERTY); - final String username = getProperty(WebLogicPanel.USERNAME_PROPERTY); - final String password = getProperty(WebLogicPanel.PASSWORD_PROPERTY); - - final File domaindir = new File(domainsubdir, domainname); - - final File javaHome = - new File(getProperty(JdkLocationPanel.JDK_LOCATION_PROPERTY)); - JavaInfo info = JavaUtils.getInfo(javaHome); - LogManager.log("Using the following JDK for WebLogic configuration : "); - LogManager.log("... path : " + javaHome); - LogManager.log("... version : " + info.getVersion().toJdkStyle()); - LogManager.log("... vendor : " + info.getVendor()); - LogManager.log("... final : " + (!info.isNonFinal())); - - final FilesList list = getProduct().getInstalledFiles(); - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.running.jar")); //NOI18N - File installFile = new File(directory, INSTALLER_FILENAME); - WebLogicUtils.unpackServerFiles(directory, javaHome, installFile); - FileUtils.deleteFile(installFile); - addFiles(list, directory); - progress.setPercentage(Progress.COMPLETE / 2); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.running.jar"), //NOI18N - e); - } - try { - progress.setDetail(getString("CL.install.create.domain")); // NOI18N - WebLogicUtils.createDomain(directory, javaHome, domainsubdir, domainname, username, password); - progress.setPercentage(Progress.COMPLETE * 3 / 4); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.create.domain"), // NOI18N - e); - } - - try { - progress.setDetail(getString("CL.install.extra.files")); // NOI18N - //TODO: do it more clever: check installed files after domain creation and add the difference only. - addFiles(list, domaindir); - list.add(new File(directory, REGISTRY_XML)); - list.add(new File(directory, LOGS_DIR)); - progress.setPercentage(Progress.COMPLETE * 9 / 10); - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.extra.files"), // NOI18N - e); - } - - //get bundled registry to perform further runtime integration - //http://wiki.netbeans.org/NetBeansInstallerIDEAndRuntimesIntegration - Registry bundledRegistry = new Registry(); - try { - final String bundledRegistryUri = System.getProperty( - Registry.BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY); - - bundledRegistry.loadProductRegistry( - (bundledRegistryUri != null) ? bundledRegistryUri : Registry.DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI); - } catch (InitializationException e) { - LogManager.log("Cannot load bundled registry", e); - } - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.install.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - List productsToIntegrate = new ArrayList(); - for (Product ide : ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + getProduct().getDisplayName() + " can be integrated with " + ide.getDisplayName() + " at " + ide.getInstallationLocation()); - final File location = ide.getInstallationLocation(); - if (location != null && FileUtils.exists(location) && !FileUtils.isEmpty(location)) { - final Product bundledProduct = bundledRegistry.getProduct(ide.getUid(), ide.getVersion()); - if (bundledProduct != null) { - //one of already installed IDEs is in the bundled registry as well - we need to integrate with it - productsToIntegrate.add(ide); - LogManager.log("... will be integrated since this produce is also bundled"); - } else { - //check if this IDE is not integrated with any other WL instance - we need integrate with such IDE instance - try { - if(!isWebLogicRegistred(location)) { - LogManager.log("... will be integrated since there it is not yet integrated with any instance or such an instance does not exist"); - productsToIntegrate.add(ide); - } else { - LogManager.log("... will not be integrated since it is already integrated with another instance"); - } - } catch (IOException e) { - LogManager.log(e); - } - } - } - } - } - - for (Product productToIntegrate : productsToIntegrate) { - final File location = productToIntegrate.getInstallationLocation(); - //registerJavaDB(location, new File(directory, "javadb")); - LogManager.log("... integrate " + getProduct().getDisplayName() + " with " + productToIntegrate.getDisplayName() + " installed at " + location); - if(!registerWebLogic(location, directory, domaindir, username, SystemUtils.isWindows() ? "\"\"" : "")) { - continue; - } - - // if the IDE was installed in the same session as the - // appserver, we should add its "product id" to the IDE - if (productToIntegrate.hasStatusChanged()) { - NetBeansUtils.addPackId( - location, - PRODUCT_ID); - - } - } - } catch (IOException e) { - throw new InstallationException( - getString("CL.install.error.ide.integration"), // NOI18N - e); - } - - ///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - private void addFiles(FilesList list, File location) throws IOException { - LogManager.log("...addFiles"); - if(FileUtils.exists(location)) { - if(location.isDirectory()) { - list.add(location); - File [] files = location.listFiles(); - if(files!=null && files.length>0) { - for(File f: files) { - addFiles(list, f); - } - } - } else { - LogManager.log("...Adding " + location.getAbsolutePath() + " to the list"); - list.add(location); - } - } - } - - private boolean isWebLogicRegistred(File nbLocation) throws IOException { - return new File (nbLocation, "nb/config/J2EE/InstalledServers/Instances/weblogic_autoregistered_instance").exists(); - } - - private boolean registerWebLogic(File nbLocation, File wlLocation, File domaindir, String username, String password) throws IOException { - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-j2ee-weblogic9.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for WebLogic integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.j2ee.weblogic9.registration.AutomaticRegistration"; - List commands = new ArrayList (); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add("--add"); - commands.add(nbCluster.getAbsolutePath()); - commands.add(new File(wlLocation, "wlserver").getAbsolutePath()); - commands.add(domaindir.getAbsolutePath()); - commands.add(username); - commands.add(password); - - return SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - } - private boolean removeWebLogicIntegration(File nbLocation, File wlLocation, File domaindir) throws IOException { - LogManager.log("... ide location is " + nbLocation); - - //TODO Tomcat will be unregistered as well!!! Fix here and in Tomcat logic - //FileUtils.deleteFile(new File (nbLocation, "nb/config/J2EE/InstalledServers/.nbattrs")); - - File javaExe = JavaUtils.getExecutable(new File(System.getProperty("java.home"))); - String [] cp = { - "platform/core/core.jar", - "platform/core/core-base.jar", - "platform/lib/boot.jar", - "platform/lib/org-openide-modules.jar", - "platform/core/org-openide-filesystems.jar", - "platform/lib/org-openide-util.jar", - "platform/lib/org-openide-util-lookup.jar", - "platform/lib/org-openide-util-ui.jar", - "enterprise/modules/org-netbeans-modules-j2eeapis.jar", - "enterprise/modules/org-netbeans-modules-j2eeserver.jar", - "enterprise/modules/org-netbeans-modules-j2ee-weblogic9.jar", - "enterprise/modules/org-netbeans-modules-weblogic-common.jar" - }; - for(String c : cp) { - File f = new File(nbLocation, c); - if(!FileUtils.exists(f)) { - LogManager.log("... cannot find jar required for WebLogic integration: " + f); - return false; - } - } - String mainClass = "org.netbeans.modules.j2ee.weblogic9.registration.AutomaticRegistration"; - List commands = new ArrayList (); - File nbCluster = new File(nbLocation, "nb"); - commands.add(javaExe.getAbsolutePath()); - commands.add("-cp"); - commands.add(StringUtils.asString(cp, File.pathSeparator)); - commands.add(mainClass); - commands.add("--remove"); - commands.add(nbCluster.getAbsolutePath()); - commands.add(new File(wlLocation, "wlserver").getAbsolutePath()); - commands.add(domaindir.getAbsolutePath()); - - boolean result = SystemUtils.executeCommand(nbLocation, commands.toArray(new String[]{})).getErrorCode() == 0; - -// FileUtils.deleteFile(new File (nbLocation, "nb/config/J2EE/InstalledServers/weblogic_autoregistered_instance")); - return result; - } - - - - public void uninstall(final Progress progress) - throws UninstallationException { - File directory = getProduct().getInstallationLocation(); - - final File domainsubdir = new File(getProperty(WebLogicPanel.DOMAIN_INSTALLATION_SUBDIR_PROPERTY)); - final String domainname = getProperty(WebLogicPanel.DOMAINNAME_PROPERTY); - - final File domaindir = new File(domainsubdir, domainname); - - - ///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.ide.integration")); // NOI18N - - final List ides = - Registry.getInstance().getProducts("nb-base"); - for (Product ide: ides) { - if (ide.getStatus() == Status.INSTALLED) { - LogManager.log("... checking if " + ide.getDisplayName() + " is integrated with " + getProduct().getDisplayName() + " installed at " + directory); - final File nbLocation = ide.getInstallationLocation(); - - if (nbLocation != null) { - removeWebLogicIntegration(nbLocation, directory, domaindir); - } - } - } - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.ide.integration"), // NOI18N - e); - } - -///////////////////////////////////////////////////////////////////////////// - try { - progress.setDetail(getString("CL.uninstall.stop.domain")); // NOI18N - - WebLogicUtils.stopDomain(directory, domaindir); - } catch (IOException e) { - throw new UninstallationException( - getString("CL.uninstall.error.stop.domain"), // NOI18N - e); - } -///////////////////////////////////////////////////////////////////////////// - progress.setPercentage(Progress.COMPLETE); - } - - public List getWizardComponents() { - return wizardComponents; - } - - @Override - public int getLogicPercentage () { - return 75; - } - - @Override - public boolean allowModifyMode() { - return false; - } - - - public boolean requireLegalArtifactSaving() { - return false; - } - -/////////////////////////////////////////////////////////////////////////////////// -//// Constants - public static final String WIZARD_COMPONENTS_URI = - "resource:" + // NOI18N - "org/netbeans/installer/products/weblogic/wizard.xml"; // NOI18N - - public static final String LOGS_DIR = - "logs"; // NOI18N - - public static final String REGISTRY_XML = - "registry.xml"; // NOI18N - public static final String PRODUCT_ID = - "WEBLOGIC"; // NOI18N - private static final String INSTALLER_FILENAME = - ResourceUtils.getString(ConfigurationLogic.class, - "CL.wls.installer.file"); //NOI18N -} diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/license.txt b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/license.txt deleted file mode 100644 index 4aea53745d50..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/license.txt +++ /dev/null @@ -1,263 +0,0 @@ -COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 - -1. Definitions. - - 1.1. Contributor. means each individual or entity that creates or contributes to the creation of Modifications. - - 1.2. Contributor Version. means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. - - 1.3. Covered Software. means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. - - 1.4. Executable. means the Covered Software in any form other than Source Code. - - 1.5. Initial Developer. means the individual or entity that first makes Original Software available under this License. - - 1.6. Larger Work. means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. - - 1.7. License. means this document. - - 1.8. Licensable. means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. - - 1.9. Modifications. means the Source Code and Executable form of any of the following: - - A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; - - B. Any new file that contains any part of the Original Software or previous Modification; or - - C. Any new file that is contributed or otherwise made available under the terms of this License. - - 1.10. Original Software. means the Source Code and Executable form of computer software code that is originally released under this License. - - 1.11. Patent Claims. means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. - - 1.12. Source Code. means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. - - 1.13. You. (or .Your.) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, .You. includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, .control. means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. - -2. License Grants. - - 2.1. The Initial Developer Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). - - (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for code that You delete from the Original Software, or (2) for infringements caused by: (i) the modification of the Original Software, or (ii) the combination of the Original Software with other software or devices. - - 2.2. Contributor Grant. - - Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: - - (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1) Modifications made by that Contributor (or portions thereof); and (2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). - - (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. - - (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for any code that Contributor has deleted from the Contributor Version; (2) for infringements caused by: (i) third party modifications of Contributor Version, or (ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3) under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. - -3. Distribution Obligations. - - 3.1. Availability of Source Code. - Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. - - 3.2. Modifications. - The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. - - 3.3. Required Notices. - You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. - - 3.4. Application of Additional Terms. - You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients. rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. - - 3.5. Distribution of Executable Versions. - You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipient.s rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. - - 3.6. Larger Works. - You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. - -4. Versions of the License. - - 4.1. New Versions. - Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. - - 4.2. Effect of New Versions. - You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. - - 4.3. Modified Versions. - When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a) rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b) otherwise make it clear that the license contains terms which differ from this License. - -5. DISCLAIMER OF WARRANTY. - - COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN .AS IS. BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -6. TERMINATION. - - 6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. - - 6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as .Participant.) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. - - 6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. - -7. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY.S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -8. U.S. GOVERNMENT END USERS. - - The Covered Software is a .commercial item,. as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of .commercial computer software. (as that term is defined at 48 C.F.R. º 252.227-7014(a)(1)) and .commercial computer software documentation. as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. - -9. MISCELLANEOUS. - - This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdiction.s conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys. fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. - -10. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. - - NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) - - The code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. - - -The GNU General Public License (GPL) Version 2, June 1991 - - -Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - -Preamble - -The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. - -When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. - -To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. - -For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. - -We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. - -Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. - -Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. - -The precise terms and conditions for copying, distribution and modification follow. - - -TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - -0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. - -1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. - -You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. - -2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. - - c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. - -3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. - -If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. - -4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. - -5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. - -6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. - -7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. - -This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. - -8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. - -9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. - -10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - -NO WARRANTY - -11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - -12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -END OF TERMS AND CONDITIONS - - -How to Apply These Terms to Your New Programs - -If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. - -To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - - One line to give the program's name and a brief idea of what it does. - - Copyright (C) - - This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. - - signature of Ty Coon, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. - - -"CLASSPATH" EXCEPTION TO THE GPL VERSION 2 - -Certain source files distributed by Sun Microsystems, Inc. are subject to the following clarification and special exception to the GPL Version 2, but only where Sun has expressly included in the particular source file's header the words - -"Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the License file that accompanied this code." - -Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License Version 2 cover the whole combination. - -As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module.? An independent module is a module which is not derived from or based on this library.? If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so.? If you do not wish to do so, delete this exception statement from your version. diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard.xml b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard.xml deleted file mode 100644 index 8e55c9218d89..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/Bundle.properties b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/Bundle.properties deleted file mode 100644 index 21bcfb5df086..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/Bundle.properties +++ /dev/null @@ -1,99 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -################################################################################ -# WebLogicPanel.java -WLP.title=Oracle WebLogic Server {display-version} Installation -WLP.description=Choose the installation folder and server properties. - -WLP.destination.label.text=&Install Oracle WebLogic Server to: -WLP.destination.button.text=B&rowse... -WLP.domain.destination.label.text=&Create a new WebLogic domain at: -WLP.domainname.label.text=&Domain name: - -WLP.jdk.location.label.text=&JDK\u2122 for Oracle WebLogic Server: -WLP.browse.button.text=Br&owse... - -WLP.username.label.text=Admin &Username: -WLP.password.label.text=Admin &Password: -WLP.repeat.password.label.text=R&etype Password: -WLP.http.label.text=H&TTP Port: -WLP.https.label.text=HTTP&S Port: -WLP.admin.label.text=&Admin Port: - -WLP.error.domainname.null=Domain name cannot be empty. -WLP.error.domainname.weblogic=Do not create a domain named weblogic -WLP.error.username.null=Username cannot be empty. -WLP.error.username.not.alnum=Username "{0}" is invalid. Username should be an alphanumeric string. -WLP.error.password.null=Password cannot be empty. -WLP.error.password.too.short=Password should be at least 8 characters long. -WLP.error.password.spaces=Password cannot start or end with whitespace characters. -WLP.error.password.do.not.contain.digit=Password should contain at least one digit. -WLP.error.passwords.do.not.match=The passwords do not match. -WLP.error.domain.exists=The domain with the specified domain name already exists. - - -WLP.error.http.null=HTTP port cannot be empty. -WLP.error.https.null=HTTPS port cannot be empty. -WLP.error.admin.null=Admin port cannot be empty. -WLP.error.http.not.integer=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -WLP.error.https.not.integer=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -WLP.error.admin.not.integer=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -WLP.error.http.not.in.range=HTTP port "{0}" is invalid. HTTP port should be an integer from 1 to 65535. -WLP.error.https.not.in.range=HTTPS port "{0}" is invalid. HTTPS port should be an integer from 1 to 65535. -WLP.error.admin.not.in.range=Admin port "{0}" is invalid. Admin port should be an integer from 1 to 65535. -WLP.error.http.occupied=HTTP port "{0}" is already occupied on this machine. Specify another port. -WLP.error.https.occupied=HTTPS port "{0}" is already occupied on this machine. Specify another port. -WLP.error.admin.occupied=Admin port "{0}" is already occupied on this machine. Specify another port. -WLP.error.http.equals.https=HTTP port value equals the HTTPS port value. They should be different. -WLP.error.http.equals.admin=HTTP port value equals the Admin port value. They should be different. -WLP.error.https.equals.admin=HTTPS port value equals the Admin port value. They should be different. -WLP.error.all.ports.occupied=All ports on your system are occupied. Please free at least 6 ports which can be used by the initial domain. -WLP.error.unc.path.unsupported=The installation folder is in the UNC form which is not supported. -WLP.error.parantheses.in.not.spaced.path=The installation folder path should not contain parentheses if there are no spaces in it. See JDK bug #6851660. - -WLP.warning.port.in.use=Port {0} is already in use by {1}. Specify another value. -#WLP.warning.asadmin.files.exist=Either .asadminpass or .asadmintruststore file exists in your home directory. - -WLP.error.domaindir.null=The domain installation folder cannot be empty. -WLP.error.domaindir.not.valid=The specified domain installation folder is invalid. -WLP.error.domaindir.contains.exclamation=The domain installation folder cannot contain the exclamation mark (!). -WLP.error.domaindir.contains.semicolon=The domain installation folder cannot contain the semicolon character (;). -WLP.error.domaindir.contains.colon=The domain installation folder cannot contain the colon character (:). -WLP.error.domaindir.contains.ampersand=The domain installation folder cannot contain the ampersand character (&). -WLP.error.domaindir.contains.wrong.char=The domain installation folder contains the wrong character({1}). -WLP.error.domaindir.matches.prohibited.regexp=The specified domain installation folder is invalid (it matches prohibited pattern {1}). -WLP.error.domaindir.not.absolute=The specified domain installation folder has to be in absolute path form. -WLP.error.domaindir.cannot.canonize=The specified domain installation folder cannot be canonized. -WLP.error.domaindir.not.directory=The specified domain installation location is not a folder. -WLP.error.domaindir.not.readable=The specified domain installation folder is not readable. -WLP.error.domaindir.not.writable=The specified domain installation folder is read-only. -WLP.error.domain.not.empty=The domain folder with the specified domain name is not empty. -#WLP.error.not.enough.space=Not enough disk space. Additional {1} required in {0}. -#WLP.error.cannot.get.logic=Cannot obtain configuration logic -#WLP.error.cannot.check.space=Cannot check the free disk space - - -#NOI18N -WLP.default.domainname=base_domain -#NOI18N -WLP.default.username=weblogic -#NOI18N -WLP.default.password= -#NOI18N -WLP.default.domain.destination.subdir=$N{install}/Oracle/Middleware/user_projects/domains diff --git a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/WebLogicPanel.java b/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/WebLogicPanel.java deleted file mode 100644 index c965c75ca349..000000000000 --- a/nbbuild/installer/components/products/weblogic/src/org/netbeans/installer/products/weblogic/wizard/panels/WebLogicPanel.java +++ /dev/null @@ -1,1572 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.netbeans.installer.products.weblogic.wizard.panels; - -import java.awt.Dimension; -import java.awt.GridBagConstraints; -import java.awt.Insets; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.ItemEvent; -import java.awt.event.ItemListener; -import java.io.File; -import java.io.IOException; -import java.util.List; -import javax.swing.ComboBoxModel; -import javax.swing.JFileChooser; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; -import org.netbeans.installer.product.components.Product; -import org.netbeans.installer.utils.BrowserUtils; -import org.netbeans.installer.utils.ErrorManager; -import org.netbeans.installer.utils.FileUtils; -import org.netbeans.installer.utils.LogManager; -import org.netbeans.installer.utils.ResourceUtils; -import org.netbeans.installer.utils.StringUtils; -import org.netbeans.installer.utils.SystemUtils; -import org.netbeans.installer.utils.exceptions.InitializationException; -import org.netbeans.installer.utils.exceptions.NativeException; -import org.netbeans.installer.utils.helper.Version; -import org.netbeans.installer.utils.helper.swing.NbiButton; -import org.netbeans.installer.utils.helper.swing.NbiComboBox; -import org.netbeans.installer.utils.helper.swing.NbiLabel; -import org.netbeans.installer.utils.helper.swing.NbiPanel; -import org.netbeans.installer.utils.helper.swing.NbiPasswordField; -import org.netbeans.installer.utils.helper.swing.NbiTextField; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationValidator; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxEditor; -import org.netbeans.installer.wizard.components.panels.ApplicationLocationPanel.LocationsComboBoxModel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelSwingUi; -import org.netbeans.installer.wizard.components.panels.DestinationPanel.DestinationPanelUi; -import org.netbeans.installer.wizard.ui.SwingUi; -import org.netbeans.installer.wizard.ui.WizardUi; -import org.netbeans.installer.wizard.components.panels.ErrorMessagePanel.ErrorMessagePanelSwingUi.ValidatingDocumentListener; -import org.netbeans.installer.wizard.components.panels.JdkLocationPanel; -import org.netbeans.installer.wizard.containers.SwingContainer; -import org.netbeans.installer.utils.helper.swing.NbiDirectoryChooser; -import org.netbeans.installer.utils.helper.swing.NbiTextPane; - -/** - * - - */ -public class WebLogicPanel extends DestinationPanel { - ///////////////////////////////////////////////////////////////////////////////// - // Instance - private JdkLocationPanel jdkLocationPanel; - //private static boolean allPortsOccupied; - - public WebLogicPanel() { - jdkLocationPanel = new JdkLocationPanel(); - - setProperty(TITLE_PROPERTY, - DEFAULT_TITLE); - setProperty(DESCRIPTION_PROPERTY, - DEFAULT_DESCRIPTION); - - setProperty(DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DESTINATION_LABEL_TEXT); - setProperty(DESTINATION_BUTTON_TEXT_PROPERTY, - DEFAULT_DESTINATION_BUTTON_TEXT); - - setProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY, - DEFAULT_JDK_LOCATION_LABEL_TEXT); - setProperty(DOMAIN_DESTINATION_LABEL_TEXT_PROPERTY, - DEFAULT_DOMAIN_DESTINATION_LABEL_TEXT); - setProperty(BROWSE_BUTTON_TEXT_PROPERTY, - DEFAULT_BROWSE_BUTTON_TEXT); - - - setProperty(DOMAINNAME_LABEL_TEXT_PROPERTY, - DEFAULT_DOMAINNAME_LABEL_TEXT); - setProperty(USERNAME_LABEL_TEXT_PROPERTY, - DEFAULT_USERNAME_LABEL_TEXT); - setProperty(PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_PASSWORD_LABEL_TEXT); - setProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY, - DEFAULT_REPEAT_PASSWORD_LABEL_TEXT); - - setProperty(ERROR_DOMAINNAME_NULL_PROPERTY, - DEFAULT_ERROR_DOMAINNAME_NULL); - setProperty(ERROR_DOMAINNAME_WEBLOGIC_PROPERTY, - DEFAULT_ERROR_DOMAINNAME_WEBLOGIC); - setProperty(ERROR_USERNAME_NULL_PROPERTY, - DEFAULT_ERROR_USERNAME_NULL); - setProperty(ERROR_USERNAME_NOT_ALNUM_PROPERTY, - DEFAULT_ERROR_USERNAME_NOT_ALNUM); - setProperty(ERROR_PASSWORD_NULL_PROPERTY, - DEFAULT_ERROR_PASSWORD_NULL); - setProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY, - DEFAULT_ERROR_PASSWORD_TOO_SHORT); - setProperty(ERROR_PASSWORD_SPACES_PROPERTY, - DEFAULT_ERROR_PASSWORD_SPACES); - setProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY, - DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH); - setProperty(ERROR_PASSWORD_DO_NOT_CONTAIN_DIGIT_PROPERTY, - DEFAULT_ERROR_PASSWORDS_DO_NOT_CONTAIN_DIGIT); - - setProperty(ERROR_UNC_PATH_UNSUPPORTED_PROPERTY, - DEFAULT_ERROR_UNC_PATH_UNSUPPORTED); - setProperty(ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY, - DEFAULT_BRACKETS_IN_NOT_SPACED_PATH); - setProperty(ERROR_DOMAIN_EXISTS_PROPERTY, - DEFAULT_ERROR_DOMAIN_EXISTS); - - - setProperty(ERROR_ALL_PORTS_OCCUPIED_PROPERTY, - DEFAULT_ERROR_ALL_PORTS_OCCUPIED); - setProperty(WARNING_PORT_IN_USE_PROPERTY, - DEFAULT_WARNING_PORT_IN_USE); - - - setProperty(DEFAULT_DOMAINNAME_PROPERTY, - DEFAULT_DEFAULT_DOMAINNAME); - setProperty(DEFAULT_USERNAME_PROPERTY, - DEFAULT_DEFAULT_USERNAME); - setProperty(DEFAULT_PASSWORD_PROPERTY, - DEFAULT_DEFAULT_PASSWORD); - - setProperty(ERROR_DOMAINDIR_NULL_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NULL); - setProperty(ERROR_DOMAINDIR_NOT_VALID_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NOT_VALID); - setProperty(ERROR_DOMAINDIR_CONTAINS_EXCLAMATION_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CONTAINS_EXCLAMATION); - setProperty(ERROR_DOMAINDIR_CONTAINS_SEMICOLON_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CONTAINS_SEMICOLON); - setProperty(ERROR_DOMAINDIR_CONTAINS_COLON_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CONTAINS_COLON); - setProperty(ERROR_DOMAINDIR_CONTAINS_AMPERSAND_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CONTAINS_AMPERSAND); - setProperty(ERROR_DOMAINDIR_CONTAINS_WRONG_CHAR_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CONTAINS_WRONG_CHAR); - setProperty(ERROR_DOMAINDIR_MATCHES_PROHIBITED_REGEXP, - DEFAULT_ERROR_DOMAINDIR_MATCHES_PROHIBITIED_REGEXP); - setProperty(ERROR_DOMAINDIR_CANNOT_CANONIZE_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_CANNOT_CANONIZE); - setProperty(ERROR_DOMAINDIR_NOT_ABSOLUTE_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NOT_ABSOLUTE); - setProperty(ERROR_DOMAINDIR_NOT_DIRECTORY_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NOT_DIRECTORY); - setProperty(ERROR_DOMAINDIR_NOT_READABLE_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NOT_READABLE); - setProperty(ERROR_DOMAINDIR_NOT_WRITABLE_PROPERTY, - DEFAULT_ERROR_DOMAINDIR_NOT_WRITABLE); - setProperty(ERROR_DOMAIN_NOT_EMPTY_PROPERTY, - DEFAULT_ERROR_DOMAIN_NOT_EMPTY); - /* setProperty(ERROR_NOT_ENOUGH_SPACE_PROPERTY, - DEFAULT_ERROR_NOT_ENOUGH_SPACE); - setProperty(ERROR_CANNOT_CHECK_SPACE_PROPERTY, - DEFAULT_ERROR_CANNOT_CHECK_SPACE); */ - } - - @Override - public WizardUi getWizardUi() { - if (wizardUi == null) { - wizardUi = new WebLogicPanelUi(this); - } - - return wizardUi; - } - - @Override - public void initialize() { - super.initialize(); - - jdkLocationPanel.setWizard(getWizard()); - - jdkLocationPanel.setProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY, - getWizard().getProperty(JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - jdkLocationPanel.setProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY, - getWizard().getProperty(JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - jdkLocationPanel.setProperty( - JdkLocationPanel.VENDOR_JDK_ALLOWED_PROPERTY, - getWizard().getProperty(JdkLocationPanel.VENDOR_JDK_ALLOWED_PROPERTY)); - - if (getWizard().getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY) != null) { - jdkLocationPanel.setProperty( - JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY, - getWizard().getProperty(JdkLocationPanel.PREFERRED_JDK_VERSION_PROPERTY)); - } - - jdkLocationPanel.initialize(); - - //This makes it possible to perform silent installation with emptry state files - //that means that JDK_LOCATION_PROPERTY property is explicitely set to the first location - //that fits the requirements - //TODO: Investigate the prons&cons and side affects of moving - //this code to the end of JdkLocationPanel.initialize() method - File jdkLocation = jdkLocationPanel.getSelectedLocation(); - if(jdkLocation!=null && !jdkLocation.getPath().equals(StringUtils.EMPTY_STRING)) { - jdkLocationPanel.setLocation(jdkLocation); - } - - String password = getWizard().getProperty(PASSWORD_PROPERTY); - - if (password == null) { - password = getProperty(DEFAULT_PASSWORD_PROPERTY); - } - getWizard().setProperty(PASSWORD_PROPERTY, password); - - String username = getWizard().getProperty(USERNAME_PROPERTY); - if (username == null) { - username = getProperty(DEFAULT_USERNAME_PROPERTY); - } - getWizard().setProperty(USERNAME_PROPERTY, username); - - String domainname = getWizard().getProperty(DOMAINNAME_PROPERTY); - if (domainname == null) { - domainname = getProperty(DEFAULT_DOMAINNAME_PROPERTY); - } - getWizard().setProperty(DOMAINNAME_PROPERTY, domainname); - - - final Product product = (Product) getWizard(). - getContext(). - get(Product.class); - //installation location can be set using .installation.location system property - // Such a simplified approach is useful for silent installation - - // we can almost get rid of state file. - // Limitation is that if we have to install two products with the same uid - // but different versions then such a thing does now work correctly. - final String ilSysProp = product.getUid() + StringUtils.DOT + - DOMAIN_INSTALLATION_SUBDIR_PROPERTY; - final String il = System.getProperty(ilSysProp); - final String ilSysPropDisabled = ilSysProp + ".initialization.disabled"; - - if (il != null && !Boolean.getBoolean(ilSysPropDisabled)) { - LogManager.log("... try to use domain installation subdir for " + product.getDisplayName() + - " from system property " + ilSysProp + " : " + il); - product.setProperty(DOMAIN_INSTALLATION_SUBDIR_PROPERTY, new File(il).getAbsolutePath()); - System.setProperty(ilSysPropDisabled, Boolean.toString(true)); - } - - String domainDestination = product.getProperty(DOMAIN_INSTALLATION_SUBDIR_PROPERTY); - - if (domainDestination == null) { - domainDestination = DEFAULT_DOMAIN_DESTINATION_SUBDIR; - } - - domainDestination = resolvePath(domainDestination).getAbsolutePath(); - - - /*String domainDestination = getWizard().getProperty(DOMAIN_DESTINATION_PROPERTY); - if (domainDestination == null) { - File domainDestinationFile = new File(product.getProperty(DEFAULT_DOMAIN_DESTINATION_PROPERTY)); - domainDestination = domainDestinationFile.getAbsolutePath(); - }*/ - getWizard().setProperty(DOMAIN_INSTALLATION_SUBDIR_PROPERTY, domainDestination); - } - - public JdkLocationPanel getJdkLocationPanel() { - return jdkLocationPanel; - } - - ///////////////////////////////////////////////////////////////////////////////// - // Inner Classes - public static class WebLogicPanelUi extends DestinationPanelUi { - protected WebLogicPanel component; - - public WebLogicPanelUi(WebLogicPanel component) { - super(component); - - this.component = component; - } - @Override - public SwingUi getSwingUi(SwingContainer container) { - if (swingUi == null) { - swingUi = new WebLogicPanelSwingUi(component, container); - } - - return super.getSwingUi(container); - } - } - - public static class WebLogicPanelSwingUi extends DestinationPanelSwingUi { - protected WebLogicPanel panel; - - private NbiPanel containerPanel; - - private NbiLabel jdkLocationLabel; - private NbiComboBox jdkLocationComboBox; - private NbiButton browseButton; - private NbiTextPane statusLabel; - - private NbiTextField jdkLocationField; - - private NbiDirectoryChooser fileChooser; - - private NbiLabel domainDestinationLabel; - private NbiTextField domainDestinationField; - private NbiButton domainBrowseButton; - - private NbiLabel domainnameLabel; - private NbiTextField domainnameField; - - private NbiLabel usernameLabel; - private NbiTextField usernameField; - - private NbiLabel passwordLabel; - private NbiPasswordField passwordField; - - private NbiLabel repeatPasswordLabel; - private NbiPasswordField repeatPasswordField; - private String domainDestinationSuffix; - private boolean internalChange; - - public WebLogicPanelSwingUi( - final WebLogicPanel panel, - final SwingContainer container) { - super(panel, container); - - this.panel = panel; - - initComponents(); - } - - // protected //////////////////////////////////////////////////////////////// - @Override - protected void initialize() { - jdkLocationLabel.setText( - panel.getProperty(JDK_LOCATION_LABEL_TEXT_PROPERTY)); - - final JdkLocationPanel jdkLocationPanel = panel.getJdkLocationPanel(); - - if (jdkLocationPanel.getLocations().isEmpty()) { - final Version minVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MINIMUM_JDK_VERSION_PROPERTY)); - final Version maxVersion = Version.getVersion(jdkLocationPanel.getProperty( - JdkLocationPanel.MAXIMUM_JDK_VERSION_PROPERTY)); - statusLabel.setContentType("text/html"); - statusLabel.setText(StringUtils.format( - jdkLocationPanel.getProperty(JdkLocationPanel.ERROR_NOTHING_FOUND_PROPERTY), - minVersion.toJdkStyle(), - maxVersion.toJdkStyle(), - jdkLocationPanel.getProperty(JdkLocationPanel.JAVA_DOWNLOAD_PAGE_PROPERTY))); - - statusLabel.addHyperlinkListener(BrowserUtils.createHyperlinkListener()); - } else { - statusLabel.clearText(); - statusLabel.setVisible(false); - } - - final List jdkLocations = jdkLocationPanel.getLocations(); - final List jdkLabels = jdkLocationPanel.getLabels(); - - final LocationsComboBoxModel model = new LocationsComboBoxModel( - jdkLocations, - jdkLabels); - - ((LocationsComboBoxEditor) jdkLocationComboBox.getEditor()).setModel( - model); - jdkLocationComboBox.setModel( - model); - - final File selectedLocation = jdkLocationPanel.getSelectedLocation(); - final int index = jdkLocations.indexOf(selectedLocation); - String selectedItem; - if(index != -1) { - selectedItem = jdkLabels.get(index); - } else { - selectedItem = selectedLocation.toString(); - } - model.setSelectedItem(selectedItem); - browseButton.setText( - panel.getProperty(BROWSE_BUTTON_TEXT_PROPERTY)); - domainDestinationLabel.setText( - component.getProperty(DOMAIN_DESTINATION_LABEL_TEXT_PROPERTY)); - domainBrowseButton.setText( - component.getProperty(BROWSE_BUTTON_TEXT_PROPERTY)); - - domainDestinationField.setText(panel.getWizard().getProperty(DOMAIN_INSTALLATION_SUBDIR_PROPERTY)); - - domainnameLabel.setText( - panel.getProperty(DOMAINNAME_LABEL_TEXT_PROPERTY)); - usernameLabel.setText( - panel.getProperty(USERNAME_LABEL_TEXT_PROPERTY)); - passwordLabel.setText( - panel.getProperty(PASSWORD_LABEL_TEXT_PROPERTY)); - repeatPasswordLabel.setText( - panel.getProperty(REPEAT_PASSWORD_LABEL_TEXT_PROPERTY)); - domainnameField.setText(panel.getWizard().getProperty(DOMAINNAME_PROPERTY)); - usernameField.setText(panel.getWizard().getProperty(USERNAME_PROPERTY)); - passwordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - repeatPasswordField.setText(panel.getWizard().getProperty(PASSWORD_PROPERTY)); - - domainDestinationSuffix = null; - super.initialize(); - initDomainDestinationSuffix(); - } - - @Override - protected void saveInput() { - super.saveInput(); - - panel.getJdkLocationPanel().setLocation( - new File(jdkLocationField.getText())); - panel.getWizard().setProperty( - DOMAIN_INSTALLATION_SUBDIR_PROPERTY, - domainDestinationField.getText()); - panel.getWizard().setProperty( - DOMAINNAME_PROPERTY, - domainnameField.getText()); - panel.getWizard().setProperty( - USERNAME_PROPERTY, - usernameField.getText()); - panel.getWizard().setProperty( - PASSWORD_PROPERTY, - new String(passwordField.getPassword())); - } - - @Override - protected String validateInput() { - String errorMessage = super.validateInput(); - - if (errorMessage == null) { - errorMessage = panel.getJdkLocationPanel().validateLocation( - jdkLocationField.getText()); - } - - if (errorMessage != null) { - return errorMessage; - } - ///validateInput for Domain destination field copy-pasted from destination panel//// - //TODO change errors to contain "domain". copy from DestinationPanle - final String domaindest = domainDestinationField.getText().trim(); - final Product product = (Product) component. - getWizard(). - getContext(). - get(Product.class); - - try { - if (domaindest.equals(StringUtils.EMPTY_STRING)) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NULL_PROPERTY), - domaindest); - } - - File file = FileUtils.eliminateRelativity(domaindest); - - String filePath = file.getAbsolutePath(); - if (filePath.length() > 45) { - filePath = filePath.substring(0, 45) + "..."; - } - - if (!SystemUtils.isPathValid(file.getAbsolutePath())) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NOT_VALID_PROPERTY), - filePath); - } - - final String[] prohibitedParts = product.getLogic().getProhibitedInstallationPathParts(); - if (prohibitedParts != null) { - for (String s : prohibitedParts) { - if (s != null && s.length() > 0) { - String prop = null; - if (s.length() == 1) { // character - if (file.getAbsolutePath().contains(s)) { - if (s.equals("!")) { - prop = ERROR_DOMAINDIR_CONTAINS_EXCLAMATION_PROPERTY; - } else if (s.equals(";")) { - prop = ERROR_DOMAINDIR_CONTAINS_SEMICOLON_PROPERTY; - } else if (s.equals(":")) { - prop = ERROR_DOMAINDIR_CONTAINS_COLON_PROPERTY; - } else if (s.equals("&")) { - prop = ERROR_DOMAINDIR_CONTAINS_AMPERSAND_PROPERTY; - } else { - // no user-friendly description for all other chars at this moment - // can be easily extended later - prop = ERROR_DOMAINDIR_CONTAINS_WRONG_CHAR_PROPERTY; - } - } - } else {// check if path matches regexp.. - if (file.getAbsolutePath().matches(s)) { - prop = ERROR_DOMAINDIR_MATCHES_PROHIBITED_REGEXP; - } - } - if (prop != null) { - return StringUtils.format( - component.getProperty(prop), - filePath, - s); - } - } - } - } - - if (!file.equals(file.getAbsoluteFile())) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NOT_ABSOLUTE_PROPERTY), - file.getPath()); - } - - try { - file = file.getCanonicalFile(); - } catch (IOException e) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_CANNOT_CANONIZE_PROPERTY), - filePath); - } - - filePath = file.getAbsolutePath(); - if (filePath.length() > 45) { - filePath = filePath.substring(0, 45) + "..."; - } - - if (file.exists() && !file.isDirectory()) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NOT_DIRECTORY_PROPERTY), - filePath); - } - - if (!FileUtils.canRead(file)) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NOT_READABLE_PROPERTY), - filePath); - } - - if (!FileUtils.canWrite(file)) { - return StringUtils.format( - component.getProperty(ERROR_DOMAINDIR_NOT_WRITABLE_PROPERTY), - filePath); - } - //TODO check the required size - if(!Boolean.getBoolean(SystemUtils.NO_SPACE_CHECK_PROPERTY)) { - final long requiredSize = - product.getRequiredDiskSpace() + REQUIRED_SPACE_ADDITION; - final long availableSize = - SystemUtils.getFreeSpace(file); - if (availableSize < requiredSize) { - return StringUtils.format( - component.getProperty(ERROR_NOT_ENOUGH_SPACE_PROPERTY), - filePath, - StringUtils.formatSize(requiredSize - availableSize)); - } - } - } catch (InitializationException e) { - ErrorManager.notifyError(component.getProperty( - ERROR_CANNOT_GET_LOGIC_PROPERTY), e); - } catch (NativeException e) { - ErrorManager.notifyError(component.getProperty( - ERROR_CANNOT_CHECK_SPACE_PROPERTY), e); - } - - final String domainname = domainnameField.getText().trim(); - final String username = usernameField.getText(); - final String password = new String(passwordField.getPassword()); - final String password2 = new String(repeatPasswordField.getPassword()); - - //TODO insert check for domainname not to contain strange simbols - if ((domainname == null) || domainname.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_DOMAINNAME_NULL_PROPERTY), - domainname); - } - if (domainname.equals("weblogic")) { - return StringUtils.format( - panel.getProperty(ERROR_DOMAINNAME_WEBLOGIC_PROPERTY), - domainname); - } - - if ((username == null) || username.trim().equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_USERNAME_NULL_PROPERTY), - username, - password, - password2); - } - if (!username.matches("[0-9a-zA-Z]+")) { - return StringUtils.format( - panel.getProperty(ERROR_USERNAME_NOT_ALNUM_PROPERTY), - username, - password, - password2); - } - - //TODO insert check fot 1 digit in password - if ((password == null) || password.trim().equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_NULL_PROPERTY), - username, - password, - password2); - } - if (password.length() < 8) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_TOO_SHORT_PROPERTY), - username, - password, - password2); - } - if (!password.equals(password2)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY), - username, - password, - password2); - } - if (!password.trim().equals(password)) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_SPACES_PROPERTY), - username, - password, - password2); - } - if(!password.matches("((?=.*\\d).{8,})")) { - return StringUtils.format( - panel.getProperty(ERROR_PASSWORD_DO_NOT_CONTAIN_DIGIT_PROPERTY), - username, - password, - password2); - } - - /*if ((httpPort.equals("") || httpsPort.equals("") || adminPort.equals("")) && allPortsOccupied) { - return panel.getProperty(ERROR_ALL_PORTS_OCCUPIED_PROPERTY); - } - - if ((httpPort == null) || httpPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NULL_PROPERTY), - httpPort); - } - if (!httpPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NOT_INTEGER_PROPERTY), - httpPort); - } - int port = new Integer(httpPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_NOT_IN_RANGE_PROPERTY), - httpPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_OCCUPIED_PROPERTY), - httpPort); - } - - if ((httpsPort == null) || httpsPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NULL_PROPERTY), - httpsPort); - } - if (!httpsPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NOT_INTEGER_PROPERTY), - httpsPort); - } - port = new Integer(httpsPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_NOT_IN_RANGE_PROPERTY), - httpsPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_OCCUPIED_PROPERTY), - httpsPort); - } - - if ((adminPort == null) || adminPort.equals("")) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NULL_PROPERTY), - adminPort); - } - if (!adminPort.matches("(0|[1-9][0-9]*)")) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NOT_INTEGER_PROPERTY), - adminPort); - } - port = new Integer(adminPort); - if ((port < 0) || (port > 65535)) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_NOT_IN_RANGE_PROPERTY), - adminPort); - } - if (!SystemUtils.isPortAvailable(port)) { - return StringUtils.format( - panel.getProperty(ERROR_ADMIN_OCCUPIED_PROPERTY), - adminPort); - } - - if (httpPort.equals(httpsPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_EQUALS_HTTPS_PROPERTY), - httpPort, - httpsPort); - } - if (httpPort.equals(adminPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTP_EQUALS_ADMIN_PROPERTY), - httpPort, - adminPort); - } - if (httpsPort.equals(adminPort)) { - return StringUtils.format( - panel.getProperty(ERROR_HTTPS_EQUALS_ADMIN_PROPERTY), - httpsPort, adminPort); - } - */ - - File f = FileUtils.eliminateRelativity(getDestinationField().getText().trim()); - //#128991: Installation not recognized not empty dir for WL - //File f = FileUtils.eliminateRelativity(getDestinationField().getText().trim()); - if(FileUtils.exists(f)) { - File [] list = f.listFiles(); - if (list!= null && list.length > 0) { - return StringUtils.format( - component.getProperty(ERROR_NOT_EMPTY_PROPERTY), - f.getAbsolutePath()); - } - } - //#137248: Glassfish installation failed while using UNC paths - if(SystemUtils.isWindows() && FileUtils.isUNCPath(f.getAbsolutePath())) { - return StringUtils.format( - component.getProperty(ERROR_UNC_PATH_UNSUPPORTED_PROPERTY), - f.getAbsolutePath()); - } - //#163233 Installer allow enter paths which can not be used for installation - //#163426 Unable to install GlassFish V2.1 to C:\Program Files (x86)\glassfish-v2.1 - if(SystemUtils.isWindows() && - !f.getAbsolutePath().contains(StringUtils.SPACE) && - (f.getAbsolutePath().contains("(") || f.getAbsolutePath().contains(")"))) { - return StringUtils.format( - component.getProperty(ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY), - f.getAbsolutePath()); - - } - - // check for config file is good but for uninstaller it is better when domain dir is empty - // because of uninstall files list - /*File configfile = new File(domainDestinationField.getText().trim(), - domainnameField.getText().trim() + File.pathSeparator + DOMAIN_CONFIG_FILE); - /if(FileUtils.exists(configfile)) { - return StringUtils.format( - component.getProperty(ERROR_DOMAIN_EXISTS_PROPERTY), - f.getAbsolutePath()); - } */ - f = FileUtils.eliminateRelativity(new File(domainDestinationField.getText().trim(), - domainnameField.getText().trim()).getAbsolutePath()); - if(FileUtils.exists(f)) { - File [] list = f.listFiles(); - if (list!= null && list.length > 0) { - return StringUtils.format( - component.getProperty(ERROR_DOMAIN_NOT_EMPTY_PROPERTY), - f.getAbsolutePath()); - } - } - - return null; - } - - @Override - protected String getWarningMessage() { - // check whether the selected ports are already in use by any other - // installed application server (SJSAS or GlassFish) - - return null; - } - - // private ////////////////////////////////////////////////////////////////// - private void initComponents() { - // containerPanel /////////////////////////////////////////////////////// - containerPanel = new NbiPanel(); - - // selectedLocationField //////////////////////////////////////////////// - jdkLocationField = new NbiTextField(); - jdkLocationField.getDocument().addDocumentListener( - new DocumentListener() { - @Override - public void insertUpdate(DocumentEvent e) { - updateErrorMessage(); - } - - @Override - public void removeUpdate(DocumentEvent e) { - //updateErrorMessage(); - } - - @Override - public void changedUpdate(DocumentEvent e) { - updateErrorMessage(); - } - }); - - // jdkLocationComboBox ////////////////////////////////////////////////// - final LocationValidator validator = new LocationValidator() { - @Override - public void validate(String location) { - jdkLocationField.setText(location); - } - }; - - jdkLocationComboBox = new NbiComboBox(); - jdkLocationComboBox.setEditable(true); - jdkLocationComboBox.setEditor(new LocationsComboBoxEditor(validator)); - jdkLocationComboBox.addItemListener(new ItemListener() { - @Override - public void itemStateChanged(ItemEvent e) { - final ComboBoxModel model = jdkLocationComboBox.getModel(); - - if (model instanceof LocationsComboBoxModel) { - jdkLocationField.setText( - ((LocationsComboBoxModel) model).getLocation()); - } - } - }); - - // jdkLocationLabel ///////////////////////////////////////////////////// - jdkLocationLabel = new NbiLabel(); - jdkLocationLabel.setLabelFor(jdkLocationComboBox); - - // browseButton ///////////////////////////////////////////////////////// - browseButton = new NbiButton(); - browseButton.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent event) { - browseButtonPressed(); - } - }); - - // domainDestinationField ///////////////////////////////////////////////////// - domainDestinationField = new NbiTextField(); - domainDestinationField.getDocument().addDocumentListener(new DocumentListener() { - @Override - public void changedUpdate(DocumentEvent e) { - domainDestinationFieldChanged(); - } - @Override - public void insertUpdate(DocumentEvent e) { - domainDestinationFieldChanged(); - } - @Override - public void removeUpdate(DocumentEvent e) { - domainDestinationFieldChanged(); - } - - private void domainDestinationFieldChanged () { - if (!internalChange) { - initDomainDestinationSuffix(); - } - updateErrorMessage(); - } - }); - getDestinationField().getDocument().addDocumentListener(new DocumentListener() { - @Override - public void insertUpdate (DocumentEvent e) { - updateDomainDestination(); - } - - @Override - public void removeUpdate (DocumentEvent e) { - updateDomainDestination(); - } - - @Override - public void changedUpdate (DocumentEvent e) { - updateDomainDestination(); - } - - private void updateDomainDestination () { - if (domainDestinationSuffix != null) { - boolean previousValue = internalChange; - try { - internalChange = true; - domainDestinationField.setText(getDestinationField().getText() + domainDestinationSuffix); - } finally { - internalChange = previousValue; - } - } - } - }); - - // destinationLabel ///////////////////////////////////////////////////// - domainDestinationLabel = new NbiLabel(); - domainDestinationLabel.setLabelFor(domainDestinationField); - - // destinationButton //////////////////////////////////////////////////// - domainBrowseButton = new NbiButton(); - domainBrowseButton.addActionListener(new ActionListener() { - @Override - public void actionPerformed(ActionEvent event) { - domainBrowseButtonPressed(); - } - }); - - // statusLabel ////////////////////////////////////////////////////////// - statusLabel = new NbiTextPane(); - - // fileChooser ////////////////////////////////////////////////////////// - fileChooser = new NbiDirectoryChooser(); - - final Dimension longFieldSize = new Dimension( - 200, - new NbiTextField().getPreferredSize().height); - final Dimension shortFieldSize = new Dimension( - 80, - longFieldSize.height); - - // domainnameField //////////////////////////////////////////////////////// - domainnameField = new NbiTextField(); - domainnameField.setPreferredSize(longFieldSize); - domainnameField.setMinimumSize(longFieldSize); - domainnameField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // domainnameLabel //////////////////////////////////////////////////////// - domainnameLabel = new NbiLabel(); - domainnameLabel.setLabelFor(domainnameField); - - // usernameField //////////////////////////////////////////////////////// - usernameField = new NbiTextField(); - usernameField.setPreferredSize(longFieldSize); - usernameField.setMinimumSize(longFieldSize); - usernameField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // usernameLabel //////////////////////////////////////////////////////// - usernameLabel = new NbiLabel(); - usernameLabel.setLabelFor(usernameField); - - // passwordField //////////////////////////////////////////////////////// - passwordField = new NbiPasswordField(); - passwordField.setPreferredSize(longFieldSize); - passwordField.setMinimumSize(longFieldSize); - passwordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // passwordLabel //////////////////////////////////////////////////////// - passwordLabel = new NbiLabel(); - passwordLabel.setLabelFor(passwordField); - - // repeatPasswordField ////////////////////////////////////////////////// - repeatPasswordField = new NbiPasswordField(); - repeatPasswordField.setPreferredSize(longFieldSize); - repeatPasswordField.setMinimumSize(longFieldSize); - repeatPasswordField.getDocument().addDocumentListener( - new ValidatingDocumentListener(this)); - - // repeatPasswordLabel ////////////////////////////////////////////////// - repeatPasswordLabel = new NbiLabel(); - repeatPasswordLabel.setLabelFor(repeatPasswordField); - - // this ///////////////////////////////////////////////////////////////// - /*add(domainDestinationLabel, new GridBagConstraints( - 0, 2, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(domainDestinationField, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(domainBrowseButton, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - */ - add(jdkLocationLabel, new GridBagConstraints( - 0, 2, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(jdkLocationComboBox, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(browseButton, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(statusLabel, new GridBagConstraints( - 0, 4, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 11), // padding - 0, 0)); - add(domainDestinationLabel, new GridBagConstraints( - 0, 5, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 11), // padding - 0, 0)); // padx, pady - ??? - add(domainDestinationField, new GridBagConstraints( - 0, 6, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - add(domainBrowseButton, new GridBagConstraints( - 1, 6, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 4, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - /* add(new NbiPanel(), new GridBagConstraints( - 1, 50, // x, y - 2, 1, // width, height - 0.0, 1.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ???*/ - - add(containerPanel, new GridBagConstraints( - 0, 7, // x, y - 2, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - // containerPanel /////////////////////////////////////////////////////// - - containerPanel.add(domainnameLabel, new GridBagConstraints( - 0, 0, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(domainnameField, new GridBagConstraints( - 1, 0, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 0, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(usernameLabel, new GridBagConstraints( - 0, 1, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(usernameField, new GridBagConstraints( - 1, 1, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 1, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(passwordLabel, new GridBagConstraints( - 0, 2, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(passwordField, new GridBagConstraints( - 1, 2, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(repeatPasswordLabel, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(repeatPasswordField, new GridBagConstraints( - 1, 3, // x, y - 2, 1, // width, height - 0.5, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - /* - containerPanel.add(httpPortLabel, new GridBagConstraints( - 0, 3, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(httpPortField, new GridBagConstraints( - 1, 3, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(11, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 3, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 3, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(httpsPortLabel, new GridBagConstraints( - 0, 4, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(httpsPortField, new GridBagConstraints( - 1, 4, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 4, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 4, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - containerPanel.add(adminPortLabel, new GridBagConstraints( - 0, 5, // x, y - 1, 1, // width, height - 0.0, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 11, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(adminPortField, new GridBagConstraints( - 1, 5, // x, y - 1, 1, // width, height - 0.1, 0.0, // weight-x, weight-y - GridBagConstraints.LINE_START, // anchor - GridBagConstraints.HORIZONTAL, // fill - new Insets(4, 6, 0, 11), // padding - 0, 0)); // padx, pady - ??? - - - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 2, 5, // x, y - 1, 1, // width, height - 0.4, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - containerPanel.add(new NbiPanel(), new GridBagConstraints( - 3, 5, // x, y - 1, 1, // width, height - 1.0, 0.0, // weight-x, weight-y - GridBagConstraints.CENTER, // anchor - GridBagConstraints.BOTH, // fill - new Insets(0, 0, 0, 0), // padding - 0, 0)); // padx, pady - ??? - - */ - } - - private void browseButtonPressed() { - fileChooser.setSelectedFile(new File(jdkLocationField.getText())); - - if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { - jdkLocationComboBox.getModel().setSelectedItem( - fileChooser.getSelectedFile().getAbsolutePath()); - } - } - - private void domainBrowseButtonPressed(){ - final Product product = (Product) component. - getWizard(). - getContext(). - get(Product.class); - - final File currentDestination = new File(domainDestinationField.getText()); - - fileChooser.setSelectedFile(currentDestination); - - if (fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { - String newDestination = - fileChooser.getSelectedFile().getAbsolutePath(); - - String suffix = currentDestination.getName(); - - if(! new File(newDestination).equals(currentDestination)) { - newDestination = new File( - newDestination, - suffix).getAbsolutePath(); - } - domainDestinationField.setText(newDestination); - } - } - - private void initDomainDestinationSuffix () { - if (domainDestinationField.getText().startsWith(getDestinationField().getText())) { - domainDestinationSuffix = domainDestinationField.getText().substring(getDestinationField().getText().length()); - } else { - domainDestinationSuffix = null; - } - } - } - - ///////////////////////////////////////////////////////////////////////////////// - // Constants - public static final String DEFAULT_TITLE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.title"); // NOI18N - public static final String DEFAULT_DESCRIPTION = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.description"); // NOI18N - - - public static final String DOMAIN_INSTALLATION_SUBDIR_PROPERTY = - "domain.installation.subdir"; // NOI18N - public static final String DOMAINNAME_PROPERTY = - "domainname"; // NOI18N - public static final String USERNAME_PROPERTY = - "username"; // NOI18N - public static final String PASSWORD_PROPERTY = - "password"; // NOI18N - - public static final String JDK_LOCATION_LABEL_TEXT_PROPERTY = - "jdk.location.label.text"; // NOI18N - public static final String BROWSE_BUTTON_TEXT_PROPERTY = - "browse.button.text"; // NOI18N - public static final String DOMAINNAME_LABEL_TEXT_PROPERTY = - "domainname.label.text"; // NOI18N - public static final String USERNAME_LABEL_TEXT_PROPERTY = - "username.label.text"; // NOI18N - public static final String PASSWORD_LABEL_TEXT_PROPERTY = - "password.label.text"; // NOI18N - public static final String REPEAT_PASSWORD_LABEL_TEXT_PROPERTY = - "repeat.password.label.text"; // NOI18N - public static final String DOMAIN_DESTINATION_LABEL_TEXT_PROPERTY - = "domain.destination.label.text"; // NOI18N - - - public static final String DEFAULT_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.destination.label.text"); // NOI18N - public static final String DEFAULT_DESTINATION_BUTTON_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.destination.button.text"); // NOI18N - - - public static final String DEFAULT_JDK_LOCATION_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.jdk.location.label.text"); // NOI18N - public static final String DEFAULT_DOMAIN_DESTINATION_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.domain.destination.label.text"); // NOI18N - public static final String DEFAULT_BROWSE_BUTTON_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.browse.button.text"); // NOI18N - public static final String DEFAULT_DOMAINNAME_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.domainname.label.text"); // NOI18N - public static final String DEFAULT_USERNAME_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.username.label.text"); // NOI18N - public static final String DEFAULT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.password.label.text"); // NOI18N - public static final String DEFAULT_REPEAT_PASSWORD_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.repeat.password.label.text"); // NOI18N - public static final String DEFAULT_DEFAULTS_LABEL_TEXT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.defaults.label.text"); // NOI18N - - public static final String DEFAULT_DOMAINNAME_PROPERTY = - "default.domainname"; // NOI18N - public static final String DEFAULT_USERNAME_PROPERTY = - "default.username"; // NOI18N - public static final String DEFAULT_PASSWORD_PROPERTY = - "default.password"; // NOI18N - - public static final String DEFAULT_DOMAIN_DESTINATION_SUBDIR = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.default.domain.destination.subdir"); // NOI18N - public static final String DEFAULT_DEFAULT_DOMAINNAME = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.default.domainname"); // NOI18N - public static final String DEFAULT_DEFAULT_USERNAME = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.default.username"); // NOI18N - public static final String DEFAULT_DEFAULT_PASSWORD = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.default.password"); // NOI18N - - - public static final String ERROR_DOMAINNAME_NULL_PROPERTY = - "error.domainname.null"; // NOI18N - public static final String ERROR_DOMAINNAME_WEBLOGIC_PROPERTY = - "error.domainname.weblogic"; // NOI18N - public static final String ERROR_USERNAME_NULL_PROPERTY = - "error.username.null"; // NOI18N - public static final String ERROR_USERNAME_NOT_ALNUM_PROPERTY = - "error.username.not.alnum"; // NOI18N - public static final String ERROR_PASSWORD_NULL_PROPERTY = - "error.password.null"; // NOI18N - public static final String ERROR_PASSWORD_TOO_SHORT_PROPERTY = - "error.password.too.short"; // NOI18N - public static final String ERROR_PASSWORD_SPACES_PROPERTY = - "error.password.spaces"; // NOI18N - public static final String ERROR_PASSWORDS_DO_NOT_MATCH_PROPERTY = - "error.passwords.do.not.match"; // NOI18N - public static final String ERROR_PASSWORD_DO_NOT_CONTAIN_DIGIT_PROPERTY = - "error.password.do.not.contain.digit"; // NOI18N - public static final String ERROR_ALL_PORTS_OCCUPIED_PROPERTY = - "error.all.ports.occupied"; // NOI18N - public static final String ERROR_UNC_PATH_UNSUPPORTED_PROPERTY = - "error.unc.path.unsupported"; // NOI18N - public static final String ERROR_BRACKETS_IN_NOT_SPACED_PATH_PROPERTY = - "error.brackets.in.not.spaced.path"; - public static final String ERROR_DOMAIN_EXISTS_PROPERTY = - "error.domain.exists"; - - public static final String WARNING_PORT_IN_USE_PROPERTY = - "warning.port.in.use"; // NOI18N - public static final String WARNING_ASADMIN_FILES_EXIST_PROPERTY = - "warning.asadmin.files.exist"; // NOI18N - - public static final String DEFAULT_ERROR_DOMAINNAME_NULL = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domainname.null"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINNAME_WEBLOGIC = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domainname.weblogic"); // NOI18N - public static final String DEFAULT_ERROR_USERNAME_NULL = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.username.null"); // NOI18N - public static final String DEFAULT_ERROR_USERNAME_NOT_ALNUM = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.username.not.alnum"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_NULL = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.password.null"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_TOO_SHORT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.password.too.short"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORD_SPACES = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.password.spaces"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORDS_DO_NOT_CONTAIN_DIGIT = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.password.do.not.contain.digit"); // NOI18N - public static final String DEFAULT_ERROR_PASSWORDS_DO_NOT_MATCH = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.passwords.do.not.match"); // NOI18N - public static final String DEFAULT_ERROR_ALL_PORTS_OCCUPIED = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.all.ports.occupied"); // NOI18N - public static final String DEFAULT_ERROR_UNC_PATH_UNSUPPORTED = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.unc.path.unsupported"); // NOI18N - public static final String DEFAULT_BRACKETS_IN_NOT_SPACED_PATH = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.parantheses.in.not.spaced.path"); // NOI18N - public static final String DEFAULT_ERROR_DOMAIN_EXISTS = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domain.exists"); // NOI18N - - public static final String DEFAULT_WARNING_PORT_IN_USE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.warning.port.in.use"); // NOI18N - - public static final String ERROR_DOMAINDIR_NULL_PROPERTY = - "error.domaindir.null"; // NOI18N - public static final String ERROR_DOMAINDIR_NOT_VALID_PROPERTY = - "error.domaindir.not.valid"; // NOI18N - public static final String ERROR_DOMAINDIR_CONTAINS_EXCLAMATION_PROPERTY = - "error.domaindir.contains.exclamation"; // NOI18N - public static final String ERROR_DOMAINDIR_CONTAINS_SEMICOLON_PROPERTY = - "error.domaindir.contains.semicolon"; // NOI18N - public static final String ERROR_DOMAINDIR_CONTAINS_COLON_PROPERTY = - "error.domaindir.contains.colon"; // NOI18N - public static final String ERROR_DOMAINDIR_CONTAINS_AMPERSAND_PROPERTY = - "error.domaindir.contains.ampersand"; // NOI18N - public static final String ERROR_DOMAINDIR_CONTAINS_WRONG_CHAR_PROPERTY = - "error.domaindir.contains.wrong.char"; // NOI18N - public static final String ERROR_DOMAINDIR_MATCHES_PROHIBITED_REGEXP = - "error.domaindir.matches.prohibited.regexp";//NOI18N - public static final String ERROR_DOMAINDIR_NOT_ABSOLUTE_PROPERTY = - "error.domaindir.not.absolute"; // NOI18N - public static final String ERROR_DOMAINDIR_CANNOT_CANONIZE_PROPERTY = - "error.domaindir.cannot.canonize"; // NOI18N - public static final String ERROR_DOMAINDIR_NOT_DIRECTORY_PROPERTY = - "error.domaindir.not.directory"; // NOI18N - public static final String ERROR_DOMAINDIR_NOT_READABLE_PROPERTY = - "error.domaindir.not.readable"; // NOI18N - public static final String ERROR_DOMAINDIR_NOT_WRITABLE_PROPERTY = - "error.domaindir.not.writable"; // NOI18N - public static final String ERROR_DOMAIN_NOT_EMPTY_PROPERTY = - "error.domain.not.empty"; // NOI18N - /* - public static final String ERROR_NOT_ENOUGH_SPACE_PROPERTY = - "error.not.enough.space"; // NOI18N - public static final String ERROR_CANNOT_CHECK_SPACE_PROPERTY = - "error.cannot.check.space"; // NOI18N - */ - public static final String DEFAULT_ERROR_DOMAINDIR_NULL = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.null"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_VALID = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.not.valid"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CONTAINS_EXCLAMATION = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.contains.exclamation"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CONTAINS_SEMICOLON = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.contains.semicolon"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CONTAINS_COLON = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.contains.colon"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CONTAINS_AMPERSAND = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.contains.ampersand"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CONTAINS_WRONG_CHAR = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.contains.wrong.char"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_MATCHES_PROHIBITIED_REGEXP = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.matches.prohibited.regexp"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_ABSOLUTE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.not.absolute"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_CANNOT_CANONIZE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.cannot.canonize"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_DIRECTORY = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.not.directory"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_READABLE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.not.readable"); // NOI18N - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_WRITABLE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domaindir.not.writable"); // NOI18N - public static final String DEFAULT_ERROR_DOMAIN_NOT_EMPTY = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.domain.not.empty"); // NOI18N -/* - public static final String DEFAULT_ERROR_DOMAINDIR_NOT_ENOUGH_SPACE = - ResourceUtils.getString(WebLogicPanel.class, - "WLP.error.not.enough.space"); // NOI18N - public static final String DEFAULT_ERROR_CANNOT_CHECK_SPACE = - ResourceUtils.getString(ComponentsSelectionPanel.class, - "WLP.error.cannot.check.space"); // NOI18N - * */ - - - private static final String DOMAIN_CONFIG_FILE = - "config/config.xml"; // NOI18N - -} diff --git a/nbbuild/installer/infra/build/products/glassfish-mod/build.properties b/nbbuild/installer/infra/build/products/glassfish-mod/build.properties deleted file mode 100644 index a0b02d815d7d..000000000000 --- a/nbbuild/installer/infra/build/products/glassfish-mod/build.properties +++ /dev/null @@ -1,137 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/glassfish-mod - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=glassfish-mod -product.version=${glassfish-mod.release.number}.${glassfish-mod.milestone.number}.${glassfish-mod.build.number}.${glassfish-mod.milestone.number.real} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=10000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -# Due to unsupported library in 4.1.1, there is a special build for NB - path and name changed -#product.data.1.uri=${glassfish.builds.host}/java/re/glassfish/${glassfish-mod.release.number}/promoted/b${glassfish-mod.build.number}/archive/bundles/glassfish-${glassfish-mod.release.number}-b${glassfish-mod.build.number}.zip -product.data.1.uri=${glassfish.builds.host}/java/re/glassfish/${glassfish-mod.release.number}/promoted/b${glassfish-mod.build.number}/archive/release/glassfish-${glassfish-mod.release.number}-a.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=nb-base - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=1 -product.properties.1.name=installation.location -product.properties.1.value=$N{install}/glassfish-${glassfish-mod.release.number} - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=${glassfish-mod.release.number} diff --git a/nbbuild/installer/infra/build/products/glassfish-mod/build.xml b/nbbuild/installer/infra/build/products/glassfish-mod/build.xml deleted file mode 100644 index ca322ed32f4d..000000000000 --- a/nbbuild/installer/infra/build/products/glassfish-mod/build.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - CALLING GLASSFISH PRE-PACKAGE - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.properties b/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.properties deleted file mode 100644 index ab29f255feee..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.properties +++ /dev/null @@ -1,136 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/javaeesdk-blueprints - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=javaeesdk-blueprints -product.version=1.0.${javaeesdk-blueprints.update.number}.${javaeesdk-blueprints.milestone.number}.${javaeesdk-blueprints.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} -7 whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${javaeesdk.build.location}/${javaeesdk-blueprints.build.type}/b${javaeesdk-blueprints.milestone.number}/bundles/java_ee_sdk-5_07-blueprints.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=sjsas -product.requirements.1.version-lower=2.1.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper=2.1.${sjsas.milestone.number}.${sjsas.build.number} -#product.requirements.1.uid=glassfish -#product.requirements.1.version-lower=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} -#product.requirements.1.version-upper=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=0 diff --git a/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.xml b/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.xml deleted file mode 100644 index c6b6bf8c37d8..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-blueprints/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.properties b/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.properties deleted file mode 100644 index 4b37ba8b62d0..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.properties +++ /dev/null @@ -1,136 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/javaeesdk-firstcup - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=javaeesdk-firstcup -product.version=${javaeesdk-firstcup.macro.number}.${javaeesdk-firstcup.micro.number}.0.${javaeesdk-firstcup.milestone.number}.${javaeesdk-firstcup.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} -7 whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${javaeesdk.build.location}/fcs/b${javaeesdk-firstcup.milestone.number}/bundles/firstcup-${javaeesdk-firstcup.macro.number}_${javaeesdk-firstcup.micro.number}.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=sjsas -product.requirements.1.version-lower=2.1.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper=2.1.${sjsas.milestone.number}.${sjsas.build.number} -#product.requirements.1.uid=glassfish -#product.requirements.1.version-lower=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} -#product.requirements.1.version-upper=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=0 diff --git a/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.xml b/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.xml deleted file mode 100644 index 70a68d969970..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-firstcup/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.properties b/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.properties deleted file mode 100644 index cd430890aacd..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.properties +++ /dev/null @@ -1,138 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/javaeesdk-javadocs - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=javaeesdk-javadocs -product.version=1.0.0.0.${javaeesdk-javadocs.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} -7 whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${glassfish.builds.host}/java/re/sjsas/external/shared/s1as-javadocs/jars/s1as-javadocs-${javaeesdk-javadocs.build.number}.jar -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=sjsas -product.requirements.1.version-lower=9.1.2.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper=9.1.2.${sjsas.milestone.number}.${sjsas.build.number} -#product.requirements.1.uid=glassfish -#product.requirements.1.version-lower=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} -#product.requirements.1.version-upper=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=b${javaeesdk-javadocs.build.number} diff --git a/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.xml b/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.xml deleted file mode 100644 index 1aaf4a3b3d03..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-javadocs/build.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/javaeesdk-samples/build.properties b/nbbuild/installer/infra/build/products/javaeesdk-samples/build.properties deleted file mode 100644 index 7654ddc8389b..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-samples/build.properties +++ /dev/null @@ -1,138 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/javaeesdk-samples - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=javaeesdk-samples -product.version=1.0.${javaeesdk-samples.update.number}.${javaeesdk-samples.milestone.number}.${javaeesdk-samples.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} -7 whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${javaeesdk.build.location}/${javaeesdk-samples.build.type}/b${javaeesdk-samples.milestone.number}/bundles/java_ee_sdk-5_07-samples.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=sjsas -product.requirements.1.version-lower=2.1.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper=2.1.${sjsas.milestone.number}.${sjsas.build.number} -#product.requirements.1.uid=glassfish -#product.requirements.1.version-lower=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} -#product.requirements.1.version-upper=2.0.0.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=b${javaeesdk-samples.milestone.number} diff --git a/nbbuild/installer/infra/build/products/javaeesdk-samples/build.xml b/nbbuild/installer/infra/build/products/javaeesdk-samples/build.xml deleted file mode 100644 index 72d1613c244d..000000000000 --- a/nbbuild/installer/infra/build/products/javaeesdk-samples/build.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/jre-nested/build.properties b/nbbuild/installer/infra/build/products/jre-nested/build.properties deleted file mode 100644 index dac0731665e2..000000000000 --- a/nbbuild/installer/infra/build/products/jre-nested/build.properties +++ /dev/null @@ -1,139 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/jre-nested - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=jre-nested -product.version=${nb.full.version} -product.platforms=windows linux - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=20000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=0 -#product.data.1.uri= -#product.data.1.zip= - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=2 -product.properties.1.name=installation.location -product.properties.1.value=$N{install}/netbeans-dev-${build.number}/bin/jre -product.properties.2.name=installation.location.windows -product.properties.2.value=$N{install}/NetBeans Dev ${build.number}/bin/jre - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={display-version} -sources.params.1.value=${jre-nested.version.number} Update ${jre-nested.update.number} -sources.params.2.token={jre-nested} -sources.params.2.value=jre-nested diff --git a/nbbuild/installer/infra/build/products/jre-nested/build.xml b/nbbuild/installer/infra/build/products/jre-nested/build.xml deleted file mode 100644 index 28cfd62907fa..000000000000 --- a/nbbuild/installer/infra/build/products/jre-nested/build.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/mysql-connector/build.properties b/nbbuild/installer/infra/build/products/mysql-connector/build.properties deleted file mode 100644 index 84e55ba51d12..000000000000 --- a/nbbuild/installer/infra/build/products/mysql-connector/build.properties +++ /dev/null @@ -1,135 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/mysql-connector - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=mysql-connector -product.version=5.1.6.0.0 -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=120000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${binary.cache.host}/mysql/mysql-connector-java-5.1.6-bin.jar -product.data.1.zip=false - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -#product.requirements.1.uid=sjsas -#product.requirements.1.version-lower=9.1.2.${sjsas.milestone.number}.${sjsas.build.number} -#product.requirements.1.version-upper=9.1.2.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.uid=glassfish -product.requirements.1.version-lower=2.1.${glassfish.milestone.number}.${glassfish.build.number} -product.requirements.1.version-upper=2.1.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=5.1.6 - diff --git a/nbbuild/installer/infra/build/products/mysql-connector/build.xml b/nbbuild/installer/infra/build/products/mysql-connector/build.xml deleted file mode 100644 index 9e93571eb6da..000000000000 --- a/nbbuild/installer/infra/build/products/mysql-connector/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/mysql/build.properties b/nbbuild/installer/infra/build/products/mysql/build.properties deleted file mode 100644 index acf38d39951e..000000000000 --- a/nbbuild/installer/infra/build/products/mysql/build.properties +++ /dev/null @@ -1,169 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/mysql - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=mysql -product.version=5.0.67.0.0 -#product.platforms= - will be overriden, as we need to build several times -# for several platforms - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=110000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 - -product.data.length.windows=1 -product.data.length.linux=1 -product.data.length.solaris-x86=1 -product.data.length.solaris-sparc=1 - -product.data.length=${product.data.length.${product.platforms}} -product.data.1.uri=${product.data.1.uri.${product.platforms}} -product.data.1.uri.windows=${binary.cache.host}/mysql/mysql-essential-5.0.67-win32.msi -product.data.1.uri.linux=${binary.cache.host}/mysql/mysql-5.0.67-linux-i686-glibc23.tar.gz -product.data.1.uri.solaris-x86=${binary.cache.host}/mysql/mysql-5.0.67-solaris10-i386.tar.gz -product.data.1.uri.solaris-sparc=${binary.cache.host}/mysql/mysql-5.0.67-solaris10-sparc.tar.gz -#product.data.1.uri.macosx-x86=${binary.cache.host}/mysql/mysql-5.0.51a-osx10.4-i686.tar.gz -#product.data.1.uri.macosx-ppc=${binary.cache.host}/mysql/mysql-5.0.51a-osx10.4-powerpc.tar.gz -#product.data.2.uri=${binary.cache.host}/mysql/MySQLInstanceConfig_v1.0.14.0.zip -#product.data.2.zip=true - -product.data.1.zip=false -product.data.1.tar=${product.data.1.tar.${product.platforms}} -product.data.1.tar.windows=false -product.data.1.tar.linux=true -product.data.1.tar.solaris-x86=true -product.data.1.tar.solaris-sparc=true -#product.data.1.tar.macosx-x86=true -#product.data.1.tar.macosx-ppc=true - -product.data.1.subdir=${product.data.1.subdir.${product.platforms}} -product.data.1.subdir.linux=mysql-5.0.67-linux-i686-glibc23 -product.data.1.subdir.solaris-x86=mysql-5.0.67-solaris10-i386 -product.data.1.subdir.solaris-sparc=mysql-5.0.67-solaris10-sparc - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=52000000 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=nb-base - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=2 -product.properties.1.name=installation.location -product.properties.1.value=$N{install}/mysql -product.properties.2.name=installation.location.windows -product.properties.2.value=$N{install}/MySQL/MySQL Server 5.0 - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=3 -sources.params.1.token={display-version} -sources.params.1.value=5.0 -sources.params.2.token={mysql-instance-version} -sources.params.2.value=5.0.67 -sources.params.3.token={mysql-msi-installer-name} -sources.params.3.value=mysql-essential-5.0.67-win32.msi diff --git a/nbbuild/installer/infra/build/products/mysql/build.xml b/nbbuild/installer/infra/build/products/mysql/build.xml deleted file mode 100644 index c40dd3c84ef0..000000000000 --- a/nbbuild/installer/infra/build/products/mysql/build.xml +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-base/build.properties b/nbbuild/installer/infra/build/products/nb-base/build.properties deleted file mode 100644 index 424e3ad2bf7b..000000000000 --- a/nbbuild/installer/infra/build/products/nb-base/build.properties +++ /dev/null @@ -1,189 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-base - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-base -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=10000 -product.expand=true -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 - -product.data.length=4 - -#product.data.length=${product.data.length.${product.platforms}} -product.data.length.windows=5 -product.data.length.linux=5 -product.data.length.solaris-x86=5 -product.data.length.solaris-sparc=4 -product.data.length.macosx-x86\ macosx-ppc=5 - -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-platform.zip -product.data.1.zip=true -product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-nb-etc.zip -product.data.2.zip=true -product.data.3.uri=${nb.builds.host}/${nb.zip.files.prefix}-ide.zip -product.data.3.zip=true -product.data.4.uri=${nb.builds.host}/${nb.zip.files.prefix}-harness.zip -product.data.4.zip=true - -product.data.5.uri.windows=${nb.builds.host}/${nb.zip.files.prefix}-extra-core-browser-windows.zip -product.data.5.uri.linux=${nb.builds.host}/${nb.zip.files.prefix}-extra-core-browser-linux.zip -product.data.5.uri.solaris-x86=${nb.builds.host}/${nb.zip.files.prefix}-extra-core-browser-solaris-x86.zip -product.data.5.uri.macosx-x86\ macosx-ppc=${nb.builds.host}/${nb.zip.files.prefix}-extra-core-browser-macosx.zip -product.data.5.uri=${product.data.5.uri.${product.platforms}} -product.data.5.zip=true - - -product.packaged.data.file.common=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},common,${i}.jar -product.packaged.data.properties.file.common=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},common,${i}.jar.properties - -product.packaged.data.file.1=${product.packaged.data.file.common} -product.packaged.data.properties.file.1=${product.packaged.data.properties.file.common} -product.packaged.data.file.2=${product.packaged.data.file.common} -product.packaged.data.properties.file.2=${product.packaged.data.properties.file.common} -product.packaged.data.file.3=${product.packaged.data.file.common} -product.packaged.data.properties.file.3=${product.packaged.data.properties.file.common} - -product.packaged.data.file.4=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},${product.platforms},${i}.jar -product.packaged.data.properties.file.4=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},${product.platforms},${i}.jar.properties - - -product.packaged.data.file=${product.packaged.data.file.${i}} -product.packaged.data.properties.file=${product.packaged.data.properties.file.${i}} - - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=2 -product.install-afters.1.uid=jdk -product.install-afters.2.uid=jre-nested - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=4 -product.properties.1.name=installation.location -product.properties.1.value=$N{install}/netbeans-dev-${build.number} -product.properties.2.name=installation.location.windows -product.properties.2.value=$N{install}/NetBeans Dev ${build.number} -product.properties.3.name=installation.location.macosx -product.properties.3.value=$N{install}/NetBeans/NetBeans Dev ${build.number}.app -product.properties.4.name=minimum.jdk.version -product.properties.4.value=1.8.0 - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=4 -sources.params.1.token={display-version} -sources.params.1.value=Build ${build.number} -sources.params.2.token={platform-cluster} -sources.params.2.value=platform -sources.params.3.token={nb-cluster} -sources.params.3.value=nb -sources.params.4.token={ide-cluster} -sources.params.4.value=ide diff --git a/nbbuild/installer/infra/build/products/nb-base/build.xml b/nbbuild/installer/infra/build/products/nb-base/build.xml deleted file mode 100644 index 579b6bcd414f..000000000000 --- a/nbbuild/installer/infra/build/products/nb-base/build.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-cnd/build.properties b/nbbuild/installer/infra/build/products/nb-cnd/build.properties deleted file mode 100644 index 8c4c54275ba9..000000000000 --- a/nbbuild/installer/infra/build/products/nb-cnd/build.properties +++ /dev/null @@ -1,143 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-cnd - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-cnd -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=90000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=3 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-cnd.zip -product.data.1.zip=true -product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-cndext.zip -product.data.2.zip=true -product.data.3.uri=${nb.builds.host}/${nb.zip.files.prefix}-dlight.zip -product.data.3.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=3 -sources.params.1.token={cnd-cluster} -sources.params.1.value=cnd -sources.params.2.token={cndext-cluster} -sources.params.2.value=cndext -sources.params.3.token={dlight-cluster} -sources.params.3.value=dlight diff --git a/nbbuild/installer/infra/build/products/nb-cnd/build.xml b/nbbuild/installer/infra/build/products/nb-cnd/build.xml deleted file mode 100644 index df7bbd50ee00..000000000000 --- a/nbbuild/installer/infra/build/products/nb-cnd/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-ergonomics/build.properties b/nbbuild/installer/infra/build/products/nb-ergonomics/build.properties deleted file mode 100644 index f9b9687f8257..000000000000 --- a/nbbuild/installer/infra/build/products/nb-ergonomics/build.properties +++ /dev/null @@ -1,136 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-ergonomics - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-ergonomics -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=120000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-ergonomics.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={ergonomics-cluster} -sources.params.1.value=ergonomics -sources.params.2.token={java-cluster} -sources.params.2.value=java diff --git a/nbbuild/installer/infra/build/products/nb-ergonomics/build.xml b/nbbuild/installer/infra/build/products/nb-ergonomics/build.xml deleted file mode 100644 index 10eae86795fa..000000000000 --- a/nbbuild/installer/infra/build/products/nb-ergonomics/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-extide/build.properties b/nbbuild/installer/infra/build/products/nb-extide/build.properties deleted file mode 100644 index 2bbfd5d9b231..000000000000 --- a/nbbuild/installer/infra/build/products/nb-extide/build.properties +++ /dev/null @@ -1,141 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-extide - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-extide -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=12500 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=2 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-extide.zip -product.data.1.zip=true -product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-websvccommon.zip -product.data.2.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=jre-nested - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=1 -product.properties.1.name=show-in-wizard -product.properties.1.value=false -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={extide-cluster} -sources.params.1.value=extide -sources.params.2.token={websvccommon-cluster} -sources.params.2.value=websvccommon diff --git a/nbbuild/installer/infra/build/products/nb-extide/build.xml b/nbbuild/installer/infra/build/products/nb-extide/build.xml deleted file mode 100644 index 077644c73ae3..000000000000 --- a/nbbuild/installer/infra/build/products/nb-extide/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-groovy/build.properties b/nbbuild/installer/infra/build/products/nb-groovy/build.properties deleted file mode 100644 index cefc816c3758..000000000000 --- a/nbbuild/installer/infra/build/products/nb-groovy/build.properties +++ /dev/null @@ -1,138 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-groovy - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-groovy -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=95000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-groovy.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={groovy-cluster} -sources.params.1.value=groovy diff --git a/nbbuild/installer/infra/build/products/nb-groovy/build.xml b/nbbuild/installer/infra/build/products/nb-groovy/build.xml deleted file mode 100644 index fcf66a444beb..000000000000 --- a/nbbuild/installer/infra/build/products/nb-groovy/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javacard/build.properties b/nbbuild/installer/infra/build/products/nb-javacard/build.properties deleted file mode 100644 index 52df5b2c8322..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javacard/build.properties +++ /dev/null @@ -1,139 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javacard - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javacard -product.version=${nb.full.version} -product.platforms=windows - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=100000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -#product.data.1.uri=${javafx.builds.host}/hudson/job/JavaFX_NB_Plugin_NB61_daily/ws/main/nbbuild/netbeans/javafx//*zip*/javafx.zip -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-javacard.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={javacard-cluster} -sources.params.1.value=javacard diff --git a/nbbuild/installer/infra/build/products/nb-javacard/build.xml b/nbbuild/installer/infra/build/products/nb-javacard/build.xml deleted file mode 100644 index 9279ba3cae37..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javacard/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javaee/build.properties b/nbbuild/installer/infra/build/products/nb-javaee/build.properties deleted file mode 100644 index fea672adf94a..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javaee/build.properties +++ /dev/null @@ -1,155 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javaee - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javaee -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=30000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-enterprise.zip -product.data.1.zip=true -#product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-visualweb.zip -#product.data.2.zip=true -#product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-identity.zip -#product.data.2.zip=true - - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=4 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} -product.requirements.3.uid=nb-webcommon -product.requirements.3.version-lower=${nb.full.version} -product.requirements.3.version-upper=${nb.full.version} -product.requirements.4.uid=nb-extide -product.requirements.4.version-lower=${nb.full.version} -product.requirements.4.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={enterprise-cluster} -sources.params.1.value=enterprise -#sources.params.2.token={visualweb-cluster} -#sources.params.2.value=visualweb -#sources.params.2.token={identity-cluster} -#sources.params.2.value=identity -sources.params.2.token={mobility-cluster} -sources.params.2.value=mobility diff --git a/nbbuild/installer/infra/build/products/nb-javaee/build.xml b/nbbuild/installer/infra/build/products/nb-javaee/build.xml deleted file mode 100644 index bb5f1a94b6f9..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javaee/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javafx-mod/build.properties b/nbbuild/installer/infra/build/products/nb-javafx-mod/build.properties deleted file mode 100644 index 5b9282ac932f..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javafx-mod/build.properties +++ /dev/null @@ -1,132 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javafx-mod - -# whether to build the netbeans part of the project or not; 'true'/'false' -build.nbproject=false - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javafx-mod -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=20000 -product.expand=true -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=0 -#product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 - -product.data.length=0 - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=0 diff --git a/nbbuild/installer/infra/build/products/nb-javafx-mod/build.xml b/nbbuild/installer/infra/build/products/nb-javafx-mod/build.xml deleted file mode 100644 index 62a281832999..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javafx-mod/build.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javafx/build.properties b/nbbuild/installer/infra/build/products/nb-javafx/build.properties deleted file mode 100644 index 3d58bedc1bf5..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javafx/build.properties +++ /dev/null @@ -1,170 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javafx - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javafx -product.version=${nb.full.version} -#product.platforms= - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=25000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=3 -#product.data.1.uri=${javafx.builds.host}/hudson/job/JavaFX_NB_Plugin_NB61_daily/ws/main/nbbuild/netbeans/javafx//*zip*/javafx.zip -product.data.2.uri.windows=${nb.builds.host}/${nb.zip.files.prefix}-javafx-windows.zip -product.data.2.uri.linux=${nb.builds.host}/${nb.zip.files.prefix}-javafx-linux.zip -product.data.2.uri.solaris-x86=${nb.builds.host}/${nb.zip.files.prefix}-javafx-solaris-x86.zip -product.data.2.uri.macosx-x86\ macosx-ppc=${nb.builds.host}/${nb.zip.files.prefix}-javafx-mac.zip - -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-javafx.zip - -product.data.2.uri=${product.data.2.uri.${product.platforms}} -product.data.3.uri=${product.data.2.uri} - - -product.data.1.zip=true -product.data.2.zip=true -product.data.3.zip=true - -#javafx.sdk.version=1.2.1.20091015 - -product.packaged.data.file.1=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},1.jar -product.packaged.data.properties.file.1=${product.packaged.data.file.1}.properties - -product.packaged.data.file.2=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},${product.platforms},2.jar -product.packaged.data.properties.file.2=${product.packaged.data.file.2}.properties - -product.packaged.data.file.3=${packaged.data.dir}/${product.uid}${nb.build.suffix},${product.version}-${build.number},${product.platforms},3.jar -product.packaged.data.properties.file.3=${product.packaged.data.file.3}.properties - -#product.packaged.data.file.3=${packaged.data.dir}/javafxsdk,${javafx.sdk.version}-${product.platforms}.jar -#product.packaged.data.properties.file.3=${product.packaged.data.file.3}.properties - - -product.packaged.data.file=${product.packaged.data.file.${i}} -product.packaged.data.properties.file=${product.packaged.data.properties.file.${i}} - - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={javafx-cluster} -sources.params.1.value=javafx diff --git a/nbbuild/installer/infra/build/products/nb-javafx/build.xml b/nbbuild/installer/infra/build/products/nb-javafx/build.xml deleted file mode 100644 index 33b61acee4cc..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javafx/build.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javame/build.properties b/nbbuild/installer/infra/build/products/nb-javame/build.properties deleted file mode 100644 index 99ae6f3cd33c..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javame/build.properties +++ /dev/null @@ -1,144 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javame - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javame -product.version=${nb.full.version} -#product.platforms= - will be overriden, as we need to build several times -# for several platforms - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 - -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-mobility.zip -product.data.1.zip=true - -product.packaged.data.file=${product.packaged.data.file.${i}} -product.packaged.data.properties.file=${product.packaged.data.properties.file.${i}} - - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={mobility-cluster} -sources.params.1.value=mobility -sources.params.2.token={enterprise-cluster} -sources.params.2.value=enterprise diff --git a/nbbuild/installer/infra/build/products/nb-javame/build.xml b/nbbuild/installer/infra/build/products/nb-javame/build.xml deleted file mode 100644 index ef5c70371eae..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javame/build.xml +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-javase/build.properties b/nbbuild/installer/infra/build/products/nb-javase/build.properties deleted file mode 100644 index e941237e6f7e..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javase/build.properties +++ /dev/null @@ -1,148 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-javase - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-javase -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=20000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=3 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-java.zip -product.data.1.zip=true -product.data.2.uri=${nb.builds.host}/${nb.zip.files.prefix}-apisupport.zip -product.data.2.zip=true -product.data.3.uri=${nb.builds.host}/${nb.zip.files.prefix}-profiler.zip -product.data.3.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-extide -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=1 -product.properties.1.name=jre.allowed -product.properties.1.value=false - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=4 -sources.params.1.token={java-cluster} -sources.params.1.value=java -sources.params.2.token={apisupport-cluster} -sources.params.2.value=apisupport -sources.params.3.token={harness-cluster} -sources.params.3.value=harness -sources.params.4.token={profiler-cluster} -sources.params.4.value=profiler diff --git a/nbbuild/installer/infra/build/products/nb-javase/build.xml b/nbbuild/installer/infra/build/products/nb-javase/build.xml deleted file mode 100644 index 069d3f51c02d..000000000000 --- a/nbbuild/installer/infra/build/products/nb-javase/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-php/build.properties b/nbbuild/installer/infra/build/products/nb-php/build.properties deleted file mode 100644 index 4ed5b1bbea3a..000000000000 --- a/nbbuild/installer/infra/build/products/nb-php/build.properties +++ /dev/null @@ -1,141 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-php - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-php -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=45000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-php.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=3 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-webcommon -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} -product.requirements.3.uid=nb-extide -product.requirements.3.version-lower=${nb.full.version} -product.requirements.3.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=jre-nested - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={php-cluster} -sources.params.1.value=php diff --git a/nbbuild/installer/infra/build/products/nb-php/build.xml b/nbbuild/installer/infra/build/products/nb-php/build.xml deleted file mode 100644 index ed2a9e3436c1..000000000000 --- a/nbbuild/installer/infra/build/products/nb-php/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-platform-sdk/build.properties b/nbbuild/installer/infra/build/products/nb-platform-sdk/build.properties deleted file mode 100644 index 7ee7158b29c0..000000000000 --- a/nbbuild/installer/infra/build/products/nb-platform-sdk/build.properties +++ /dev/null @@ -1,132 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-platform-sdk - -# whether to build the netbeans part of the project or not; 'true'/'false' -build.nbproject=false - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-platform-sdk -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=15000 -product.expand=true -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=0 -#product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 - -product.data.length=0 - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=0 diff --git a/nbbuild/installer/infra/build/products/nb-platform-sdk/build.xml b/nbbuild/installer/infra/build/products/nb-platform-sdk/build.xml deleted file mode 100644 index 08fa9be1c8a4..000000000000 --- a/nbbuild/installer/infra/build/products/nb-platform-sdk/build.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-portalpack/build.properties b/nbbuild/installer/infra/build/products/nb-portalpack/build.properties deleted file mode 100644 index 6592897bbbbe..000000000000 --- a/nbbuild/installer/infra/build/products/nb-portalpack/build.properties +++ /dev/null @@ -1,141 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-portalpack - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-portalpack -product.version=3.0.0.0.${portalpack.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=100000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${portalpack.builds.host}/portalserver/PortalTooling/updates/nb65/pp30/portal-pack-plugin-3_0_core.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javaee -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={display-version} -sources.params.1.value=3.0 -sources.params.2.token={enterprise-cluster} -sources.params.2.value=enterprise diff --git a/nbbuild/installer/infra/build/products/nb-portalpack/build.xml b/nbbuild/installer/infra/build/products/nb-portalpack/build.xml deleted file mode 100644 index 8acdf2b8e231..000000000000 --- a/nbbuild/installer/infra/build/products/nb-portalpack/build.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-ruby/build.properties b/nbbuild/installer/infra/build/products/nb-ruby/build.properties deleted file mode 100644 index dec440eabd9f..000000000000 --- a/nbbuild/installer/infra/build/products/nb-ruby/build.properties +++ /dev/null @@ -1,135 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-ruby - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-ruby -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=80000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-ruby.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={ruby-cluster} -sources.params.1.value=ruby diff --git a/nbbuild/installer/infra/build/products/nb-ruby/build.xml b/nbbuild/installer/infra/build/products/nb-ruby/build.xml deleted file mode 100644 index cf05bc214731..000000000000 --- a/nbbuild/installer/infra/build/products/nb-ruby/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-soa/build.properties b/nbbuild/installer/infra/build/products/nb-soa/build.properties deleted file mode 100644 index b10db9a6663f..000000000000 --- a/nbbuild/installer/infra/build/products/nb-soa/build.properties +++ /dev/null @@ -1,141 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-soa - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-soa -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=110000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-soa.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=3 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javaee -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} -product.requirements.3.uid=openesb -product.requirements.3.version-lower=5.0.7.${${server-uid}.milestone.number}.${openesb.build.number} -product.requirements.3.version-upper=5.0.7.${${server-uid}.milestone.number}.${openesb.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={soa-cluster} -sources.params.1.value=soa diff --git a/nbbuild/installer/infra/build/products/nb-soa/build.xml b/nbbuild/installer/infra/build/products/nb-soa/build.xml deleted file mode 100644 index 7b9e4c37020c..000000000000 --- a/nbbuild/installer/infra/build/products/nb-soa/build.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-uml/build.properties b/nbbuild/installer/infra/build/products/nb-uml/build.properties deleted file mode 100644 index 5c90587a1a9e..000000000000 --- a/nbbuild/installer/infra/build/products/nb-uml/build.properties +++ /dev/null @@ -1,138 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-uml - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-uml -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=60000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-uml.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=2 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} -product.requirements.2.uid=nb-javase -product.requirements.2.version-lower=${nb.full.version} -product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={uml-cluster} -sources.params.1.value=uml diff --git a/nbbuild/installer/infra/build/products/nb-uml/build.xml b/nbbuild/installer/infra/build/products/nb-uml/build.xml deleted file mode 100644 index 6fcd69cf6339..000000000000 --- a/nbbuild/installer/infra/build/products/nb-uml/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/nb-webcommon/build.properties b/nbbuild/installer/infra/build/products/nb-webcommon/build.properties deleted file mode 100644 index 4c3e0f56f79b..000000000000 --- a/nbbuild/installer/infra/build/products/nb-webcommon/build.properties +++ /dev/null @@ -1,135 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/nb-webcommon - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=nb-webcommon -product.version=${nb.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=42500 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${nb.builds.host}/${nb.zip.files.prefix}-webcommon.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=nb-base -product.requirements.1.version-lower=${nb.full.version} -product.requirements.1.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=jre-nested - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={webcommon-cluster} -sources.params.1.value=webcommon diff --git a/nbbuild/installer/infra/build/products/nb-webcommon/build.xml b/nbbuild/installer/infra/build/products/nb-webcommon/build.xml deleted file mode 100644 index ae64f1a65fcb..000000000000 --- a/nbbuild/installer/infra/build/products/nb-webcommon/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/openesb/build.properties b/nbbuild/installer/infra/build/products/openesb/build.properties deleted file mode 100644 index 746ec882780e..000000000000 --- a/nbbuild/installer/infra/build/products/openesb/build.properties +++ /dev/null @@ -1,146 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/openesb - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=openesb -product.version=5.0.7.${${server-uid}.milestone.number}.${openesb.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=30000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${openesb.builds.host}/kits/ojc/openesb_as9_ur2/Build${openesb.build.number.real}/installers/jbi_components_installer.jar -product.data.1.zip=false -#product.data.2.uri=${openesb.builds.host}/kits/openesb/openesb_as9_ur2/latest/CORE/jbi-core-installer.jar -#product.data.2.zip=false - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 - -product.requirements.1.uid=${server-uid} -product.requirements.1.version-lower=${product.requirements.1.version-lower.${server-uid}} -product.requirements.1.version-upper=${product.requirements.1.version-upper.${server-uid}} - -product.requirements.1.version-lower.sjsas=2.1.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper.sjsas=2.1.${sjsas.milestone.number}.${sjsas.build.number} - -product.requirements.1.version-lower.glassfish=2.1.${glassfish.milestone.number}.${glassfish.build.number} -product.requirements.1.version-upper.glassfish=2.1.${glassfish.milestone.number}.${glassfish.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=1 -product.conflicts.1.uid=openesb -product.conflicts.1.version-lower=5.0.7.${${server-uid}.milestone.number}.0 -product.conflicts.1.version-upper=5.0.7.${${server-uid}.milestone.number}.999999 - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={display-version} -sources.params.1.value=v2 -sources.params.2.token={server-uid} -sources.params.2.value=${server-uid} diff --git a/nbbuild/installer/infra/build/products/openesb/build.xml b/nbbuild/installer/infra/build/products/openesb/build.xml deleted file mode 100644 index 57f4104bb226..000000000000 --- a/nbbuild/installer/infra/build/products/openesb/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/portletcontainer/build.properties b/nbbuild/installer/infra/build/products/portletcontainer/build.properties deleted file mode 100644 index f8d925193134..000000000000 --- a/nbbuild/installer/infra/build/products/portletcontainer/build.properties +++ /dev/null @@ -1,135 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/portletcontainer - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=portletcontainer -product.version=${portletcontainer.macro.number}.${portletcontainer.micro.number}.${portletcontainer.minor.number}.${portletcontainer.milestone.number}.${portletcontainer.build.number} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} -7 whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=40000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${javaeesdk.build.location}/fcs/b${portletcontainer.milestone.number}/bundles/portlet_container-${portletcontainer.macro.number}_${portletcontainer.micro.number}-fcs-bin-b${portletcontainer.milestone.number}-${portletcontainer.build.date}.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=1 -product.requirements.1.uid=sjsas -product.requirements.1.version-lower=2.1.${sjsas.milestone.number}.${sjsas.build.number} -product.requirements.1.version-upper=2.1.${sjsas.milestone.number}.${sjsas.build.number} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=1 -product.conflicts.1.uid=portletcontainer -product.conflicts.1.version-lower=${portletcontainer.macro.number}.${portletcontainer.micro.number}.${portletcontainer.minor.number}.${portletcontainer.milestone.number}.0 -product.conflicts.1.version-upper=${portletcontainer.macro.number}.${portletcontainer.micro.number}.${portletcontainer.minor.number}.${portletcontainer.milestone.number}.999999 - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=0 -#product.properties.1.name= -#product.properties.1.value= - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=${portletcontainer.macro.number}.${portletcontainer.micro.number} diff --git a/nbbuild/installer/infra/build/products/portletcontainer/build.xml b/nbbuild/installer/infra/build/products/portletcontainer/build.xml deleted file mode 100644 index d2cf9345d651..000000000000 --- a/nbbuild/installer/infra/build/products/portletcontainer/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/sjsas/build.properties b/nbbuild/installer/infra/build/products/sjsas/build.properties deleted file mode 100644 index 6c03427c9a9b..000000000000 --- a/nbbuild/installer/infra/build/products/sjsas/build.properties +++ /dev/null @@ -1,200 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/sjsas - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=sjsas -product.version=2.1.1.${sjsas.milestone.number}.${sjsas.build.number} -#product.platforms= - will be overriden, as we need to build several times -# for several platforms - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=10000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri.prefix.en=${glassfish.builds.host}/java/re/glassfish_branch/2.1.1/promoted/fcs/b${sjsas.milestone.number.real}/bundles -product.data.1.uri.prefix.ml=${glassfish.builds.host}/java/re/glassfish_branch/2.1.1/promoted/fcs/b${sjsas.milestone.number.real}/l10n-nb -product.data.1.uri.prefix=${product.data.1.uri.prefix.${sjsas.build.suffix}} - -product.data.1.file.suffix.en= -product.data.1.file.suffix.ml=-ml -product.data.1.file.suffix=${product.data.1.file.suffix.${sjsas.build.suffix}} - -product.data.1.uri.windows=${product.data.1.uri.prefix}/appserver_install_image-windows-b${sjsas.milestone.number.real}${product.data.1.file.suffix}.zip -product.data.1.uri.linux=${product.data.1.uri.prefix}/appserver_install_image-linux-b${sjsas.milestone.number.real}${product.data.1.file.suffix}.zip -product.data.1.uri.solaris-x86=${product.data.1.uri.prefix}/appserver_install_image-solaris-i586-b${sjsas.milestone.number.real}${product.data.1.file.suffix}.zip -product.data.1.uri.solaris-sparc=${product.data.1.uri.prefix}/appserver_install_image-solaris-b${sjsas.milestone.number.real}${product.data.1.file.suffix}.zip -product.data.1.uri.macosx=${product.data.1.uri.prefix}/appserver_install_image-mac-b${sjsas.milestone.number.real}${product.data.1.file.suffix}.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=1 -product.install-afters.1.uid=nb-base - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=1 -product.properties.1.name=installation.location -product.properties.1.value.windows=$E{SystemDrive}/Sun/AppServer -product.properties.1.value.linux=$N{install}/SUNWappserver -product.properties.1.value.solaris-sparc=$N{install}/SUNWappserver -product.properties.1.value.solaris-x86=$N{install}/SUNWappserver -product.properties.1.value.macosx=$N{install}/SUNWappserver - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=v2.1.1 - - -#SJSAS Image properties -sjsas.image.token.installhome.windows=#INSTALL_HOME# -sjsas.image.token.installhomef.windows=#INSTALL_HOME_F# -sjsas.image.token.javahome.windows=#JAVA_HOME# -sjsas.image.token.javahomef.windows=#JAVA_HOME_F# -sjsas.image.token.hostname.windows=admin.host=.* -sjsas.image.token.adminuser.windows=#ADMIN_USERNAME# -sjsas.image.token.httpport.windows=8080 -sjsas.image.token.adminport.windows=4848 - -sjsas.image.token.installhome.linux=#INSTALL_HOME# -sjsas.image.token.javahome.linux=#JAVA_HOME# -sjsas.image.token.hostname.linux=admin.host=.* -sjsas.image.token.adminuser.linux=#ADMIN_USERNAME# -sjsas.image.token.httpport.linux=8080 -sjsas.image.token.adminport.linux=4848 - -sjsas.image.token.installhome.solaris-x86=#INSTALL_HOME# -sjsas.image.token.javahome.solaris-x86=#JAVA_HOME# -sjsas.image.token.hostname.solaris-x86=admin.host=.* -sjsas.image.token.adminuser.solaris-x86=#ADMIN_USERNAME# -sjsas.image.token.httpport.solaris-x86=8080 -sjsas.image.token.adminport.solaris-x86=4848 - -sjsas.image.token.installhome.solaris-sparc=#INSTALL_HOME# -sjsas.image.token.javahome.solaris-sparc=#JAVA_HOME# -sjsas.image.token.hostname.solaris-sparc=admin.host=.* -sjsas.image.token.adminuser.solaris-sparc=#ADMIN_USERNAME# -sjsas.image.token.httpport.solaris-sparc=8080 -sjsas.image.token.adminport.solaris-sparc=4848 - -sjsas.image.token.installhome.macosx=#INSTALL_HOME# -sjsas.image.token.javahome.macosx=#JAVA_HOME# -sjsas.image.token.hostname.macosx=admin.host=.* -sjsas.image.token.adminuser.macosx=#ADMIN_USERNAME# -sjsas.image.token.httpport.macosx=8080 -sjsas.image.token.adminport.macosx=4848 - -sjsas.image.token.installhome=%INSTALL_HOME% -sjsas.image.token.installhomef=%INSTALL_HOME_F% -sjsas.image.token.javahome=%JAVA_HOME% -sjsas.image.token.javahomef=%JAVA_HOME_F% -sjsas.image.token.hostname=admin.host=%HOST_NAME% -sjsas.image.token.adminuser=%ADMIN_USER_NAME% -sjsas.image.token.httpport=%HTTP_PORT% -sjsas.image.token.adminport=%ADMIN_PORT% diff --git a/nbbuild/installer/infra/build/products/sjsas/build.xml b/nbbuild/installer/infra/build/products/sjsas/build.xml deleted file mode 100644 index dee6d071bf28..000000000000 --- a/nbbuild/installer/infra/build/products/sjsas/build.xml +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/tomcat/build.properties b/nbbuild/installer/infra/build/products/tomcat/build.properties deleted file mode 100644 index 3cf8c5586edf..000000000000 --- a/nbbuild/installer/infra/build/products/tomcat/build.properties +++ /dev/null @@ -1,137 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/tomcat - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=tomcat -product.version=${tomcat.full.version} -product.platforms=windows linux solaris-sparc solaris-x86 macosx-ppc macosx-x86 - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=20000 -product.expand=false -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=${binary.cache.host}/tomcat/apache-tomcat-${tomcat.version}.zip -product.data.1.zip=true - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid= -#product.requirements.1.version-lower= -#product.requirements.1.version-upper= - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=2 -product.properties.1.name=installation.location.windows -product.properties.1.value=$E{ProgramFiles}/Apache Software Foundation/Apache Tomcat ${tomcat.version} -product.properties.2.name=installation.location -product.properties.2.value=$N{install}/apache-tomcat-${tomcat.version} - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=1 -sources.params.1.token={display-version} -sources.params.1.value=${tomcat.version} diff --git a/nbbuild/installer/infra/build/products/tomcat/build.xml b/nbbuild/installer/infra/build/products/tomcat/build.xml deleted file mode 100644 index 38da6abfb1e7..000000000000 --- a/nbbuild/installer/infra/build/products/tomcat/build.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - - diff --git a/nbbuild/installer/infra/build/products/weblogic/build.properties b/nbbuild/installer/infra/build/products/weblogic/build.properties deleted file mode 100644 index e11a58ff0b53..000000000000 --- a/nbbuild/installer/infra/build/products/weblogic/build.properties +++ /dev/null @@ -1,161 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# path to the directory where the base build scripts library and properties -# reside -common.dir=../../../../../nbi/infra/build/.common - -# path to the local working directory; this directory which will be the target -# for checking out the sources and will be used for the build process -# * this path can be either absolute or relative in any unix environment, -# however, only relative paths are supported on windows, as the cygwin scp -# command does not properly handle colon in local paths -work.dir=./build - -# path to the local distributive directory; this directory will contain the -# distributive file, when (if) the build script finishes successfully -dist.dir=./dist - -# path to the products's sources within the cvs module; it should be a relative -# path from the module's root, e.g. for 'nbi/engine', where 'nbi is the module -# name, the path should be 'engine' -cvs.path=components/products/weblogic - -# core product properties: -# * ${product.uid} - product "family" (e.g. nb-ide) -# * ${product.version} - actual products' version; together with the uid it -# forms the unique identifier for the product) -# * ${product.platforms} - the list of platforms that are supported by this -# product (note that this property is not related to native libraries) -product.uid=weblogic -product.version=${weblogic.full.version} -product.platforms=windows linux - -# miscellaneous product properties: -# * ${product.status} - default status that the product will have in the -# registry. it is meant to be always "not-installed", unless you want -# something really exotic -# * ${product.offset} - order of the product's node among its parent's -# children, the bigger the offset value, the further the product's node will -# be -# * ${product.expand} - whether to automatically expand the product's node in -# the components tree or not; 'true'/'false' -# * ${product.visible} - whether the product's node is visible or not (note -# that this value will be modified at nbi runtime, 'true' may become 'false' -# if the product is filtered out); 'true'/'false' -# * ${product.features} - list of features that this porduct belongs to; the -# list should be space-separated -product.status=not-installed -product.offset=25000 -product.expand=true -product.visible=true -product.features= - -# list of configuration logic jar files; normally the first one would be the -# distributive file of the product's netbeans project -# * ${product.logic.length} - total number of the files -# * indices should start with 1 -product.logic.length=1 -product.logic.1.uri=file:${nbproject.dist.dir}/${nbproject.dist.file.name} - -# list of product installation data files -# * ${product.data.length} - total number of the files -# * ${product.data.N.uri} - uri at which the installation data file is located -# * ${product.data.N.zip} - whether the data file is a zip archive which needs to -# be extracted or it is a file that should be used directly; 'true'/'false' -# * indices should start with 1 -product.data.length=1 -product.data.1.uri=http://home.us.oracle.com/results/release/src1212/wls_quick1212_generic.jar -product.data.1.zip=false - - -# modificator for the required disk space parameter; the core value will be the -# sum of unzipped unstallation data files -# * the measurement unit is one byte -product.disk.space.modificator=0 - -# product's requirements (i.e. other products that should be installed -# in order for this product to succesfully install and function) -# * ${product.requirements.length} - total number of the requirements -# * indices should start with 1 -product.requirements.length=0 -#product.requirements.1.uid=nb-base -#product.requirements.1.version-lower=${nb.full.version} -#product.requirements.1.version-upper=${nb.full.version} -#product.requirements.2.uid=nb-javaee -#product.requirements.2.version-lower=${nb.full.version} -#product.requirements.2.version-upper=${nb.full.version} - -# product's conflicts (i.e. other products that prevent this product from -# functioning correctly, and thus cannot be installed together with it) -# * ${product.conflicts.length} - total number of the conflicts -# * indices should start with 1 -product.conflicts.length=0 -#product.conflicts.1.uid= -#product.conflicts.1.version-lower= -#product.conflicts.1.version-upper= - -# other products that should be installed prior to this product; these -# dependencies do not imply that the dependent product will be installed at -# all, but if both the current and the dependent product are selected for -# installation, the latter will be installed first -# * ${product.install-afters.length} - total number of the install-afters -# * indices should start with 1 -product.install-afters.length=0 -#product.install-afters.1.uid= - -# additional product's properties; these will appear in the product's -# descriptor and in the registry in the form of -# value tags. -# * ${product.properties.length} - total number of the properties -# * indices should start with 1 -# * properties are not i18n compliant -product.properties.length=10 -product.properties.1.name=installation.location -product.properties.1.value=$N{install}/Oracle/Middleware/ -product.properties.2.name=installation.location.windows -product.properties.2.value=$E{SystemDrive}/Oracle/Middleware -product.properties.3.name=domain.installation.subdir -product.properties.3.value=$N{install}/Oracle/Middleware/user_projects/domains -product.properties.3.name=domain.installation.subdir.windows -product.properties.3.value=$E{SystemDrive}/Oracle/Middleware/user_projects/domains -product.properties.4.name=minimum.jdk.version -product.properties.4.value=1.6.0 -product.properties.5.name=maximum.jdk.version -product.properties.5.value=1.7.99 -product.properties.6.name=preferred.jdk.version.macosx -product.properties.6.value=1.6.0.20.0 -product.properties.7.name=vendor.jdk.allowed.pattern -product.properties.7.value=.* -product.properties.8.name=vendor.jdk.allowed.pattern.macosx -product.properties.8.value=Apple.* -product.properties.9.name=installation.location.macosx -product.properties.9.value=$N{home}/Oracle/Middleware -product.properties.10.name=domain.installation.subdir.macosx -product.properties.10.value=$N{home}/Oracle/Middleware/user_projects/domains - -# sources parameters; a search-and-replace will be run over the sources after -# check-out, replacing [token] => [value]; regular expressions are not allowed -# * ${sources.params.length} - total number of the parameters -# * indices should start with 1 -# * parameters are not i18n compliant -sources.params.length=2 -sources.params.1.token={display-version} -sources.params.1.value=${weblogic.version} -sources.params.2.token={wls-installer-file} -sources.params.2.value=wls_quick1212_generic.jar diff --git a/nbbuild/installer/infra/build/products/weblogic/build.xml b/nbbuild/installer/infra/build/products/weblogic/build.xml deleted file mode 100644 index df44f35c60f4..000000000000 --- a/nbbuild/installer/infra/build/products/weblogic/build.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - In order to 'clean', 'checkout' and 'build' the group use the - 'build-all' target. To 'clean', 'checkout', 'build' and - 'release' - use 'release-all'. - - For more details, please see the source of this build script. - - -