Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Manifest.mf file location & number of copies needed

Stuart FlemingJan 20 2017 — edited Jan 25 2017

JDeveloper 12.1.2

I did a great deal of research on the subject of the Manifest.mf file.  I have several questions:

1.  For .ear files, I read (on this forum somewhere) that there should be a manifest.mf file at the application root and at in the View Controller:

C:\JDeveloper\mywork\appName\src\META-INF

C:\JDeveloper\mywork\appName\ViewController\src\META-INF

The Application properties Deployment, Deployment Profile, Ear Options settings:

1. Checked:    Include Manifest File

2.  Add the Manifest.mf file (from the root directory)

The ViewController Properties, Deployment, Deployment Profile (Web Module),  WAR Options settings:

1. Checked:    Include Manifest File

2.  Add the Manifest.mf file (from the View Controller directory)

Can the View Controller Manifest point to the Root Manifest File?  In order to meet this issue, I created two exact copies of the Manifest file, and placed one at the application root, the other in the View Controller.

Do you really need to have two files?  Can you put it in the root directory and then have the View Controller War file point to the Application Root file?

Thank you,

Stuart

This post has been answered by Timo Hahn on Jan 20 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2017
Added on Jan 20 2017
2 comments
765 views