This content has been marked as final. Show 2 replies
The jboss.server.home.dir System property points to the home dir of the server. Ex: D:\JBoss\server\default. To get to the deploy folder, you can do something like this:
String homeDir = System.getProperty("jboss.server.home.dir"); String deployDir = homeDir + "/" + "deploy";
Other JBoss properties are available at http://wiki.jboss.org/wiki/JBossProperties (for some reason, at this moment, this wiki page is not showing up).
thank you for that hint