On 6/14/07, houssam elhallak wrote:
here is the path in my manifest.mf
Class-Path: lib/AbsoluteLayout.jar lib/poi-3.0-alpha3-20061212.jar lib
/poi-contrib-3.0-alpha3-20061212.jar lib/poi-scratchpad-3.0-alpha3-20
061212.jar lib/comm.jar lib/swing-layout-1.0.2.jar lib/postgresql-8.2
Ah... the problem is that the manifest is invalid because the paths
are getting wrapped.
the following is a wrong path:
Class-Path: lib/AbsoluteLayout.jar lib/poi-3.0-alpha3-20061212.jar lib
/poi-contrib-3.0-alpha3-20061212.jar
the following is a correct path:
Class-Path: lib/AbsoluteLayout.jar lib/poi-3.0-alpha3-20061212.jar
lib/poi-contrib-3.0-alpha3-20061212.jar ....
The thing with the manifest file is that it has a line length
limitation of 72 bytes...
which means you have to manually edit it with the neccessary spaces
and indentation.
in your netbeans project you will find the manifest.mf file under the
main project folder.
The manifest.mf by default is generated by the ant build.xml script,
sometimes i have had to edit the build.xml file to disable automatic
manifest class-path generation, and instead make it include the
manually generated manifest.mf...
the class-path header is described here:
http://java.sun.com/docs/books/tutorial/ext/basics/download.html
a coupe of related bug-reports documenting the issue here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4295946
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6443578
by the way the swing layout jar file is included with my lib dir that is
generated next to the jar file
and the path is also included in the manifest
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]