buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: [buildr] Using the group statement
Date Mon, 04 Feb 2008 20:29:57 GMT
On 2/3/08, Antoine Contal <antoine.contal@gmail.com> wrote:
>
> Assaf, Stephen,
>
> Thank you for your explanations. It works fine now.
>
> I must say having a method and an attribute with the same name in
> roughly the same context confused me.


I agree, it wasn't a good idea.  Unfortunately, the first time I realized
this was several months after the release.

Assaf


Cheers.
>
> antoine
>
> On Feb 3, 2008 9:54 PM, Stephen Duncan <stephen.duncan@gmail.com> wrote:
> > Yeah, I just realized what the problem was, as I hit it myself.  You can
> > also use Buildr::group.  So, for example:
> >
> > define "spike" do
> >  JETTY = Buildr::group("jetty", "jetty-util", "servlet-api-2.5",
> > :under=>"org.mortbay.jetty", :version=>"6.1.7")
> >  compile.with JETTY
> > end
> >
> > -Stephen
> >
> >
> > On Feb 3, 2008 3:40 PM, Assaf Arkin <arkin@intalio.com> wrote:
> >
> > > Each project has a group attribute, so when you call group on the
> project,
> > > you're accessing that attribute, not the group method.  You can use
> the
> > > group method from outside the project definition.
> > >
> > > Assaf
> > >
> > > On 2/3/08, Antoine Contal <antoine.contal@gmail.com> wrote:
> > > >
> > > > Ok. I guess it means it is a defect that was fixed in the trunk. I
> > > > will just wait for the 1.3.0 release before using the group
> statement
> > > > in that case.
> > > >
> > > > Thank you for your help.
> > > >
> > > > antoine
> > > >
> > > > On Feb 3, 2008 3:43 PM, Stephen Duncan <stephen.duncan@gmail.com>
> wrote:
> > > > > Ok, sorry.  I've been testing against trunk (1.3.0).  I thought
> the
> > > > :type =>
> > > > > 'jar' was necessary, but it turns out it isn't anyway.
> > > > >
> > > > > -Stephen
>



-- 
CTO, Intalio
http://www.intalio.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message