Hi Tobias,
Sorry to bother you again. I haven't created many jars outisde IDEs...
On Thu, Feb 07, 2008 at 05:12:15PM +0100, Tobias Krais wrote:
> Here is mine:
> -----%<-----
> Manifest-Version: 1.0
> Main-Class: com.sun.star.lib.loader.Loader
>
> Name: com/sun/star/lib/loader/Loader.class
> Application-Class: de.twc.oocom.OOCom
>
> -----%<-----
> And don't forget the blank lines.
I created META-INF/MANIFEST.MF like this
-------------------------
Main-Class: com.sun.star.lib.loader.Loader
Name: com/sun/star/lib/loader/Locader.class
Application-Class: nl.reeven.van.test.ooo.MyOOoBootstrapper
Application-Name: nl/reeven/van/test/ooo/MyOOoBootstrapper.class
-------------------------
Upon creating the jar file I get
$ jar cmf META-INF/MANIFEST.MF OOoBootstrapTest.jar *
java.io.IOException: invalid manifest format
at java.util.jar.Manifest.read(Manifest.java:208)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.run(Main.java:132)
at sun.tools.jar.Main.main(Main.java:1022)
The error message disappears when I remove the blank lines. Can you tell me how
you create the jar file?
Thanks, Wouter
--
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]