Wow this one is interesting....I am guessing the *.rake loading is doing it in a different order (which I wondered about).
Working on fixing the problems now. -Tom On Sat, Feb 13, 2010 at 3:53 PM, Vladimir Sizikov <[email protected]> wrote: > 'ant test' fails as well: > > test-rake-targets: > [echo] Running rake spec:ji:quiet > [echo] compile=OFF, threshold=20, objectspace=true > threadpool=false reflection=false > [java] (in /opt/work/jruby.git) > [java] rake aborted! > [java] uninitialized constant BUILD_LIB_DIR > [java] > [java] (See full trace by running task with --trace) > > > On Sat, Feb 13, 2010 at 10:50 PM, Vladimir Sizikov <[email protected]> wrote: >> Hi folks, >> >> With recent ant/rake reorg commit, 'ant spec-short' is totally hosed: >> >> ant spec-short >> Buildfile: build.xml >> >> fetch-specs: >> [echo] Running rake spec:fetch_latest_rubyspec_repo >> spec:fetch_latest_mspec_repo >> [echo] compile=OFF, threshold=20, objectspace=true >> threadpool=false reflection=false >> [java] java.lang.NoClassDefFoundError: ${run/jvm/model} >> [java] Caused by: java.lang.ClassNotFoundException: ${run.jvm.model} >> [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> [java] at java.security.AccessController.doPrivileged(Native Method) >> [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:303) >> [java] at >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> [java] at >> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) >> [java] Could not find the main class: ${run.jvm.model}. Program will >> exit. >> [java] Exception in thread "main" >> >> The same for 'ant spec'. >> >> Also, the spec:fetch_latest_rubyspec_repo and >> spec:fetch_latest_mspec_repo targets seem to remove and re-fetch the >> repos *every* time, which is slows down the spec execution >> significantly: 20 seconds! >> >> I really liked how our rubyspec/mspec sync was working before, we had >> full clone of both repos, we never deleted them and only updated when >> rubyspecs.revision file was changed. Now we remove and then re-fetch >> them all the time, and we don't do full clone only --depth 1. >> >> Thanks, >> --Vladimir >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- blog: http://blog.enebo.com twitter: tom_enebo mail: [email protected] --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
