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

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

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:

	dh_auto_build -- sdk -x javadoc -x src

	dh_auto_build -- javadoc src

Emmanuel Bourg

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

Reply to: