To Run ant commands in weblogic server. First you need to set the environment variables, only then we can run the commands.
If you don't set the environment variables, you will get error as below,
...bin]$ ant -f build.xml
-bash: ant: command not found
If you don't set the environment variables, you will get error as below,
...bin]$ ant -f build.xml
-bash: ant: command not found
To set, please go to the below path
Oracle/Middleware/wlserver_10.3/server/bin
and run the setWLSEnv.sh like below,
. ./setWLSEnv.sh
No comments:
Post a Comment