This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes When the Classpaths in MANIFEST.MF file are used Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "When the Classpaths in MANIFEST.MF file are used" Watch "When the Classpaths in MANIFEST.MF file are used" New topic
Author

When the Classpaths in MANIFEST.MF file are used

Tejas Jain
Ranch Hand

Joined: Mar 04, 2008
Posts: 119
Do we have to specify the classpaths in MANIFEST.MF file? My server will load all the jar files in the lib directory automatically
w/o using the calsspaths in MANIFEST.MF file.

When and why the Classpaths in MANIFEST.MF file are used? What if there are conflicts between the files list in the classpaths of MANIFEST.MF
and the jars in the lib directory?


"Knowing is not enough, you must apply... Willing is not enough, you must do."
--Bruce Lee
Pallav Bora
Ranch Hand

Joined: Oct 13, 2009
Posts: 73
Hi Todd,

I think the following article will answer your questions:

http://java.sun.com/j2ee/verified/packaging.html

Pallav
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: When the Classpaths in MANIFEST.MF file are used