You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2002/05/15 15:48:49 UTC

cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Patch.java

bodewig     02/05/15 06:48:49

  Modified:    .        Tag: ANT_15_BRANCH WHATSNEW
               src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        Patch.java
  Log:
  You better tell Execute what you want it to do.
  
  PR: 9069
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.263.2.17 +5 -0      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.263.2.16
  retrieving revision 1.263.2.17
  diff -u -r1.263.2.16 -r1.263.2.17
  --- WHATSNEW	14 May 2002 13:45:12 -0000	1.263.2.16
  +++ WHATSNEW	15 May 2002 13:48:49 -0000	1.263.2.17
  @@ -49,6 +49,11 @@
   
   * nested <filesets> of <javadoc> would include too much.
   
  +* <dependset> will no longer choke on <targetfileset>s that point to
  +non-existing directories.
  +
  +* <patch> didn't work at all.
  +
   Other changes:
   --------------
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.1  +2 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Patch.java
  
  Index: Patch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Patch.java,v
  retrieving revision 1.15
  retrieving revision 1.15.2.1
  diff -u -r1.15 -r1.15.2.1
  --- Patch.java	26 Apr 2002 11:39:34 -0000	1.15
  +++ Patch.java	15 May 2002 13:48:49 -0000	1.15.2.1
  @@ -171,6 +171,7 @@
           Execute exe = new Execute(new LogStreamHandler(this, Project.MSG_INFO,
                                                          Project.MSG_WARN), 
                                     null);
  +        exe.setCommandline(toExecute.getCommandline());
   
           if (directory != null) {
               if (directory.exists() && directory.isDirectory()) {
  @@ -186,6 +187,7 @@
               exe.setWorkingDirectory(getProject().getBaseDir());
           }
   
  +        log(toExecute.describeCommand(), Project.MSG_VERBOSE);
           try {
               exe.execute();
           } catch (IOException e) {
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>