[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jarwrapper dependency



On Thu, Jun 20, 2013 at 2:15 AM, Matthew Johnson <mjj29@debian.org> wrote:
> On Wed Jun 19 15:04, Eugene Zhukov wrote:
>> >> Otherwise you are missing the manifest pointing to the main-class.
>> > Yes, it works. In fact with d/foobar.links the link gets created, but
>> > doesn't work (complains about permissions) nor jarwrapper dependency
>> > is added.
>>
>> Any other ideas how to achieve this?
>
> I don't know how mh-make works, but yes, you have to run bits from javahelper
> to have that happen automatically. You could always just set the jar executable
> and add jarwrapper to your dependency list manually - that's all it actually does.

That's the point - adding jarwrapper dependency manually doesn't have
any effect, it's completely ignored by debuild and/or
maven-debian-helper.
>
> If you run jh_exec as part of your build steps it will set the jar executable
> if it's linked from a normal bindir. If you run jh_depends it will try and
> populate your dependency list automatically, including with jarwrapper, but I
> don't know how that interacts with what maven-helper is trying to do for you.
> Probably badly.

I'll try to come up with something using jh_exec and/or jh_depends. Thanks!
>
> HTH,
> Matt
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iQIcBAEBCgAGBQJRwjuLAAoJEKVC9ua3o6Nm0pEQAKCW6+fp395ekGEZQeDL7Cnj
> Pihk4aSZlD+nY6x9W0anhBbcCyRXydK1buMji65amy+U+QRp8K/RQpqy7kUHvtIJ
> NqYSNp4wzoDk9Ae14ckR3rMY9SiNr5wp7oNrVDHDDi/9+JHfbPdbRMHMj2eBIXqa
> 9bNcgOqRWhis6xo9adf9QQFZ+KGHJpOnLODiW6/PY+vr1d355cHtTCgNqnxH4ISL
> 3MMjYVpgbd2ETArSb6Mt4rSJ/gjg+eI8ZhCpf/qPj3DzUc3DQvCCZqxyBVpHpVzb
> dp5KxeReSoOv1O1OEryJ82EyJO+o2BosIlAF1hn7yeZZ5/vJxr4DfWKCdA3v7xhw
> htE4rsrtZdME3xEiR64G0ubGF1+LVY7BZv5+qSPntiLd3m6wKYfpJvhhzcHtoldw
> nA2ORGCnEMEYqKIvChBa9IP9zgt50BNXK/dymGw9ax6XIXlK1JWEaz1cWd66w447
> 49iUUIwSSZjkWNMlm+4kIkcVa6WPjk2SfGx8pYLC3S9rVEcqhqkU/Z+2aZum0SUD
> 7KP95h2InHCftqG+r3Q0zGj0Yg0OLSm4su9RBD/CNyUOEMpN3aXFmFPnCuvPr+2Y
> q3DxRheJJMVLwj/xiFJgxtZtNQwzVfI1gRguYSPrrhTX7q9KBsJTeFOw01duDXVI
> /i2ljJTtWeYkhfyUWpx4
> =hbHb
> -----END PGP SIGNATURE-----
>


Reply to: