I have been quite confused with getting ojunit to work with 0.7b. The
readme mentions none of it, and on the irc chanel somebody mentioned
to me that I should run "rake submodule" to set it up.
However it didn't work - I suspect because the .gitmodules file is not
checked in to the branch.
Could somebody verify that this is the case?
Here's my .gitmodules file:
-- snip --
% cat .gitmodules
[submodule "Tools/ojunit"]
path = Tools/ojunit
url = git://github.com/280north/ojunit.git
-- snap --
In the end, I just added ojunit myself "git submodule add git://
github.com/280north/ojunit.git Tools/ojunit" (after rake submodule) -
and that seems to have done the trick.
Regards,
Martin
Thanks for the link! Your manuals have helped me quite a bit since I
started fulltime on cappuccino again.
:)
I ended up going with a submodule, as I really want to track both
repositories.
Thanks a lot,
Martin
I think the problem is that ojunit is still in the Rakefile - so
building anything just fails without an explanation when ojunit is not
present. My Rake-Fu is not really up to par, so I can't provide a
patch, but rake should either just ignore ojunit if it's not present,
present a nice error message explaining what to do or just check it
out with git (however the best practice is right now).
To repeat: What was really irritating me was that I couldn't build
cappuccino and neither the error message, nor the build file, nor the
wiki or the mailing list had any clue on what the recomended way to go
forward was.
Regards,
Martin
That would be a very short term solution - I would much prefer it to
be built if available, and also be available as a dependency if rake
tests is run.
Regards,
Martin
Now I get it. We always thought that rake died - but instead its
actually the last output and the build went through ok.
You should really do something about the error message - I'm sure more
people who are not used to rake will trip over this.
Regards,
Martin