[VOTE] Buildr 1.4.7 RC1

2011-11-17 Thread Antoine Toulme
Vote is opened for a week.

We're voting on the source distributions available here:
http:/people.apache.org/~toulmean/buildr/1.4.7/dist/

Specifically:
http:/people.apache.org/~toulmean/buildr/1.4.7/dist/buildr-1.4.7.tgz
http:/people.apache.org/~toulmean/buildr/1.4.7/dist/buildr-1.4.7.zip

The documentation generated for this release is available here:
http:/people.apache.org/~toulmean/buildr/1.4.7/site/
http:/people.apache.org/~toulmean/buildr/1.4.7/site/buildr.pdf

The official specification against which this release was tested:
http:/people.apache.org/~toulmean/buildr/1.4.7/site/specs.html

Test coverage report:
http:/people.apache.org/~toulmean/buildr/1.4.7/site/coverage/index.html

1.4.7 (2011-11-17)
* Added:  Add a Findbugs extension.
* Added:  Add a Checkstyle extension.
* Added:  Add a JavaNCSS extension.
* Added:  Add a PMD extension.
* Added:  MultiTest framework that allows combining multiple test frameworks
  for a single project.
* Added:  Scala Specs2 framework support.
* Added:  Buildr.transitive() now accepts hash with :scopes, :optional and
  :scopes_transitive parameters
* Added:  Improved scala file change detection
  (to avoid recompiling  unnecessarily)
* Added:  ScalaTest now automatically loads the Mockito library
* Added:  Enhance the Intellij IDEA extension to support the addition of
"artifacts"
  and "configurations" to the generated project file.
* Added:  BUILDR-598 TestNG support for :groups and :excludegroups
(Christopher Coco)
* Added:  BUILDR-616 Buildr development - If using rvm a default .rvmrc
file would be helpful (Russell Teabeault)
* Change: Scala Specs upgraded to 1.6.9 if using Scala 2.9.1
* Change: Scala 2.9.1 is now default
* Change: Make it possible to parameterize the JDepend extension and
control the
  projects that are included in the analysis and to enable support
for
  loading a per project jdepend.properties.
* Change: Parameterize the the directory where the top level cobertura
tasks will generate
  reports. Specify using Buildr::Cobertura.report_dir = ''
* Change: Stop pretty printing the Intellij IDEA project files to avoid
IDEA breaking
  in the presence of non-normalized whitespace content.
* Change: Change the Intellij IDEA extension to always rebuild the project
files.
* Change: Upgrade to require atoulme-Antwrap 0.7.2
* Change: Changed the default output directory for Intellij IDEA extension
to be
  _(:target, :main, :idea, :classes) from _(:target, :main, :java)
and the
  default test output directory to be _(:target, :test, :idea,
:classes)
  from _(:target, :test, :java)
* Change: Upgrade to highline 1.6.2
* Change: Upgrade to jekyll 0.11.0, jekylltask 1.1.0, RedCloth 4.2.7, rdoc
3.8 for
  generating documentation
* Change: Upgrade to require rubygems > 1.8.6
* Change: BUILDR-603 Remove install/uninstall actions from :gem packaging
type
* Change: BUILDR-602 Fail the build when gem dependencies are missing
rather than
  attempting to install the dependencies
* Change: BUILDR-601 Remove Buildr::Util::Gems
* Change: BUILDR-600 Centralize the common ad internal requires into one
location.
* Change: Upgrade to JRuby 1.6.2
* Change: Move to Bundler to manage the project dependencies
* Change: BUILDR-548 Remove support for JTestR as it is no longer
maintained (Antoine Toulme)
* Change: BUILDR-614 Buildr development - Using rvm, bundler and OSX
installs the wrong rjb (Russell Teabeault)
* Change: Upgrade to RJB 1.3.7
* Fixed:  ArtifactNamespace fails when using artifacts with classfier.
* Fixed:  Buildr.artifacts() should handle any object with :to_spec method
  (i.e., any object that ActsAsArtifact)
* Fixed:  Handle HTTP Unauthorized (501) result code when downloading
artifacts.
* Fixed:  BUILDR-611 Buildr should not unnecessarily recompile Java files
  explicitly added to compile.from
