Path: csiph.com!news.redatomik.org!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Sebastiaan Couwenberg Newsgroups: linux.debian.maint.java Subject: Re: gradle clean not called Date: Tue, 02 Feb 2016 18:50:03 +0100 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Tue Feb 2 17:49:33 2016 Old-Return-Path: 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: archive/latest/19138 List-ID: List-URL: 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 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