On Fri, Nov 23, 2007 at 03:24:19PM -0600, Nick Sieger wrote: > On 11/23/07, Jens Kraemer <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm trying to build Goldspike from trunk and get this error when I run > > mvn install -Dmaven.test.skip=true : > > > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Internal error in the plugin manager executing goal > > 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake': Unable to find the > > mojo 'org.jruby.plugins:jruby-rake-plugin:1.1b1:rake' in the plugin > > 'org.jruby.plugins:jruby-rake-plugin' > > Bad version number in .class file > > > > Might this be a Java version issue (using 1.5.0 here). > > Any help would be appreciated. > > Hmm, looks like we pushed the 1.1b1 release out the door with the wrong JDK. > > The workaround would be to build JRuby trunk yourself with Maven, and > set the JRuby version in the goldspike pom.xml.
In fact I got it working by running 1.6 with mvn install -Dmaven.compile.target=1.5 -Dmaven.test.skip=true It's only our target platform that's limited to 1.5 so I hope this will work... What's strange is that the error above mentions jruby 1.1b1 but in fact goldspike is built against 1.0.1 by default. After changing that to 1.1b1 in pom.xml it doesn't build at all. > Or use this attached patch to build Goldspike against JRuby trunk. Great - that would have been my next question otherwise :-) Btw, is JRuby's JIT-Compiler enabled by default or do I have to manually turn it on? Many thanks, Jens -- Jens Krämer http://www.jkraemer.net/ - Blog http://www.omdb.org/ - The new free film database _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
