[Lift] Re: Stuck at Getting started

2009-04-21 Thread bradford

Hi Ann,

I believe the is a problem with the document converting quotes to
tildas.  You will need to manually go through the code and replace ~
with .

Hope this helps,
Bradford

On Apr 21, 9:16 am, Ann ann.cu...@gmail.com wrote:
 I've got these errors when tried examples from getting started, when I
 run mvn jetty:run I get:

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'jetty'.
 [INFO]
 
 [INFO] Building todo
 [INFO]    task-segment: [jetty:run]
 [INFO]
 
 [INFO] Preparing jetty:run
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [yuicompressor:compress {execution: default}]
 [INFO] nb warnings: 0, nb errors: 0
 Downloading:http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3...
 Downloading:http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.1.0/sm...
 Downloading:http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/...
 Downloading:http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.1.0/s...
 [INFO] [compiler:compile]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [scala:compile {execution: default}]
 [INFO] Checking for multiple versions of scala
 [INFO] Compiling 2 source files to /home/ann/work/liftweb/todo/target/
 classes
 [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
 snippet/TD.scala:33: error: ')' expected but '.' found.
 [WARNING]       ~priority~ - todo.priority.toForm,
 [WARNING]                         ^
 [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
 snippet/TD.scala:38: error: block must end in result expression, not
 in definition
 [WARNING]  }
 [WARNING]  ^
 [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
 model/ToDo.scala:29: error: ')' expected but integer literal found.
 [WARNING]     valMinLen(3, ~Description must be 3 characters~) _ ::
 super.validations
 [WARNING]                                       ^
 [WARNING] three errors found
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] command line returned non-zero value:1
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 7 seconds
 [INFO] Finished at: Tue Apr 21 16:14:53 EEST 2009
 [INFO] Final Memory: 16M/124M
--~--~-~--~~~---~--~~
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: Stuck at Getting started

2009-04-21 Thread Derek Chen-Becker
I fixed this in the HTML generation script but we're not yet building the
site from GitHub. We should have this fixed soon.

Derek

On Tue, Apr 21, 2009 at 7:26 AM, bradford fingerm...@gmail.com wrote:


 Hi Ann,

 I believe the is a problem with the document converting quotes to
 tildas.  You will need to manually go through the code and replace ~
 with .

 Hope this helps,
 Bradford

 On Apr 21, 9:16 am, Ann ann.cu...@gmail.com wrote:
  I've got these errors when tried examples from getting started, when I
  run mvn jetty:run I get:
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'jetty'.
  [INFO]
  
  [INFO] Building todo
  [INFO]task-segment: [jetty:run]
  [INFO]
  
  [INFO] Preparing jetty:run
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [yuicompressor:compress {execution: default}]
  [INFO] nb warnings: 0, nb errors: 0
  Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3...
  Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.1.0/sm...
  Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/...
  Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.1.0/s...
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [scala:compile {execution: default}]
  [INFO] Checking for multiple versions of scala
  [INFO] Compiling 2 source files to /home/ann/work/liftweb/todo/target/
  classes
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  snippet/TD.scala:33: error: ')' expected but '.' found.
  [WARNING]   ~priority~ - todo.priority.toForm,
  [WARNING] ^
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  snippet/TD.scala:38: error: block must end in result expression, not
  in definition
  [WARNING]  }
  [WARNING]  ^
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  model/ToDo.scala:29: error: ')' expected but integer literal found.
  [WARNING] valMinLen(3, ~Description must be 3 characters~) _ ::
  super.validations
  [WARNING]   ^
  [WARNING] three errors found
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] command line returned non-zero value:1
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time: 7 seconds
  [INFO] Finished at: Tue Apr 21 16:14:53 EEST 2009
  [INFO] Final Memory: 16M/124M
 


--~--~-~--~~~---~--~~
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: Stuck at Getting started

2009-04-21 Thread Ann

Thank you.
But is it a problem in documentation or is it in scala library? (I'm
new to scala so I don't know if it's possible to use ~ instead of )

On Apr 21, 4:26 pm, bradford fingerm...@gmail.com wrote:
 Hi Ann,

 I believe the is a problem with the document converting quotes to
 tildas.  You will need to manually go through the code and replace ~
 with .

 Hope this helps,
 Bradford

 On Apr 21, 9:16 am, Ann ann.cu...@gmail.com wrote:

  I've got these errors when tried examples from getting started, when I
  run mvn jetty:run I get:

  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'jetty'.
  [INFO]
  
  [INFO] Building todo
  [INFO]    task-segment: [jetty:run]
  [INFO]
  
  [INFO] Preparing jetty:run
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [yuicompressor:compress {execution: default}]
  [INFO] nb warnings: 0, nb errors: 0
  Downloading:http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3...
  Downloading:http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.1.0/sm...
  Downloading:http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/...
  Downloading:http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.1.0/s...
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [scala:compile {execution: default}]
  [INFO] Checking for multiple versions of scala
  [INFO] Compiling 2 source files to /home/ann/work/liftweb/todo/target/
  classes
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  snippet/TD.scala:33: error: ')' expected but '.' found.
  [WARNING]       ~priority~ - todo.priority.toForm,
  [WARNING]                         ^
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  snippet/TD.scala:38: error: block must end in result expression, not
  in definition
  [WARNING]  }
  [WARNING]  ^
  [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
  model/ToDo.scala:29: error: ')' expected but integer literal found.
  [WARNING]     valMinLen(3, ~Description must be 3 characters~) _ ::
  super.validations
  [WARNING]                                       ^
  [WARNING] three errors found
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] command line returned non-zero value:1
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time: 7 seconds
  [INFO] Finished at: Tue Apr 21 16:14:53 EEST 2009
  [INFO] Final Memory: 16M/124M

