Manually Extracting and Repacking the olsardc.ear File
If you do not have an unzip utility installed, you can manually extract and
then repack the EAR file by following the steps below.
To extract the olsardc.ear file:
- Open a DOS Command window and navigate to the upload directory.
See Locating the olsardc.ear File for information on how to find the upload directory.
- Back up the olsardc.ear file.
- Create a new temporary directory called mycustomloc and then
copy the olsardc.ear file to that directory as shown in the below
example:
C:\mycustomloc>copy %OPA_HOME%\rdc\olsardc.ear
- Extract olsardc.ear using the
jar
utility command:JDK_HOME\bin\jar -xvf olsardc.ear
For example:
C:\mycustomloc>C:\jdk\bin\jar -xvf olsardc.ear
The file RdcSurroundAdfWebUIWebApp.war is in the extracted directory.
- Create another temporary directory called RdcSurroundAdfWebUIWebApp and move the RdcSurroundAdfWebUIWebApp.war to this new directory.
- Extract the RdcSurroundAdfWebUIWebApp.war file using the jar utility
command
JDK_HOME\bin\jar -xvf RdcSurroundAdfWebUIWebApp.war
For example:
C:\mycustomloc\RdcSurroundAdfWebUIWebApp>C:\jdk\bin\jar -xvf RdcSurroundAdfWebUIWebApp.war
After extracting the file, you can access the RDC application WEB-INF directory and all files under it from within the newly extracted directory.
- Make changes to the files as necessary.
- Save your changes.
To repack the olsardc.ear file:
Parent topic: Deploying Customizations