Coach Thrasher
Saturday Jul 23, 2005
Automating OC4J with Ant
I created a build file for Ant that many people may find useful. It automates lifecycle management of Oracle's J2EE container "OC4J".
Build targets include:
install_oc4j start_oc4j stop_oc4j bind-web-app deploy undeploy restart_oc4j uninstall_oc4j
I've been using this technique for some automated testing in CruiseControl with a webapp that produces many runtime artifacts. I want to ensure that the deployment environment is very clean for each test cycle, so I've set it up to automatically reinstall OC4J for each test iteration. Let me know if anyone finds it useful. Get the build-ant.xml file and try it.
Posted at 06:12PM Jul 23, 2005 by jason in Software | Comments[0]
Comments: