java - websphere path of installedApps directory -


java how path of websphere installedapps directory?

i use

string websphereappspath = new file(".").getcanonicalpath() 

result:

c:\ibm\websphere\appserver2\profiles\appsrv01

i need result:

c:\ibm\websphere\appserver2\profiles\appsrv01\installedapps\bastionnode01cell

per application binary settings topic in knowledge center, want ${app_install_root}/${cell}. see creating, editing, , deleting websphere variables topic sample code on expanding variable.

(that said, suspect directly accessing directory wrong approach. should consider asking new question along lines of "what best way x? can accomplish looking @ installedapps directory, seems there should better way.")


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -