« September 2009 | Main | November 2009 »

October 2009 Archives

October 21, 2009

Revisited: Including a Class-Path In Your MANIFEST.MF

In January 2008 I wrote about putting additional information into your Manifest.mf (see original entry). Recently a colleague told me that this does not work as expected in JDeveloper 11.1.1.1.0.

A short investigation showed that JDeveloper 11.1.1.1.0 does two things while going through the deployment process.

  1. It checks the correctness of the tag and its usage.
  2. It expects a value in the same line as the tag.

The first is nice and necessary to avoid any surprises. The second is a bit surprising if you follow my advise in having a separate line per Class-Path element. To get it work as in the original post, you need to be sure that every multi-line tag entry must have the form <tag>: <first_value> in the first line. For example:

Class-Path: ./lib
  commons-lang.jar
  etc.

About October 2009

This page contains all entries posted to Olaf Heimburger's Blog in October 2009. They are listed from oldest to newest.

September 2009 is the previous archive.

November 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle