Configuring the Deployment Settings
This task describes configuring the deployment settings which apply to all
deployed OC4J targets created in JDeveloper, including the JDeveloper embedded
OC4J server.
To configure the deployment options:
- Choose Tools | Preferences
from the main menu.
- Click the Deployment node.
- Configure the following deployment options as required:
- Default Deployment Output Directory: Relative
to Project Directory or Absolute Directory:
By default, JDeveloper writes the J2EE archives (JAR, EJB.jar, EAR, WAR)
to the current project's
/deploy
directory. However, you
can change this default location for another directory location of your
own choosing.
Notes:
- JDeveloper displays the full path for the J2EE archives in the Deployment
Log window after the application files are deployed.
- When a relative path cannot be determined, JDeveloper uses absolute
paths. For example, an absolute path cannot be used is if a deployment
profile (
.deploy
) and a .jar
file that it
refers to reside in different drive letters on Windows.
- Compile Before Deploying: relevant
if you are planning to deploy J2EE modules which have cross-project and
cross-profile dependencies.
- Select Automatically Fill
In <ejb-ref> Elements in web.xml to have JDeveloper automatically
insert any
<ejb-ref>
elements
to the web module deployment descriptor, web.xml
, whenever
EJB dependencies are included in the WAR profile. If this checkbox is
deselected, you should make sure that the web.xml
is complete
and accurate before deployment.
- For more information, click Help.
Related topics
Configuring Your Project to Use
the Embedded OC4J Server
Setting Preferences for the Embedded OC4J Server
About the Deployment Process
Ways to Deploy J2EE Applications
About Deployment Profile Dependencies
Configuring Project Settings for Compiling
Configuring Your Project for Debugging
Configuring Your Project for Running