directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r463438 - in /directory/trunks: apacheds/core-plugin/ apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/ apacheds/kerberos-shared/ apacheds/osgi/antlr-osgi/ apacheds/osgi/mina-core-osgi/ apacheds/osgi/mina-filter-cod...
Date Thu, 12 Oct 2006 21:27:08 GMT
Author: ersiner
Date: Thu Oct 12 14:27:05 2006
New Revision: 463438

URL: http://svn.apache.org/viewvc?view=rev&rev=463438
Log:
Upgraded all interdependencies to latest versions.
Moved trigger related test resources from resource dir to test dir.

Added:
    directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/BackupUtilities.java
    directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/LoggingUtilities.java
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BackupUtilities.java
Modified:
    directory/trunks/apacheds/core-plugin/pom.xml
    directory/trunks/apacheds/kerberos-shared/pom.xml
    directory/trunks/apacheds/osgi/antlr-osgi/pom.xml
    directory/trunks/apacheds/osgi/mina-core-osgi/pom.xml
    directory/trunks/apacheds/osgi/mina-filter-codec-asn1-osgi/pom.xml
    directory/trunks/apacheds/osgi/protocol-changepw-osgi/pom.xml
    directory/trunks/apacheds/osgi/protocol-dns-osgi/pom.xml
    directory/trunks/apacheds/osgi/protocol-kerberos-osgi/pom.xml
    directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml
    directory/trunks/apacheds/osgi/protocol-ntp-osgi/pom.xml
    directory/trunks/apacheds/protocol-dhcp/pom.xml
    directory/trunks/apacheds/protocol-dns/pom.xml
    directory/trunks/apacheds/protocol-ldap/pom.xml
    directory/trunks/apacheds/protocol-ntp/pom.xml
    directory/trunks/apacheds/server-installers/pom.xml
    directory/trunks/apacheds/server-jndi/pom.xml
    directory/trunks/apacheds/server-sasl/pom.xml
    directory/trunks/apacheds/server-ssl/pom.xml
    directory/trunks/apacheds/server-tools/pom.xml
    directory/trunks/apacheds/server-tools/src/main/manifest/MANIFEST.MF
    directory/trunks/daemon/pom.xml
    directory/trunks/mina/pom.xml
    directory/trunks/shared/asn1-codec/pom.xml
    directory/trunks/shared/ldap/pom.xml
    directory/trunks/shared/pom.xml

Modified: directory/trunks/apacheds/core-plugin/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-plugin/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/core-plugin/pom.xml (original)
+++ directory/trunks/apacheds/core-plugin/pom.xml Thu Oct 12 14:27:05 2006
@@ -27,7 +27,7 @@
     <dependency>
       <groupId>antlr</groupId>
       <artifactId>antlr</artifactId>
-      <version>2.7.2</version>
+      <version>2.7.6</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Added: directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/BackupUtilities.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/BackupUtilities.java?view=auto&rev=463438
==============================================================================
--- directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/BackupUtilities.java
(added)
+++ directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/BackupUtilities.java
Thu Oct 12 14:27:05 2006
@@ -0,0 +1,20 @@
+package org.apache.directory.server.core.trigger;
+
+import javax.naming.Name;
+import javax.naming.NamingException;
+import javax.naming.directory.Attributes;
+import javax.naming.ldap.LdapContext;
+
+
+public class BackupUtilities
+{
+    public static void backupDeleted( LdapContext ctx, Name deletedEntryName, Name operationPrincipal,
Attributes deletedEntry ) throws NamingException
+    {
+        System.out.println( "User \"" + operationPrincipal + "\" has deleted entry \"" +
deletedEntryName + "\"" );
+        System.out.println( "Entry content was: " + deletedEntry );
+        LdapContext backupCtx = ( LdapContext ) ctx.lookup( "ou=backupContext,ou=system"
);
+        String deletedEntryRdn = deletedEntryName.get( deletedEntryName.size() - 1 );
+        backupCtx.createSubcontext( deletedEntryRdn, deletedEntry );
+        System.out.println( "Backed up deleted entry to \"" + ( ( LdapContext ) backupCtx.lookup(
deletedEntryRdn ) ).getNameInNamespace() + "\"" );
+    }
+}

