On Wed, Apr 1, 2009 at 8:33 AM, Rosh <jacknjill...@gmail.com> wrote:

>
> Got it.
>
> It would be nice though if lift-archetype-basic that generates a basic
> scala project would pull down the latest 1.0 version of lift-core.


If you create a project with Lift 0.8 specified in the Maven command, you're
going to get a 0.8 project.  If you create a 1.0 project, you'll get a 1.0
project.

Please let us know what command line you used to create your project.


> It
> currently pulls down 0.8 version which does not have lift-mapper, lift-
> util and other dependent jars defined and this causes some jars.


In Lift 0.8, util and mapper were part of lift-webkit


> For
> example, when I ran the following command from the lift-book it pulls
> down 0.8 version:
>
> mvn archetype:generate -U -DgroupId=com.plexibus.examples.scala.lift -
> DartifactId=scala-example -Dversion=0.0.1-SNAPSHOT -
> DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-
> basic -DremoteRepositories=http://scala-tools.org/repo-releases
>
> lift-core-0.8 pom.xml:
>
>  <dependencies>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-webkit</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-textile</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-facebook</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-amqp</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-xmpp</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>    <dependency>
>      <groupId>${project.groupId}</groupId>
>      <artifactId>lift-widgets</artifactId>
>      <version>${project.version}</version>
>    </dependency>
>  </dependencies>
>
> lift-core-1.0 pom.xml:
>
> <dependencies>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-util</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-webkit</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-mapper</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-machine</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-record</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-textile</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-facebook</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-amqp</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-xmpp</artifactId>
> <version>${project.version}</version>
> </dependency>
>
> <dependency>
> <groupId>${project.groupId}</groupId>
> <artifactId>lift-widgets</artifactId>
> <version>${project.version}</version>
> </dependency>
> </dependencies>
>
> And I agree with Kris, perhaps it should be changed to pom instead of
> jar. If you are ok with it, I would love to make the above suggested
> changes and submit them for commit/approval to the committers.
>
> Thanks,
> Rosh
> http://blogs.plexibus.com
> http://www.twitter.com/ras_shadow
>
>
> On Apr 1, 9:09 am, David Pollak <feeder.of.the.be...@gmail.com> wrote:
> > That's right.  The lift-core.jar file has never contained any classes.
>  It's
> > a marker for Maven.  lift-core depends on all the other Lift packages
> (e.g.,
> > lift-util, lift-webket, etc.) so these other packages are included in
> your
> > project and they have classes in their jar files.
> >
> >
> >
> > On Wed, Apr 1, 2009 at 6:58 AM, Rosh <jacknjill...@gmail.com> wrote:
> >
> > > I just started the learning scala and lift and was trying out the ToDo
> > > example. It seems that the lift-core artifact jar in the maven repo,
> > >http://scala-tools.org/repo-releases, is empty. I used the lift-basic-
> > > archetype which uses lift-core-0.8 jar. But the jar only contains the
> > > META-INF folder. No classes. Same with the 1.0 jar as well. The 0.6
> > > jar contains
> >
> > > Does not contain any classes:
> > >http://scala-tools.org/repo-releases/net/liftweb/lift-core/0.8/
> > > lift-core-0.8.jar       2008-Nov-24 23:39:51    1.4K
> > >  application/java-archive
> >
> > >http://scala-tools.org/repo-releases/net/liftweb/lift-core/1.0/
> > > lift-core-1.0.jar       2009-Feb-26 18:09:39    1.5K
> > >  application/java-archive
> >
> > > Contains classes:
> > > Underhttp://scala-tools.org/repo-releases/net/liftweb/lift-core/0.6:
> > > lift-core-0.6.jar       2008-Nov-24 23:40:15    3.6M
> > >  application/java-archive
> >
> > > Am I missing something? I know I haven't had my morning coffee yet.
> >
> > > Thanks,
> > > Rosh
> > >http://blogs.plexibus.com
> > >http://www.twitter.com/ras_shadow
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to