Re: jni launcher library

2020-10-05 Thread Emmanuel Bourg

Le 04.10.2020 23:02, Sudip Mukherjee a écrit :


I have modified d/rules and added the version in 'dh_gencontrol' and
you can see it in sudip/jni branch. It now builds
libequinox-executable-jni_3.8.900+eclipse4.17-2_amd64.deb package. Not
sure if there is some simple way to extract the version from
feature.xml file and use.


Yes there is, we can use xmlstartlet:

  xmlstarlet sel -t -v '//feature/@version' 
features/org.eclipse.equinox.executable.feature/feature.xml


I've pushed the modification to the sudip/jni branch with a few other 
changes.


Emmanuel Bourg



Re: jni launcher library

2020-10-05 Thread Sudip Mukherjee
On Mon, Oct 5, 2020 at 11:17 AM Emmanuel Bourg  wrote:
>
> Le 04.10.2020 23:02, Sudip Mukherjee a écrit :
> >
> > I have modified d/rules and added the version in 'dh_gencontrol' and
> > you can see it in sudip/jni branch. It now builds
> > libequinox-executable-jni_3.8.900+eclipse4.17-2_amd64.deb package. Not
> > sure if there is some simple way to extract the version from
> > feature.xml file and use.
>
> Yes there is, we can use xmlstartlet:
>
>xmlstarlet sel -t -v '//feature/@version'
> features/org.eclipse.equinox.executable.feature/feature.xml
>
> I've pushed the modification to the sudip/jni branch with a few other
> changes.

Thanks a lot.


-- 
Regards
Sudip