Thanks, Martin, that works fine for me!

Joe

On 7 Sep 2004 at 22:35, Martin West wrote:

> You could try Runtime.addShutdownHook
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
> 
> On Tue, 2004-09-07 at 19:18, Joe wrote:
> > Hi,
> > 
> > I've created my own cartridge and I collect some statistics during the generation 
> > process. 
> > Now I want to write these statistics into a file after all files have been 
> > generated and 
> > before the AndroMDA process stops.
> > To achieve this, I implemented the finalize() method in my helper class. However, 
> > it 
> > seems, that the garbage processor never reaches the class, because the finalize() 
> > method gets never called.
> > 
> > Do you know any other way how I can call a method after all output files have been 
> > generated and before the AndroMDA generation process stops?
> > 
> > By the way I'm using AndroMDA 3.0M2.
> > 
> > Thanks in advance,
> > Joe
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1 today.
> > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> > _______________________________________________
> > Andromda-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/andromda-user
> -- 
> Martin West
> Head of Product Design and Development
> http://www.star-map.net
> +44(0)207 318 0308
> +44(0)787 968 0096
> 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to