[Lift] Re: box can boogie

2008-12-29 Thread Charles F. Munat

I don't know the TZ of Hudson, but I'm PST. (Seattle)

Josh Suereth wrote:
> Chas,
> 
> One last question... What timezone are you in vs. the timezone of hudson?
> 
> On Mon, Dec 29, 2008 at 7:47 PM, Tim Perrett  > wrote:
> 
> Chas,
> 
> You say you are trying both local installs, and pulling from the
> snapshot repo?
> 
> Can I suggest persisting with a single path at any one time? They
> are different and conflicting workflows really - unless your
> modifying the lift codebase to your own ends, Hudson will build the
> very latest JAR about an hour after the commit, so that should be
> more that acceptable time wise :-)
> 
> Blow your .m2 away for now, and then decide on a workflow. A nice
> clean start! You should find that doing one or the other is a lot
> more consistant than doing both.
> 
> Cheers, Tim
> 
> Sent from my iPhone
> 
> On 30 Dec 2008, at 00:34, "David Pollak"
>  > wrote:
> 
>>
>>
>> On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat <
>> c...@munat.com > wrote:
>>
>>
>> Any ideas what might cause a partial update rather than a full
>> update?
>> Is it because I've only got the webkit in my pom.xml and not
>> the other
>> parts of lift (I'm not using the mapper, e.g.)?
>>
>> It's working fine now, but I'd like to avoid this problem in
>> the future.
>> It seems to crop up with depressing regularity. Still not
>> clear if I'm
>> doing something wrong or if this is just the current state of
>> git/maven/lift.
>>
>>
>> Git and Maven are two very different things and have nothing to do
>> with each other.  If you're getting messed up git pulls, that's a
>> really serious issue, but something way beyond this list.  You
>> should take any failure Git updates to the GitHub or main Git lists.
>>
>> In terms of Maven, I don't know what to tell you.  I run Maven and
>> about once a month or so, I blow away my repositories.  Since I've
>> been periodically blowing about .m2, I haven't had a single
>> Maven-related problem.
>>
>> The only thing I can think of is that you should include both the
>> Lift Webkit and Lift Utils in your POM file.  They are different
>> packages and perhaps Maven isn't updating them in sync... perhaps
>> Maven is pulling Lift Webkit when you do a -U, but not pulling the
>> Lift Utils package that the WebKit depends on.
>>  
>>
>>
>>
>> Thanks.
>>
>> Chas.
>>
>> David Pollak wrote:
>> > Sounds like you're getting a partial update.  The code is
>> clean on all
>> > my machines which means it's clean in GitHub.
>> >
>> > If you're still having issues, please post up examples of
>> compilation
>> > failures.
>> >
>> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat <
>> c...@munat.com 
>> > mailto:c...@munat.com>c...@munat.com
>> >> wrote:
>> >
>> >
>> > When I do a git pull on the lift 0.10-SNAPSHOT (I
>> think), I get an
>> > interesting melange of Box and Can that does not
>> compile. Am I doing
>> > something wrong, or are there still some references that
>> need to be
>> > changed over?
>> >
>> > I'll keep trying.
>> >
>> > Chas.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > 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
>> >
>> > >
>>
>>
>>
>>
>>
>> -- 
>> 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: box can boogie

2008-12-29 Thread Charles F. Munat

No, I'm trying to pull from the snapshot repo, but when that fails (and 
after repeated efforts), I'm installing as a last resort. I have no 
desire to do both.

