[Lift] Re: Revised to-do tutorial

2008-12-17 Thread Paul O'Rorke

David:  thanks for the suggestion.  I did that in todo folder and got
the same errors.
then I deleted ~/.m2/net/liftweb and tried again and that seemed to
work.
the webapp runs fine now (thanks!)

I got a test failure on doing the mvn -U clean install:
It did not seem to affect anything but might be worth fixing anyway.
---Paul O

---
 T E S T S
---
Running com.liftworkshop.AppTest
[Fatal Error] :38:21: The entity nbsp was referenced, but not
declared.
Malformed XML in 1 file: src/main/webapp/index.html
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.505
sec  FAILURE!

Results :

Failed tests:
  testXml(com.liftworkshop.AppTest)

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.










On Dec 16, 3:12 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 Paul,

 It looks like the various Lift packages are not up to date in your Maven
 repository.

 Please do a mvn -U clean install and see if that works any better.

 Thanks,

 David

 On Tue, Dec 16, 2008 at 3:06 PM, Paul O'Rorke p...@ororke.com wrote:

  does anybody know what causes an error like value util is not a
  member of package net.liftweb?

  when I try to install this, I get the following errors/warnings.
  note that I did not use the tar'd zip but used maven and the
  instructions in the pdf.
  maybe I will try that next.
  When I create and run things using archetypeVersion 0.9 (like the
  ChoreWheel stub) they seem to work fine.  But actually when I tried
  to use my older copy of todo, it seems to be broken, now, too.
  ---Paul O

  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
  liftweb/Boot.scala:3: error: value util is not a member of package
  net.liftweb
  [WARNING] import _root_.net.liftweb.util._
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/bootstrap/
  liftweb/Boot.scala:8: error: value mapper is not a member of package
  net.liftweb
  [WARNING] import _root_.net.liftweb.mapper.{DB, ConnectionManager,
  Schemifier, DefaultConnectionIdentifier, ConnectionIdentifier}
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
  liftworkshop/model/User.scala:3: error: value mapper is not a member
  of package net.liftweb
  [WARNING] import _root_.net.liftweb.mapper._
  [WARNING]                           ^
  [WARNING] /Users/Paul/dev/workspace/todo/src/main/scala/com/
  liftworkshop/model/User.scala:4: error: value util is not a member of
  package net.liftweb
  [WARNING] import _root_.net.liftweb.util._
  [WARNING]                           ^
  [WARNING] Exception in thread main java.lang.RuntimeException:
  malformed Scala signature of Loc at 3992; reference value util of
  package liftweb refers to nonexisting symbol.
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler
  $UnPickle.errorBadSignature(UnPickler.scala:762)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbol
  (UnPickler.scala:172)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readSymbolRef$1.apply(UnPickler.scala:714)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readSymbolRef$1.apply(UnPickler.scala:714)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
  139)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readSymbolRef
  (UnPickler.scala:714)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readType
  (UnPickler.scala:247)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readTypeRef$1.apply(UnPickler.scala:715)
  [WARNING]       at scala.tools.nsc.symtab.classfile.UnPickler$UnPickle$
  $anonfun$scala$tools$nsc$symtab$classfile$UnPickler$UnPickle$
  $readTypeRef$1.apply(UnPickler.scala:715)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$at(UnPickler.scala:
  139)
  [WARNING]       at
  scala.tools.nsc.symtab.classfile.UnPickler$UnPickle.scala
  $tools$nsc$symtab$classfile$UnPickler$UnPickle$$readTypeRef
  (UnPickler.scala:715)
  [WARNING]       at
  

[Lift] Re: liftweb xml schema location

2008-12-17 Thread Viktor Klang
Ah, I read I have a client doesn't want an external link* like*
  xmlns:lift=http://liftweb.net/;

If you're only talking about that namespace declaration, it's just as David
says, just a namespace declaration.

/Viktor

On Wed, Dec 17, 2008 at 1:29 PM, David Bernard
david.bernard...@gmail.comwrote:


 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
  Don't I need the xsd or dtd specification?
  On 17/12/2008, at 7:50 PM, Viktor Klang wrote:
 
  Why not just add a hosts entry and redirect that host to an internal
  machine?
 
  On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:
 
  I have a client doesn't want an external link like
  xmlns:lift=http://liftweb.net/;
  Can I store the schema locally? How do I get it?
 
  cheers
  Oliver
 
 
 
 
 
  --
  Viktor Klang
  Senior Systems Analyst
 
 
 
 
 
  
 

 



-- 
Viktor Klang
Senior Systems Analyst

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread David Bernard

It's not an external link nor a link to a schema but the definition of
a namespace : lift

On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
 Don't I need the xsd or dtd specification?
 On 17/12/2008, at 7:50 PM, Viktor Klang wrote:

 Why not just add a hosts entry and redirect that host to an internal
 machine?

 On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:

 I have a client doesn't want an external link like
 xmlns:lift=http://liftweb.net/;
 Can I store the schema locally? How do I get it?

 cheers
 Oliver





 --
 Viktor Klang
 Senior Systems Analyst





 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Marc Boschma
Maybe Oliver is being a bit lose with the language and is looking for  
the /lift/  DTD (Document Type Definition) ?

Marc

