File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to specify manifest jar version number for cache_version OBJECT PARAM

 
Jim Kunz
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I think the Plugin Developers Guide is the ultimate reference on this.
 
Jim Kunz
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic