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=23741>.
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=23741

mistaken conversion class name into unix-style path - taskdef A class needed by 
class myTask cannot be found

           Summary: mistaken conversion class name into unix-style path -
                    taskdef A class needed by class myTask cannot be found
           Product: Ant
           Version: 1.6Beta
          Platform: Other
               URL: http://ant.apache.org/manual/CoreTasks/taskdef.html
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<taskdef name="myTask" classpathref="myTaskClasspath.path"
       classname="fully.qualified.java.classname.myTask" />

produces the following error when running with debug (and the patch of
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23541):
Finding class net.sf.cglib.transform.DumpFieldsTask
Could not find Class fully/qualified/java/classname/myTask.class in
C:\myProj\WEB-INF\classes\fully\qualified\java\classname

===> The dots get converted in a platform dependent way!!!

When I remove the fully qualified name as per
    <taskdef name="myTask" classpathref="myTaskClasspath.path"
       classname="myTask" />
the same problem occurs when going after the inner class!


build.xml:71: taskdef A class needed by class myTask cannot be found: myTask
(wrong name: fully/qualified/java/classname/myTask)...

==> thus again, in windows, "fully/qualified/java/classname/" becomes part of
the filename.

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

Reply via email to