tag 569563 wontfix thanks On Fri Feb 12 13:50, Thomas Koch wrote: > The command jh_installasjar should take a directory, a name, a > version, a package name and optionally a manifest file or manifest > entries, then > > - jar the specified directory directly into > debian/PACKAGE/usr/share/java/NAME-VERSION.jar > - create the symlink NAME.jar > > The command could also be called by jh_build. Creating jars should be part of the build step, not part of the install or binary step and writing to debian/PACKAGE should be part of the binary step, not part of the build step. In some cases this won't work, since debian/rules build is not guaranteed to be run with fakeroot.
If you are using jh_build or a proper build system such as ant, maven or make then they should be creating the jar for you. If not, then in your custom build: target this is spelt: jar fm jar manifest dir and then listing the jar in debian/package.jlibs. Matt -- Matthew Johnson
signature.asc
Description: Digital signature