I looked at, and redownloaded specs-1.5.0.jar earlier in the process, with no avail. However, last night I ran the tests as root, and after downloading the world, they succeeded. So, I blew away my maven repository, and ran the tests again, and they compiled and run correctly. I don't know what was wrong in that repo, but it's fixed now.
Thanks for your help -Cale On Tue, Jul 7, 2009 at 11:42 PM, David Pollak<feeder.of.the.be...@gmail.com> wrote: > > > On Tue, Jul 7, 2009 at 7:35 PM, Calen Pennington > <calen.penning...@gmail.com> wrote: >> >> So, I switched to Sun's 1.6 JDK, and am getting the same errors. And >> yes, I changed the scala version from 2.7.4 to 2.7.5 in pom.xml. >> >> Interestingly, running mvn compile works correctly, and mvn test fails >> with the same errors that mvn install does. Unfortunately, I'm not >> familiar enough with maven to diagnose further than that. Any ideas? > > Please look at > ~/.m2/repository/org/scala-tools/testing/specs/1.5.0/specs-1.5.0.jar > > Does it exist? Can you open it? Does it contain > org.specs.BeforeAfter.class? > > >> >> -Cale >> >> On Thu, Jul 2, 2009 at 10:39 PM, David >> Pollak<feeder.of.the.be...@gmail.com> wrote: >> > >> > >> > On Thu, Jul 2, 2009 at 4:09 PM, Calen Pennington >> > <calen.penning...@gmail.com> wrote: >> >> >> >> I'm running Ubuntu 9.04. >> > >> > The only difference between your setup and mine is that I'm using Sun's >> > 1.6 >> > JDK rather than OpenJDK. >> > >> >> >> >> $ mvn -v >> >> >> >> Maven version: 2.0.9 >> >> Java version: 1.6.0_0 >> >> OS name: "linux" version: "2.6.28-13-generic" arch: "i386" Family: >> >> "unix" >> >> >> >> I get the same errors using scala 2.7.4 and 2.7.5 >> > >> > When you say using, do you mean that you changed the version of Scala in >> > the >> > pom.xml files? >> > >> >> >> >> -Cale >> >> >> >> >> >> On Thu, Jul 2, 2009 at 12:24 AM, David >> >> Pollak<feeder.of.the.be...@gmail.com> wrote: >> >> > I've built Lift from source on Windows, Linux and Mac OS X within the >> >> > last 2 >> >> > days without incident. >> >> > >> >> > What OS are you running, what version of Maven and what version of >> >> > Java? >> >> > >> >> > On Wed, Jul 1, 2009 at 8:00 PM, Calen Pennington >> >> > <calen.penning...@gmail.com> wrote: >> >> >> >> >> >> Hi, >> >> >> >> >> >> I'm trying to build Lift from the source. I pulled the latest source >> >> >> from git, and ran >> >> >> >> >> >> cd liftweb >> >> >> mvn install >> >> >> >> >> >> as suggested in the wiki (http://wiki.liftweb.net/index.php/ >> >> >> Source_code) >> >> >> >> >> >> When I did this, I got a large number of warnings like the >> >> >> following: >> >> >> [WARNING] /home/cpenning/work/scala/lift/liftweb-cpenning/lift-util/ >> >> >> src/test/scala/net/liftweb/util/CombParserHelpersSpec.scala:18: >> >> >> error: >> >> >> value specs is not a member of package org >> >> >> [WARNING] import _root_.org.specs._ >> >> >> >> >> >> The lift-util/pom.xml includes the dependency >> >> >> >> >> >> <dependency> >> >> >> <groupId>org.scala-tools.testing</groupId> >> >> >> <artifactId>specs</artifactId> >> >> >> <version>1.5.0</version> >> >> >> </dependency> >> >> >> >> >> >> as expected, and looking at my ~/.m2/repository/org/scala-tools/ >> >> >> testing/specs/1.5.0/ contains a pom and a jar. >> >> >> >> >> >> Anyone know why lift-utils isn't able to import specs? >> >> >> >> >> >> Thanks >> >> >> >> >> >> -Cale >> >> >> >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > Lift, the simply functional web framework http://liftweb.net >> >> > Beginning Scala http://www.apress.com/book/view/1430219890 >> >> > Follow me: http://twitter.com/dpp >> >> > Git some: http://github.com/dpp >> >> > >> >> > > >> >> > >> >> >> >> >> > >> > >> > >> > -- >> > Lift, the simply functional web framework http://liftweb.net >> > Beginning Scala http://www.apress.com/book/view/1430219890 >> > Follow me: http://twitter.com/dpp >> > Git some: http://github.com/dpp >> > >> > > >> > >> >> > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---