* Fixed:  scaladoc generation with scala 2.9.x
* Fixed:  Bnd Plugin: Add each artifact individually as a prerequisite to
  bundle / package task when passed to classpath_element method
* Fixed:  BUILDR-439 "The command line is too long" when running TestNG
tests (Tammo Van Lessen)
* Fixed:  BUILDR-595 Add option to specifiy location of ca cert
* Fixed:  BUILDR-596 Update installation notes to talk about the all-in-one
bundle


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Alex Boisvert
Right, downloading + installing the local gem works fine.

alex

On Thu, Nov 17, 2011 at 1:40 PM, Antoine Toulme wrote:

> Very odd. I had issues too, but not the same error.
>
> Please try this out:
> Download the gem directly:
> Download
>
> Then gem install the gem.
>
> It worked for me then.
>
> Antoine
>
> On Thu, Nov 17, 2011 at 13:25, Alex Boisvert  >wrote:
>
> > Still doesn't install directly on JRuby...  This is a clean "rvm install
> > jruby-1.6.5" install:
> >
> > boisvert@honeybrown:~$ rvm use jruby-1.6.5
> > Using /home/boisvert/.rvm/gems/jruby-1.6.5
> >
> > boisvert@honeybrown:~$ which gem
> > /home/boisvert/.rvm/rubies/jruby-1.6.5/bin/gem
> >
> > boisvert@honeybrown:~$ gem install buildr --pre -platform java
> > ^Cboisvert@honeybrown:~$ gem install buildr --pre --platform java
> > Building native extensions.  This could take a while...
> > ERROR:  Error installing buildr:
> > ERROR: Failed to build gem native extension.
> >
> > WTF?  It's trying to install rjb so it's not picking up the java platform
> > distribution.
> >
> > I don't think that's a buildr issue; just pointing out that we may have
> to
> > deal with install hurdles.  (BTW, I also tried with jruby-1.6.3 with same
> > result).
> >
> > alex
> >
> >
> > On Thu, Nov 17, 2011 at 1:14 PM, Antoine Toulme  >wrote:
> >
> >> Done, and pushing pre2 for both MRI and Java.
> >>
> >> Please try it out, I'll work on the CI meanwhile.
> >>
> >> Thanks!
> >>
> >> Antoine
> >>
> >>
> >> On Thu, Nov 17, 2011 at 12:44, Antoine Toulme  >wrote:
> >>
> >>> I think I did the wrong thing and tried to yank the prerelease, after
> >>> Dominic's reply, to push a new attempt. And it didn't work.
> >>>
> >>> I thought I could push prerelease gems.
> >>>
> >>> On second thought, maybe I could push pre2 ? I'll get to that and will
> >>> try with 2 different machines again.
> >>>
> >>> Sorry for the confusion. Doing the RJB change now.
> >>>
> >>> Thanks,
> >>>
> >>> Antoine
> >>>
> >>> On Thu, Nov 17, 2011 at 12:35, Alex Boisvert  >wrote:
> >>>
>  Fine with me.
> 
>  Separately, using rvm and jruby 1.6.5, when I "gem install buildr
>  --pre" it seems to pick up the c-ruby platform distribution not the
> java
>  platform distribution.   I tried explicitly passing "--platform java"
> but
>  that didn't work either.   Anybody else seen this?
> 
>  (The package installs fine when I download and gem install
>  buildr-1.4.7.pre.gem directly)
> 
>  alex
> 
> 
>  On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme  >wrote:
> 
> > Hi folks,
> >
> > it looks like the version of RJB we use is a bit outdated.
> >
> > It would also effectively fix issues on Mac with RVM if we moved to
> the
> > latest version.
> >
> > What do you think ?
> >
> > Antoine
> >
> 
> 
> >>>
> >>
> >
>


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Antoine Toulme
Very odd. I had issues too, but not the same error.

Please try this out:
Download the gem directly:
Download

Then gem install the gem.

It worked for me then.

Antoine

On Thu, Nov 17, 2011 at 13:25, Alex Boisvert wrote:

