--- Aslak_Hellesoy <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I don't quite understand what you're saying... Do
> you want to set fork to
> true or false? Setting it to true has resulted in
> several problems lately:
> LinkageError for XML parsers (when XDoclet tries to
> validate generated XML)
> and tagdefs being lost during module loading
> (because tag handlers are
> registered _before_ the fork).
> 
> I guess if you know how to avoid these two problems,
> it's ok to let
> XJavaDocTask (and its subclasses like DocletTask)
> use optional
> forking. -Otherwise, IMHO, no. Why? -Because fully
> functional XDoclet is
> more important than fully functional XDoclet GUI.
agree. 
> It should be possible to get XDoclet GUI to work
> without forking too.
> 
> Vincent disabled the ability to set fork to true a
> couple of days ago. I
> just enhanced the code a bit so that the user will
> get a BuildException if
> he tries to set it to true (instead of silently
> setting fork to false, and
> not notifying the user).


XDocletGUI runs standalone now, and does not depend on
xjavadoc task. But I was wondering. In GUI build
script it was launched via xjavadoc ( as it is
xjavadoc doclet ),
and if not forked it developed problems with xml 
parsers (not a big problems, adding xerxes jar from
ant distro will cure this) and log4j properties
definitions.

With forking enabled it was no problem. 

Whyt not leave ability to use forking - it's disabled
by default anyway?

I'm affraid that I'b bit out of the date with newest
xdoclet modules stuff, because I was busy fixing GUI
( I return to my project in the bank bext week, and
would need it inthe production ), so you surely know
more than me in this matter. 

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to