Hi Vladimir,

Thanks again! rake:ji works for me now, and the build script downloads mspec
and rubyspecs correctly (or looks like it does), but I get the following
error when running the specs:

run-specs-precompiled:
     [echo] Excludes: C:\Src\jruby\jruby/spec/tags
     [echo] compile=FORCE, threshold=0, objectspace=true threadpool=false
reflection=false
     [java] <script>:1:in `run': No such file or directory - cannot execute
(Errno::ENOENT)
     [java]     from
C:/Src/jruby/jruby/spec/mspec/lib/mspec/utils/script.rb:86:in `main'
     [java]     from C:\Src\jruby\jruby/spec/mspec/bin/mspec:7
     [java] Java Result: 1

Do you have any idea why this happens?

On Mon, Sep 1, 2008 at 1:15 AM, Vladimir Sizikov <[EMAIL PROTECTED]> wrote:

> Hi Dmitry,
>
> On Sun, Aug 31, 2008 at 11:03 PM, Dmitry Jemerov <[EMAIL PROTECTED]>
> wrote:
> > For the first part, I get the following error on the last step:
> > C:/Src/jruby/jruby/bin/rake:1: undefined method `rake' for
> > JRuby::Commands:Class (NoMethodError)
> > (because the 'rake' script doesn't exist in the bin subdirectory of the
> > checkout directory).
> > Do I need to install the rake gem into the JRuby checkout dir? Or is
> there
> > something else I need to configure?
>
> Ah, indeed! :) I've forgotten on step.
> The rake and rspec gems are not being installed during just regular 'ant'
> build.
> You need to install them either manually via
>
> jruby -S gem install rake rspec
>
> Or, you could just invoke
>
> ant install-gems
>
> this will install the needed gems (rake and rspec).
>
> > For the second part, I'll try to modify build.xml to work with ZIP
> > snapshots, and I'll post a patch if it works for me.
>
> Excellent! Thanks! :)
>
> --Vladimir
>
> > On Mon, Sep 1, 2008 at 12:16 AM, Vladimir Sizikov <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> Hi Dmitry,
> >>
> >> For the JI specs, I typically run:
> >>
> >> jruby -S rake spec:ji
> >>
> >> and it works for me on Windows, with the latest checkout from the JRuby
> >> repo.
> >>
> >> All I have to do is:
> >> 1. svn co the latest jruby
> >> 2. ant clean && ant
> >> 3. set PATH so that jruby.bat is in there
> >> 4. jruby -S rake spec:ji
> >>
> >> As for the RubySpecs, they not yet fully functional on Windows for a
> >> couple of reasons:
> >>
> >> 1. Github was not supporting anything besides TAR snapshots in Posix
> >> format, and Ant
> >>    can't handle such format (Ant only understands GNU TAR format), so
> >> we had to use
> >>    the 'tar' binary, which works on Unix, but not on Windows.
> >>
> >>    Now I see that Github now supports ZIP snapshots, so that we could
> >> get back to pure-Ant
> >>    solution without external binaries for extracting the snapshots.
> >>
> >> 2. RubySpecs are not yet fully updated to be running 100% on Windows,
> >> since most (or even all?)
> >>    contributors do not use Windows regularly.
> >>    So, once we fix the problem #1 above, you'll be able to run
> >> RubySpecs via 'ant spec', but
> >>   you'll see lots of failures. We need to clean/fix this up sooner or
> >> later though...
> >>
> >> Thanks,
> >>  --Vladimir
> >>
> >> On Sun, Aug 31, 2008 at 6:38 PM, Dmitry Jemerov <[EMAIL PROTECTED]>
> >> wrote:
> >> > Hello everyone,
> >> >
> >> > Could someone please explain the path from a clean JRuby checkout on
> >> > Windows
> >> > to: a) being able to run the RubySpec testsuite (ant specs); b) being
> >> > able
> >> > to run the Java integration specs (rake spec:ji)? Or maybe there's a
> >> > document somewhere which describes this?
> >> >
> >> > With 'ant specs', I wasn't able to find a binary of tar which is
> capable
> >> > of
> >> > unpacking the mspec.tgz and rubyspec.tgz archives. There are many
> >> > different
> >> > binaries around, but some of them complain about --strip-components,
> >> > others
> >> > complain about empty file names in the archive, and the Cygwin version
> >> > of
> >> > tar can't find the archives to unpack altogether.
> >> >
> >> > With 'rake spec:ji', I get an error on "require 'spec/rake/spectask'"
> in
> >> > Rakefile, and I don't understand where this file is supposed to come
> >> > from in
> >> > my JRuby checkout.
> >> >
> >> > Thanks in advance for your help,
> >> >
> >> > Dmitry
> >> >
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe from this list, please visit:
> >>
> >>    http://xircles.codehaus.org/manage_email
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to