I want to automate my builds and delegate them to a CI build farm, but I want to avoid having to install Weblogic on each of the slaves.
My build tool of choice is Gradle, but I'm wrapping it around the ant task. I can supply the wlfullclient.jar, and the "wldeploy" task works perfectly. However, when I try to do the same for the "wlst" ant task I get the following error:
java.lang.IllegalStateException: java.lang.RuntimeException: error in finding weblogic.Home
I know I can make this error go away by running setWLSEnv, but as my slaves wont have Weblogic installed this is not an option.
Note* The problem i'm trying to solve is that I am performing side-by-side deployments. I want to check for old retired versions of an application, and undeploy them, but I haven't found a solution other than with WLST.
I'm open to solving this problem in another way, but for me the easiest solution would be to break the dependency on weblogic.Home.