Added: directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/LoggingUtilities.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/LoggingUtilities.java?view=auto&rev=463438
==============================================================================
--- directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/LoggingUtilities.java
(added)
+++ directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/trigger/LoggingUtilities.java
Thu Oct 12 14:27:05 2006
@@ -0,0 +1,14 @@
+package org.apache.directory.server.core.trigger;
+
+import javax.naming.Name;
+import javax.naming.NamingException;
+import javax.naming.ldap.LdapContext;
+
+
+public class LoggingUtilities
+{
+    public static void logWarningForDeletedEntry( Name deletedEntryName, Name operationPrincipal
) throws NamingException
+    {
+        System.out.println( "User \"" + operationPrincipal + "\" is about to delete entry
\"" + deletedEntryName + "\"." );
+    }
+}

Modified: directory/trunks/apacheds/kerberos-shared/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/kerberos-shared/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/kerberos-shared/pom.xml (original)
+++ directory/trunks/apacheds/kerberos-shared/pom.xml Thu Oct 12 14:27:05 2006
@@ -21,7 +21,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Modified: directory/trunks/apacheds/osgi/antlr-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/antlr-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/antlr-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/antlr-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -16,7 +16,7 @@
     <dependency>
       <groupId>antlr</groupId>
       <artifactId>antlr</artifactId>
-      <version>2.7.2</version>
+      <version>2.7.6</version>
     </dependency>
   </dependencies>
   <build>

Modified: directory/trunks/apacheds/osgi/mina-core-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/mina-core-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/mina-core-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/mina-core-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,12 +22,12 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-filter-ssl</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
   <build>

Modified: directory/trunks/apacheds/osgi/mina-filter-codec-asn1-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/mina-filter-codec-asn1-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/mina-filter-codec-asn1-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/mina-filter-codec-asn1-osgi/pom.xml Thu Oct 12 14:27:05
2006
@@ -34,13 +34,13 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-filter-codec-asn1</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
   <build>

Modified: directory/trunks/apacheds/osgi/protocol-changepw-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-changepw-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-changepw-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-changepw-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: directory/trunks/apacheds/osgi/protocol-dns-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-dns-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-dns-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-dns-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: directory/trunks/apacheds/osgi/protocol-kerberos-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-kerberos-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-kerberos-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-kerberos-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-ldap-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,19 +22,19 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.5-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-filter-ssl</artifactId>
-      <version>0.9.5-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-filter-codec-asn1</artifactId>
-      <version>0.9.5-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: directory/trunks/apacheds/osgi/protocol-ntp-osgi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/osgi/protocol-ntp-osgi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/osgi/protocol-ntp-osgi/pom.xml (original)
+++ directory/trunks/apacheds/osgi/protocol-ntp-osgi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>0.9.4-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Modified: directory/trunks/apacheds/protocol-dhcp/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-dhcp/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/protocol-dhcp/pom.xml (original)
+++ directory/trunks/apacheds/protocol-dhcp/pom.xml Thu Oct 12 14:27:05 2006
@@ -28,7 +28,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Modified: directory/trunks/apacheds/protocol-dns/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-dns/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/protocol-dns/pom.xml (original)
+++ directory/trunks/apacheds/protocol-dns/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Modified: directory/trunks/apacheds/protocol-ldap/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-ldap/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/protocol-ldap/pom.xml (original)
+++ directory/trunks/apacheds/protocol-ldap/pom.xml Thu Oct 12 14:27:05 2006
@@ -27,7 +27,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-filter-ssl</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Modified: directory/trunks/apacheds/protocol-ntp/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-ntp/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/protocol-ntp/pom.xml (original)
+++ directory/trunks/apacheds/protocol-ntp/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.apache.directory.server</groupId>

Modified: directory/trunks/apacheds/server-installers/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-installers/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-installers/pom.xml (original)
+++ directory/trunks/apacheds/server-installers/pom.xml Thu Oct 12 14:27:05 2006
@@ -21,7 +21,7 @@
     <dependency>
       <groupId>org.apache.directory.daemon</groupId>
       <artifactId>daemon-bootstrappers</artifactId>
