• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to specify manifest jar version number for cache_version OBJECT PARAM

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic