Index: UnknownElement.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java,v
retrieving revision 1.2
diff -w -u -r1.2 UnknownElement.java
--- UnknownElement.java	2000/10/13 09:24:53	1.2
+++ UnknownElement.java	2000/11/18 05:41:50
@@ -82,12 +82,14 @@
     public void maybeConfigure() throws BuildException {
         realTask = project.createTask(elementName);
         if (realTask == null) {
+ 			log("Could not create task of type: " + elementName + " Common solutions" +
+ 				" are adding the task to defaults.properties and execute bin/bootstrap",
+ 				Project.MSG_DEBUG);
             throw new BuildException("Could not create task of type: "+elementName+
-                                     " because I can\'t find it in the list of task"+
-                                     " class definitions.  Common solutions are: 1"+
-                                     " execute bin/bootstrap. 2 use taskdef to declare"+
-                                     " your task. 3 add the task to defaults.properties."
-                                     , location);
+									 "Common solutions are use taskdef to declare"+
+									 " your task, or if this is an optional task "+
+									 "put the optional.jar in the lib directory of "+
+ 									 " your ant installation (ANT_HOME).", location);
         }
 
         realTask.setLocation(location);
