ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant Main.java
Date Wed, 12 Feb 2003 05:05:30 GMT
conor       2003/02/11 21:05:30

  Modified:    src/main/org/apache/tools/ant Tag: ANT_15_BRANCH Main.java
  Log:
  Merge
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.65.2.10 +1 -2      ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.65.2.9
  retrieving revision 1.65.2.10
  diff -u -w -u -r1.65.2.9 -r1.65.2.10
  --- Main.java	10 Feb 2003 14:24:37 -0000	1.65.2.9
  +++ Main.java	12 Feb 2003 05:05:29 -0000	1.65.2.10
  @@ -249,7 +249,6 @@
        *                           or is a directory.
        */
       protected Main(String[] args) throws BuildException {
  -
           String searchForThis = null;
           PrintStream logTo = null;
   
  @@ -296,7 +295,7 @@
               } else if (arg.equals("-buildfile") || arg.equals("-file")
                          || arg.equals("-f")) {
                   try {
  -                    buildFile = new File(args[i + 1]);
  +                    buildFile = new File(args[i + 1].replace('/', File.separatorChar));
                       i++;
                   } catch (ArrayIndexOutOfBoundsException aioobe) {
                       String msg = "You must specify a buildfile when " +
  
  
  

Mime
View raw message