continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r219027 - in /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum: execution/maven/m2/DefaultMavenBuilderHelper.java utils/ProjectSorter.java
Date Thu, 14 Jul 2005 10:19:08 GMT
Author: jvanzyl
Date: Thu Jul 14 03:19:03 2005
New Revision: 219027

URL: http://svn.apache.org/viewcvs?rev=219027&view=rev
Log:
o fixing iterator in project sorter
o maybe need to do some adjusting for parent POMs but you can view the build
  order now. i will activate its use shortly.

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java?rev=219027&r1=219026&r2=219027&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
Thu Jul 14 03:19:03 2005
@@ -181,6 +181,8 @@
 
                 cd.setVersion( dependency.getVersion() );
 
+                System.out.println( "adding cd = " + cd );
+
                 dependencies.add( cd );
             }
 

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java?rev=219027&r1=219026&r2=219027&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java
Thu Jul 14 03:19:03 2005
@@ -66,11 +66,7 @@
 
             for ( Iterator j = project.getDependencies().iterator(); j.hasNext(); )
             {
-                Object o = i.next();
-
-                System.out.println( "o = " + o );
-
-                ContinuumDependency dependency = (ContinuumDependency) o;
+                ContinuumDependency dependency = (ContinuumDependency) j.next();
 
                 String dependencyId = getDependencyId( dependency );
 



Mime
View raw message