directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373766 - in /directory/trunks/apacheds: ./ tools/ tools/src/main/java/org/apache/directory/ tools/src/main/java/org/apache/directory/server/ tools/src/main/java/org/apache/directory/server/tools/ tools/src/main/java/org/apache/ldap/server/...
Date Tue, 31 Jan 2006 08:58:17 GMT
Author: akarasulu
Date: Tue Jan 31 00:58:10 2006
New Revision: 373766

URL: http://svn.apache.org/viewcvs?rev=373766&view=rev
Log:
changes ....

 o cleaning up tools and preparing it for on executable jar that will run 
   various commands using commons CLI
 o pkgs, gid, and aid have been changed


Added:
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/
      - copied from r373757, directory/trunks/apacheds/tools/src/main/java/org/apache/ldap/server/dumptool/
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/Notifications.java
      - copied, changed from r373757, directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Removed:
    directory/trunks/apacheds/tools/src/main/java/org/apache/ldap/server/dumptool/
    directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Modified:
    directory/trunks/apacheds/pom.xml
    directory/trunks/apacheds/tools/pom.xml
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/DumpTool.java
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/GracefulShutdown.java
    directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/LaunchDiagnosticUi.java

Modified: directory/trunks/apacheds/pom.xml
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/pom.xml?rev=373766&r1=373765&r2=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/pom.xml (original)
+++ directory/trunks/apacheds/pom.xml Tue Jan 31 00:58:10 2006
@@ -52,6 +52,7 @@
 
   <modules>
     <module>core</module>
+    <module>tools</module>
     <module>shared</module>
     <module>plugin</module>
     <module>core-unit</module>

Modified: directory/trunks/apacheds/tools/pom.xml
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/pom.xml?rev=373766&r1=373765&r2=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/pom.xml (original)
+++ directory/trunks/apacheds/tools/pom.xml Tue Jan 31 00:58:10 2006
@@ -6,8 +6,12 @@
     <artifactId>build</artifactId>
     <version>0.9.4-SNAPSHOT</version>
   </parent>
-  <artifactId>org.apache.ldap.server.dumptool</artifactId>
-  <name>apacheds-dumptool</name>
+  <artifactId>apacheds-tools</artifactId>
+  <name>Apache Directory Server Tools</name>
+  <description>
+    Contained within this executable jar are various commandline utilities
+    for apacheds.
+  </description>
   <packaging>jar</packaging>  
   <dependencies>
     <dependency>
@@ -19,6 +23,11 @@
       <groupId>org.slf4j</groupId>
       <artifactId>nlog4j</artifactId>
       <version>1.2.19</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-cli</groupId>
+      <artifactId>commons-cli</artifactId>
+      <version>1.0</version>
     </dependency>
   </dependencies>
 </project>

Modified: directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/DumpTool.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/DumpTool.java?rev=373766&r1=373757&r2=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/DumpTool.java
(original)
+++ directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/DumpTool.java
Tue Jan 31 00:58:10 2006
@@ -1,4 +1,4 @@
-package org.apache.ldap.server.dumptool;
+package org.apache.directory.server.tools;
 
 
 import java.io.File;

Modified: directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/GracefulShutdown.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/GracefulShutdown.java?rev=373766&r1=373757&r2=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/GracefulShutdown.java
(original)
+++ directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/GracefulShutdown.java
Tue Jan 31 00:58:10 2006
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.ldap.server.dumptool;
+package org.apache.directory.server.tools;
 
 
 import java.util.Hashtable;

Modified: directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/LaunchDiagnosticUi.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/LaunchDiagnosticUi.java?rev=373766&r1=373757&r2=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/LaunchDiagnosticUi.java
(original)
+++ directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/LaunchDiagnosticUi.java
Tue Jan 31 00:58:10 2006
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.ldap.server.dumptool;
+package org.apache.directory.server.tools;
 
 
 import java.util.Hashtable;

Copied: directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/Notifications.java
(from r373757, directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java)
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/Notifications.java?p2=directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/Notifications.java&p1=directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java&r1=373757&r2=373766&rev=373766&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
(original)
+++ directory/trunks/apacheds/tools/src/main/java/org/apache/directory/server/tools/Notifications.java
Tue Jan 31 00:58:10 2006
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.ldap.server.dumptool;
+package org.apache.directory.server.tools;
 
 
 import java.util.Hashtable;
@@ -39,7 +39,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class NotificationsExample implements UnsolicitedNotificationListener
+public class Notifications implements UnsolicitedNotificationListener
 {
     UnsolicitedNotification notification;
     boolean canceled = false;
@@ -56,7 +56,7 @@
         
         LdapContext ctx = new InitialLdapContext( env, null );
         ctx = ctx.newInstance( null );
-        UnsolicitedNotificationListener listener = new NotificationsExample();
+        UnsolicitedNotificationListener listener = new Notifications();
         ( ( EventContext ) ctx ).addNamingListener( "", SearchControls.SUBTREE_SCOPE, listener
);
         
         System.out.println( "Listening for notifications." );



Mime
View raw message