-      <version>1.0-RC3-SNAPSHOT</version>
+      <version>1.0.1-SNAPSHOT</version>
       <scope>provided</scope>
     </dependency>  
     <dependency>
@@ -75,7 +75,7 @@
       <plugin>
         <groupId>org.apache.directory.daemon</groupId>
         <artifactId>daemon-plugin</artifactId>
-        <version>1.0-RC3-SNAPSHOT</version>
+        <version>1.0.1-SNAPSHOT</version>
         <configuration>
           <excludes>
 

Modified: directory/trunks/apacheds/server-jndi/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-jndi/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-jndi/pom.xml (original)
+++ directory/trunks/apacheds/server-jndi/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,6 +22,12 @@
       <scope>provided</scope>
     </dependency>  
     <dependency>
+      <groupId>backport-util-concurrent</groupId>
+      <artifactId>backport-util-concurrent</artifactId>
+      <version>2.2</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
       <groupId>org.apache.directory.server</groupId>
       <artifactId>apacheds-protocol-changepw</artifactId>
       <version>${pom.version}</version>

Modified: directory/trunks/apacheds/server-sasl/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-sasl/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-sasl/pom.xml (original)
+++ directory/trunks/apacheds/server-sasl/pom.xml Thu Oct 12 14:27:05 2006
@@ -43,7 +43,7 @@
     <dependency>
       <groupId>org.apache.directory.mina</groupId>
       <artifactId>mina-filter-ssl</artifactId>
-      <version>0.9.5-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
 </project>

Modified: directory/trunks/apacheds/server-ssl/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-ssl/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-ssl/pom.xml (original)
+++ directory/trunks/apacheds/server-ssl/pom.xml Thu Oct 12 14:27:05 2006
@@ -33,7 +33,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-filter-ssl</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
   </dependencies>
 

Modified: directory/trunks/apacheds/server-tools/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-tools/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-tools/pom.xml (original)
+++ directory/trunks/apacheds/server-tools/pom.xml Thu Oct 12 14:27:05 2006
@@ -22,7 +22,7 @@
     <dependency>
       <groupId>org.apache.directory.daemon</groupId>
       <artifactId>daemon-bootstrappers</artifactId>
-      <version>1.0-RC3</version>
+      <version>1.0.1-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>commons-cli</groupId>

Modified: directory/trunks/apacheds/server-tools/src/main/manifest/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-tools/src/main/manifest/MANIFEST.MF?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/apacheds/server-tools/src/main/manifest/MANIFEST.MF (original)
+++ directory/trunks/apacheds/server-tools/src/main/manifest/MANIFEST.MF Thu Oct 12 14:27:05
2006
@@ -1,7 +1,7 @@
 Manifest-Version: 1.0
 Main-Class: org.apache.directory.server.tools.ApachedsTools
 Class-Path: logger.jar daemon.jar bootstrapper.jar 
- ../lib/antlr-2.7.2.jar 
+ ../lib/antlr-2.7.4.jar 
  ../lib/apacheds-kerberos-shared-1.1.0-SNAPSHOT.jar 
  ../lib/apacheds-protocol-changepw-1.1.0-SNAPSHOT.jar 
  ../lib/apacheds-protocol-shared-1.1.0-SNAPSHOT.jar 
@@ -18,14 +18,14 @@
  ../lib/commons-cli-1.0.jar 
  ../lib/jdbm-1.0.jar 
  ../lib/lcrypto-jdk14-131.jar 
- ../lib/mina-core-0.9.5-SNAPSHOT.jar 
- ../lib/mina-filter-codec-asn1-0.9.5-SNAPSHOT.jar 
- ../lib/mina-filter-ssl-0.9.5-SNAPSHOT.jar 
+ ../lib/mina-core-1.1.0-SNAPSHOT.jar 
+ ../lib/shared-asn1-codec-0.9.6-SNAPSHOT.jar 
+ ../lib/mina-filter-ssl-1.1.0-SNAPSHOT.jar 
  ../lib/oro-2.0.8.jar 
  ../lib/shared-asn1-0.9.6-SNAPSHOT.jar 
  ../lib/shared-ldap-0.9.6-SNAPSHOT.jar 