That said, I think I'll try blowing away the repo again and see if it 
will pull from Hudson. Maybe the problem was that Lift was installed 
locally, so Maven refused to update it. (It makes no sense to me that it 
would refuse to update it even when the -U flag was used, but maybe 
that's the case.)

Chas.

Tim Perrett wrote:
> Chas,
> 
> You say you are trying both local installs, and pulling from the 
> snapshot repo?
> 
> Can I suggest persisting with a single path at any one time? They are 
> different and conflicting workflows really - unless your modifying the 
> lift codebase to your own ends, Hudson will build the very latest JAR 
> about an hour after the commit, so that should be more that acceptable 
> time wise :-)
> 
> Blow your .m2 away for now, and then decide on a workflow. A nice clean 
> start! You should find that doing one or the other is a lot more 
> consistant than doing both.
> 
> Cheers, Tim
> 
> Sent from my iPhone
> 
> On 30 Dec 2008, at 00:34, "David Pollak"  > wrote:
> 
>>
>>
>> On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat < 
>> c...@munat.com > wrote:
>>
>>
>> Any ideas what might cause a partial update rather than a full update?
>> Is it because I've only got the webkit in my pom.xml and not the other
>> parts of lift (I'm not using the mapper, e.g.)?
>>
>> It's working fine now, but I'd like to avoid this problem in the
>> future.
>> It seems to crop up with depressing regularity. Still not clear if I'm
>> doing something wrong or if this is just the current state of
>> git/maven/lift.
>>
>>
>> Git and Maven are two very different things and have nothing to do 
>> with each other.  If you're getting messed up git pulls, that's a 
>> really serious issue, but something way beyond this list.  You should 
>> take any failure Git updates to the GitHub or main Git lists.
>>
>> In terms of Maven, I don't know what to tell you.  I run Maven and 
>> about once a month or so, I blow away my repositories.  Since I've 
>> been periodically blowing about .m2, I haven't had a single 
>> Maven-related problem.
>>
>> The only thing I can think of is that you should include both the Lift 
>> Webkit and Lift Utils in your POM file.  They are different packages 
>> and perhaps Maven isn't updating them in sync... perhaps Maven is 
>> pulling Lift Webkit when you do a -U, but not pulling the Lift Utils 
>> package that the WebKit depends on.
>>  
>>
>>
>>
>> Thanks.
>>
>> Chas.
>>
>> David Pollak wrote:
>> > Sounds like you're getting a partial update.  The code is clean
>> on all
>> > my machines which means it's clean in GitHub.
>> >
>> > If you're still having issues, please post up examples of
>> compilation
>> > failures.
>> >
>> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat <
>> c...@munat.com 
>> > mailto:c...@munat.com>c...@munat.com
>> >> wrote:
>> >
>> >
>> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I
>> get an
>> > interesting melange of Box and Can that does not compile. Am
>> I doing
>> > something wrong, or are there still some references that
>> need to be
>> > changed over?
>> >
>> > I'll keep trying.
>> >
>> > Chas.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > 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
>> >
>> > >
>>
>>
>>
>>
>>
>> -- 
>> 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: box can boogie

2008-12-29 Thread Charles F. Munat

Thanks. The thing is, I'm really not sure *what* the issue is. Things 
get messed up and don't work. I try this. I try that. Finally, I start 
deleting and re-downloading things, or blow away the repo, or re-clone 
the code, or whatever, and finally things start to work.

I thought maybe I was doing something wrong, but if you (and so many 
others) are deleting your repositories, too, then maybe it's just an 
issue with Maven.

Anyway, it's working now, so thanks everyone.

Chas.

David Pollak wrote:
> 
> 
> On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat  > wrote:
> 
> 
> Any ideas what might cause a partial update rather than a full update?
> Is it because I've only got the webkit in my pom.xml and not the other
> parts of lift (I'm not using the mapper, e.g.)?
> 
> It's working fine now, but I'd like to avoid this problem in the future.
> It seems to crop up with depressing regularity. Still not clear if I'm
> doing something wrong or if this is just the current state of
> git/maven/lift.
> 
> 
> Git and Maven are two very different things and have nothing to do with 
> each other.  If you're getting messed up git pulls, that's a really 
> serious issue, but something way beyond this list.  You should take any 
> failure Git updates to the GitHub or main Git lists.
> 
> In terms of Maven, I don't know what to tell you.  I run Maven and about 
> once a month or so, I blow away my repositories.  Since I've been 
> periodically blowing about .m2, I haven't had a single Maven-related 
> problem.
> 
> The only thing I can think of is that you should include both the Lift 
> Webkit and Lift Utils in your POM file.  They are different packages and 
> perhaps Maven isn't updating them in sync... perhaps Maven is pulling 
> Lift Webkit when you do a -U, but not pulling the Lift Utils package 
> that the WebKit depends on.
>  
> 
> 
> 
> Thanks.
> 
> Chas.
> 
> David Pollak wrote:
>  > Sounds like you're getting a partial update.  The code is clean
> on all
>  > my machines which means it's clean in GitHub.
>  >
>  > If you're still having issues, please post up examples of compilation
>  > failures.
>  >
>  > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  
>  > >> wrote:
>  >
>  >
>  > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I
> get an
>  > interesting melange of Box and Can that does not compile. Am
> I doing
>  > something wrong, or are there still some references that need
> to be
>  > changed over?
>  >
>  > I'll keep trying.
>  >
>  > Chas.
>  >
>  >
>  >
>  >
>  >
>  > --
>  > 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
>  >
>  > >
> 
> 
> 
> 
> 
> -- 
> 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: pom.xml

2008-12-29 Thread Charles F. Munat

Here's what's in the master (below the groupId, etc):


   
   
 2.7.2
   

   
 
   scala-tools.org
   Scala-Tools Maven2 Repository
   http://scala-tools.org/repo-releases
 
 
   scala-tools.org
   Scala-Tools Maven2 Repository
   http://scala-tools.org/repo-snapshots
 
   

   
 
   scala-tools.org
   Scala-Tools Maven2 Repository
   http://scala-tools.org/repo-releases
 
   

   
 
   org.scala-lang
   scala-library
   ${scala.version}
 
 
   javax.servlet
   servlet-api
   2.5
   provided
 
 
   com.petebevin.markdown
   markdownj
   0.3.0
 
 
   commons-codec
   commons-codec
   1.3
 
 
   commons-httpclient
   commons-httpclient
   3.0.1
 
 
   commons-collections
   commons-collections
   3.2
 
 
   com.rabbitmq
   rabbitmq-client
   1.2.0
 
 
   junit
   junit
   4.4
   test
 
   
 javax.activation
activation
1.1
  
   

   
 src/main/scala
 src/test/scala
 
   
 org.scala-tools
 maven-scala-plugin
 
   
 
   compile
   testCompile
 
   
 
 
   ${scala.version}
 
   
   
 org.mortbay.jetty
 maven-jetty-plugin
 
   /
   0
 
   
 
   

   
 
   
 org.scala-tools
 maven-scala-plugin
 
   ${scala.version}
 
   
 
   

Then the webapp has this:

   
 
   org.mortbay.jetty
   jetty
   (6.1,]
   test
 
 
   javax.servlet
   servlet-api
   2.5
   provided
 
 
   net.liftweb
   lift-webkit
   0.10-SNAPSHOT
 
 
 
   org.scala-lang
   scala-compiler
   ${scala.version}
   test
 
 
   ${pom.groupId}
   tales-per
   ${pom.version}
 
   

   
 
   
 org.mortbay.jetty
 maven-jetty-plugin
 
   /
   5
   
 
   9889
   6
 
   
 
   
   
 net.sf.alchim
 yuicompressor-maven-plugin
 
   
 
   compress
 
   
 
 
   true
 
   
   

   maven-surefire-plugin

  true

 
 
 

And  the  persistence  project  has  this;

 
 
 geronimo-spec
 geronimo-spec-ejb
 2.1-rc4
 
 
 org.hibernate
 hibernate-entitymanager
 3.3.1.ga
 
   
   javax.transaction
   jta
   
 
 
 
 geronimo-spec
 geronimo-spec-jta
 1.0.1B-rc4
 provided
 
 
   postgresql
   postgresql
   [8.1-404.jdbc3,)
 
 

 
 
 
 maven-surefire-plugin
 
 true
 
 
 
 


Josh  Suereth  wrote:
>  Chas,
>  
>  Please  send  your  poms.
>  
>  Note:
>  Wiping  the  maven  repo  is  the  CTRL-ALT-DEL  windows-style  fix  for  
> maven.
>  Youjust  delete  the  Lift  directory  (as  long  as  you  get  the  
> meta-data  
>  poms  associated  with  it)  you  should  be  ok.Once  again,  this  is  
> more  of  
>  a  hack,  than  a  fix.If  you're  in  a  jam,  just  do  it.If  
> not,  it's  
>  usually  better  to  figure  out  why  it's  bombing  so  younot  run  
> into  
>  the  problem  again.
>  
>  Also  remember  that  if  you"mvn  install"  something  it  goes  into  your 
>  local  
>  repo.The  mvn  -U  command  tells  maven  to  check  the  remote  
> repositories  
>  for  newer  versions  /than  the  ones  found  in  your  local  repository/  
> (i.e.  
>  if  you  install  locally,  you  will  automatically  use  that  version  
> and  the  
>  -U  will  not  do  anything  useful).  
>  
>  
>  
>  One  side  note,  please  make  sure  you're  not  using  ${pom.version}  in 
>  
>  dependencies  with  snapshot  pom  versions...  (see  here:  
>  http://jira.codehaus.org/browse/MNG-2796  )
>  
>  
>  Cheers,
>  -Josh
>  
>  On  Mon,  Dec  29,  2008  at  7:12  PM,  Charles  F.  Munat
>  >  wrote:
>  
>  
>  Is  it  necessary  to  wipe  the  whole  repo,  or  just  
> net/liftweb?  It  seems  a
>  big  pain  to  keep  re-downloading  everything  every  week  or  so.
>  
>  Thanks  for  the  help.  I  ended  up  downloading  a  clean  copy  
> of  lift  and
>  then  running  mvn  install,  which  installed  everything  nicely.  
> So  now,
>  will  it  update  itse

[Lift] Re: box can boogie

2008-12-29 Thread Matt Harrington

On Mon, Dec 29, 2008 at 4:24 PM, Charles F. Munat  wrote:

> Does anyone else have problems with -U not doing a full update? If so,
> any ideas as to why that might be so? It's got to drive newbies nuts.
>
> Chas.

FWIW, I think I'm in the same boat as you, Charles.  I haven't tracked
down the problem yet though.

---Matt

--~--~-~--~~~---~--~~
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: Can or Box or something else

2008-12-29 Thread mbh.li...@gmail.com


I know it's a fait accompli, but I just wanted to give a heads-up to
people who might eventually find themselves answering questions from
newcomers on whether or not Box deals with boxing/autoboxing/unboxing:

http://en.wikipedia.org/wiki/Object_type

I don't believe I saw this point mentioned in the ongoing discussion.

NB: F# has built-in functions "box" and "unbox":

http://tinyurl.com/9wqskd

(bottom of page 112).

---Matt

--~--~-~--~~~---~--~~
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: box can boogie

2008-12-29 Thread Josh Suereth
Chas,

One last question... What timezone are you in vs. the timezone of hudson?

On Mon, Dec 29, 2008 at 7:47 PM, Tim Perrett  wrote:

> Chas,
>
> You say you are trying both local installs, and pulling from the snapshot
> repo?
>
> Can I suggest persisting with a single path at any one time? They are
> different and conflicting workflows really - unless your modifying the lift
> codebase to your own ends, Hudson will build the very latest JAR about an
> hour after the commit, so that should be more that acceptable time wise :-)
>
> Blow your .m2 away for now, and then decide on a workflow. A nice clean
> start! You should find that doing one or the other is a lot more consistant
> than doing both.
>
> Cheers, Tim
>
> Sent from my iPhone
>
> On 30 Dec 2008, at 00:34, "David Pollak" 
> wrote:
>
>
>
> On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat < 
> c...@munat.com> wrote:
>
>>
>> Any ideas what might cause a partial update rather than a full update?
>> Is it because I've only got the webkit in my pom.xml and not the other
>> parts of lift (I'm not using the mapper, e.g.)?
>>
>> It's working fine now, but I'd like to avoid this problem in the future.
>> It seems to crop up with depressing regularity. Still not clear if I'm
>> doing something wrong or if this is just the current state of
>> git/maven/lift.
>
>
> Git and Maven are two very different things and have nothing to do with
> each other.  If you're getting messed up git pulls, that's a really serious
> issue, but something way beyond this list.  You should take any failure Git
> updates to the GitHub or main Git lists.
>
> In terms of Maven, I don't know what to tell you.  I run Maven and about
> once a month or so, I blow away my repositories.  Since I've been
> periodically blowing about .m2, I haven't had a single Maven-related
> problem.
>
> The only thing I can think of is that you should include both the Lift
> Webkit and Lift Utils in your POM file.  They are different packages and
> perhaps Maven isn't updating them in sync... perhaps Maven is pulling Lift
> Webkit when you do a -U, but not pulling the Lift Utils package that the
> WebKit depends on.
>
>
>>
>>
>> Thanks.
>>
>> Chas.
>>
>> David Pollak wrote:
>> > Sounds like you're getting a partial update.  The code is clean on all
>> > my machines which means it's clean in GitHub.
>> >
>> > If you're still having issues, please post up examples of compilation
>> > failures.
>> >
>> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat < 
>> c...@munat.com
>> > c...@munat.com>> wrote:
>> >
>> >
>> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
>> > interesting melange of Box and Can that does not compile. Am I doing
>> > something wrong, or are there still some references that need to be
>> > changed over?
>> >
>> > I'll keep trying.
>> >
>> > Chas.
>> >
>> >
>> >
>> >
>> >
>> > --
>> > 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
>> >
>> > >
>>
>>
>>
>
>
> --
> 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: box can boogie

2008-12-29 Thread Tim Perrett
Chas,

You say you are trying both local installs, and pulling from the  
snapshot repo?

Can I suggest persisting with a single path at any one time? They are  
different and conflicting workflows really - unless your modifying the  
lift codebase to your own ends, Hudson will build the very latest JAR  
about an hour after the commit, so that should be more that acceptable  
time wise :-)

Blow your .m2 away for now, and then decide on a workflow. A nice  
clean start! You should find that doing one or the other is a lot more  
consistant than doing both.

Cheers, Tim

Sent from my iPhone

On 30 Dec 2008, at 00:34, "David Pollak"  
 wrote:

>
>
> On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat   
> wrote:
>
> Any ideas what might cause a partial update rather than a full update?
> Is it because I've only got the webkit in my pom.xml and not the other
> parts of lift (I'm not using the mapper, e.g.)?
>
> It's working fine now, but I'd like to avoid this problem in the  
> future.
> It seems to crop up with depressing regularity. Still not clear if I'm
> doing something wrong or if this is just the current state of
> git/maven/lift.
>
> Git and Maven are two very different things and have nothing to do  
> with each other.  If you're getting messed up git pulls, that's a  
> really serious issue, but something way beyond this list.  You  
> should take any failure Git updates to the GitHub or main Git lists.
>
> In terms of Maven, I don't know what to tell you.  I run Maven and  
> about once a month or so, I blow away my repositories.  Since I've  
> been periodically blowing about .m2, I haven't had a single Maven- 
> related problem.
>
> The only thing I can think of is that you should include both the  
> Lift Webkit and Lift Utils in your POM file.  They are different  
> packages and perhaps Maven isn't updating them in sync... perhaps  
> Maven is pulling Lift Webkit when you do a -U, but not pulling the  
> Lift Utils package that the WebKit depends on.
>
>
>
> Thanks.
>
> Chas.
>
> David Pollak wrote:
> > Sounds like you're getting a partial update.  The code is clean on  
> all
> > my machines which means it's clean in GitHub.
> >
> > If you're still having issues, please post up examples of  
> compilation
> > failures.
> >
> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  > > wrote:
> >
> >
> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I  
> get an
> > interesting melange of Box and Can that does not compile. Am I  
> doing
> > something wrong, or are there still some references that need  
> to be
> > changed over?
> >
> > I'll keep trying.
> >
> > Chas.
> >
> >
> >
> >
> >
> > --
> > 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
> >
> > >
>
>
>
>
>
> -- 
> 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: box can boogie

2008-12-29 Thread David Pollak
On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat  wrote:

>
> Any ideas what might cause a partial update rather than a full update?
> Is it because I've only got the webkit in my pom.xml and not the other
> parts of lift (I'm not using the mapper, e.g.)?
>
> It's working fine now, but I'd like to avoid this problem in the future.
> It seems to crop up with depressing regularity. Still not clear if I'm
> doing something wrong or if this is just the current state of
> git/maven/lift.


Git and Maven are two very different things and have nothing to do with each
other.  If you're getting messed up git pulls, that's a really serious
issue, but something way beyond this list.  You should take any failure Git
updates to the GitHub or main Git lists.

In terms of Maven, I don't know what to tell you.  I run Maven and about
once a month or so, I blow away my repositories.  Since I've been
periodically blowing about .m2, I haven't had a single Maven-related
problem.

The only thing I can think of is that you should include both the Lift
Webkit and Lift Utils in your POM file.  They are different packages and
perhaps Maven isn't updating them in sync... perhaps Maven is pulling Lift
Webkit when you do a -U, but not pulling the Lift Utils package that the
WebKit depends on.


>
>
> Thanks.
>
> Chas.
>
> David Pollak wrote:
> > Sounds like you're getting a partial update.  The code is clean on all
> > my machines which means it's clean in GitHub.
> >
> > If you're still having issues, please post up examples of compilation
> > failures.
> >
> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  > > wrote:
> >
> >
> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
> > interesting melange of Box and Can that does not compile. Am I doing
> > something wrong, or are there still some references that need to be
> > changed over?
> >
> > I'll keep trying.
> >
> > Chas.
> >
> >
> >
> >
> >
> > --
> > 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
> >
> > >
>
> >
>


-- 
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: pom.xml

2008-12-29 Thread Josh Suereth
Chas,

Please send your poms.

Note:
Wiping the maven repo is the CTRL-ALT-DEL windows-style fix for maven.  You
can just delete the Lift directory (as long as you get the meta-data poms
associated with it) you should be ok.  Once again, this is more of a hack,
than a fix.  If you're in a jam, just do it.  If not, it's usually better to
figure out why it's bombing so you can not run into the problem again.

Also remember that if you"mvn install" something it goes into your local
repo.  The mvn -U command tells maven to check the remote repositories for
newer versions *than the ones found in your local repository* (i.e. if you
install locally, you will automatically use that version and the -U will not
do anything useful).



One side note, please make sure you're not using ${pom.version} in
dependencies with snapshot pom versions... (see here:
http://jira.codehaus.org/browse/MNG-2796 )


Cheers,
-Josh

On Mon, Dec 29, 2008 at 7:12 PM, Charles F. Munat  wrote:

>
> Is it necessary to wipe the whole repo, or just net/liftweb? It seems a
> big pain to keep re-downloading everything every week or so.
>
> Thanks for the help. I ended up downloading a clean copy of lift and
> then running mvn install, which installed everything nicely. So now,
> will it update itself when I run mvn with the -u flag, or will I need to
> reinstall lift manually after each update? Maybe that's the problem...
>
> Is this the way it's supposed to work, or is something a bit broken with
> Maven?
>
> Thanks!
>
> Chas.
>
> Derek Chen-Becker wrote:
> > It should be able to pull lift-webkit from the repos. I'm guessing you
> > already have, but just as a sanity check did you wipe your maven repo?
> >
> > Derek
> >
> > On Mon, Dec 29, 2008 at 3:24 PM, Charles F. Munat  > > wrote:
> >
> >
> > I am using the JPA demo as my basis and have tried to change the
> > included pom.xml from one that inherits from the main lift pom.xml to
> a
> > standalone pom.xml, but I am missing something because I continue to
> get
> > the error below. Can anyone post a copy of a good standalone pom.xml
> (or
> > all three) from a JPA/Lift site? Thanks!
> >
> > Failed to resolve artifact.
> >
> > Missing:
> > --
> > 1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file -DgroupId=net.liftweb
> > -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can deploy the
> > file there:
> >   mvn deploy:deploy-file -DgroupId=net.liftweb
> > -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> > 1) com.xxx:yyy-app:war:0.10-SNAPSHOT
> > 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> >
> > --
> > 1 required artifact is missing.
> >
> > 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
-~--~~~~--~~--~--~---



[Lift] Re: box can boogie

2008-12-29 Thread Charles F. Munat

Yeah. (I wrote -u in other messages, but in fact it is -U that I'm 
using.) But weirdly it doesn't always seem to work. Blowing away the 
repository is a workaround, but I was just wondering if I am somehow 
messing it up or if -U doesn't always work.

Does anyone else have problems with -U not doing a full update? If so, 
any ideas as to why that might be so? It's got to drive newbies nuts.

Chas.

Derek Chen-Becker wrote:
> Are you using the "-U" flag for maven? If you don't it only checks 
> periodically for new code (once a day? Every few hours? I can't remember)
> 
> Derek
> 
> On Mon, Dec 29, 2008 at 5:14 PM, Charles F. Munat  > wrote:
> 
> 
> Any ideas what might cause a partial update rather than a full update?
> Is it because I've only got the webkit in my pom.xml and not the other
> parts of lift (I'm not using the mapper, e.g.)?
> 
> It's working fine now, but I'd like to avoid this problem in the future.
> It seems to crop up with depressing regularity. Still not clear if I'm
> doing something wrong or if this is just the current state of
> git/maven/lift.
> 
> Thanks.
> 
> Chas.
> 
> David Pollak wrote:
>  > Sounds like you're getting a partial update.  The code is clean
> on all
>  > my machines which means it's clean in GitHub.
>  >
>  > If you're still having issues, please post up examples of compilation
>  > failures.
>  >
>  > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  
>  > >> wrote:
>  >
>  >
>  > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I
> get an
>  > interesting melange of Box and Can that does not compile. Am
> I doing
>  > something wrong, or are there still some references that need
> to be
>  > changed over?
>  >
>  > I'll keep trying.
>  >
>  > Chas.
>  >
>  >
>  >
>  >
>  >
>  > --
>  > 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: box can boogie... working

2008-12-29 Thread Josh Suereth
I can at least answer your maven questions:

Maven requires you (in version 2.x) to hardcode the version of a dependency
you're using.  This means if lift switches versions (from 0.9 ->
0.10-SNAPSHOT or 0.10-SNAPSHOT -> 0.10) that you have to manually update
your pom first.  (This is migrating to a different style in Maven 3.x)

If you're just trying to pull the latest snapshot *always* do as already
suggested and use the -U option.  Otherwise it updates once in a while.  It
could be possible that some of your lift artifacts were updated without
*all* of them being updated, but I've never actually seen that happen.





On Mon, Dec 29, 2008 at 7:03 PM, Charles F. Munat  wrote:

>
> Well, I got it working, but it required deleting and re-cloning the
> liftweb directory, and deleting liftweb from the .m2 repository. As I
> suspected, the code is correct on the server.
>
> So what am I doing wrong here? Why is it that git won't update the local
> code properly? Why do I have to keep deleting things from the Maven
> repository? Shouldn't the -u option update things? Is all this stuff
> broken or am I missing some important concept?
>
> I assume there is some sort of flag I need to add to get everything to
> update properly. I still haven't figured out how to get Maven to
> download the lift-webkit without me installing it locally.
>
> Any git or maven geniuses out there willing to divulge the secret?
>
> Chas.
>
> Charles F. Munat wrote:
> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
> > interesting melange of Box and Can that does not compile. Am I doing
> > something wrong, or are there still some references that need to be
> > changed over?
> >
> > I'll keep trying.
> >
> > 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
-~--~~~~--~~--~--~---



[Lift] Re: box can boogie

2008-12-29 Thread Derek Chen-Becker
Are you using the "-U" flag for maven? If you don't it only checks
periodically for new code (once a day? Every few hours? I can't remember)

Derek

On Mon, Dec 29, 2008 at 5:14 PM, Charles F. Munat  wrote:

>
> Any ideas what might cause a partial update rather than a full update?
> Is it because I've only got the webkit in my pom.xml and not the other
> parts of lift (I'm not using the mapper, e.g.)?
>
> It's working fine now, but I'd like to avoid this problem in the future.
> It seems to crop up with depressing regularity. Still not clear if I'm
> doing something wrong or if this is just the current state of
> git/maven/lift.
>
> Thanks.
>
> Chas.
>
> David Pollak wrote:
> > Sounds like you're getting a partial update.  The code is clean on all
> > my machines which means it's clean in GitHub.
> >
> > If you're still having issues, please post up examples of compilation
> > failures.
> >
> > On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  > > wrote:
> >
> >
> > When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
> > interesting melange of Box and Can that does not compile. Am I doing
> > something wrong, or are there still some references that need to be
> > changed over?
> >
> > I'll keep trying.
> >
> > Chas.
> >
> >
> >
> >
> >
> > --
> > 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: pom.xml

2008-12-29 Thread Derek Chen-Becker
Sounds like Maven might be a bit broken, but sometimes it's hard to pinpoint
exactly where things are horking. I usually just wipe the whole tree to be
on the safe side...

Derek

On Mon, Dec 29, 2008 at 5:12 PM, Charles F. Munat  wrote:

>
> Is it necessary to wipe the whole repo, or just net/liftweb? It seems a
> big pain to keep re-downloading everything every week or so.
>
> Thanks for the help. I ended up downloading a clean copy of lift and
> then running mvn install, which installed everything nicely. So now,
> will it update itself when I run mvn with the -u flag, or will I need to
> reinstall lift manually after each update? Maybe that's the problem...
>
> Is this the way it's supposed to work, or is something a bit broken with
> Maven?
>
> Thanks!
>
> Chas.
>
> Derek Chen-Becker wrote:
> > It should be able to pull lift-webkit from the repos. I'm guessing you
> > already have, but just as a sanity check did you wipe your maven repo?
> >
> > Derek
> >
> > On Mon, Dec 29, 2008 at 3:24 PM, Charles F. Munat  > > wrote:
> >
> >
> > I am using the JPA demo as my basis and have tried to change the
> > included pom.xml from one that inherits from the main lift pom.xml to
> a
> > standalone pom.xml, but I am missing something because I continue to
> get
> > the error below. Can anyone post a copy of a good standalone pom.xml
> (or
> > all three) from a JPA/Lift site? Thanks!
> >
> > Failed to resolve artifact.
> >
> > Missing:
> > --
> > 1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >   mvn install:install-file -DgroupId=net.liftweb
> > -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can deploy the
> > file there:
> >   mvn deploy:deploy-file -DgroupId=net.liftweb
> > -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> > 1) com.xxx:yyy-app:war:0.10-SNAPSHOT
> > 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> >
> > --
> > 1 required artifact is missing.
> >
> > 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
-~--~~~~--~~--~--~---



[Lift] Re: box can boogie

2008-12-29 Thread Charles F. Munat

Any ideas what might cause a partial update rather than a full update? 
Is it because I've only got the webkit in my pom.xml and not the other 
parts of lift (I'm not using the mapper, e.g.)?

It's working fine now, but I'd like to avoid this problem in the future. 
It seems to crop up with depressing regularity. Still not clear if I'm 
doing something wrong or if this is just the current state of 
git/maven/lift.

Thanks.

Chas.

David Pollak wrote:
> Sounds like you're getting a partial update.  The code is clean on all 
> my machines which means it's clean in GitHub.
> 
> If you're still having issues, please post up examples of compilation 
> failures.
> 
> On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  > wrote:
> 
> 
> When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
> interesting melange of Box and Can that does not compile. Am I doing
> something wrong, or are there still some references that need to be
> changed over?
> 
> I'll keep trying.
> 
> Chas.
> 
> 
> 
> 
> 
> -- 
> 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: pom.xml

2008-12-29 Thread Charles F. Munat

Is it necessary to wipe the whole repo, or just net/liftweb? It seems a 
big pain to keep re-downloading everything every week or so.

Thanks for the help. I ended up downloading a clean copy of lift and 
then running mvn install, which installed everything nicely. So now, 
will it update itself when I run mvn with the -u flag, or will I need to 
reinstall lift manually after each update? Maybe that's the problem...

Is this the way it's supposed to work, or is something a bit broken with 
Maven?

Thanks!

Chas.

Derek Chen-Becker wrote:
> It should be able to pull lift-webkit from the repos. I'm guessing you 
> already have, but just as a sanity check did you wipe your maven repo?
> 
> Derek
> 
> On Mon, Dec 29, 2008 at 3:24 PM, Charles F. Munat  > wrote:
> 
> 
> I am using the JPA demo as my basis and have tried to change the
> included pom.xml from one that inherits from the main lift pom.xml to a
> standalone pom.xml, but I am missing something because I continue to get
> the error below. Can anyone post a copy of a good standalone pom.xml (or
> all three) from a JPA/Lift site? Thanks!
> 
> Failed to resolve artifact.
> 
> Missing:
> --
> 1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=net.liftweb
> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the
> file there:
>   mvn deploy:deploy-file -DgroupId=net.liftweb
> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
> 1) com.xxx:yyy-app:war:0.10-SNAPSHOT
> 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
> 
> --
> 1 required artifact is missing.
> 
> 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
-~--~~~~--~~--~--~---



[Lift] Re: box can boogie... working

2008-12-29 Thread Charles F. Munat

Well, I got it working, but it required deleting and re-cloning the 
liftweb directory, and deleting liftweb from the .m2 repository. As I 
suspected, the code is correct on the server.

So what am I doing wrong here? Why is it that git won't update the local 
code properly? Why do I have to keep deleting things from the Maven 
repository? Shouldn't the -u option update things? Is all this stuff 
broken or am I missing some important concept?

I assume there is some sort of flag I need to add to get everything to 
update properly. I still haven't figured out how to get Maven to 
download the lift-webkit without me installing it locally.

Any git or maven geniuses out there willing to divulge the secret?

Chas.

Charles F. Munat wrote:
> When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an 
> interesting melange of Box and Can that does not compile. Am I doing 
> something wrong, or are there still some references that need to be 
> changed over?
> 
> I'll keep trying.
> 
> 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
-~--~~~~--~~--~--~---



[Lift] Re: pom.xml

2008-12-29 Thread Derek Chen-Becker
It should be able to pull lift-webkit from the repos. I'm guessing you
already have, but just as a sanity check did you wipe your maven repo?

Derek

On Mon, Dec 29, 2008 at 3:24 PM, Charles F. Munat  wrote:

>
> I am using the JPA demo as my basis and have tried to change the
> included pom.xml from one that inherits from the main lift pom.xml to a
> standalone pom.xml, but I am missing something because I continue to get
> the error below. Can anyone post a copy of a good standalone pom.xml (or
> all three) from a JPA/Lift site? Thanks!
>
> Failed to resolve artifact.
>
> Missing:
> --
> 1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>   mvn install:install-file -DgroupId=net.liftweb
> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the
> file there:
>   mvn deploy:deploy-file -DgroupId=net.liftweb
> -DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
> 1) com.xxx:yyy-app:war:0.10-SNAPSHOT
> 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
>
> --
> 1 required artifact is missing.
>
> 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
-~--~~~~--~~--~--~---



[Lift] Re: box can boogie

2008-12-29 Thread David Pollak
Sounds like you're getting a partial update.  The code is clean on all my
machines which means it's clean in GitHub.

If you're still having issues, please post up examples of compilation
failures.

On Mon, Dec 29, 2008 at 3:37 PM, Charles F. Munat  wrote:

>
> When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an
> interesting melange of Box and Can that does not compile. Am I doing
> something wrong, or are there still some references that need to be
> changed over?
>
> I'll keep trying.
>
> Chas.
>
> >
>


-- 
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] box can boogie

2008-12-29 Thread Charles F. Munat

When I do a git pull on the lift 0.10-SNAPSHOT (I think), I get an 
interesting melange of Box and Can that does not compile. Am I doing 
something wrong, or are there still some references that need to be 
changed over?

I'll keep trying.

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



[Lift] Re: *** BREAKING CHANGE***

2008-12-29 Thread Charles F. Munat

I concur. There's nothing particularly difficult about changing a simple 
name, even if it is used frequently throughout the code. Global search 
and replace with a decent regex and you're done. Now, changing 
signatures or something like that -- that requires some serious recoding.

Thanks, David, for the change to Box. I do think it is much easier for 
newcomers to understand, and with no loss of terseness.

Chas.

Derek Chen-Becker wrote:
> In the grand scheme of things, changing the name of a class (Can -> Box) 
> is much more minor in my experience than some of the /behavior/ changes 
> that we've gone through the past month or so. The former is relatively 
> simple to fix with a sed script or with Find/Replace in, say, Eclipse, 
> while the latter means actually rethinking code at some level.
> 
> Derek
> 
> On Sun, Dec 28, 2008 at 2:00 PM, Tim Perrett  > wrote:
> 
> 
> Further to Davids comment, Id like to add the following:
> 
> We are currently having a strong drive forward in the lift code base,
> and the project at large (documentation, installers etc), so breaking
> changes like this, whilst few and far between, are unfortunately
> required growing pains to make lift better and more user friendly long
> term. We hope that changing from Can[T] to Box[T] will make the
> learning curve for lift new-commers easier, as we find people
> struggling with the Can[T] concept initially.
> 
> The committer team is working hard to get a 0.10 release out early in
> the new year, and we hope that when that release is out, the lift API
> will be pretty much frozen as we progress to a 1.0 RC in 2009 with
> scala 2.7.3, so this should be one of the last wide spread breaking
> changes. No doubt David will post more information about the current
> roadmap in January.
> 
> Cheers everyone, happy lifting!
> 
> Tim
> 
> 
> 
> 
> 
> 
> > 

--~--~-~--~~~---~--~~
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: Forum software

2008-12-29 Thread Charles F. Munat

Good to know. Thanks!

Randall R Schulz wrote:
> On Monday 29 December 2008 13:54, Charles F. Munat wrote:
>> Does anyone know of any good Java forum software (open source) -- I'm
>> not even going to ask about Scala forums (sigh). I'm looking for
>> something that I could integrate with a Lift website.
> 
> I can't give a positive recommendation, but I strongly recommend that 
> you avoid ClearSpace by Jive software. JetBrains uses it for their 
> product forums, and it's an abomination. They recently upgraded to 
> version 2.5 and the only thing so far to say in its favor over the 
> previous version that was running there is that it doesn't crash. 
> Everything about the UI is inferior to the old version except that you 
> don't see Java stack traces any more.
> 
> 
>> Chas.
> 
> 
> Randall Schulz
> 
> > 

--~--~-~--~~~---~--~~
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] pom.xml

2008-12-29 Thread Charles F. Munat

I am using the JPA demo as my basis and have tried to change the 
included pom.xml from one that inherits from the main lift pom.xml to a 
standalone pom.xml, but I am missing something because I continue to get 
the error below. Can anyone post a copy of a good standalone pom.xml (or 
all three) from a JPA/Lift site? Thanks!

Failed to resolve artifact.

Missing:
--
1) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
   mvn install:install-file -DgroupId=net.liftweb 
-DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the 
file there:
   mvn deploy:deploy-file -DgroupId=net.liftweb 
-DartifactId=lift-webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
 1) com.xxx:yyy-app:war:0.10-SNAPSHOT
 2) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT

--
1 required artifact is missing.

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



[Lift] Re: *** BREAKING CHANGE***

2008-12-29 Thread Derek Chen-Becker
In the grand scheme of things, changing the name of a class (Can -> Box) is
much more minor in my experience than some of the *behavior* changes that
we've gone through the past month or so. The former is relatively simple to
fix with a sed script or with Find/Replace in, say, Eclipse, while the
latter means actually rethinking code at some level.

Derek

On Sun, Dec 28, 2008 at 2:00 PM, Tim Perrett  wrote:

>
> Further to Davids comment, Id like to add the following:
>
> We are currently having a strong drive forward in the lift code base,
> and the project at large (documentation, installers etc), so breaking
> changes like this, whilst few and far between, are unfortunately
> required growing pains to make lift better and more user friendly long
> term. We hope that changing from Can[T] to Box[T] will make the
> learning curve for lift new-commers easier, as we find people
> struggling with the Can[T] concept initially.
>
> The committer team is working hard to get a 0.10 release out early in
> the new year, and we hope that when that release is out, the lift API
> will be pretty much frozen as we progress to a 1.0 RC in 2009 with
> scala 2.7.3, so this should be one of the last wide spread breaking
> changes. No doubt David will post more information about the current
> roadmap in January.
>
> Cheers everyone, happy lifting!
>
> Tim
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Forum software

2008-12-29 Thread Randall R Schulz

On Monday 29 December 2008 13:54, Charles F. Munat wrote:
> Does anyone know of any good Java forum software (open source) -- I'm
> not even going to ask about Scala forums (sigh). I'm looking for
> something that I could integrate with a Lift website.

I can't give a positive recommendation, but I strongly recommend that 
you avoid ClearSpace by Jive software. JetBrains uses it for their 
product forums, and it's an abomination. They recently upgraded to 
version 2.5 and the only thing so far to say in its favor over the 
previous version that was running there is that it doesn't crash. 
Everything about the UI is inferior to the old version except that you 
don't see Java stack traces any more.


> Chas.


Randall Schulz

--~--~-~--~~~---~--~~
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: Forum software

2008-12-29 Thread David Pollak
Jive's clearspace is a commercial forum system.

On Mon, Dec 29, 2008 at 1:54 PM, Charles F. Munat  wrote:

>
> Does anyone know of any good Java forum software (open source) -- I'm
> not even going to ask about Scala forums (sigh). I'm looking for
> something that I could integrate with a Lift website.
>
> Chas.
>
> >
>


-- 
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] Forum software

2008-12-29 Thread Charles F. Munat

Does anyone know of any good Java forum software (open source) -- I'm 
not even going to ask about Scala forums (sigh). I'm looking for 
something that I could integrate with a Lift website.

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



[Lift] Re: *** Minor breaking change *** - Lift HTTP authentication

2008-12-29 Thread Marius

Done,

Now we have:

object userRoles extends RequestVar[List[Role]](Nil)

so we can use it like:

userRoles(AuthRole("useradmin", "siteadmin")) or
userRoles(AuthRole("useradmin"))

Thanks for you eagle eyes Jorge ;)

Br's,
Marius

On Dec 29, 8:24 pm, Marius  wrote:
> Good observation. It used to be Box[Role] ... but since multiple roles
> are supported it just became Box[List[Role]] ... but indeed List[Role]
> should suffice now. I'll make the changes today or tomorrow.
>
> Br's,
> Marius
>
> On Dec 29, 7:55 pm, "Jorge Ortiz"  wrote:
>
> > Why Box[List[Role]] instead of just List[Role]?
>
> > Is there a semantic difference between Empty and Full(Nil)?
>
> > --j
>
> > On Mon, Dec 29, 2008 at 7:33 AM, Marius  wrote:
>
> > > Hi,
>
> > > If you use so far the HTTP authentication support in Lift, you code
> > > would likely break. So far we could assign a single role to user by
> > > using userRoleRequestVar. This has been changed from:
>
> > > object userRole extends RequestVar[Box[Role]](Empty)
>
> > > to
>
> > > object userRoles extends RequestVar[Box[List[Role]]](Empty)
>
> > > In your authentication function you can say:
>
> > > userRoles(Full(AuthRole("useradmin", "siteadmin"))) or
> > > userRoles(Full(AuthRole("useradmin")))
>
> > > Br's,
> > > Marius
--~--~-~--~~~---~--~~
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: *** Minor breaking change *** - Lift HTTP authentication

2008-12-29 Thread Marius

Good observation. It used to be Box[Role] ... but since multiple roles
are supported it just became Box[List[Role]] ... but indeed List[Role]
should suffice now. I'll make the changes today or tomorrow.

Br's,
Marius

On Dec 29, 7:55 pm, "Jorge Ortiz"  wrote:
> Why Box[List[Role]] instead of just List[Role]?
>
> Is there a semantic difference between Empty and Full(Nil)?
>
> --j
>
> On Mon, Dec 29, 2008 at 7:33 AM, Marius  wrote:
>
> > Hi,
>
> > If you use so far the HTTP authentication support in Lift, you code
> > would likely break. So far we could assign a single role to user by
> > using userRoleRequestVar. This has been changed from:
>
> > object userRole extends RequestVar[Box[Role]](Empty)
>
> > to
>
> > object userRoles extends RequestVar[Box[List[Role]]](Empty)
>
> > In your authentication function you can say:
>
> > userRoles(Full(AuthRole("useradmin", "siteadmin"))) or
> > userRoles(Full(AuthRole("useradmin")))
>
> > Br's,
> > Marius
--~--~-~--~~~---~--~~
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: *** Minor breaking change *** - Lift HTTP authentication

2008-12-29 Thread Jorge Ortiz
Why Box[List[Role]] instead of just List[Role]?

Is there a semantic difference between Empty and Full(Nil)?

--j

On Mon, Dec 29, 2008 at 7:33 AM, Marius  wrote:

>
> Hi,
>
> If you use so far the HTTP authentication support in Lift, you code
> would likely break. So far we could assign a single role to user by
> using userRoleRequestVar. This has been changed from:
>
> object userRole extends RequestVar[Box[Role]](Empty)
>
> to
>
> object userRoles extends RequestVar[Box[List[Role]]](Empty)
>
> In your authentication function you can say:
>
> userRoles(Full(AuthRole("useradmin", "siteadmin"))) or
> userRoles(Full(AuthRole("useradmin")))
>
>
> Br's,
> Marius
> >
>

--~--~-~--~~~---~--~~
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: Can or Box or something else

2008-12-29 Thread stephen goldbaum

Ah. Well, sorry I subjected you to that joke twice then (once was more
than enough)...  I'm glad a decision's been made.

-Stephen

--~--~-~--~~~---~--~~
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: *** Minor breaking change *** - Lift HTTP authentication

2008-12-29 Thread Tim Perrett

Excellent stuff Marius - I hope to add an example from the http-auth
branch to master this week so will certainly include this

Cheers, Tim

On Dec 29, 1:33 pm, Marius  wrote:
> Hi,
>
> If you use so far the HTTP authentication support in Lift, you code
> would likely break. So far we could assign a single role to user by
> using userRoleRequestVar. This has been changed from:
>
> object userRole extends RequestVar[Box[Role]](Empty)
>
> to
>
> object userRoles extends RequestVar[Box[List[Role]]](Empty)
>
> In your authentication function you can say:
>
> userRoles(Full(AuthRole("useradmin", "siteadmin"))) or
> userRoles(Full(AuthRole("useradmin")))
>
> Br's,
> Marius
--~--~-~--~~~---~--~~
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] *** Minor breaking change *** - Lift HTTP authentication

2008-12-29 Thread Marius

Hi,

If you use so far the HTTP authentication support in Lift, you code
would likely break. So far we could assign a single role to user by
using userRoleRequestVar. This has been changed from:

object userRole extends RequestVar[Box[Role]](Empty)

to

object userRoles extends RequestVar[Box[List[Role]]](Empty)

In your authentication function you can say:

userRoles(Full(AuthRole("useradmin", "siteadmin"))) or
userRoles(Full(AuthRole("useradmin")))


Br's,
Marius
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---