Title: RE: [Xdoclet-user] can not find xdoclet.DocletTask$DocletMain
It might have something to do with the current directory of Java process. Eclipse will set the current directory to eclipse/workspace, not the directory of ant build file. Qihua and Mike, would you try to use absolute class path in EJBDoclet task definition and let us know the results?  I am not suggesting it as solution, but would like to confirm the theory. I have seen the difference in other ant tasks before.
 
Thanks
 
Randy

 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Finn, Michael
Sent: Monday, July 01, 2002 7:25 AM
To: 'wu qihua'; [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] can not find xdoclet.DocletTask$DocletMain

I have the same problem. What platform are you on? For me, it only seems to happen on Windows/Cygwin. Works unmodified on *nix. I run from Ant on cmd line and from NetBeans. I posted this problem last week to this list, but only got 'check your classpath' as a response. I don't see how it could be a classpath problem when the containing class (DocletTask) is obviously being loaded. It seems like a classloader issue, but I am pretty new to XDoclet, so I don't know. Haven't had time to dig into the source.

#mike

-----Original Message-----
From: wu qihua [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 1:31 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] can not find xdoclet.DocletTask$DocletMain


I use eclipse to run ant file which include ejbdoclet task.But every time
the error message is the same :
      can not find class xdoclet.DocletTask$DocletMain
    When I use winrar to unzip the xdoclet.jar. It is true that
xdoclet.DocletTask$DocletMain class file really exists in the
xdoclet.jar(And of course I include the xdoclet.jar in the classpath).what
is the problem?
    thanks in advance!



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to