- ../lib/spring-beans-1.2.1.jar 
- ../lib/spring-context-1.2.1.jar 
- ../lib/spring-core-1.2.1.jar 
+ ../lib/spring-beans-1.2.8.jar 
+ ../lib/spring-context-1.2.8.jar 
+ ../lib/spring-core-1.2.8.jar 
 Specification-Title: apacheds-tools
 Specification-Version: 1.0

Added: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BackupUtilities.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BackupUtilities.java?view=auto&rev=463438
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BackupUtilities.java
(added)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/BackupUtilities.java
Thu Oct 12 14:27:05 2006
@@ -0,0 +1,39 @@
+/*
+ *  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.apache.directory.server;
+
+import javax.naming.Name;
+import javax.naming.NamingException;
+import javax.naming.directory.Attributes;
+import javax.naming.ldap.LdapContext;
+
+
+public class BackupUtilities
+{
+    public static void backupDeleted( LdapContext ctx, Name deletedEntryName, Name operationPrincipal,
Attributes deletedEntry ) throws NamingException
+    {
+        System.out.println( "User \"" + operationPrincipal + "\" has deleted entry \"" +
deletedEntryName + "\"" );
+        System.out.println( "Entry content was: " + deletedEntry );
+        LdapContext backupCtx = ( LdapContext ) ctx.lookup( "ou=backupContext,ou=system"
);
+        String deletedEntryRdn = deletedEntryName.get( deletedEntryName.size() - 1 );
+        backupCtx.createSubcontext( deletedEntryRdn, deletedEntry );
+        System.out.println( "Backed up deleted entry to \"" + ( ( LdapContext ) backupCtx.lookup(
deletedEntryRdn ) ).getNameInNamespace() + "\"" );
+    }
+}

Modified: directory/trunks/daemon/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/daemon/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/daemon/pom.xml (original)
+++ directory/trunks/daemon/pom.xml Thu Oct 12 14:27:05 2006
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.directory</groupId>
     <artifactId>build</artifactId>
-    <version>1.0.5</version>
+    <version>1.0.6-SNAPSHOT</version>
   </parent>
   <groupId>org.apache.directory.daemon</groupId>
   <artifactId>build</artifactId>

Modified: directory/trunks/mina/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/mina/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/mina/pom.xml (original)
+++ directory/trunks/mina/pom.xml Thu Oct 12 14:27:05 2006
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.directory</groupId>
     <artifactId>build</artifactId>
-    <version>1.0.5-SNAPSHOT</version>
+    <version>1.0.6-SNAPSHOT</version>
   </parent>
   <groupId>org.apache.mina</groupId>
   <version>1.1.0-SNAPSHOT</version>

Modified: directory/trunks/shared/asn1-codec/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/shared/asn1-codec/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/shared/asn1-codec/pom.xml (original)
+++ directory/trunks/shared/asn1-codec/pom.xml Thu Oct 12 14:27:05 2006
@@ -20,7 +20,7 @@
     <dependency>
       <groupId>org.apache.mina</groupId>
       <artifactId>mina-core</artifactId>
-      <version>1.0-SNAPSHOT</version>
+      <version>1.1.0-SNAPSHOT</version>
     </dependency>
 
     <dependency>

Modified: directory/trunks/shared/ldap/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/shared/ldap/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/shared/ldap/pom.xml (original)
+++ directory/trunks/shared/ldap/pom.xml Thu Oct 12 14:27:05 2006
@@ -91,7 +91,7 @@
     <dependency>
       <groupId>antlr</groupId>
       <artifactId>antlr</artifactId>
-      <version>2.7.2</version>
+      <version>2.7.6</version>
     </dependency>
 
   </dependencies>

Modified: directory/trunks/shared/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/shared/pom.xml?view=diff&rev=463438&r1=463437&r2=463438
==============================================================================
--- directory/trunks/shared/pom.xml (original)
+++ directory/trunks/shared/pom.xml Thu Oct 12 14:27:05 2006
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.directory</groupId>
     <artifactId>build</artifactId>
-    <version>1.0.5-SNAPSHOT</version>
+    <version>1.0.6-SNAPSHOT</version>
   </parent>
   <groupId>org.apache.directory.shared</groupId>
   <artifactId>build</artifactId>



Mime
View raw message