continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r592752 - /maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Date Wed, 07 Nov 2007 14:00:55 GMT
Author: evenisse
Date: Wed Nov  7 06:00:55 2007
New Revision: 592752

URL: http://svn.apache.org/viewvc?rev=592752&view=rev
Log:
[CONTINUUM-1540] Fix eraseDatabase method for datamanagement-cli

Modified:
    maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java

Modified: maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?rev=592752&r1=592751&r2=592752&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
(original)
+++ maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Wed Nov  7 06:00:55 2007
@@ -1958,21 +1958,21 @@
 
     public void eraseDatabase()
     {
+        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildDefinitionTemplate.class
);
+        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildResult.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ProjectGroup.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), Project.class );
+        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildDefinition.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), Schedule.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), Profile.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), Installation.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ScmResult.class );
-        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildResult.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), SystemConfiguration.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ProjectNotifier.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ProjectDeveloper.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ProjectDependency.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ChangeSet.class );
         PlexusJdoUtils.removeAll( getPersistenceManager(), ChangeFile.class );
-        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildDefinitionTemplate.class
);
-        PlexusJdoUtils.removeAll( getPersistenceManager(), BuildDefinition.class );
     }
 
     /**



Mime
View raw message