Search code examples
webspherewebsphere-8

Bind Shared Library Reference with application


I am trying to install the EAR on WAS 8.5 ND with the Ant target "wsInstallApp". I have created a shared library reference which I want to add to the application. How can I add it through Ant Script to automate my deployment process or is there any other way through which application binds to this shared library reference e.g deployment descriptor?


Solution

  • You can achieve that by using wsadmin and python/jacl script. From an ant script perspective you can create a task to call wsadmin. Use the following documentation link to create administrative script. Shared library docs.