From cae9e9d00630de0b91075af355555aaceed848d4 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 17 Aug 2007 10:12:18 +0000
Subject: [PATCH] Fix for issues 2099 and 2101 (add package-info.java file for the packages of the ADS and of guitools).
---
opendj-sdk/opends/src/ads/org/opends/admin/ads/package-info.java | 41 ++++++++
opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/package-info.java | 36 +++++++
opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/package-info.java | 36 +++++++
opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ui/package-info.java | 35 +++++++
opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/event/package-info.java | 35 +++++++
opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/ui/package-info.java | 35 +++++++
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/PackageInfoTestCase.java | 4
opendj-sdk/opends/src/ads/org/opends/admin/ads/util/package-info.java | 35 +++++++
8 files changed, 255 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/ads/org/opends/admin/ads/package-info.java b/opendj-sdk/opends/src/ads/org/opends/admin/ads/package-info.java
new file mode 100644
index 0000000..147fb68
--- /dev/null
+++ b/opendj-sdk/opends/src/ads/org/opends/admin/ads/package-info.java
@@ -0,0 +1,41 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the different classes that are you used to have a read-only
+ * view of the configuration of the servers that are registered in the
+ * Administration Directory Server (ADS).
+ *
+ * These includes objects that are used to represent the server and its
+ * configuration (<code>org.opends.admin.ads.ServerDescriptor</code>,
+ * <code>org.opends.admin.ads.ReplicaDescriptor</code>, etc.) and classes
+ * used to retrieve the information (like
+ * <code>org.opends.admin.ads.ADSContext</code>).
+ */
+package org.opends.admin.ads;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/package-info.java b/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/package-info.java
new file mode 100644
index 0000000..c3ea562
--- /dev/null
+++ b/opendj-sdk/opends/src/ads/org/opends/admin/ads/util/package-info.java
@@ -0,0 +1,35 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines a set of auxiliary classes and utilities that are used to
+ * retrieve the configuration of the servers that are registered in the
+ * Administration Directory Server (ADS).
+ */
+package org.opends.admin.ads.util;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/event/package-info.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/event/package-info.java
new file mode 100644
index 0000000..b9e7391
--- /dev/null
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/event/package-info.java
@@ -0,0 +1,35 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the specific event and listener classes that are you used in the
+ * code of the status and status-panel command lines.
+ *
+ */
+package org.opends.guitools.statuspanel.event;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/package-info.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/package-info.java
new file mode 100644
index 0000000..dc902d0
--- /dev/null
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/package-info.java
@@ -0,0 +1,36 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the main classes that are you used by the status and status-panel
+ * command lines. This includes the command line launchers, the classes
+ * that are used to retrieve the data, the data models that represent the
+ * status data.
+ * */
+package org.opends.guitools.statuspanel;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ui/package-info.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ui/package-info.java
new file mode 100644
index 0000000..0d66cea
--- /dev/null
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ui/package-info.java
@@ -0,0 +1,35 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the classes that are related to AWT and Swing for the code of
+ * the status-panel command line. This includes the dialogs that are
+ * displayed and the table data models.
+ */
+package org.opends.guitools.statuspanel.ui;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/package-info.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/package-info.java
new file mode 100644
index 0000000..8065765
--- /dev/null
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/package-info.java
@@ -0,0 +1,36 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the main classes that are you used by the uninstall and uninstall-gui
+ * command lines. This includes the command line launchers, the classes
+ * that are used to parse the arguments and the data models that represent the
+ * user data.
+ **/
+package org.opends.guitools.uninstaller;
\ No newline at end of file
diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/ui/package-info.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/ui/package-info.java
new file mode 100644
index 0000000..692feb9
--- /dev/null
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/uninstaller/ui/package-info.java
@@ -0,0 +1,35 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (the "License"). You may not use this file except in compliance
+ * with the License.
+ *
+ * You can obtain a copy of the license at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE
+ * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at
+ * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
+ * add the following below this CDDL HEADER, with the fields enclosed
+ * by brackets "[]" replaced with your own identifying information:
+ * Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ *
+ *
+ * Portions Copyright 2007 Sun Microsystems, Inc.
+ */
+
+
+
+/**
+ * Defines the classes that are related to AWT and Swing for the code of
+ * the uninstaller-gui command line. This includes basically the specific
+ * dialogs that are displayed in the graphical uninstaller.
+ */
+package org.opends.guitools.uninstaller.ui;
\ No newline at end of file
diff --git a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/PackageInfoTestCase.java b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/PackageInfoTestCase.java
index 118d32b..d0c9a54 100644
--- a/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/PackageInfoTestCase.java
+++ b/opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/PackageInfoTestCase.java
@@ -288,7 +288,7 @@
*
* @param sourceDirectory The directory for which to make the determination.
*/
- @Test(enabled=false, dataProvider="adsSourceDirectories")
+ @Test(dataProvider="adsSourceDirectories")
public void testADSPackageInfoExists(File sourceDirectory)
throws Exception
{
@@ -348,7 +348,7 @@
*
* @param sourceDirectory The directory for which to make the determination.
*/
- @Test(enabled=false, dataProvider="guiToolsSourceDirectories")
+ @Test(dataProvider="guiToolsSourceDirectories")
public void testGUIToolsPackageInfoExists(File sourceDirectory)
throws Exception
{
--
Gitblit v1.10.0