DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23541

Enhance error messages of taskdef to say what really is not found...





------- Additional Comments From [EMAIL PROTECTED]  2003-10-13 15:03 -------
o.k. Thanks to Stefan, I figured that my class-path went too close to the real 
file.

Therefore, my suggestion alter the current error message as follows to prevent
"classpath-conventions-ignorants" like myself from endless trials:

Current:
<<C:\data\MyDocRalf\bin\Java\jars\eclipse\workspace\privaLope\build.xml:76:
taskdef class net.sf.cglib.transform.DumpFieldsTask cannot be found>>

Suggestions:
1)<<Could not find Class net.sf.cglib.transform.DumpFieldsTask.class in
C:\data\MyProj\WEB-INF\classes\net\sf\cglib\transform (the "." in the classname
will converted into path delimiters as per your platform.)"


2) debug case:
Current: <<Finding class net.sf.cglib.transform.DumpFieldsTask>>

Suggestion: as per my
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=8534
<<C:\data\MyProj\WEB-INF\classes\net\sf\cglib\transform (the "." in the
classname will converted into path delimiters as per your platform.

- did you specify a path that is too deep?
- did you put the directory of a jar file into the path instead of the jar 
itself?
see also http://ant.apache.org/manual/using.html#path>>

Perhaps, it would also be useful to:
3) enhance http://ant.apache.org/manual/using.html#path with a reference to the
official java classpath conventions
4) or mention the important parts of the classpath convention there

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to