File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes how to specify manifest jar version number for cache_version OBJECT PARAM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "how to specify manifest jar version number for cache_version OBJECT PARAM" Watch "how to specify manifest jar version number for cache_version OBJECT PARAM" New topic
Author

how to specify manifest jar version number for cache_version OBJECT PARAM

Jim Kunz
Greenhorn

Joined: May 15, 2007
Posts: 2
I have an applet in a jar I am trying to create a version for to use with the OBJECT PARAM cache_version but an not sure what I need minimally in my manifest.

basically, the cache PARAMs for my object tag are like:

<PARAM NAME=cache_archive VALUE="myapplet.jar" >
<PARAM NAME=cache_version VALUE="2.0.0.0" >

How do I specify that "2.0.0.0" in my manifest so this all lines up and the right level applet / jar is delivered to the browser?

I tried:

version-number: 2.0.0.0

in a txt file I feed in the jar command, and extracting/displaying the manifest file from the jar shows that

version-number: 2.0.0.0

but I don't think thats defining the jar version as I need for the OBJECT PARAMS...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41798
    
  62
Welcome to JavaRanch.

I think the Plugin Developers Guide is the ultimate reference on this.


Ping & DNS - my free Android networking tools app
Jim Kunz
Greenhorn

Joined: May 15, 2007
Posts: 2
Hi, yes I have looked at that info and others that describe how to set up the OBJECT tag and the PARAMs, and I was able to convert my APPLET tag to an OBJECT tag, but I can't find any specifics on how to specify my manifest info to get the jar with the 2.0.0.0 version I want.

So that's really what I am looking for now, is advice on how I specify the manifest info for my jar so the jar is seen as version 2.0.0.0 to correspond to my OBJECT tag info.

I have looked at the sun doc on manifests , but it is so generic, and a bit confusing, I have not figured out what I need...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to specify manifest jar version number for cache_version OBJECT PARAM