Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 38156 invoked from network); 14 Feb 2008 19:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 19:54:45 -0000 Received: (qmail 5487 invoked by uid 500); 14 Feb 2008 19:54:39 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 5475 invoked by uid 500); 14 Feb 2008 19:54:39 -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 5466 invoked by uid 99); 14 Feb 2008 19:54:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 11:54:39 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vic.borja@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 19:54:08 +0000 Received: by wx-out-0506.google.com with SMTP id h30so537464wxd.21 for ; Thu, 14 Feb 2008 11:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=U6n3KVuRyDdEAH1SgxpnxWGfZ72LVSL9A6XpJys5tc0=; b=BVpY31cgQO16gLGBMyNPRXjKf4bmKN7c28cFGUy1fNo9WYQ8y8h2SMEtiQpkVTgqnS0tHd9PwQmLaQkjES7Z/Xgt4WljSIXsjN389fK+6G1oqY833t7yUNjroF9o2nr+zUQfrGWSOSL/iVlkhmuZq3+7zIfCx9eSMkRsXvlSsY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=yF73lvp8EDJIYYvJW90MrzspaY4Go/9bd4HGCxUDSb7OmP7KYHIDGfVIuecwg0kCT3qBf64d4sgbQZF65c4oct7fnUG/Ve4LLjdeiv7VhdYSblnIJn1uCd0Q1lAUAsov9k1lipcTZzpeMMFELvOMYnpfowYzh4bwVVXMbnezefw= Received: by 10.141.133.14 with SMTP id k14mr1286294rvn.127.1203018855609; Thu, 14 Feb 2008 11:54:15 -0800 (PST) Received: by 10.140.135.19 with HTTP; Thu, 14 Feb 2008 11:54:15 -0800 (PST) Message-ID: <53466cf0802141154o62af626bh44b7c07407e89588@mail.gmail.com> Date: Thu, 14 Feb 2008 13:54:15 -0600 From: "Victor Hugo Borja" To: buildr-user@incubator.apache.org Subject: Re: Groovy integration In-Reply-To: <3de5d7d20802131617m781bdb83u2ee054b9d753faee@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2253_473907.1203018855586" References: <3de5d7d20802041215v383f9754w28f621b4bdd5e664@mail.gmail.com> <97209901-7CBD-4813-A967-0FE0C7DD05F9@gmail.com> <3de5d7d20802041610g7dba6e42vfe9ef4739738be50@mail.gmail.com> <3de5d7d20802131617m781bdb83u2ee054b9d753faee@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2253_473907.1203018855586 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Caleb, On Wed, Feb 13, 2008 at 6:17 PM, Assaf Arkin wrote: > On 2/4/08, Caleb Land wrote > > Well, I was thinking that it would be turned on automatically if .groovy > > files were detected, and so if you didn't have any .groovy files, the > > groovy > > compiler wouldn't be used. > > You're right. If the project contains a .groovy file then it's a Groovy > project, in which case no problem if it also picks up and compiles .java > files. > Buildr trunk includes a groovyc compiler. It's not loaded by default because doing so would add the groovy jars into the classpath, downloading them even if you never use groovy. If you want to use it, you need to require it on your buildfile require 'java/grovyc' Once loaded, the Groovy compiler is automatically selected if it find any .groovy source files in src/main/groovy. If your project has java sources, they will get compiled by groovyc. -- vic Quaerendo invenietis. ------=_Part_2253_473907.1203018855586--