ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Ant.java
Date Sat, 23 Feb 2002 09:37:30 GMT
stevel      02/02/23 01:37:30

  Modified:    src/main/org/apache/tools/ant/taskdefs Ant.java
  Log:
  added logging of build file/target in verbose mode; surprised it wasnt there already.
  
  Revision  Changes    Path
  1.40      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
  
  Index: Ant.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- Ant.java	28 Jan 2002 14:21:39 -0000	1.39
  +++ Ant.java	23 Feb 2002 09:37:30 -0000	1.40
  @@ -281,6 +281,10 @@
               File file = FileUtils.newFileUtils().resolveFile(dir, antFile);
               antFile = file.getAbsolutePath();
   
  +            
  +            log("calling target "+(target!=null?target:"[default]")
  +                    + " in build file "+  antFile.toString(),
  +                    Project.MSG_VERBOSE);
               newProject.setUserProperty( "ant.file" , antFile );
               ProjectHelper.configureProject(newProject, new File(antFile));
               
  
  
  

--
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