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


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

Re: gradle clean not called

Path csiph.com!news.redatomik.org!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Sebastiaan Couwenberg <sebastic@xs4all.nl>
Newsgroups linux.debian.maint.java
Subject Re: gradle clean not called
Date Tue, 02 Feb 2016 18:50:03 +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>
X-Mailbox-Line From debian-java-request@lists.debian.org Tue Feb 2 17:49:33 2016
Old-Return-Path <sebastic@xs4all.nl>
X-Amavis-Spam-Status No, score=-7.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19138
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56B0EC1B.6070200@xs4all.nl
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 2 Feb 2016 18:49:15 +0100
X-Original-Message-ID <56B0EC1B.6070200@xs4all.nl>
X-Original-References <874mdrnw1z.fsf@bitburger.home.felix> <56B0A56B.8030204@apache.org>
Xref csiph.com linux.debian.maint.java:8818

Show key headers only | 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