commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jua...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/tools JDiff.java
Date Wed, 23 Apr 2003 23:32:11 GMT
juanco      2003/04/23 16:32:11

  Modified:    jrcs     build.xml
               jrcs/src/java/org/apache/commons/jrcs/tools JDiff.java
  Log:
  make ant build tools too
  
  Revision  Changes    Path
  1.8       +2 -1      jakarta-commons-sandbox/jrcs/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/build.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build.xml	21 Dec 2002 16:50:05 -0000	1.7
  +++ build.xml	23 Apr 2003 23:32:09 -0000	1.8
  @@ -179,6 +179,7 @@
              debug="on" optimize="on" deprecation="on" >
              <include name="**/jrcs/diff/**/*.java" />
              <include name="**/jrcs/util/**/*.java" />
  +           <include name="**/jrcs/tools/**/*.java" />
         <exclude name="**/*Test*.class" />
       </javac>
   
  
  
  
  1.2       +2 -10     jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/tools/JDiff.java
  
  Index: JDiff.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/tools/JDiff.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JDiff.java	28 May 2002 16:45:53 -0000	1.1
  +++ JDiff.java	23 Apr 2003 23:32:10 -0000	1.2
  @@ -105,10 +105,8 @@
               Object[] orig = loadFile(argv[0]);
               Object[] rev = loadFile(argv[1]);
   
  -            System.err.println("---go!----");
               Diff df = new Diff(orig);
               Revision r = df.diff(rev);
  -            System.err.println("---end!---");
   
               System.err.println("------");
               System.out.print(r.toString());
  @@ -120,14 +118,8 @@
                   //String recos = Diff.arrayToString(reco);
                   if (!Diff.compare(rev, reco))
                   {
  -                    /*
  -                    System.err.println("**********");
  -                    System.err.print(Diff.arrayToString(rev));
  -                    System.err.println("**********");
  -                    System.err.print(recos);
  -                    System.err.println("**********");
  -                    */
  -                    System.err.println("files differ");
  +                    System.err.println("INTERNAL ERROR:"
  +                                        + "files differ after patching!");
                   }
               }
               catch (Throwable o)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message