| Author |
How can i set jar file with version number or info
|
Meir Yan
Ranch Hand
Joined: Apr 27, 2006
Posts: 597
|
|
Hello all is there any way to include in jar file the option to get information about the jar file when doing some thing like MyApp.jar -version and it will print me some info i predefined? not programmatically Thanks
|
 |
gaurav abbi
Ranch Hand
Joined: Jan 05, 2007
Posts: 108
|
|
for ZipOutPutStream class there is setComment() method, but not very sure anything apart from programming level. otherwise jar -tvf can be used to extract information and while creating a jar we can also specify the META-INF file , may be there you can write something using -m option
|
thanks,<br />gaurav abbi
|
 |
 |
|
|
subject: How can i set jar file with version number or info
|
|
|