>FROM: ingedus.com
>DATE: 02/04/2002 06:33:53
>
>Ho yes, excusue me for this miss
>
>I just replace the xdoclet.jar 1.1 version by the xdoclet.jar 1.1.1 
> >version
>and xdoclet don't find log4j. Then I don't think that is the classpath.
>
>
>This is the outpout from netbeans 3.3 (verbose level for ant)

I've always had a few problems running Ant targets through NetBeans (usually 
by double-clicking on them by mistake when I want to edit them) which work 
fine just typing "ant" at a DOS prompt.  So far as I could tell, NetBeans 
sets up the classpath differently to the usual ant.bat file (and, I guess, 
the build.bat scripts in xdoclet), which can give problems if the target 
doesn't include things explicity rather than relying on ${java.class.path}.  
I'm a bit surprised it's log4j it's not finding, though, usually I think it 
was the ant stuff it complained about (I tried to check, but since I 
installed the XML RC3 module, the build.xml files get opened by that rather 
than the ant runner...)

If you run it just by using "ant <target>" at a command line (assuming 
%ANT_HOME%/bin is on your path), does that work?

One other thing you could try is mounting the log4j.jar under FileSystems in 
the NetBeans explorer; that's what NetBeans considers to be the classpath, 
so perhaps it'll find it then?  I've no idea why it should have changed if 
all you did was copy over the new xdoclet.jar, since it must have been 
finding log4j.jar okay before.


Andrew.

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to