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


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

Re: gradle clean not called

From Sebastiaan Couwenberg <sebastic@xs4all.nl>
Newsgroups linux.debian.maint.java
Subject Re: gradle clean not called
Date 2016-02-02 18:50 +0100
Message-ID <qXNft-6ut-27@gated-at.bofh.it> (permalink)
References <qXIfM-2Pu-15@gated-at.bofh.it> <qXIz8-2Za-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02-02-16 13:47, Emmanuel Bourg wrote:
> Le 2/02/2016 13:20, Felix Natter a écrit :
>> "gradle clean" is not called when running "debian/rules clean".
> 
> This is intended for several reasons:
> - 'gradle clean' is horribly slow
> - 'gradle clean' triggers the compilation of the buildSrc and often
> fails due to missing dependencies
> 
> gradle-debian-helper attempts to detect the modules directories and
> clean them directly, this isn't perfect though and sometimes
> dh_auto_build has to be extended.

Before the switch to gradle-debian-helper I used `gradle .. clean -x
build` to only execute the clean target [0], that may be an option for
the debian helper too, but I guess the missing dependencies make that
less suitable.

[0]
https://anonscm.debian.org/cgit/pkg-grass/osmosis.git/tree/debian/rules?h=debian/0.44.1-1#n26

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

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


Thread

gradle clean not called Felix Natter <fnatter@gmx.net> - 2016-02-02 13:30 +0100
  Re: gradle clean not called Emmanuel Bourg <ebourg@apache.org> - 2016-02-02 13:50 +0100
    Re: gradle clean not called Felix Natter <fnatter@gmx.net> - 2016-02-02 18:40 +0100
      Re: gradle clean not called Emmanuel Bourg <ebourg@apache.org> - 2016-02-02 19:30 +0100
    Re: gradle clean not called Sebastiaan Couwenberg <sebastic@xs4all.nl> - 2016-02-02 18:50 +0100

csiph-web