|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
Testing out Buildr 1.3.2 gem installOne thing that bothered us in previous releases was non-working gem
install/update. So this time around, I want to test gem install/update before deciding to make a release. I set up an ad hoc gem repository strictly for testing Buildr 1.3.2. To check it out: gem update buildr --source http://people.apache.org/~assaf/gems/ or: gem install buildr --source http://people.apache.org/~assaf/gems/ Assaf |
|
|
Re: Testing out Buildr 1.3.2 gem installI had to manually install/update the following dependencies:
hoe net-ssh net-sftp Other than that, the gem install worked on OS X and Windows XP for me. On Wed, Jul 2, 2008 at 12:48 PM, Assaf Arkin <arkin@...> wrote: > One thing that bothered us in previous releases was non-working gem > install/update. So this time around, I want to test gem install/update > before deciding to make a release. I set up an ad hoc gem repository > strictly for testing Buildr 1.3.2. To check it out: > gem update buildr --source http://people.apache.org/~assaf/gems/<http://people.apache.org/%7Eassaf/gems/> > > or: > > gem install buildr --source http://people.apache.org/~assaf/gems/<http://people.apache.org/%7Eassaf/gems/> > > Assaf > -- -Shane |
|
|
Re: Testing out Buildr 1.3.2 gem installOn Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck <shane@...> 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 |
|
|
Re: Testing out Buildr 1.3.2 gem installI'm getting a weird error about scalatest missing.
# gem update buildr --source http://people.apache.org/~assaf/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/ 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 `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@...> wrote: > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck <shane@...> 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 |
|
|
Re: Testing out Buildr 1.3.2 gem installCurrently 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@...> 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/> > [...] > 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/> > 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@...> wrote: > > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck <shane@...> > 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 > |
|
|
Re: Testing out Buildr 1.3.2 gem installI 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@...> 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@...> > 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@...> wrote: > > > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck < > shane@...> > > 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 |
|
|
Re: Testing out Buildr 1.3.2 gem installAre you trying to hurt my feelings? :)
On Wed, Jul 2, 2008 at 2:42 PM, Shane Witbeck <shane@...> wrote: > 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@...> > 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@...> > > 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/> > > <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/> > > <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@...> wrote: > > > > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck < > > shane@...> > > > 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 > |
|
|
Re: Testing out Buildr 1.3.2 gem installOn Wed, Jul 2, 2008 at 10:42 AM, Shane Witbeck <shane@...>
wrote: > I had to manually install/update the following dependencies: > > hoe > net-ssh > net-sftp > > Other than that, the gem install worked on OS X and Windows XP for me. Confirmed. I finally managed to get it to break for me and getting the same errors. Weird thing to be happy about, but at least I can try and fix this. Assaf > > > > On Wed, Jul 2, 2008 at 12:48 PM, Assaf Arkin <arkin@...> wrote: > > > One thing that bothered us in previous releases was non-working gem > > install/update. So this time around, I want to test gem install/update > > before deciding to make a release. I set up an ad hoc gem repository > > strictly for testing Buildr 1.3.2. To check it out: > > gem update buildr --source http://people.apache.org/~assaf/gems/< > http://people.apache.org/%7Eassaf/gems/> > > > > or: > > > > gem install buildr --source http://people.apache.org/~assaf/gems/< > http://people.apache.org/%7Eassaf/gems/> > > > > Assaf > > > > > > -- > -Shane > |
|
|
Re: Testing out Buildr 1.3.2 gem installNot at all...especially when you were kind enough to answer my questions
about it twice! On Wed, Jul 2, 2008 at 5:58 PM, Alex Boisvert <boisvert@...> wrote: > Are you trying to hurt my feelings? :) > > > On Wed, Jul 2, 2008 at 2:42 PM, Shane Witbeck <shane@...> > wrote: > > > 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@...> > > 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@...> > > > 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/> > > <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/> > > <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@...> wrote: > > > > > On Wed, Jul 2, 2008 at 1:42 PM, Shane Witbeck < > > > shane@...> > > > > 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 > > > -- -Shane |
|
|
Re: Testing out Buildr 1.3.2 gem install |