• Ask for help on new pkg xperia-flashtool on classpath

    From =?UTF-8?B?5q635ZWf6IGwIHwgS2FpLUNod@21:1/5 to Roger Shimizu on Sun Dec 13 10:20:01 2020
    Copy: debian-java@lists.debian.org

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QaUvB8BlEuLQPNngojOGn9LPMMNWVSIlJ
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Roger Shimizu 於 2020/12/10 上午1:27 寫道:
    Dear Thorsten,

    Thanks for your kind hint and help!
    Problem resolved, and I just uploaded the -2 version.


    Glad to hear it's solved!

    Just a personal opinion: Setting the classpath in the manifest seems inflexible to me because there is no way (at least not that I'm aware of) to tell JRE not to load the classpath set in the manifest. Kind of like the "SONAME" concept in a native
    library. In time, you might find it confusing when some dependency problem shows up again (e.g. loading 2 JARs with same classes). By not setting the classpath inside a JAR, it becomes more portable without being just an artifact in a distro.

    If I were you, I would prefer setting the classpath somewhere else and tell the launcher script to use it.


    --QaUvB8BlEuLQPNngojOGn9LPMMNWVSIlJ--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEEuIoVOt09lz87H/ea3R+riTf+mCUFAl/V2u4FAwAAAAAACgkQ3R+riTf+mCWx CBAAqMOPbwbLEQWpS6Z0POP8AXofiaonOJkL/LvzPFR4SDf7qmIDFIDI91E5yph9nK7e/w90XbIP 77fGajdS+6ktW8sJooVHD6XV6gxf8scSaUIDCvoRpoZsAQiTVHgoVK8vqyJLl2mOj75oq0wKQtGY wbmuO5QxOKgqLtnCCl/z7DpAsx3kIuawFaMT0A4+iWiAPveYAOT8pjFgME37LIutubWfYtxh5d/S 7cQJt18UZENjgD2UJl/Lg5HLg2rKmA6+C2PWD85Joje/AteorzrPqyLxM5lwasudgTQX2kUuPAFQ Vs0pSlUl5Ak+9cU35V7oV146nxICOk8iXei7fJueIdva2wgy/yVeY3Hhw7ZR7PBjwhjbcZZ2i2xM 40glnaNF28n68Po74pu8IKu+jgmhhXSjIKqOH0Eun/jPGlja44Xzpca88kTLM8jO8bJdTEr+7V0b ZZSueLa/+YGqa9VYSYxSzjhKA3wkmosvrv6s6snwZTnyRyX6L1oyhBSYXfFS6g3vybuUCp1V/Fdc QAtDLi+ytVbneT0W6fawoMvg71uyJ4zLEvoi3ky3qTOYVnv9UX7CQZa1ZPnW98wgVAxHcWIW2npx 1p/wDnAwqawKdPlotX+JMK41r25Qwn/5C6MKLGoP16pdhQ6QOq61R3vdpp3cZACLkh5mg8I/3RrG NeI=
    =5xHQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)