Yesterday Neeraj posted question in Oracle forums, how to get absolute source path of an application using WLST, below is the script for this.
NOTE :- Replacec "#TAB#" with "tab" keystroke. Blogspot removes "tabs", so please replace the "#TAB#" else code will not work.
# START OF SCRIPT
connect('vasadmin','vaspassword','t3://localhost:7001')
domainConfig()
vasApps = cmo.getAppDeployments()
for app in vasApps:
#TAB#vasAppPath = '/AppDeployments/' + app.getName()
#TAB#cd(vasAppPath)
#TAB#print app.getName() + ' : source path is : ' + cmo.getAbsoluteSourcePath()
# END OF SCRIPT
Thanks.
Vijay Bheemineni.
Saturday, November 7, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment