Prev: Java socket....
Next: Java socket....
From: Muhammed on 20 Apr 2010 02:11 Hi i am creating jar file using export menu of eclipse.Could any one tell me how to set the version to jar? Nasir
From: Andrew Thompson on 20 Apr 2010 09:20 On Apr 20, 4:11 pm, Muhammed <doublemaster...(a)gmail.com> wrote: > ..Could any one > tell me how to set the version to jar? The manifest file of a Jar can contain attributes like version. Ant e.g. <jar destfile="${build}/jar/iset.jar" index='true' update='true'> <fileset dir="${build}/share"> <include name="org/pscode/iset/*.class" /> </fileset> <manifest> <attribute name="Main-Class" value="org.pscode.iset.ImageSequenceTitler"/> <section name="org/pscode/iset/"> <attribute name="Implementation-Title" value="ISe-T - Image Sequence Titler"/> <attribute name="Implementation-Vendor" value="${vendor}"/> <attribute name="Implementation-Vendor-Id" value="org.pscode"/> <attribute name="Implementation-Version" value="${now}"/> </section> </manifest> </jar> -- Andrew T. pscode.org
From: Java coder on 23 Apr 2010 14:24 Muhammed a �crit : > Hi i am creating jar file using export menu of eclipse.Could any one > tell me how to set the version to jar? > You have to use your own MANIFEST.MF file and include it in the export wizard.
|
Pages: 1 Prev: Java socket.... Next: Java socket.... |