tplehman / keytool-iui

Automatically exported from code.google.com/p/keytool-iui
0 stars 0 forks source link

Change assignment of appli's title, appli's version, appli's short name #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Appli's version currently hard-codded.
Replace by eg. as a system argument in VM Options

Original issue reported on code.google.com by bantc...@gmail.com on 1 Apr 2011 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by bantc...@gmail.com on 1 Apr 2011 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by bantc...@gmail.com on 1 Apr 2011 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by bantc...@gmail.com on 1 Apr 2011 at 10:04

GoogleCodeExporter commented 8 years ago
assign them as VM arguments, ie.

 * *_D*__appli.name.short="ktl"_ 
 * *_D*__appli.title="keyTool IUI"_ 
 * *_D*__appli.version="2.5"_

TIP: adding prefix *_* to all keyTool IUI's properties, to let them appear at 
top of the list of system's properties

Original comment by bantc...@gmail.com on 1 Apr 2011 at 1:51

GoogleCodeExporter commented 8 years ago
Memo: System's properties stored in appli's cache, in file config.prop

Original comment by bantc...@gmail.com on 1 Apr 2011 at 1:54

GoogleCodeExporter commented 8 years ago
Huge refactoring!

Quite all classes are impacted by the change on Appli's name!

remove all references like "String strAppliName"

when need, just call *_System.getProperty("_appli.title")_*

Original comment by bantc...@gmail.com on 1 Apr 2011 at 3:59

GoogleCodeExporter commented 8 years ago
IMPORTANT NOTICE:

VM arguments to add:
-D_appli.name.short="ktl" 
-D_appli.title="keyTool IUI" 
-D_appli.version="2.5"

Original comment by bantc...@gmail.com on 1 Apr 2011 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by bantc...@gmail.com on 2 Apr 2011 at 2:14