Menu

#609 Autolocate & query jarsigner on Windows

open
nobody
8
2012-08-23
2012-08-23
No

1) add option to switch jarsigner on in GUI

2) when turning the option on, just default to "jarsigner" on GNU/Linux (will probably work); on Windows, continue with next steps

3) if path not specified in propeties, look for newest jarsigner.exe in %ProgramFiles(x86)%\Java AND in %ProgramFiles%\Java. If it's there, present the location to user for acceptance.

4) if not found there, present a file query and let user choose jarsigner. If user cancels, default to "jarsigner" without an absolute path (might work also on some Windows installations).

Discussion

  • Jyrki Kuoppala

    Jyrki Kuoppala - 2012-08-23

    Might also:

    Instruct user to download and install the jdk (probably looking for jarsigner if signApk=true should be done at the start of Osm2GpsMid as otherwise the user will get the info after map has been done.)

     
  • Jyrki Kuoppala

    Jyrki Kuoppala - 2012-08-23

    In J2MEPolish there's code to locate jarsigner:

    J2ME-Polish/j2mepolish-src/build/src/de/enough/polish/finalize/SignFinalizer.java

     

Log in to post a comment.

MongoDB Logo MongoDB