users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 Jan 2010 07:58:24 PST

So, do I need to file a bug report, about the directory not getting deleted?

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