Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 36533 invoked from network); 14 Jan 2008 05:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 05:55:51 -0000 Received: (qmail 4581 invoked by uid 500); 14 Jan 2008 05:55:40 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 4560 invoked by uid 500); 14 Jan 2008 05:55:40 -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 4551 invoked by uid 99); 14 Jan 2008 05:55:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 21:55:40 -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 (nike.apache.org: transitioning domain of arkin@intalio.com does not designate 64.233.166.179 as permitted sender) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 05:55:28 +0000 Received: by py-out-1112.google.com with SMTP id a25so2324429pyi.13 for ; Sun, 13 Jan 2008 21:55:20 -0800 (PST) Received: by 10.65.54.9 with SMTP id g9mr13719777qbk.3.1200290119202; Sun, 13 Jan 2008 21:55:19 -0800 (PST) Received: by 10.64.193.4 with HTTP; Sun, 13 Jan 2008 21:55:19 -0800 (PST) Message-ID: <3de5d7d20801132155o76245139nd1faff9fbe5e2ad7@mail.gmail.com> Date: Sun, 13 Jan 2008 21:55:19 -0800 From: "Assaf Arkin" To: buildr-user@incubator.apache.org Subject: Re: buildr eclipse and spring nature In-Reply-To: <5582dd3b0801132143m2c9b9e92m845edda299e367b2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7994_12952496.1200290119199" References: <14792380.post@talk.nabble.com> <5582dd3b0801131729k2aa5e280u8f37c7e6dbc86217@mail.gmail.com> <14795441.post@talk.nabble.com> <5582dd3b0801132143m2c9b9e92m845edda299e367b2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7994_12952496.1200290119199 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 1/13/08, Alex Boisvert wrote: > > On 1/13/08, dhpeterson wrote: > > > > I noticed there seems to be some support for scala natures in the > > eclipse.rb > > file, e.g. > > > > # Check if project has scala facet > > scala = project.task("scalac") if > > Rake::Task.task_defined?(project.name+":"+"scalac") > > > > This variable is then used to control the generation of various XML for > > the > > .project file. I imagine the approach would be similar for spring > nature. > > > > One question: how do you "flick this switch" (i.e. switch on the scala > > support) from the main buildr Rakefile? > > > A typical use would be, > > define("my-project") do > scalac.with COMPILE_LIBS > package(:jar) > end > > alex > Note that we're going to change this in 1.3 to. The new way to use Scala is: define("my-project") do compile.with COMPILE_LIBS package(:jar) end The compile task will pick up the right compiler based on available source files, and the Eclipse task will only have to process one list of source files, for any language we're able to support. Can you explain what you're trying to do with Spring? Assaf -- CTO, Intalio http://www.intalio.com ------=_Part_7994_12952496.1200290119199--