Example
create a testFile.py file with below,
def mycmd(): print 'Hello'
copy it in below location:
$WL_HOME/wlserver_10.3/common/wlst/lib
Go to wlst command line:
$WL_HOME/wlserver_10.3/common/bin
bash-3.00$ ./wlst.sh
Run below :
wls:/offline> testFile.mycmd()
Hello
No comments:
Post a Comment