How To Exclude ADF_Library_Dependencies Library From WAR File

(Doc ID 2200109.1)

Last updated on NOVEMBER 08, 2016

Applies to:

Oracle JDeveloper - Version and later
Information in this document applies to any platform.


There is a ViewController project that has a dependency on an ADF Library JAR file, adflib1.jar.
adflib1.jar in turn has a dependency on another ADF Library JAR, adflib2.jar.
The requirement is to deploy the ViewController project into a WAR file, but exclude both
adflib1.jar and adflib2.jar from the WAR, as those JARs will be deployed to the server in their own WAR files.

The jar adflib1.jar can be excluded by un-selecting the "ADF Library" item in the Library Dependencies screen
of the WAR deployment profile. However, it is not possible to exclude adflib2.jar by un-selecting the
"ADF Library Dependencies" item on the same screen. How to achieve this ?



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms