This content has been marked as final.
Show 1 reply
-
1. Re: Real Path of ear deployment
peterj Jun 17, 2008 1:12 PM (in response to sankul123)You can do this:
String serverDir= System.getProperty("jboss.server.home.dir"); String earDir = deployDir + "/deploy/" + "myApp.ear";
Yes, this means you need to hard-code the name of the deploy directory and the name of the ear file (or read it from a properties file somewhere).