You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/05/07 17:58:00 UTC

svn commit: r169088 - in /directory/apacheds/trunk: core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java main/src/test/org/apache/ldap/server/AbstractServerTest.java project.properties project.xml

Author: akarasulu
Date: Sat May  7 08:58:00 2005
New Revision: 169088

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

 o to remedy the out of memory error with dist plugin and maven I added some
   garbage collection to abstract test cases in the tearDown methods
 o changed the unit tests to fork now (fixes out of mem error)
 o had to add artifact id to the parent of multiproject to correctly 
   generate the distro artifacts with the right name 


Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java
    directory/apacheds/trunk/main/src/test/org/apache/ldap/server/AbstractServerTest.java
    directory/apacheds/trunk/project.properties
    directory/apacheds/trunk/project.xml

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java?rev=169088&r1=169087&r2=169088&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractCoreTest.java Sat May  7 08:58:00 2005
@@ -211,6 +211,7 @@
     protected void tearDown() throws Exception
     {
         super.tearDown();
+
         Hashtable env = new Hashtable();
 
         env.put( Context.PROVIDER_URL, "ou=system" );
@@ -226,6 +227,8 @@
         try { new InitialContext( env ); } catch( Exception e ) {}
 
         sysRoot = null;
+
+        Runtime.getRuntime().gc();
     }
 
 

Modified: directory/apacheds/trunk/main/src/test/org/apache/ldap/server/AbstractServerTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/main/src/test/org/apache/ldap/server/AbstractServerTest.java?rev=169088&r1=169087&r2=169088&view=diff
==============================================================================
--- directory/apacheds/trunk/main/src/test/org/apache/ldap/server/AbstractServerTest.java (original)
+++ directory/apacheds/trunk/main/src/test/org/apache/ldap/server/AbstractServerTest.java Sat May  7 08:58:00 2005
@@ -169,6 +169,7 @@
     protected void tearDown() throws Exception
     {
         super.tearDown();
+
         Hashtable env = new Hashtable();
 
         env.put( Context.PROVIDER_URL, "ou=system" );
@@ -184,6 +185,8 @@
         try { new InitialContext( env ); } catch( Exception e ) {}
 
         sysRoot = null;
+
+        Runtime.getRuntime().gc();
     }
 
 

Modified: directory/apacheds/trunk/project.properties
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/project.properties?rev=169088&r1=169087&r2=169088&view=diff
==============================================================================
--- directory/apacheds/trunk/project.properties (original)
+++ directory/apacheds/trunk/project.properties Sat May  7 08:58:00 2005
@@ -1,3 +1,5 @@
+maven.junit.fork=yes
+
 maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
 maven.license.licenseFile=${basedir}/LICENSE.txt
 maven.xdoc.includeProjectDocumentation=no

Modified: directory/apacheds/trunk/project.xml
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/project.xml?rev=169088&r1=169087&r2=169088&view=diff
==============================================================================
--- directory/apacheds/trunk/project.xml (original)
+++ directory/apacheds/trunk/project.xml Sat May  7 08:58:00 2005
@@ -2,6 +2,7 @@
 
 <project>
     <groupId>directory</groupId>
+    <artifactId>apacheds</artifactId>
     <currentVersion>0.9-SNAPSHOT</currentVersion>
     <name>Apache Directory Project</name>
     <url>http://directory.apache.org</url>