--~--~-~--~~~---~--~~
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: Stuck at Getting started

2009-04-21 Thread Ann

Is it why liftweb.com is down for more than 2 hours? It says to me
Lift has a problem

Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Can't contact the database server: Access denied for user
'wikiuser'@'localhost' (using password: YES) (localhost))

If no, then you should look what's wrong with the site.

On Apr 21, 5:44 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
 I fixed this in the HTML generation script but we're not yet building the
 site from GitHub. We should have this fixed soon.

 Derek

 On Tue, Apr 21, 2009 at 7:26 AM, bradford fingerm...@gmail.com wrote:

  Hi Ann,

  I believe the is a problem with the document converting quotes to
  tildas.  You will need to manually go through the code and replace ~
  with .

  Hope this helps,
  Bradford

  On Apr 21, 9:16 am, Ann ann.cu...@gmail.com wrote:
   I've got these errors when tried examples from getting started, when I
   run mvn jetty:run I get:

   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'jetty'.
   [INFO]
   
   [INFO] Building todo
   [INFO]    task-segment: [jetty:run]
   [INFO]
   
   [INFO] Preparing jetty:run
   [INFO] [resources:resources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [yuicompressor:compress {execution: default}]
   [INFO] nb warnings: 0, nb errors: 0
   Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3...
   Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.1.0/sm...
   Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/...
   Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.1.0/s...
   [INFO] [compiler:compile]
   [INFO] Nothing to compile - all classes are up to date
   [INFO] [scala:compile {execution: default}]
   [INFO] Checking for multiple versions of scala
   [INFO] Compiling 2 source files to /home/ann/work/liftweb/todo/target/
   classes
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   snippet/TD.scala:33: error: ')' expected but '.' found.
   [WARNING]       ~priority~ - todo.priority.toForm,
   [WARNING]                         ^
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   snippet/TD.scala:38: error: block must end in result expression, not
   in definition
   [WARNING]  }
   [WARNING]  ^
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   model/ToDo.scala:29: error: ')' expected but integer literal found.
   [WARNING]     valMinLen(3, ~Description must be 3 characters~) _ ::
   super.validations
   [WARNING]                                       ^
   [WARNING] three errors found
   [INFO]
   
   [ERROR] BUILD FAILURE
   [INFO]
   
   [INFO] command line returned non-zero value:1
   [INFO]
   
   [INFO] For more information, run Maven with the -e switch
   [INFO]
   
   [INFO] Total time: 7 seconds
   [INFO] Finished at: Tue Apr 21 16:14:53 EEST 2009
   [INFO] Final Memory: 16M/124M

--~--~-~--~~~---~--~~
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: Stuck at Getting started

2009-04-21 Thread Derek Chen-Becker
It's documentation. For some reason, the tex4ht translator is putting ~
where there should be quotes. The ~ character is a valid character within
Scala code, but it doesn't have the meaning that we're using here.

Derek

On Tue, Apr 21, 2009 at 11:12 AM, Ann ann.cu...@gmail.com wrote:


 Thank you.
 But is it a problem in documentation or is it in scala library? (I'm
 new to scala so I don't know if it's possible to use ~ instead of )

 On Apr 21, 4:26 pm, bradford fingerm...@gmail.com wrote:
  Hi Ann,
 
  I believe the is a problem with the document converting quotes to
  tildas.  You will need to manually go through the code and replace ~
  with .
 
  Hope this helps,
  Bradford
 
  On Apr 21, 9:16 am, Ann ann.cu...@gmail.com wrote:
 
   I've got these errors when tried examples from getting started, when I
   run mvn jetty:run I get:
 
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'jetty'.
   [INFO]
  
 
   [INFO] Building todo
   [INFO]task-segment: [jetty:run]
   [INFO]
  
 
   [INFO] Preparing jetty:run
   [INFO] [resources:resources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] [yuicompressor:compress {execution: default}]
   [INFO] nb warnings: 0, nb errors: 0
   Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smack/3...
   Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smack/3.1.0/sm...
   Downloading:
 http://scala-tools.org/repo-releases/org/igniterealtime/smack/smackx/...
   Downloading:
 http://repo1.maven.org/maven2/org/igniterealtime/smack/smackx/3.1.0/s...
   [INFO] [compiler:compile]
   [INFO] Nothing to compile - all classes are up to date
   [INFO] [scala:compile {execution: default}]
   [INFO] Checking for multiple versions of scala
   [INFO] Compiling 2 source files to /home/ann/work/liftweb/todo/target/
   classes
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   snippet/TD.scala:33: error: ')' expected but '.' found.
   [WARNING]   ~priority~ - todo.priority.toForm,
   [WARNING] ^
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   snippet/TD.scala:38: error: block must end in result expression, not
   in definition
   [WARNING]  }
   [WARNING]  ^
   [WARNING] /home/ann/work/liftweb/todo/src/main/scala/com/liftworkshop/
   model/ToDo.scala:29: error: ')' expected but integer literal found.
   [WARNING] valMinLen(3, ~Description must be 3 characters~) _ ::
   super.validations
   [WARNING]   ^
   [WARNING] three errors found
   [INFO]
  
 
   [ERROR] BUILD FAILURE
   [INFO]
  
 
   [INFO] command line returned non-zero value:1
   [INFO]
  
 
   [INFO] For more information, run Maven with the -e switch
   [INFO]
  
 
   [INFO] Total time: 7 seconds
   [INFO] Finished at: Tue Apr 21 16:14:53 EEST 2009
   [INFO] Final Memory: 16M/124M

 


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