Still cannot resolve that dependency.  The sonatype repository at
https://oss.sonatype.org/content/repositories/releases/org/scalatest/

does not contain  org.scalatest:scalatest_2.9.:jar:1.6.1

The gist had an extra quote at the end of line 6 as well.

Tony

On Fri, Jul 27, 2012 at 12:43 PM, Alex Boisvert <[email protected]>wrote:

> Oh right, the repository has changed.  Updated the gist to add the Sonatype
> repo.
>
> (This has been fixed in trunk already;  and I already had the artifacts
> locally).
>
> alex
>
>
> On Fri, Jul 27, 2012 at 9:39 AM, Anthony Bargnesi <[email protected]
> >wrote:
>
> > Thanks for putting the gist together.  The test step failed trying to
> > retrieve an older version
> > of ScalaTest.
> >
> > Here is the output:
> >
> > [tony@starship 3188848]$ ~/tools/buildr-1.4.7/bin/buildr clean test
> >
> >
> /home/tony/.gem/ruby/1.9.1/gems/buildr-1.4.7/lib/buildr/core/application.rb:596:
> > Use Rbfig.
> > /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv
> will
> > be deprecate
> > (in /home/tony/work/git/3188848, development)
> > Cleaning buildr-flatspec
> > Testing buildr-flatspec
> > Compiling buildr-flatspec into /home/tony/work/git/3188848/target/classes
> > Downloading org.scalatest:scalatest_2.9.:jar:1.6.1
> > Buildr aborted!
> > RuntimeError : Failed to download org.scalatest:scalatest_2.9.:jar:1.6.1,
> > tried the fol
> > http://scala-tools.org/repo-releases/
> > http://scala-tools.org/repo-snapshots/
> > http://repo1.maven.org/maven2/
> >
> > Thanks!
> > Tony
> >
> > On Fri, Jul 27, 2012 at 12:21 PM, Alex Boisvert <[email protected]
> > >wrote:
> >
> > > FlatSpec extends org.scalatest.Suite so it should be picked up as well.
> > >
> > > I've just tested it locally with a small project and it works as
> > expected.
> > >
> > > I've created a gist that you can download/clone
> > > https://gist.github.com/3188848 to try out.
> > >
> > > On Fri, Jul 27, 2012 at 8:11 AM, Anthony Bargnesi <[email protected]
> > > >wrote:
> > >
> > > > Hello,
> > > >
> > > > I have a project in scala that I'm attempting to test with
> > > > buildr/ScalaTest.  It is configured like:
> > > >
> > > >
> > > > define 'scala.project' do
> > > >     require 'buildr/scala'
> > > >     Buildr.settings.build['scala.version'] = "2.9.1"
> > > >     test.using :scalatest
> > > >     compile.using :target => '1.5'
> > > >     compile.with SCALA_TEST
> > > >     package(:jar, :id => PICKUP + 'scala.project').with \
> > > >             :manifest => file(MANIFEST),
> > > >             :meta_inf => file(SPRING_META)
> > > >
> > > > end
> > > >
> > > >
> > > >
> > > > I have two org.scalatest.FlatSpec specification tests that I want to
> > > > run.  I ran "buildr test" and "buildr test --trace" and did not see
> > > > these tests run.
> > > >
> > > >
> > > > The documentation says that ScalaTest's org.scalatest.Suite classes
> > > > will be picked up, but what about the FlatSpec classes?
> > > >
> > > >
> > > > Thanks!
> > > >
> > > > Tony
> > > >
> > >
> >
>

Reply via email to