I did a bit more work on the cli deploy and undeploy commands to fix some things I found frustrating when checkin for memory leaks.

In deploy, I check if the file needs to be unpacked (e.g., ear, war and rar files) and if so, I unpack it into the server app directory. This avoids the extra copy file step. I also cleaned up the code that creates the application module id so we always get a canonical (absolute) file path (we were getting relative paths).

In undeploy, I added support for "openejb undeploy $OPENEJB_HOME/apps/ myapp". This makes is easy to undeploy from the command line without having to lookup the module id.

I hope I didn't step over any uncommitted work you have.

-dain

On Jan 17, 2008, at 12:42 AM, Jacek Laskowski wrote:

On Jan 17, 2008 5:34 AM, David Blevins <[EMAIL PROTECTED]> wrote:
Did the part of the fix that deletes the jar (and any associated
unpacked directory) get added already?

I'm going to give it a shot again after Dain's changes (and provided
they work on ms windows).

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to