continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r497922 - in /maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src: main/java/org/apache/maven/continuum/notification/wagon/ test/java/org/apache/maven/continuum/wagon/
Date Fri, 19 Jan 2007 19:45:06 GMT
Author: rinku
Date: Fri Jan 19 11:45:05 2007
New Revision: 497922

URL: http://svn.apache.org/viewvc?view=rev&rev=497922
Log:
o  ID related updates to Continuum facade, Configuration service and notifier Wagon

Modified:
    maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/main/java/org/apache/maven/continuum/notification/wagon/WagonContinuumNotifier.java
    maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/test/java/org/apache/maven/continuum/wagon/MockConfigurationService.java

Modified: maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/main/java/org/apache/maven/continuum/notification/wagon/WagonContinuumNotifier.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/main/java/org/apache/maven/continuum/notification/wagon/WagonContinuumNotifier.java?view=diff&rev=497922&r1=497921&r2=497922
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/main/java/org/apache/maven/continuum/notification/wagon/WagonContinuumNotifier.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/main/java/org/apache/maven/continuum/notification/wagon/WagonContinuumNotifier.java
Fri Jan 19 11:45:05 2007
@@ -293,7 +293,7 @@
         throws ContinuumException
     {
         File projectWorkingDir =
-            new File( configurationService.getWorkingDirectory(), Integer.toString( project.getId()
) );
+            new File( configurationService.getWorkingDirectory(), Long.toString( project.getId()
) );
         File pomFile = new File( projectWorkingDir, buildDefinition.getBuildFile() );
 
         MavenProject mavenProject = null;

Modified: maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/test/java/org/apache/maven/continuum/wagon/MockConfigurationService.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/test/java/org/apache/maven/continuum/wagon/MockConfigurationService.java?view=diff&rev=497922&r1=497921&r2=497922
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/test/java/org/apache/maven/continuum/wagon/MockConfigurationService.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-notifiers/continuum-notifier-wagon/src/test/java/org/apache/maven/continuum/wagon/MockConfigurationService.java
Fri Jan 19 11:45:05 2007
@@ -47,10 +47,10 @@
         return new File( basedir, "src/test/resources" + "/" + "build-output-directory" );
     }
     
-    public File getBuildOutputFile( int buildId, int projectId )
+    public File getBuildOutputFile( long buildId, long projectId )
         throws ConfigurationException
     {
-        File dir = new File( getBuildOutputDirectory(), Integer.toString( projectId ) );
+        File dir = new File( getBuildOutputDirectory(), Long.toString( projectId ) );
         
         if ( !dir.exists() && !dir.mkdirs() )
         {
@@ -145,7 +145,7 @@
     {
     }
 
-    public String getBuildOutput( int buildId, int projectId )
+    public String getBuildOutput( long buildId, long projectId )
         throws ConfigurationException
     {
         return null;



Mime
View raw message