ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant BuildEvent.java Task.java
Date Mon, 10 Jul 2000 11:21:39 GMT
conor       00/07/10 04:21:39

  Modified:    src/main/org/apache/tools/ant BuildEvent.java Task.java
  Log:
  Missed the getTarget method. In fact this is the one that introduced the problem
  because it makes the introspection think there is a property of type Target
  rather than string.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/BuildEvent.java
  
  Index: BuildEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/BuildEvent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BuildEvent.java	2000/07/06 16:48:07	1.2
  +++ BuildEvent.java	2000/07/10 11:21:39	1.3
  @@ -97,7 +97,7 @@
       public BuildEvent(Task task) {
           super(task);
           this.project = task.getProject();
  -        this.target = task.getTarget();
  +        this.target = task.getOwningTarget();
           this.task = task;
       }
   
  
  
  
  1.10      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/Task.java
  
  Index: Task.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Task.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Task.java	2000/07/10 11:04:17	1.9
  +++ Task.java	2000/07/10 11:21:39	1.10
  @@ -100,7 +100,7 @@
        *
        * @param the task's target.
        */
  -    public Target getTarget() {
  +    public Target getOwningTarget() {
           return target;
       }
       
  
  
  

Mime
View raw message