----- Original Message -----
From: Daniel Bratell <[EMAIL PROTECTED]>
Date: Monday, February 25, 2002 11:13 am
Subject: RE: [Xdoclet-user] IOError xdocletting - building in parallell?

> At 13:21 2002-02-22 +0330, you wrote:
> >xdoclet.DocletTask line 236 saves it, 595 loads it. The filename is
> >hardcoded there. If you would come up with a solution that uses a 
> random>file name and pass the filename from ant task to the forked 
> javadoc.exe>as a parameter everything will be fine.
> 
> I didn't have the time to really look into this, but I've attached 
> a patch 
> in "request id 522357" that makes the file name depend on the user 
> name. 
> That is good enough here at the moment. The worst part was that 
> two users 
> could build independently of each other and destroy each others 
> builds 
> while not understanding what could've got wrong.
> 
> I tried to pass the file name information in System.properties, 
> but 
> apparently the processes didn't share the same copy of it.
> 
> I've not looked more at the securitymanager either. I only 
> mentioned it 
> because I've seen people use, not because I understood how to use 
> it. :-)
> 

See here if you want to understand ;-)
http://cvs.sourceforge.net/cgi-
bin/viewcvs.cgi/cruisecontrol/cruisecontrol/main/src/net/sourceforge/cru
isecontrol/util/NoExitSecurityManager.java?rev=1.1&content-
type=text/vnd.viewcvs-markup

And then do a System.setSecurityManager(new NoExitSecurityManager());

When javadog tries to do a system.exit(0) you'll get an exception 
instead.

-xjavadoc in xdoclet is still at least one month ahead in time. 
implement it if you *need* to, but it seems you have solved your 
problem.

/Aslak

> So, I hope you want the patch.
> 
> /Daniel
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


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

Reply via email to