Creating a Business Components Deployment Profile
To create a deployment profile for the ADF BC library, do the following:
1. In the Application Navigator, right-click the application module and select Business Components Deployment from the context menu.
2. In the Create Business Components Deployment Profiles Wizard, ensure that Simple Archive Files is in the Selected list, and then click Next.
3. On the second page of the wizard, you can name the profile, then click Finish.
Another way to create a deployment profile is to invoke the Project Properties dialog box, select Deployment, and then click New.
These methods of creating a deployment profile do not give you the ability to set a path for deploying the JAR file, but set it to deploy to a default path, which is a \deploy directory under your project. If you want to specify where to deploy the JAR file, you can create the deployment profile by using the New Gallery instead (General > Deployment Profiles > ADF Library JAR File). This invokes a dialog box where you can specify a path to the JAR file, which is important if you want to deploy it to a central location for sharing with other developers.
After you create the deployment profile, you can use it to create the JAR. Right-click the project, select Deploy, select the JAR to create, and select Deploy again.