On 18/12/2008, at 4:05 AM, Viktor Klang wrote:

 Ah, I read I have a client doesn't want an external link like
   xmlns:lift=http://liftweb.net/;

 If you're only talking about that namespace declaration, it's just  
 as David says, just a namespace declaration.

 /Viktor

 On Wed, Dec 17, 2008 at 1:29 PM, David Bernard david.bernard...@gmail.com 
  wrote:

 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com  
 wrote:
  Don't I need the xsd or dtd specification?
  On 17/12/2008, at 7:50 PM, Viktor Klang wrote:
 
  Why not just add a hosts entry and redirect that host to an internal
  machine?
 
  On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:
 
  I have a client doesn't want an external link like
  xmlns:lift=http://liftweb.net/;
  Can I store the schema locally? How do I get it?
 
  cheers
  Oliver
 
 
 
 
 
  --
  Viktor Klang
  Senior Systems Analyst
 
 
 
 
 
  
 





 -- 
 Viktor Klang
 Senior Systems Analyst

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Alex Cruise

Viktor Klang wrote:
 Ah, I read I have a client doesn't want an external link*/ like/*
   xmlns:lift=http://liftweb.net/;

 If you're only talking about that namespace declaration, it's just as 
 David says, just a namespace declaration.
rant
If any software is expecting to find a .dtd or .xsd by doing a GET on a 
namespace URI it has a severe bug.  It happens that many well-known 
public namespace URIs actually *do* return their .dtd or .xsd from their 
namespace URI, but it was probably a mistake to ever set them up that 
way, due to the aforementioned severe bugs that are incredibly widespread. 

The only sane way to figure out where the .dtd or .xsd for a namespace 
URI might be downloaded--if any exists--is to look, in the instance 
document, for either a doctype with a system identifier (for a DTD) or a 
schemaLocation directive (for an XSD).  If you don't see either of 
those, and you absolutely need to validate the document, and there's no 
locally saved copy, throw an exception as early as possible. 

For everyone's sake, PLEASE don't write code that downloads DTDs or 
schemas automatically unless it's doing so in response to a human action 
and is planning to save it locally for later use.
/rant

-0xe1a

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: Websites and apps that are using Lift?

2008-12-17 Thread David Pollak
Daniel,

On Tue, Dec 16, 2008 at 5:32 PM, Daniel Cer daniel@gmail.com wrote:


 I'm putting together a structured wiki that documents what languages,
 frameworks, and libraries are behind various websites  webapps. One
 of the goals of the project is to highlight the diverse set of
 languages and other components that people use to power their sites
 and raise the visibility of up-and-coming packages like Lift.

 Currently, I'm in the process of looking for and adding Lift based
 webapps. I've found a few sites so far like http://buyafeature.com/ ,
 http://www.esme.us/esme/ , and the demo at http://demo.liftweb.net/
 (down? http://demo.liftweb.net/%28down?).


demo.liftweb.net is back up.  There's a memory leak in the Scala Actors
library that will be fixed in the upcoming 2.7.3 release.  In the mean time,
I have to remember to restart demo.liftweb.net every day or two to avoid the
memory leak problem. :-(


 But, it would be nice to have a much more comprehensive list.


I agree!  It'd be nice to have some sites that I didn't write. :-)

But you can add http://much4.us to the list of Lift-powered sites.

Thanks,

David




 Does anyone here have any public Lift powered webapps? If so, would
 you mind sharing the URL and what other support components you are
 using (e.g. which servlet container Tomcat, Jetty; database; etc.)

 Thanks, Dan

 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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
-~--~~~~--~~--~--~---



[Lift] Re: behind the scenes with Maven?

2008-12-17 Thread David Pollak
On Tue, Dec 16, 2008 at 7:24 PM, Matt Harrington mbh.li...@gmail.comwrote:


 A few times over the past week, I've had something of a ghost in the
 machine with Maven.  I haven't spent the time to track things down and
 have just blown away my repository and things resolve themselves.
 However, the next time Maven acts up I want to really figure things
 out.  It'd help if I knew more about what happens behind the scenes
 with 0.10-SNAPSHOT.  Here's a guess:

 1.)  Committers upload to github.org
 2.)  A machine (named hudson maybe?) builds 0.10-SNAPSHOT from the
 github source (how often?)


The machine is called scala-tools.org runs a continuous integration program
called hudson.  Anyone call see it at http://scala-tools.org/hudson/



 3.)  The compiled artifacts such as lift-mapper are transfered to
 scala-tools.org
 4.)  Scaladocs are built from step 3 by scala-tools.org
 5.)  The lift archetypes get updated

 Let's say that breaking changes are made in step 1.  That will only
 affect me if I run mvn -U, right?

 ---Matt

 



-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
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
-~--~~~~--~~--~--~---



[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver

Thanks

This is the information I need

On Wed, Dec 17, 2008 at 11:29 PM, David Bernard
david.bernard...@gmail.com wrote:

 It's not an external link nor a link to a schema but the definition of
 a namespace : lift

 On Wed, Dec 17, 2008 at 10:07, Oliver Lambert ola...@gmail.com wrote:
 Don't I need the xsd or dtd specification?
 On 17/12/2008, at 7:50 PM, Viktor Klang wrote:

 Why not just add a hosts entry and redirect that host to an internal
 machine?

 On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote:

 I have a client doesn't want an external link like
 xmlns:lift=http://liftweb.net/;
 Can I store the schema locally? How do I get it?

 cheers
 Oliver





 --
 Viktor Klang
 Senior Systems Analyst





 


 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: Websites and apps that are using Lift?

2008-12-17 Thread Daniel Cer
 Does anyone here have any public Lift powered webapps? If so, would
 you mind sharing the URL and what other support components you are
 using (e.g. which servlet container Tomcat, Jetty; database; etc.)


I just wanted to add that small personal projects are fine.

Also, it would be great to hear about anything people are in the process of
building.

-Dan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---