> Still doesn't install directly on JRuby...  This is a clean "rvm install
> jruby-1.6.5" install:
>
> boisvert@honeybrown:~$ rvm use jruby-1.6.5
> Using /home/boisvert/.rvm/gems/jruby-1.6.5
>
> boisvert@honeybrown:~$ which gem
> /home/boisvert/.rvm/rubies/jruby-1.6.5/bin/gem
>
> boisvert@honeybrown:~$ gem install buildr --pre -platform java
> ^Cboisvert@honeybrown:~$ gem install buildr --pre --platform java
> Building native extensions.  This could take a while...
> ERROR:  Error installing buildr:
> ERROR: Failed to build gem native extension.
>
> WTF?  It's trying to install rjb so it's not picking up the java platform
> distribution.
>
> I don't think that's a buildr issue; just pointing out that we may have to
> deal with install hurdles.  (BTW, I also tried with jruby-1.6.3 with same
> result).
>
> alex
>
>
> On Thu, Nov 17, 2011 at 1:14 PM, Antoine Toulme 
> wrote:
>
>> Done, and pushing pre2 for both MRI and Java.
>>
>> Please try it out, I'll work on the CI meanwhile.
>>
>> Thanks!
>>
>> Antoine
>>
>>
>> On Thu, Nov 17, 2011 at 12:44, Antoine Toulme wrote:
>>
>>> I think I did the wrong thing and tried to yank the prerelease, after
>>> Dominic's reply, to push a new attempt. And it didn't work.
>>>
>>> I thought I could push prerelease gems.
>>>
>>> On second thought, maybe I could push pre2 ? I'll get to that and will
>>> try with 2 different machines again.
>>>
>>> Sorry for the confusion. Doing the RJB change now.
>>>
>>> Thanks,
>>>
>>> Antoine
>>>
>>> On Thu, Nov 17, 2011 at 12:35, Alex Boisvert wrote:
>>>
 Fine with me.

 Separately, using rvm and jruby 1.6.5, when I "gem install buildr
 --pre" it seems to pick up the c-ruby platform distribution not the java
 platform distribution.   I tried explicitly passing "--platform java" but
 that didn't work either.   Anybody else seen this?

 (The package installs fine when I download and gem install
 buildr-1.4.7.pre.gem directly)

 alex


 On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme 
 wrote:

> Hi folks,
>
> it looks like the version of RJB we use is a bit outdated.
>
> It would also effectively fix issues on Mac with RVM if we moved to the
> latest version.
>
> What do you think ?
>
> Antoine
>


>>>
>>
>


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Alex Boisvert
Still doesn't install directly on JRuby...  This is a clean "rvm install
jruby-1.6.5" install:

boisvert@honeybrown:~$ rvm use jruby-1.6.5
Using /home/boisvert/.rvm/gems/jruby-1.6.5

boisvert@honeybrown:~$ which gem
/home/boisvert/.rvm/rubies/jruby-1.6.5/bin/gem

boisvert@honeybrown:~$ gem install buildr --pre -platform java
^Cboisvert@honeybrown:~$ gem install buildr --pre --platform java
Building native extensions.  This could take a while...
ERROR:  Error installing buildr:
ERROR: Failed to build gem native extension.

WTF?  It's trying to install rjb so it's not picking up the java platform
distribution.

I don't think that's a buildr issue; just pointing out that we may have to
deal with install hurdles.  (BTW, I also tried with jruby-1.6.3 with same
result).

alex


On Thu, Nov 17, 2011 at 1:14 PM, Antoine Toulme wrote:

> Done, and pushing pre2 for both MRI and Java.
>
> Please try it out, I'll work on the CI meanwhile.
>
> Thanks!
>
> Antoine
>
>
> On Thu, Nov 17, 2011 at 12:44, Antoine Toulme  wrote:
>
>> I think I did the wrong thing and tried to yank the prerelease, after
>> Dominic's reply, to push a new attempt. And it didn't work.
>>
>> I thought I could push prerelease gems.
>>
>> On second thought, maybe I could push pre2 ? I'll get to that and will
>> try with 2 different machines again.
>>
>> Sorry for the confusion. Doing the RJB change now.
>>
>> Thanks,
>>
>> Antoine
>>
>> On Thu, Nov 17, 2011 at 12:35, Alex Boisvert wrote:
>>
>>> Fine with me.
>>>
>>> Separately, using rvm and jruby 1.6.5, when I "gem install buildr --pre"
>>> it seems to pick up the c-ruby platform distribution not the java platform
>>> distribution.   I tried explicitly passing "--platform java" but that
>>> didn't work either.   Anybody else seen this?
>>>
>>> (The package installs fine when I download and gem install
>>> buildr-1.4.7.pre.gem directly)
>>>
>>> alex
>>>
>>>
>>> On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme wrote:
>>>
 Hi folks,

 it looks like the version of RJB we use is a bit outdated.

 It would also effectively fix issues on Mac with RVM if we moved to the
 latest version.

 What do you think ?

 Antoine

>>>
>>>
>>
>


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Antoine Toulme
Done, and pushing pre2 for both MRI and Java.

Please try it out, I'll work on the CI meanwhile.

Thanks!

Antoine

On Thu, Nov 17, 2011 at 12:44, Antoine Toulme  wrote:

> I think I did the wrong thing and tried to yank the prerelease, after
> Dominic's reply, to push a new attempt. And it didn't work.
>
> I thought I could push prerelease gems.
>
> On second thought, maybe I could push pre2 ? I'll get to that and will try
> with 2 different machines again.
>
> Sorry for the confusion. Doing the RJB change now.
>
> Thanks,
>
> Antoine
>
> On Thu, Nov 17, 2011 at 12:35, Alex Boisvert wrote:
>
>> Fine with me.
>>
>> Separately, using rvm and jruby 1.6.5, when I "gem install buildr --pre"
>> it seems to pick up the c-ruby platform distribution not the java platform
>> distribution.   I tried explicitly passing "--platform java" but that
>> didn't work either.   Anybody else seen this?
>>
>> (The package installs fine when I download and gem install
>> buildr-1.4.7.pre.gem directly)
>>
>> alex
>>
>>
>> On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme wrote:
>>
>>> Hi folks,
>>>
>>> it looks like the version of RJB we use is a bit outdated.
>>>
>>> It would also effectively fix issues on Mac with RVM if we moved to the
>>> latest version.
>>>
>>> What do you think ?
>>>
>>> Antoine
>>>
>>
>>
>


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Antoine Toulme
I think I did the wrong thing and tried to yank the prerelease, after
Dominic's reply, to push a new attempt. And it didn't work.

I thought I could push prerelease gems.

On second thought, maybe I could push pre2 ? I'll get to that and will try
with 2 different machines again.

Sorry for the confusion. Doing the RJB change now.

Thanks,

Antoine

On Thu, Nov 17, 2011 at 12:35, Alex Boisvert wrote:

> Fine with me.
>
> Separately, using rvm and jruby 1.6.5, when I "gem install buildr --pre"
> it seems to pick up the c-ruby platform distribution not the java platform
> distribution.   I tried explicitly passing "--platform java" but that
> didn't work either.   Anybody else seen this?
>
> (The package installs fine when I download and gem install
> buildr-1.4.7.pre.gem directly)
>
> alex
>
>
> On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme wrote:
>
>> Hi folks,
>>
>> it looks like the version of RJB we use is a bit outdated.
>>
>> It would also effectively fix issues on Mac with RVM if we moved to the
>> latest version.
>>
>> What do you think ?
>>
>> Antoine
>>
>
>


Re: Moving to RJB 1.3.7 ?

2011-11-17 Thread Alex Boisvert
Fine with me.

Separately, using rvm and jruby 1.6.5, when I "gem install buildr --pre" it
seems to pick up the c-ruby platform distribution not the java platform
distribution.   I tried explicitly passing "--platform java" but that
didn't work either.   Anybody else seen this?

(The package installs fine when I download and gem install
buildr-1.4.7.pre.gem directly)

alex


On Thu, Nov 17, 2011 at 12:21 PM, Antoine Toulme wrote:

> Hi folks,
>
> it looks like the version of RJB we use is a bit outdated.
>
> It would also effectively fix issues on Mac with RVM if we moved to the
> latest version.
>
> What do you think ?
>
> Antoine
>


Moving to RJB 1.3.7 ?

2011-11-17 Thread Antoine Toulme
Hi folks,

it looks like the version of RJB we use is a bit outdated.

It would also effectively fix issues on Mac with RVM if we moved to the
latest version.

What do you think ?

Antoine