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
Post a Comment