Re: Correct way to detect JAR dependencies

2016-12-01 Thread Jose Gutierrez de la Concha
Thanks Niles,

I will ask debian-java

On Thu, Dec 1, 2016 at 11:26 PM, Niels Thykier  wrote:

> Jose Gutierrez de la Concha:
> > Hi!
> >
> > I'm upstream developer for zeroc-ice, in one of the packages build from
> > this source zeroc-icegridgui, a bug has been reported regarding missing
> JAR
> > dependencies (Bug#846498).
> >
> > The package in question uses java:depends but that seems to not work here
> > or maybe is not being used correctly:
> >
> > https://github.com/zeroc-ice/ice-debian-packaging/blob/3.6/
> debian/control#L290-L293
> >
> > dpkg produces a warning dpkg-gencontrol: warning: Depends field of
> package
> > zeroc-icegridgui: unknown substitution variable ${java:Depends}
> >
> > What is the correct way to declare the dependencies for JARs include in
> > separate packages?
> >
> > Regards,
> > José
> >
>
> Hi,
>
> I would recommend asking in debian-j...@lists.debian.org. :)
>
> From memory, you need a java specific helper tool for these.  Which one
> you need depends on the exact package and I am not entirely sure that
> all build systems have support.
>   Which leads us back to my recommendation of asking the debian-java
> team. :)
>
> Thanks,
> ~Niels
>
>


-- 
José Gutiérrez de la Concha
ZeroC, Inc.


Re: Correct way to detect JAR dependencies

2016-12-01 Thread Niels Thykier
Jose Gutierrez de la Concha:
> Hi!
> 
> I'm upstream developer for zeroc-ice, in one of the packages build from
> this source zeroc-icegridgui, a bug has been reported regarding missing JAR
> dependencies (Bug#846498).
> 
> The package in question uses java:depends but that seems to not work here
> or maybe is not being used correctly:
> 
> https://github.com/zeroc-ice/ice-debian-packaging/blob/3.6/debian/control#L290-L293
> 
> dpkg produces a warning dpkg-gencontrol: warning: Depends field of package
> zeroc-icegridgui: unknown substitution variable ${java:Depends}
> 
> What is the correct way to declare the dependencies for JARs include in
> separate packages?
> 
> Regards,
> José
> 

Hi,

I would recommend asking in debian-j...@lists.debian.org. :)

>From memory, you need a java specific helper tool for these.  Which one
you need depends on the exact package and I am not entirely sure that
all build systems have support.
  Which leads us back to my recommendation of asking the debian-java
team. :)

Thanks,
~Niels



Correct way to detect JAR dependencies

2016-12-01 Thread Jose Gutierrez de la Concha
Hi!

I'm upstream developer for zeroc-ice, in one of the packages build from
this source zeroc-icegridgui, a bug has been reported regarding missing JAR
dependencies (Bug#846498).

The package in question uses java:depends but that seems to not work here
or maybe is not being used correctly:

https://github.com/zeroc-ice/ice-debian-packaging/blob/3.6/debian/control#L290-L293

dpkg produces a warning dpkg-gencontrol: warning: Depends field of package
zeroc-icegridgui: unknown substitution variable ${java:Depends}

What is the correct way to declare the dependencies for JARs include in
separate packages?

Regards,
José