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