continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r165414 - in /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum: Continuum.java DefaultContinuum.java builder/ant/AntBuilder.java builder/maven/m1/Maven1Builder.java builder/maven/m2/MavenShellBuilder.java builder/shell/ShellBuilder.java
Date Sat, 30 Apr 2005 18:58:38 GMT
Author: jvanzyl
Date: Sat Apr 30 11:58:38 2005
New Revision: 165414

URL: http://svn.apache.org/viewcvs?rev=165414&view=rev
Log:
o adding ID constants to each of the builders and using them Continuum
  component.

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/Continuum.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/ant/AntBuilder.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m1/Maven1Builder.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m2/MavenShellBuilder.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/shell/ShellBuilder.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/Continuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/Continuum.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/Continuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/Continuum.java
Sat Apr 30 11:58:38 2005
@@ -29,6 +29,7 @@
 import org.apache.maven.continuum.project.MavenTwoProject;
 import org.apache.maven.continuum.project.ShellProject;
 import org.apache.maven.continuum.store.ContinuumStoreException;
+import org.apache.maven.project.MavenProject;
 
 /**
  * This is the main entry point for Continuum. Projects are added to Continuum

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Sat Apr 30 11:58:38 2005
@@ -464,7 +464,7 @@
         configuration.setProperty( AntBuilder.CONFIGURATION_TARGETS, project.getTargets()
);
 
         addProjectFromScm( project.getScmUrl(),
-                           "ant",
+                           AntBuilder.ID,
                            project.getName(),
                            project.getNagEmailAddress(),
                            project.getVersion(),
@@ -515,7 +515,7 @@
         configuration.setProperty( Maven1Builder.CONFIGURATION_GOALS, project.getGoals()
);
 
         addProjectFromScm( project.getScmUrl(),
-                           "maven-1",
+                           Maven1Builder.ID,
                            project.getName(),
                            project.getNagEmailAddress(),
                            project.getVersion(),
@@ -556,7 +556,7 @@
         configuration.setProperty( MavenShellBuilder.CONFIGURATION_GOALS, project.getGoals()
);
 
         addProjectFromScm( project.getScmUrl(),
-                           "maven2",
+                           MavenShellBuilder.ID,
                            project.getName(),
                            project.getNagEmailAddress(),
                            project.getVersion(),
@@ -602,7 +602,7 @@
         }
 
         addProjectFromScm( project.getScmUrl(),
-                           "shell",
+                           ShellBuilder.ID,
                            project.getName(),
                            project.getNagEmailAddress(),
                            project.getVersion(),

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/ant/AntBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/ant/AntBuilder.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/ant/AntBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/ant/AntBuilder.java
Sat Apr 30 11:58:38 2005
@@ -40,6 +40,8 @@
 
     public static final String CONFIGURATION_TARGETS = "targets";
 
+    public static final String ID = "ant";
+
     /** @requirement */
     private ShellCommandHelper shellCommandHelper;
 

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m1/Maven1Builder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m1/Maven1Builder.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m1/Maven1Builder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m1/Maven1Builder.java
Sat Apr 30 11:58:38 2005
@@ -43,6 +43,8 @@
 {
     public final static String CONFIGURATION_GOALS = "goals";
 
+    public final static String ID = "maven-1";
+
     /** @requirement */
     private ShellCommandHelper shellCommandHelper;
 

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m2/MavenShellBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m2/MavenShellBuilder.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m2/MavenShellBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/maven/m2/MavenShellBuilder.java
Sat Apr 30 11:58:38 2005
@@ -33,6 +33,8 @@
 {
     public final static String CONFIGURATION_GOALS = "goals";
 
+    public final static String ID = "maven2";
+
     /** @requirement */
     private MavenBuilderHelper builderHelper;
 

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/shell/ShellBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/shell/ShellBuilder.java?rev=165414&r1=165413&r2=165414&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/shell/ShellBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builder/shell/ShellBuilder.java
Sat Apr 30 11:58:38 2005
@@ -37,6 +37,8 @@
 
     public final static String CONFIGURATION_ARGUMENTS = "arguments";
 
+    public final static String ID = "shell";
+
     /** @requirement */
     private ShellCommandHelper shellCommandHelper;
 



Mime
View raw message