Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 74880 invoked from network); 27 Jul 2010 00:12:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Jul 2010 00:12:39 -0000 Received: (qmail 93966 invoked by uid 500); 27 Jul 2010 00:12:38 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 93279 invoked by uid 500); 27 Jul 2010 00:12:37 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 93240 invoked by uid 99); 27 Jul 2010 00:12:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 00:12:37 +0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FREEMAIL_FROM,HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alex.boisvert@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jul 2010 00:12:30 +0000 Received: by qyk8 with SMTP id 8so2588234qyk.17 for ; Mon, 26 Jul 2010 17:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=mDyti+q9hQFLqrdYUurucWtK1dkdEHEphSyCVLmNc3o=; b=HBeiw6t6yUo7QhiF8Lid8RjcfaEV8zJRWGl1Ad6cMxXxDUQrMj+98Z4VBA1VVhSFQH rKlkTGRnWOqHwlTovXZqk55KBsGt8nr85dn5GYouWJYPaL30W5kqGhZvsEuv8j7bA+Ye DqPv8ESf6+E/iNemqOB78uJM4rmVdp2gcaNWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kAurKBF14TYv061F9Wu2xTb6LhIp22sSfT0iDYq+xHwjDdmhCi2Eu24C8lk2HK13SL 3iNLbQXH66crgAD9Mvn+Ihw7EqjOrou/AlcfdKu9Zkm3eFdaRFuI2jN+y3Ooflkzc4po AltdlPwfE/+enf1rsssTR/RGZ49vFZk/UoMJg= MIME-Version: 1.0 Received: by 10.224.123.146 with SMTP id p18mr6691054qar.4.1280189529742; Mon, 26 Jul 2010 17:12:09 -0700 (PDT) Received: by 10.229.193.19 with HTTP; Mon, 26 Jul 2010 17:12:09 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Jul 2010 17:12:09 -0700 Message-ID: Subject: Re: Constant compiling From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=00c09fa21c202a657e048c535aa6 X-Virus-Checked: Checked by ClamAV on apache.org --00c09fa21c202a657e048c535aa6 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jul 26, 2010 at 2:42 PM, Andrew Watkins wrote: > Hello, > > I have a custom task I created that makes use of Java::Commands.java to run > the program. Unfortunately, every time the taks is called, it recompiles > first. This is because buildr is detecting a missing class file, which is > due to a weird way in which one of the developers decided to write the class > with traits, etc. Is there a way to forcibly stop buildr from recompiling? > Like task :heartbeat, :compile => false do ... Or something? > You could fiddle with either: - the compile task's list of prerequisites (e.g. compile.prerequisites.delete "foo") - your custom's tasks list of prerequisites - timestamps on the file system (or creating missing files) - ... really depends on the specifics of your project. A more tangible problem description would help. alex --00c09fa21c202a657e048c535aa6--