ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types DataType.java
Date Mon, 01 Nov 2004 21:58:52 GMT
stevel      2004/11/01 13:58:52

  Modified:    src/main/org/apache/tools/ant/types DataType.java
  Log:
  more diagnostics
  
  Revision  Changes    Path
  1.22      +2 -0      ant/src/main/org/apache/tools/ant/types/DataType.java
  
  Index: DataType.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/DataType.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- DataType.java	18 May 2004 08:14:49 -0000	1.21
  +++ DataType.java	1 Nov 2004 21:58:52 -0000	1.22
  @@ -152,6 +152,8 @@
   
           Object o = ref.getReferencedObject(getProject());
           if (!(requiredClass.isAssignableFrom(o.getClass()))) {
  +            log("Class "+o.getClass()+" is not a subclass of "+requiredClass,
  +                    Project.MSG_VERBOSE);
               String msg = ref.getRefId() + " doesn\'t denote a " + dataTypeName;
               throw new BuildException(msg);
           } else {
  
  
  

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


Mime
View raw message