[Lift] Re: box can boogie
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 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
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
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 c...@munat.com mailto: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 --~--~-~--~~~---~--~~ 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
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 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. 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 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
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 c...@munat.com 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
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 c...@munat.com mailto: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. 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 mailto:c...@munat.com mailto: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 --~--~-~--~~~---~--~~ 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
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 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
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 he...@timperrett.com 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 feeder.of.the.be...@gmail.com wrote: On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat c...@munat.com 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 mailto: c...@munat.comc...@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 http://liftweb.net Collaborative Task Management http://much4.ushttp://much4.us Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Lift, the simply functional web framework http://liftweb.net http://liftweb.net Collaborative Task Management http://much4.ushttp://much4.us Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://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
On Mon, Dec 29, 2008 at 4:24 PM, Charles F. Munat c...@munat.com 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: box can boogie
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 c...@munat.com mailto: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 mailto:c...@munat.com mailto: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
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 feeder.of.the.be...@gmail.com mailto:feeder.of.the.be...@gmail.com wrote: On Mon, Dec 29, 2008 at 4:14 PM, Charles F. Munat mailto:c...@munat.comc...@munat.com mailto: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 mailto:c...@munat.comc...@munat.com mailto:c...@munat.com mailto: mailto:c...@munat.comc...@munat.com mailto: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.nethttp://liftweb.net Collaborative Task Management http://much4.ushttp://much4.us Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://github.com/dpp -- Lift, the simply functional web framework http://liftweb.nethttp://liftweb.net Collaborative Task Management http://much4.ushttp://much4.us Follow me: http://twitter.com/dpphttp://twitter.com/dpp Git some: http://github.com/dpphttp://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 -~--~~~~--~~--~--~---