How to run Junit from Weblogic Workspace without actually adding the library refrences from weblogic system libraries?
Open the project properties, build path and
1. Remove the following libraries from your Weblogic System Libraries
api.jar
wls-api.jar
weblogic.jar
wlcommons-logging.jar
junit.jar
wseeclient.jar
2. Add the following to the build path as external jar files
api.jar
wls-api.jar
weblogic.jar
wlcommons-logging.jar
junit.jar
wseeclient.jar
3. Compile the project and run the junit tests.
4. Thats it!
Sunday, November 22, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment