I think everything is working now. I blew away .m2 several times and 
retried things. When I used the blank archetype (and copied the 
templates-hidden file over from the basic), it worked fine. Maybe a 
server was down somewhere. If it's working for you, then it's probably 
OK now.

Thanks for looking into it.

Chas.

Derek Chen-Becker wrote:
> Strange. I committed these back on the 26th:
> 
> http://github.com/dpp/liftweb/commit/647f281e720720f09e3d6a5105ecb273cc0b592e
> 
> Not sure where you're getting the stale archetypes from. As for the 
> other issue with the enum, are you still seeing that? I can't reproduce it.
> 
> Derek
> 
> On Mon, Jun 1, 2009 at 1:52 PM, Charles F. Munat <c...@munat.com 
> <mailto:c...@munat.com>> wrote:
> 
> 
>     The templates-hidden folder was there with one archetype (basic) but not
>     with the other (blank) when I ran them. But that was a few days ago.
> 
>     Chas.
> 
>     Derek Chen-Becker wrote:
>      > The templates-hidden folder should be checked in already. I thought I
>      > fixed that last week. I'll work on the other bugs today.
>      >
>      > Derek
>      >
>      > On Sun, May 31, 2009 at 11:26 PM, Charles F. Munat
>     <c...@munat.com <mailto:c...@munat.com>
>      > <mailto:c...@munat.com <mailto:c...@munat.com>>> wrote:
>      >
>      >
>      >     Hi, Derek,
>      >
>      >     There are definitely some bugs since the move to 2.7.4. I
>     mentioned the
>      >     missing templates-hidden folder for one of the archetypes
>     (basic, I
>      >     think). It's missing for the other as well (blank?).
>      >
>      >     I was able to get a blank one up and running and things seem
>     to be going
>      >     smoothly, but you should check them out when you get a chance.
>      >
>      >     Chas.
>      >
>      >     Derek Chen-Becker wrote:
>      >      > The velocity warnings are normal. What you're seeing may
>     be a bug. I
>      >      > haven't tested the archetype since the change to 2.7.4, so
>     it may be
>      >      > related. I'll test it out this week.
>      >      >
>      >      > Derek
>      >      >
>      >      > On Sat, May 30, 2009 at 6:38 PM, <c...@munat.com
>     <mailto:c...@munat.com>
>      >     <mailto:c...@munat.com <mailto:c...@munat.com>>
>      >      > <mailto:c...@munat.com <mailto:c...@munat.com>
>     <mailto:c...@munat.com <mailto:c...@munat.com>>>> wrote:
>      >      >
>      >      >
>      >      >     I tried again, running this:
>      >      >
>      >      >     mvn archetype:generate \
>      >      >      
>     -DarchetypeRepository=http://scala-tools.org/repo-snapshots \
>      >      >       -DarchetypeGroupId=net.liftweb \
>      >      >       -DarchetypeArtifactId=lift-archetype-jpa-basic \
>      >      >       -DarchetypeVersion=1.1-SNAPSHOT \
>      >      >       -DgroupId=com.xxx -DartifactId=xxx-master
>      >      >
>      >      >     I then did a cd to xxx-master and ran mvn compile. I
>     got this:
>      >      >
>      >      >     mvn compile
>      >      >
>      >      >       [15:06]
>      >      >     [INFO] Scanning for projects...
>      >      >     [INFO] Reactor build order:
>      >      >     [INFO]   xxx-master Master
>      >      >     [INFO]   xxx-master-spa
>      >      >     [INFO]   xxx-master-web
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >     [INFO] Building xxx-master Master
>      >      >     [INFO]    task-segment: [compile]
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://scala-tools.org/repo-snapshots/org/scala-lang/scala-compiler/2.7.4/scala-compiler-2.7.4.pom
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.7.4/scala-compiler-2.7.4.pom
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://scala-tools.org/repo-snapshots/org/scala-lang/scala-library/2.7.4/scala-library-2.7.4.pom
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.7.4/scala-library-2.7.4.pom
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://scala-tools.org/repo-snapshots/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.pom
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://repo1.maven.org/maven2/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.pom
>      >      >     1K
>      >      >
>      >    
>     
> <http://repo1.maven.org/maven2/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.pom%0A1K>
>      >      >     downloaded
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://scala-tools.org/repo-snapshots/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.jar
>      >      >     Downloading:
>      >      >
>      >    
>     
> http://repo1.maven.org/maven2/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.jar
>      >      >     2389K
>      >      >
>      >    
>     
> <http://repo1.maven.org/maven2/org/apache/derby/derby/10.4.2.0/derby-10.4.2.0.jar%0A2389K>
>      >      >     downloaded
>      >      >     [INFO] [scala:compile {execution: default}]
>      >      >     [INFO] suggestion: remove the scalaVersion from pom.xml
>      >      >     [ERROR] /private/var/www/xxx-master/src/main/scala
>      >      >     [ERROR]
>     /private/var/www/xxx-master/src/main/scala/../scala
>      >      >     [WARNING] No source files found.
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >     [INFO] Building xxx-master-spa
>      >      >     [INFO]    task-segment: [compile]
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >     [INFO] [resources:resources]
>      >      >     [INFO] Using default encoding to copy filtered resources.
>      >      >     [INFO] [compiler:compile]
>      >      >     [INFO] Nothing to compile - all classes are up to date
>      >      >     [INFO] [scala:compile {execution: default}]
>      >      >     [INFO] suggestion: remove the scalaVersion from pom.xml
>      >      >     [ERROR] /private/var/www/xxx-master/spa/src/main/scala
>      >      >     [ERROR]
>     /private/var/www/xxx-master/spa/src/main/scala/../scala
>      >      >     [INFO] Compiling 9 source files to
>      >      >     /private/var/www/xxx-master/spa/target/classes
>      >      >     [WARNING]
>      >      >
>      >    
>     
> /private/var/www/xxx-master/spa/src/main/scala/com/xxx/model/EnumvType.scala:48:
>      >      >     error: value valueOf is not a member of Enumeration with
>      >      >     com.xxx.model.Enumv
>      >      >     [WARNING]       return et.valueOf(value).getOrElse(null)
>      >      >     [WARNING]                 ^
>      >      >     [WARNING] one error 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: 2 minutes 34 seconds
>      >      >     [INFO] Finished at: Sat May 30 15:19:22 PDT 2009
>      >      >     [INFO] Final Memory: 7M/14M
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >
>      >      >     I've changed nothing. Am I doing something wrong or is
>     there
>      >     a bug?
>      >      >     Could part of the problem be the warnings below, which
>     came
>      >     up during
>      >      >     generation of the app?
>      >      >
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/pom.xml [line
>      >     37,column 16] :
>      >      >     ${scala.version} is not a valid reference.
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/pom.xml [line
>      >     43,column 16] :
>      >      >     ${scala.version} is not a valid reference.
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/pom.xml [line
>      >     85,column 25] :
>      >      >     ${scala.version} is not a valid reference.
>      >      >     [WARNING] PT Don't override file
>      >     /private/var/www/xxx-master/pom.xml
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/web/pom.xml
>     [line
>      >     13,column
>      >      >     9] : ${parent.artifactId} is not a valid reference.
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/web/pom.xml
>     [line
>      >     24,column
>      >      >     16] : ${pom.groupId} is not a valid reference.
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/web/pom.xml
>     [line
>      >     26,column
>      >      >     16] : ${pom.version} is not a valid reference.
>      >      >     [WARNING]
>      >     org.apache.velocity.runtime.exception.ReferenceException:
>      >      >     reference : template = archetype-resources/spa/pom.xml
>     [line
>      >     14,column
>      >      >     9] : ${parent.artifactId} is not a valid reference.
>      >      >     [INFO]
>      >      >
>      >    
>     ------------------------------------------------------------------------
>      >      >     [INFO] BUILD SUCCESSFUL
>      >      >
>      >      >     Thanks!
>      >      >
>      >      >     Chas.
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      > >
>      >
>      >
>      >
>      >
>      > >
> 
> 
> 
> 
> > 

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