buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Witbeck" <sh...@digitalsanctum.com>
Subject Re: Testing out Buildr 1.3.2 gem install
Date Wed, 02 Jul 2008 21:42:25 GMT
I agree with the idea of taking a lazy loading approach. Don't require the
Scala artifacts unless explicitly needed. I would say a majority of users
aren't using Scala for anything.


On Wed, Jul 2, 2008 at 5:31 PM, Alex Boisvert <boisvert@intalio.com> wrote:

> Currently your Buildfile needs to add this repository: '
> http://scala-tools.org/repo-releases/'
> Or you need to import the Scala artifacts in your local or one of your
> private repositories.
>
> This issue has come up frequently enough now that it might be worth
> disabling Scala support unless the necessary artifacts are already
> available
> locally.  One could then explicitly download Scala artifacts by doing
> something like "buildr scala-support" as a one-time initialization.
>
> Thoughts?
>
> alex
>
>
> On Wed, Jul 2, 2008 at 1:39 PM, lacton <lacton@users.sourceforge.net>
> wrote:
>
> > I'm getting a weird error about scalatest missing.
> >
> > # gem update buildr --source http://people.apache.org/~assaf/gems/<http://people.apache.org/%7Eassaf/gems/>
> <http://people.apache.org/%7Eassaf/gems/>
> > [...]
> > ERROR:  While executing gem ... (Gem::InstallError)
> >    buildr requires net-ssh (= 2.0.3)
> >    buildr requires hoe (= 1.6.0)
> > # gem update net-ssh
> > # gem install hoe --version 1.6.0
> > # gem update buildr --source http://people.apache.org/~assaf/gems/<http://people.apache.org/%7Eassaf/gems/>
> <http://people.apache.org/%7Eassaf/gems/>
> > Successfully installed buildr-1.3.2
> > $ buildr --trace
> > (in /home/lacton/code/buildr/annuaire, development)
> > ** Invoke buildr:initialize (first_time)
> > ** Execute buildr:initialize
> > ** Invoke annuaire (first_time)
> > ** Execute annuaire
> > ** Invoke /home/lacton/code/buildr/annuaire/lib/scala-library.jar
> > (first_time)
> > ** Execute /home/lacton/code/buildr/annuaire/lib/scala-library.jar
> > ** Invoke /home/lacton/code/buildr/annuaire/lib/scala-compiler.jar
> > (first_time)
> > ** Execute /home/lacton/code/buildr/annuaire/lib/scala-compiler.jar
> > ** Invoke
> > /home/lacton/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> > (first_time, not_needed)
> > ** Invoke
> >
> /home/lacton/.m2/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
> > (first_time, not_needed)
> > ** Invoke
> > /home/lacton/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
> > (first_time, not_needed)
> > ** Invoke /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/java
> > (first_time, not_needed)
> > ** Invoke
> >
> /home/lacton/.m2/repository/org/apache/ant/ant-trax/1.7.0/ant-trax-1.7.0.jar
> > (first_time, not_needed)
> > ** Invoke
> >
> /home/lacton/.m2/repository/org/apache/ant/ant-junit/1.7.0/ant-junit-1.7.0.jar
> > (first_time, not_needed)
> > ** Invoke
> >
> /home/lacton/.m2/repository/org/scalatest/scalatest/0.9.3/scalatest-0.9.3.jar
> > (first_time)
> > ** Execute
> >
> /home/lacton/.m2/repository/org/scalatest/scalatest/0.9.3/scalatest-0.9.3.jar
> > Downloading org.scalatest:scalatest:jar:0.9.3
> > Downloading org.scalatest:scalatest:jar:0.9.3
> > Requesting
> >
> http://www.ibiblio.org/maven2/org/scalatest/scalatest/0.9.3/scalatest-0.9.3.jar
> > Redirected to
> >
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/scalatest/scalatest/0.9.3/scalatest-0.9.3.jar
> > Requesting
> >
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/scalatest/scalatest/0.9.3/scalatest-0.9.3.jar
> > rake aborted!
> > Failed to download org.scalatest:scalatest:jar:0.9.3, tried the
> > following repositories:
> > http://www.ibiblio.org/maven2/
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/packaging/artifact.rb:407:in<
> http://www.ibiblio.org/maven2//usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/packaging/artifact.rb:407:in
> >
> > `fail_download'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/packaging/artifact.rb:372:in
> > `download'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/packaging/artifact.rb:302:in
> > `initialize'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:378:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `synchronize'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:364:in
> > `invoke'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/java/rjb.rb:99:in
> > `load'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/java/rjb.rb:99:in
> > `each'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/java/rjb.rb:99:in
> > `load'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/java/packaging.rb:574:in
> > `before_define'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:629:in
> > `call'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:629:in
> > `call_callbacks'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:629:in
> > `each'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:629:in
> > `call_callbacks'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:216:in
> > `send'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:216:in
> > `define'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `call'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `execute'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:622:in
> > `execute'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:300:in
> > `switch_to_namespace'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:621:in
> > `execute'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:378:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `synchronize'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:364:in
> > `invoke'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/util.rb:127:in
> > `__send__'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/util.rb:127:in
> > `to_proc'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:280:in
> > `each'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:280:in
> > `projects'
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:860:in
> > `projects'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/project.rb:867
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:378:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `synchronize'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:369:in
> > `invoke_with_call_chain'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:364:in
> > `invoke'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > `standard_exception_handling'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:180:in
> > `run'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > `standard_exception_handling'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:174:in
> > `run'
> > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> >
> >
> /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/lib/buildr/core/application.rb:173:in
> > `run'
> > /usr/lib/ruby/gems/1.8/gems/buildr-1.3.2/bin/buildr:21
> > /usr/bin/buildr:19:in `load'
> > /usr/bin/buildr:19
> >
> > Lacton
> >
> > On Wed, Jul 2, 2008 at 9:07 PM, Robert Stevenson
> > <robert.stevenson@gmail.com> wrote:
> > > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck <
> shane@digitalsanctum.com>
> > wrote:
> > >> I had to manually install/update the following dependencies:
> > >>
> > >> hoe
> > >> net-ssh
> > >> net-sftp
> > >
> > > Like Shane, after I ran gem update, I was able to gem update buildr on
> > > WinXP for both CRuby (1.8.6) and JRuby (1.1.2) without any problems.
> > >
> > > Thanks Assaf for making the gem install/update painless!
> > >
> > > -Rob
> >
>



-- 
-Shane

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