Re: create tarball of java maven

2017-05-28 Thread Nada Gh
Hi Geert,

I can download a tarball but it includes files from maven. I just want to
include the minimum dependencies required for debian packaging.

I found mh_make from maven debian helper command, have you tried it?

Thanks



On Sun, May 28, 2017 at 11:51 PM, Nada Gh  wrote:

> Thanks  Geert, I will check that!.
>
> Regards,
> N.G
>
> On Sun, May 28, 2017 at 10:16 PM, Geert Stappers 
> wrote:
>
>> On Sun, May 28, 2017 at 10:02:54PM +0300, Nada Gh wrote:
>> > On Sun, May 28, 2017 at 9:41 PM, Geert Stappers wrote:
>> > > On Sun, May 28, 2017 at 09:22:08PM +0300, Nada Gh wrote:
>> > > > Hi,
>> > > > I obtained an upstream source but doesn't provide tarball.
>> > > >
>> > > > How I can generate the tarball?
>> > >
>> > > Please elaborate the question. e.g. tell what upstream does provide.
>> > >
>> >
>> > Here is the source .
>> >
>>
>> https://github.com/qupath/qupath/releases/tag/v0.1.2
>>
>>
>> And this might be in debian/watch file
>> -
>> # uscan watch file
>> version=4
>> opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%qupath-$1.tar.gz%" \
>> https://github.com/qupath/qupath/tags \
>> (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
>> -
>> however  *untested*, but https://github.com/qupath/qupath/tags shows
>> some versions.
>>
>>
>> Regards
>> Geert Stappers
>> --
>> Leven en laten leven
>>
>>
>


Re: create tarball of java maven

2017-05-28 Thread Nada Gh
Thanks  Geert, I will check that!.

Regards,
N.G

On Sun, May 28, 2017 at 10:16 PM, Geert Stappers 
wrote:

> On Sun, May 28, 2017 at 10:02:54PM +0300, Nada Gh wrote:
> > On Sun, May 28, 2017 at 9:41 PM, Geert Stappers wrote:
> > > On Sun, May 28, 2017 at 09:22:08PM +0300, Nada Gh wrote:
> > > > Hi,
> > > > I obtained an upstream source but doesn't provide tarball.
> > > >
> > > > How I can generate the tarball?
> > >
> > > Please elaborate the question. e.g. tell what upstream does provide.
> > >
> >
> > Here is the source .
> >
>
> https://github.com/qupath/qupath/releases/tag/v0.1.2
>
>
> And this might be in debian/watch file
> -
> # uscan watch file
> version=4
> opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%qupath-$1.tar.gz%" \
> https://github.com/qupath/qupath/tags \
> (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
> -
> however  *untested*, but https://github.com/qupath/qupath/tags shows
> some versions.
>
>
> Regards
> Geert Stappers
> --
> Leven en laten leven
>
>


Re: create tarball of java maven

2017-05-28 Thread Geert Stappers
On Sun, May 28, 2017 at 10:02:54PM +0300, Nada Gh wrote:
> On Sun, May 28, 2017 at 9:41 PM, Geert Stappers wrote:
> > On Sun, May 28, 2017 at 09:22:08PM +0300, Nada Gh wrote:
> > > Hi,
> > > I obtained an upstream source but doesn't provide tarball.
> > >
> > > How I can generate the tarball?
> >
> > Please elaborate the question. e.g. tell what upstream does provide.
> >
> 
> Here is the source .
> 

https://github.com/qupath/qupath/releases/tag/v0.1.2


And this might be in debian/watch file
-
# uscan watch file
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%qupath-$1.tar.gz%" \
https://github.com/qupath/qupath/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
-
however  *untested*, but https://github.com/qupath/qupath/tags shows
some versions.


Regards
Geert Stappers
-- 
Leven en laten leven



Re: create tarball of java maven

2017-05-28 Thread Nada Gh
Hi Groeten,

Here is the source .

Thanks
N.G

On Sun, May 28, 2017 at 9:41 PM, Geert Stappers 
wrote:

> On Sun, May 28, 2017 at 09:22:08PM +0300, Nada Gh wrote:
> > Hi,
> > I obtained an upstream source but doesn't provide tarball.
> >
> > How I can generate the tarball?
>
> Please elaborate the question. e.g. tell what upstream does provide.
>
>
> Groeten
> Geert Stappers
> --
> Leven en laten leven
>
>


Re: create tarball of java maven

2017-05-28 Thread Geert Stappers
On Sun, May 28, 2017 at 09:22:08PM +0300, Nada Gh wrote:
> Hi,
> I obtained an upstream source but doesn't provide tarball.
> 
> How I can generate the tarball?

Please elaborate the question. e.g. tell what upstream does provide.


Groeten
Geert Stappers
-- 
Leven en laten leven



create tarball of java maven

2017-05-28 Thread Nada Gh
Hi,
I obtained an upstream source but doesn't provide tarball.

How I can generate the tarball?


Thanks
N.G


java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

2017-05-28 Thread Geert Stappers
Control: tag -1  help


Hi,

Arduino packaging now builds for 1.8.2.  Get the source code for it through

   debcheckout arduino


However there is Java error and that is reason why
the Debian Java packaging team is in the CC.


The complete error
8<---8<
$ arduino
Picked up JAVA_TOOL_OPTIONS: 
Error parsing gtk-icon-sizes string: ''
java.lang.SecurityException: Invalid signature file digest for Manifest main 
attributes
at 
sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:314)
at 
sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:268)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
at java.util.jar.JarVerifier.update(JarVerifier.java:228)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
at java.util.jar.JarFile.getInputStream(JarFile.java:450)
at 
sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:977)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:454)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.(Base.java:252)
at processing.app.Base.main(Base.java:135)
$
8<---8<

My websearch did bring me to 
https://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar

It tells me to tweak a build.xml file.
It is the point where I get lost, where I need help.

Is it the file app/build.xml that needs something like






??


Groeten
Geert Stappers
-- 
Leven en laten leven


signature.asc
Description: Digital signature