users@glassfish.java.net

Re: Embedded - creates gfembed<random-number>tmp with installation root se

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 07 Jan 2010 18:44:43 -0800

glassfish_at_javadesktop.org wrote:
> So, do I need to file a bug report, about the directory not getting deleted?
>

Yes. Please.

thanks,
-marina
> in: org/glassfish/api/embedded/Server.java
>
> fsBuilder.autoDelete(true); when if (builder.fileSystem==null || builder.fileSystem.instanceRoot==null)
>
> in: org/glassfish/api/embedded/EmbeddedFileSystem.java
>
> public void preDestroy() {
> Logger.getAnonymousLogger().fine("delete " + instanceRoot + " = " + autoDelete);
> if (autoDelete) {
> // recursively delete instanceRoot directory
> Logger.getAnonymousLogger().fine("Deleting recursively" + instanceRoot);
> deleteAll(instanceRoot);
> }
>
> }
> [Message sent by forum member 'dwsmith75' (dsmith_at_nesmi.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=379336
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>