ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant UnknownElement.java
Date Fri, 13 Oct 2000 09:25:07 GMT
bodewig     00/10/13 02:25:00

  Modified:    src/main/org/apache/tools/ant UnknownElement.java
  Log:
  Give the user a clue what to do when the "task could not be found"
  exception occurs.
  
  Submitted by:	Erik Meade <emeade@geekfarm.org>
  
  Revision  Changes    Path
  1.2       +4 -1      jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UnknownElement.java	2000/09/18 14:04:54	1.1
  +++ UnknownElement.java	2000/10/13 09:24:53	1.2
  @@ -84,7 +84,10 @@
           if (realTask == null) {
               throw new BuildException("Could not create task of type: "+elementName+
                                        " because I can\'t find it in the list of task"+
  -                                     " class definitions", location);
  +                                     " class definitions.  Common solutions are: 1"+
  +                                     " execute bin/bootstrap. 2 use taskdef to declare"+
  +                                     " your task. 3 add the task to defaults.properties."
  +                                     , location);
           }
   
           realTask.setLocation(location);
  
  
  

Mime
View raw message