Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 51950 invoked from network); 22 Jan 2008 18:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2008 18:21:53 -0000 Received: (qmail 74379 invoked by uid 500); 22 Jan 2008 18:21:43 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 74320 invoked by uid 500); 22 Jan 2008 18:21:43 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Received: (qmail 74310 invoked by uid 99); 22 Jan 2008 18:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 10:21:43 -0800 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of arkin@intalio.com does not designate 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jan 2008 18:21:16 +0000 Received: by py-out-1112.google.com with SMTP id a25so3026267pyi.13 for ; Tue, 22 Jan 2008 10:21:21 -0800 (PST) Received: by 10.64.185.7 with SMTP id i7mr18343949qbf.69.1201026080759; Tue, 22 Jan 2008 10:21:20 -0800 (PST) Received: by 10.64.193.5 with HTTP; Tue, 22 Jan 2008 10:21:20 -0800 (PST) Message-ID: <3de5d7d20801221021o4ff6b924va47c496ce3032b36@mail.gmail.com> Date: Tue, 22 Jan 2008 10:21:20 -0800 From: "Assaf Arkin" To: buildr-user@incubator.apache.org Subject: Re: Compile In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3901_28636386.1201026080752" References: <5582dd3b0801220921g1badce7bvffe91e9520ba4e88@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3901_28636386.1201026080752 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/22/08, Neil Lott wrote: > > > Yes, the jar exists in the target directory and installed in the local > repository. The sources sub-project compile statement refers to the > interfaces jar artifact in the repository. > > No, the source files have not changed. Weird, but basically this will happen in one of two cases: 1. The compile task depends on the output of another compile task, typically by referencing it's JAR. 2. One is a sub-project of the other, projects always compile their sub-projects. You can run buildr --trace to see which files are references on the classpath, or add this in the project: puts compile.classpath Assaf On 1/22/08 10:21 AM, "Alex Boisvert" wrote: > > > On 1/22/08, Neil Lott wrote: > >> > >> Here=B9s the line I=B9m executing: > >> > >> [neil@flicker.local buildr]$ buildr coredn:sources:compile > >> (in > >> > >> > /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/relea= ses > >> /main/products/coredn/buildr) > >> Compiling 2166 source files in coredn:interfaces:compile > >> Note: Some input files use unchecked or unsafe operations. > >> Note: Recompile with -Xlint:unchecked for details. > >> Compiling 1661 source files in coredn:sources:compile > >> > >> Why is my other subproject coredn:interfaces:compile getting executed? > >> > >> My source sub-project is dependent upon the jar produced by the > interfaces > >> sub-project but I don=B9t see how the compile will resolve that > dependency. > > > > > > Does the jar already exist? Have any of the source files used to > produce > > it been changed? > > > > In the Buildr/Rake model, dependencies are transitive. If one of the > > dependencies is outdated, it will generally trigger a chain reaction to > > re-execute all of the tasks depending on it. > > > > alex > > This E-mail and any of its attachments may contain Time Warner > Cable proprietary information, which is privileged, confidential, > or subject to copyright belonging to Time Warner Cable. This E-mail > is intended solely for the use of the individual or entity to which > it is addressed. If you are not the intended recipient of this > E-mail, you are hereby notified that any dissemination, > distribution, copying, or action taken in relation to the contents > of and attachments to this E-mail is strictly prohibited and may be > unlawful. If you have received this E-mail in error, please notify > the sender immediately and permanently delete the original and any > copy of this E-mail and any printout. > > --=20 CTO, Intalio http://www.intalio.com ------=_Part_3901_28636386.1201026080752--