geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject Re: Heads Up: big change to deployment
Date Mon, 04 Oct 2004 23:49:30 GMT
Well looks like this doesn't work on windows.  I don't think windows is 
letting me move the temp directory to the config store because the 
URLClassLoader on windows holds locks open on the jar files inside of 
the config store.

I'll add some code that copies the files from the temp dir into the 
config store.  I hope later we can just have our own implementation of 
URLClassLoader that we can call close on to release open file locks on 

This shouldn't take about an hour to fix.


Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26

On Oct 4, 2004, at 4:01 PM, Dain Sundstrom wrote:

> I just committed a big change to deployment... I have changed 
> deployment to no longer build into a packed Jar file, instead it 
> builds into a temp directory and once complete moves the temp 
> directory into the config store.  If a packed car file is needed, the 
> deployer simply jars up the temp directory.  This should make adding 
> support for manifest class path entries trivial, as the standard 
> URLClassLoader can handle like 80% of the cases.
> I also added code to meticulously track temp files and delete them 
> asap... my old implementation left tons of temp files around.
> I haven't tested this on windows yet, but I heading over to my windows 
> machine right now to test it.
> Can someone on linux check if the build works?
> Thanks,
> -dain
> --
> Dain Sundstrom
> Chief Architect
> Gluecode Software
> 310.536.8355, ext. 26

View raw message