[jboss-user] [Beginners Corner] - Re: Real Path of ear deployment

PeterJ do-not-reply at jboss.com
Tue Jun 17 13:12:52 EDT 2008


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).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158780#4158780

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158780



More information about the jboss-user mailing list