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