buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin" <ar...@intalio.com>
Subject Re: Groovy integration
Date Thu, 14 Feb 2008 00:17:50 GMT
On 2/4/08, Caleb Land <caleb.land@gmail.com> wrote:
>
> On Feb 4, 2008 7:10 PM, Assaf Arkin <arkin@intalio.com> wrote:
>
> > On 2/4/08, Caleb Land <redhatdude@gmail.com> wrote:
> > >
> > >
> > > On Feb 4, 2008, at 3:15 PM, Assaf Arkin wrote:
> > >
> > > > On 2/3/08, Caleb Land <caleb.land@gmail.com> wrote:
> > > >
> > > > 1.2.10 has a task specific for Scala, but that approach doesn't work
> > > > well,
> > > > it doesn't integrate with test, IDE and other tasks.  In 1.3 we
> > > > added a
> > > > framework that can use multiple compilers from the compile task, and
> > > > currently we have Java and Scala.  Adding Groovy wouldn't be a big
> > > > deal, see
> > > > lib/java/compilers.rb.
> > > >
> > > Great! I looked at lib/java/compilers.rb and it looks dead simple
> > > (compared to the scala compiler from 1.2.10)
> > >
> > > I think having a groovy compiler installed as the first compiler would
> > > be a good thing to include in core buildr (if the user has .groovy
> > > files that is) since the groovy compiler can joint compile java as
> well.
> > >
> > > What do you think?
> >
> >
> > I won't be a good idea to ask people who are building Java apps to use
> > Groovy, Scala or any other JVM compiler that can cross compile .java
> > files.
> >
>
> 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.

Assaf


--
> Caleb Land
>

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