geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r355027 - /geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java
Date Thu, 08 Dec 2005 07:35:01 GMT
Author: dblevins
Date: Wed Dec  7 23:34:56 2005
New Revision: 355027

URL: http://svn.apache.org/viewcvs?rev=355027&view=rev
Log:
Had the array indexes all wrong

Modified:
    geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java

Modified: geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java?rev=355027&r1=355026&r2=355027&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java
(original)
+++ geronimo/gbuild/trunk/gbuild-report/src/main/java/org/apache/geronimo/gbuild/report/WorkDirReport.java
Wed Dec  7 23:34:56 2005
@@ -44,14 +44,14 @@
         }
 
         // work directory
-        File workDir = new File(args[1]);
+        File workDir = new File(args[0]);
         if (workDir.exists() && !workDir.isDirectory()) {
             System.out.println("workDir is not a directory: " + workDir.getAbsolutePath());
             return;
         }
 
         // output directory
-        File outputDir = new File(args[3]);
+        File outputDir = new File(args[1]);
         if (!outputDir.exists()) {
             if (!outputDir.mkdirs()) {
                 System.out.println("Could not create outputDir: " + outputDir.getAbsolutePath());



Mime
View raw message