ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/proposal/mutant/src/java/antlibs/system/code/org/apache/ant/antlib/system Ant.java
Date Thu, 07 Feb 2002 09:59:59 GMT
conor       02/02/07 01:59:59

  Modified:    proposal/mutant/src/java/antlibs/system/code/org/apache/ant/antlib/system
                        Ant.java
  Log:
  Fix up some small problems in mutant's Ant task
  
  Revision  Changes    Path
  1.2       +4 -1      jakarta-ant/proposal/mutant/src/java/antlibs/system/code/org/apache/ant/antlib/system/Ant.java
  
  Index: Ant.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/mutant/src/java/antlibs/system/code/org/apache/ant/antlib/system/Ant.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -w -u -r1.1 -r1.2
  --- Ant.java	5 Feb 2002 11:49:06 -0000	1.1
  +++ Ant.java	7 Feb 2002 09:59:59 -0000	1.2
  @@ -84,7 +84,7 @@
        *
        * @param baseDir the base directory for the build
        */
  -    public void setBaseDir(File baseDir) {
  +    public void setDir(File baseDir) {
           this.baseDir = baseDir;
       }
   
  @@ -108,6 +108,9 @@
           }
           if (antFile == null) {
               antFile = new File(baseDir, "build.ant");
  +            if (!antFile.exists()) {
  +                antFile = new File(baseDir, "build.xml");
  +            }
           }
   
           ComponentService componentService
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message