Bug#935849: tutorial: wrong bin link

Markus Koschany apo at debian.org
Mon Aug 26 21:28:53 BST 2019


Control: severity -1 minor

Am 26.08.19 um 22:11 schrieb darkdragon:
> Package: javahelper
> Version: 0.72.8
> 
> The tutorial (/usr/share/doc/javahelper/tutorial.html) contains the following:
> 
>> Sample Application Packaging
>>
>> debian/salliere.links
>>
>> usr/share/salliere/salliere.jar usr/bin
> 
> I don't think the jar should "replace" /usr/bin!?
> What "binary" should a java application include in a debian package to
> call the main() function?
> In my first tests, I used java -cp /path/to/file.jar

Hello,

you can find more information in our Java packaging guide at

https://wiki.debian.org/Java/Packaging

The answer depends on your build system. Javahelper is only used for
very simple Java packages or in conjunction with another sophisticated
build system like Ant, Maven or Gradle. You should look into jarwrapper
or java-wrapper, two different methods to start a Java application.

https://wiki.debian.org/Java/Packaging/Ant#java-wrappers_versus_jarwrapper

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190826/d424f988/attachment.sig>


More information about the pkg-java-maintainers mailing list