Thanks Ross. On Fri, Nov 13, 2009 at 11:55 PM, Ross Mellgren <dri...@gmail.com> wrote:
> Your pom specifies lift 1.0, not 1.1 for the majority of lift modules. You > are using 1.1-M6 for lift-textile. In addition, you don't have the snapshots > repository configured. > > To fix this, first add the snapshot repository to <repositories>: > > <repository> > <id>scala-tools.org.snapshots</id> > <name>Scala-Tools Maven2 Repository for Snapshots</name> > <url>http://scala-tools.org/repo-snapshots</url> > <snapshots/> > </repository> > > Then switch *all* your lift-* dependencies to 1.1-SNAPSHOT and your scala > version to 2.7.7. I use a property for the lift version to use, myself, like > this: > > <properties> > <scala.version>2.7.7</scala.version> > <lift.version>1.1-SNAPSHOT</lift.version> > </properties> > > ... > > <dependency> > <groupId>net.liftweb</gropuId> > <artifactId>lift-util</artifactId> > <version>${lift.version}</version} > </dependency> > > (and so on, for each lift-* dependency) > > I'm not sure what would happen exactly if you have mixed versions of the > lift modules, but It Can't Be Good. > > Hope that helps, > -Ross > > On Nov 13, 2009, at 10:17 PM, Jack Widman wrote: > > Here is my pom.xml > > On Fri, Nov 13, 2009 at 12:09 PM, Jack Widman <jack.wid...@gmail.com>wrote: > >> sure. Thanks Ross. I will send it tonight. Also what is the difference >> between the CometListener and the CometListenee? >> >> >> On Fri, Nov 13, 2009 at 11:14 AM, Ross Mellgren <dri...@gmail.com> wrote: >> >>> Could you send over your pom.xml if you're using Maven? It sounds like >>> maybe your build path is not correct. >>> >>> -Ross >>> >>> >>> On Nov 13, 2009, at 12:09 AM, Jack Widman wrote: >>> >>> David, >>> >>> I'm using lift 1.1 and scala 2.5 now and the compiler says it cant find >>> CometListener when I import net.liftweb.http._ >>> >>> Jack >>> >>> On Fri, Nov 13, 2009 at 12:01 AM, David Pollak < >>> feeder.of.the.be...@gmail.com> wrote: >>> >>>> >>>> >>>> On Thu, Nov 12, 2009 at 8:54 PM, Jack Widman <jack.wid...@gmail.com>wrote: >>>> >>>>> C:\work\widman\src\main\scala\com\widman\comet\PackComet.scala:20: >>>>> error: type CometListener is not a member of package net.liftweb.http >>>>> >>>>> I got this compile error. >>>>> >>>>> I must be missing something obvious. >>>> >>>> >>>> It's part of Lift 1.1, not Lift 1.0 >>>> >>>> >>>>> >>>>> >>>>> On Thu, Nov 12, 2009 at 11:42 PM, Ross Mellgren <dri...@gmail.com>wrote: >>>>> >>>>>> >>>>>> It is in net.liftweb.http. >>>>>> >>>>>> >>>>>> http://www.scala-tools.org/mvnsites-snapshots/liftweb/lift-webkit/scaladocs/net/liftweb/http/CometListener.html >>>>>> >>>>>> >>>>>> By the way, the link you gave only indicates it's in either >>>>>> net.liftweb.http, net.liftweb.util, net.liftweb or model (or a couple >>>>>> other packages, since scala implicitly imports superpackages). >>>>>> >>>>>> -Ross >>>>>> >>>>>> On Nov 12, 2009, at 11:38 PM, jack wrote: >>>>>> >>>>>> > >>>>>> > I also tried net.liftweb.http >>>>>> > >>>>>> > On Nov 12, 11:35 pm, jack <jack.wid...@gmail.com> wrote: >>>>>> >> I am trying to use CometListener. According tohttp://bit.ly/1Wnxt4 >>>>>> , >>>>>> >> it is in the package net.liftweb._ but compiler says it can't be >>>>>> >> found. Is this the wrong package? >>>>>> > > >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Jack Widman >>>>> >>>>> co-founder / cto, Authoritude, Inc. >>>>> >>>>> 203-641-9355 >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Lift, the simply functional web framework http://liftweb.net >>>> Beginning Scala http://www.apress.com/book/view/1430219890 >>>> Follow me: http://twitter.com/dpp >>>> Surf the harmonics >>>> >>>> >>>> >>> >>> >>> -- >>> Jack Widman >>> >>> co-founder / cto, Authoritude, Inc. >>> >>> 203-641-9355 >>> >>> >>> >>> >>> >>> >> >> >> -- >> Jack Widman >> >> co-founder / cto, Authoritude, Inc. >> >> 203-641-9355 >> > > > > -- > Jack Widman > > co-founder / cto, Authoritude, Inc. > > 203-641-9355 > > > <pom.xml> > > > > > > -- Jack Widman co-founder / cto, Authoritude, Inc. 203-641-9355 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---