Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8471

Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle
Date 2015-10-15 18:20 +0200
Message-ID <qjTq3-3aG-55@gated-at.bofh.it> (permalink)
References <qj7Op-7Q1-9@gated-at.bofh.it> <qj8hr-8pd-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 13/10/2015 15:50, Matthias Klose a écrit :

> if gradle is the next big thing, please make sure that it works with
> zero as well.  It looks like gradle is so slow that it times out on the
> zero architectures.  A simple mode emitting a dot or a line every 15min
> or so if no other output happens would be fine to let the builds finish.

Following this suggestion I've added a build listener displaying a
message every 10 minutes. I hesitated between the lyrics of "Stayin'
Alive" [1] and "Still Alive" [2], but I eventually settled for a simple
"Gradle is still running, please be patient".


> Also, please make sure that your helper is able to skip architecture
> independent bits for arch-only builds.

I'm afraid this is not possible because every Gradle project do things
differently. But we can work around this by specifying the arch any/all
tasks in the override_dh_auto_build* targets. For openjfx I've done
something like this and it seems to work well:

    override_dh_auto_build-arch:
	dh_auto_build -- sdk -x javadoc -x src

    override_dh_auto_build-indep:
	dh_auto_build -- javadoc src

Emmanuel Bourg

[1] https://www.youtube.com/watch?v=I_izvAbhExY
[2] https://www.youtube.com/watch?v=Y6ljFaKRTrI

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle Emmanuel Bourg <ebourg@apache.org> - 2015-10-13 15:30 +0200
  Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for  building Debian packages with Gradle Matthias Klose <doko@debian.org> - 2015-10-13 16:00 +0200
    Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for  building Debian packages with Gradle Emmanuel Bourg <ebourg@apache.org> - 2015-10-15 18:20 +0200

csiph-web