> 1) Buildr::IntellijIdea Buildr::IntellijIdea::IdeaModule with
> local_repository_env_override = nil base_directory on different drive on
> windows generates relative paths correctly
> Failure/Error: @foo.iml.send(:resolve_path, "E:/foo").should
> eql('E:/foo')
>
> expected "E:/foo"
> got "$MODULE_DIR$/../../E:/foo"
>
> (compared using eql?)
> # ./spec/ide/idea_spec.rb:1030
>
> Is this something you can reproduce?
All of my testing has been done with jruby 1.5.2 or 1.5.6.RC1 on
windows 7 atm and I don't have access to a *nix box. I suspect it is
probably a difference between how the path is handled on *nix or
perhaps on the MRI. You could possible guard the spec with an "if
Buildr::Util.win_os?" if that is the case.
--
Cheers,
Peter Donald