[Lift] Re: Tail merge?

2009-05-10 Thread Alexander Kellett

fyi. if you smash css into a single file but continue using relative
urls in the css you'll end up with a slower page in the case that
you're using asset hosts to work around the browsers http connection
limit. when smashing into one file make sure to also apply the asset
host trick to any url() statements in the css by rewriting them to be
absolute urls rather than merely paths. commonly made mistake in the
ruby world at least, saddens me.

On Sun, May 10, 2009 at 3:55 PM, marius d. marius.dan...@gmail.com wrote:

 People can choose to smash multiple js/css files into a single one,
 in fact it is a common practice. However for scripts that can be
 deferred putting them at the bottom of the page can improve rendering.

 Br's,
 Marius

 On May 10, 4:42 pm, David Pollak feeder.of.the.be...@gmail.com
 wrote:
 On Fri, May 8, 2009 at 5:26 PM, Timothy Perrett 
 timo...@getintheloop.euwrote:



  Sounds like this could be a neat addition. Looking forward to see what you
  come up with :-)

 I'm not 100% keen on it.  Loading a ton of stuff into the HTML page (rather
 than having stuff cached by the browser) makes for larger page sizes.  I'd
 much rather see a tool that would analyze the scripts and css that was
 included across lots of pages and recommending to the developer to make 10
 CSS files or 20 script files into 1.  But that's just me.





  Cheers, Tim

  On 08/05/2009 20:19, marius d. marius.dan...@gmail.com wrote:

   A lift:tail built in snippet might me a good addition. I could
   probably allocate some time to noodle on it.

   Br's,
   Marius

   On May 8, 5:05 pm, KWright kev.lee.wri...@googlemail.com wrote:
   It's becoming an established best practice that scripts should be put
   at the END of a page, where possible, in order to speed up download
   times

   Good article here:http://developer.yahoo.com/performance/rules.html

   It would be nice if Lift could help encourage and support this by
   allowing a tail (or Lift:tail?) element that could be merged in
   the same fashion as the head element, perhaps also removing
   duplicates, etc.

   This element would then disappear and expose only its content when the
   page is ultimately sent to the browser.

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://www.apress.com/book/view/1430219890
 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: timestamp versioning for javascript includes

2009-04-30 Thread Alexander Kellett

On Wed, Apr 29, 2009 at 7:14 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
 /classpath/date_2009_04_29_18_20/json.js

i don't really see many advantages to having the number half way
through the path, only disadvantages, it makes it slightly more
difficult to see / copy and paste the referenced path, for no real
bonus.

why not just use ?2009042912342343etc. the funny numbers in rails
are inode numbers or unix date stamps (can't remember which). japanese
style dates are much nicer. and use of currentyear makes it
completely obvious what the number is which is not the case for rails
style.

 On Wed, Apr 29, 2009 at 10:03 AM, Lee Mighdoll l...@underneath.ca wrote:
 I think the browsers cache urls with params... a quick glance at the rails
 docs suggest they expect these requests to be cached, though I haven't
 tested it mysolf.

yes, the browsers cache.

Alex

--~--~-~--~~~---~--~~
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: [urgent bug] javascript escaping issue!!

2009-04-30 Thread Alexander Kellett

btw this is completely okay (no idea about valid) in a onclick for
example, just not in a script block.

On Thu, Apr 30, 2009 at 12:26 PM, Timothy Perrett
timo...@getintheloop.eu wrote:

 Guys,

 Maven just pulled the latest jars from hudson and ooops, now my
 project is broken! lol.

 The changes to the string helpers etc to move to double quotes not
 single quotes has broken my entire application which is due to go out
 tomorrow. For instance:

 {'useJSToGetCustomizationValues': 'false', . }

 has now become

 {quot;useJSToGetCustomizationValuesquot;: quot;falsequot;  }

 The latter is obviously totally invalid and just doesn't work - can we
 fix this ASAP please otherwise im going to get seriously bitch slapped
 by my boss ;-)

 Cheers, 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: Feedback on screen cast, please

2009-04-27 Thread Alexander Kellett

jfyi, it seems its not possible to download the movie via the
subscribe with itunes link, maybe if you upload a mp4 version of the
content it would? i'm certain i'm not the only one that much prefers
to watch on a portable device / while offline.

Alex

On Sat, Apr 25, 2009 at 3:10 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
 I've posted it at blip.tv:

 http://liftweb.blip.tv

 It seems to have good audio synchronization.

 On Sat, Apr 25, 2009 at 6:04 AM, Derek Chen-Becker dchenbec...@gmail.com
 wrote:

 Hmmm. VLC on Linux worked fine viewing it for me.

 Derek

 On Fri, Apr 24, 2009 at 11:11 PM, Warren Henning
 warren.henn...@gmail.com wrote:

 On Fri, Apr 24, 2009 at 8:50 AM, David Pollak
 feeder.of.the.be...@gmail.com wrote:
  I'd like to get some critical feedback on it so I can improve it.

 I'm short on criticism - this was really cool.

 You might want to comment on how much compile time there is when
 you're rapidly updating a Lift application so people don't think you
 spend half your development time waiting for the computer or
 something.

 I'd like to note that for some reason when I opened the machine on my
 default media viewer, the video didn't work right although audio was
 fine - VLC 0.8.6e, Windows XP SP2. Opening in QuickTime worked fine
 though.

 Warren








 --
 Lift, the simply functional web framework http://liftweb.net
 Beginning Scala http://www.apress.com/book/view/1430219890
 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: Avoiding polling when using Comet. Reverse AJAX

2009-04-22 Thread Alexander Kellett

are you sure this isn't the gc poll? i agree 10 seconds is too short
(thats a lot of traffic...), but its a very quick operation, its not
an actual poll on the page afaiu

On Wed, Apr 22, 2009 at 8:54 AM, przemek.pokrywka
przemyslaw.pokry...@gmail.com wrote:

 It is 10 sec actually at Comet chat example.
 Not very good for high-traffic public portals.

 Przemek

 On Apr 21, 7:21 pm, marius d. marius.dan...@gmail.com wrote:
 But what is the problem with long pooling if a request is done every x
 minutes (if server does not have any message for this client)?

 


--~--~-~--~~~---~--~~
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: Resizing images

2009-04-16 Thread Alexander Kellett

i used jai in the past, a quick google let me to
http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java-better-way.html

On Thu, Apr 16, 2009 at 11:10 AM, Jean-Luc jlcane...@gmail.com wrote:
 Imagemagick is said to be very efficient for image processing.
 http://www.imagemagick.org/script/api.php#java

 If you develop with MacOSX, some people had some compile issues with JMagick
 and have prefered a more direct solution using exec :
 http://www.darcynorman.net/2005/03/15/jai-vs-imagemagick-image-resizing/

 Jean-Luc


 2009/4/16 Charles F. Munat c...@munat.com

 The Georgia Association of Editors? That's good to know.

 (Unfortunately, the app is already built and running on my own server
 and I have no time to play with GAE right now. But I'm getting more and
 more curious about it.)

 It's funny. I would think that lots of people would be resizing uploaded
 images in Java, but I've asked this question before and got nothing.
 Ruby/Rails folks do this sort of thing all the time with RMagick (and
 half a dozen other tools). What the heck do Java developers do?

 Thanks, Viktor!

 Chas.

 Viktor Klang wrote:
 
 
  On Thu, Apr 16, 2009 at 7:36 AM, Charles F. Munat c...@munat.com
  mailto:c...@munat.com wrote:
 
 
      Has anyone here done anything with Lift in which uploaded images are
      resized (or otherwise manipulated) before saving? If so, how did you
  do
      it? Any recommendations for libraries?
 
 
  GAE offers that kind of functionality.
 
 
 
 
      Thanks!
 
      Chas.
 
 
 
 
 
  --
  Viktor Klang
  Senior Systems Analyst
 
  





 --
 Jean-Luc Canela
 jlcane...@gmail.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Alexander Kellett

which would also make
http://code.google.com/p/simple-build-tool/wiki/WebApplicationExample
much much more interesting to me...

Alex

On Tue, Apr 14, 2009 at 8:58 PM, marius d. marius.dan...@gmail.com wrote:



 On Apr 14, 2:40 pm, Viktor Klang viktor.kl...@gmail.com wrote:
 On Tue, Apr 14, 2009 at 1:38 PM, marius d. marius.dan...@gmail.com wrote:

  Even if I find maven quite helpful for Lift there are people that just
  want to stay away from maven. I can understand that. Perhaps it would
  be helpful to also have some ant script to build a lift project? ...
  or perhaps have a downloadable zip archive from lift's site that
  contains incipient projects like the results produced by Lift's
  archetypes? ... so that people can just download that project zip file
  with the ant build in it and then start building the app on top of
  that? ... would that work ?

 Nice angle!
 Or perhaps have an online service where you can specify the archetype
 details and have a compressed payload downloaded?

 Yup crossed my mind ... and I love it. Basically run the archetype on
 demand and serve back the zip content.






  Br's,
  Marius

  On Apr 14, 2:23 pm, João Pereira joaomiguel.pere...@gmail.com wrote:
   Hello,

   I find that maven will ease your work a lot. Usually it take only one
   step to get a lift app running.

   mvn jetty:run

   if you want to create an eclipse project for the downloaded app, you
   just do mvn eclipse:eclipse and then import it to eclipse.

   Not using maven you'll have to deal with all the dependency management
   by yourself :(

   Can you specify what do you expected from maven? what were the
   problems encountered?

   On Tue, Apr 14, 2009 at 12:11 PM, tk050305cnx tk050305...@gmail.com
  wrote:

I am new to Liftweb. Unfortunately, the example app in the getting
started doc did not work. That is... Maven did not produce the
expected output. I don't want to bother with Maven at this time. Can
you point me to a source that describes how to set up a helloworld
type of application manually and deploy it on Tomcat? Is there any
Eclipse automation for that?

Cheers, CNX

   --
   João Miguel Pereira, PMPhttp://jpereira.euhttp://
 www.linkedin.com/in/joaomiguelpereira
   joaomiguel.pere...@gmail.com
   (351) 96 275 68 58

 --
 Viktor Klang
 Senior Systems Analyst
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Alexander Kellett

On Wed, Apr 15, 2009 at 5:26 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
 While we are a community that welcomes newbies and tries to work with as
 many different people and with as many different styles as possible, there
 are things that we've collectively learned.  We've found that Maven is
 preferable for our style of development.  If you want to use Ant, there's
 nothing stopping you and we'd welcome some Ant scripts for building Lift,
 but we're not going to stop what we're doing and write one for you just
 because you demand that we do so.  Please go back and write the Ant scripts
 yourself and contribute to the community rather than being rude to us
 because we don't do things the way you want.  That will demonstrate that you
 are willing to contribute in rather than demand and insult when your demands
 are not met.

many people are scared by maven. myself included after my previous
fun with getting lift working.

is there a way to get a self contained hello world zip up on github
if it is not already there? afaiu maven also allows for local caches,
could that that be placed in the zip, or is it simply too big?

i think that might scare people much less than pasting the very opaque
four liner which asks questions i do not know the answer to :)

Alex

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Alexander Kellett

looks like it works
   Welcome to hello-lift at Wed Apr 15 20:17:44 CEST 2009

:)

Alex

On Wed, Apr 15, 2009 at 8:17 PM, Alexander Kellett lypa...@gmail.com wrote:
 from what i can see the latest sbt supports jetty-run command :)
 testing it out now!
 next step, write a command for it to perform the equiv of mvn idea:idea.

 Alex

 On Wed, Apr 15, 2009 at 7:22 PM, Timothy Perrett
 timo...@getintheloop.eu wrote:


 Alex,

 We could do something like this, but it would still need to use maven to
 start the server (mvn jetty:run). Unfortunately, you'll need to have a local
 maven repo, that's a) part of how maven works and b) the legal implications
 of us redistributing a bunch of other peoples code to make it self contained
 probably had various ramifications.

 We could supply a hello world on github, but this is just what the archetype
 creates for you. Perhaps this is a case of education in our community about
 how maven works? If there were supporting documentation would it be so
 scary? (it might help you answer mvn's questions too!)

 Cheers, Tim

 On 15/04/2009 17:37, Alexander Kellett lypa...@gmail.com wrote:

 many people are scared by maven. myself included after my previous
 fun with getting lift working.

 is there a way to get a self contained hello world zip up on github
 if it is not already there? afaiu maven also allows for local caches,
 could that that be placed in the zip, or is it simply too big?

 i think that might scare people much less than pasting the very opaque
 four liner which asks questions i do not know the answer to :)



 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Alexander Kellett

from what i can see the latest sbt supports jetty-run command :)
testing it out now!
next step, write a command for it to perform the equiv of mvn idea:idea.

Alex

On Wed, Apr 15, 2009 at 7:22 PM, Timothy Perrett
timo...@getintheloop.eu wrote:


 Alex,

 We could do something like this, but it would still need to use maven to
 start the server (mvn jetty:run). Unfortunately, you'll need to have a local
 maven repo, that's a) part of how maven works and b) the legal implications
 of us redistributing a bunch of other peoples code to make it self contained
 probably had various ramifications.

 We could supply a hello world on github, but this is just what the archetype
 creates for you. Perhaps this is a case of education in our community about
 how maven works? If there were supporting documentation would it be so
 scary? (it might help you answer mvn's questions too!)

 Cheers, Tim

 On 15/04/2009 17:37, Alexander Kellett lypa...@gmail.com wrote:

 many people are scared by maven. myself included after my previous
 fun with getting lift working.

 is there a way to get a self contained hello world zip up on github
 if it is not already there? afaiu maven also allows for local caches,
 could that that be placed in the zip, or is it simply too big?

 i think that might scare people much less than pasting the very opaque
 four liner which asks questions i do not know the answer to :)



 


--~--~-~--~~~---~--~~
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: Rails - Lift

2009-04-10 Thread Alexander Kellett

well, fwiw :P i eventually chose ideavim with intellij. best of both worlds.
thanks all for the input!

On Thu, Apr 9, 2009 at 10:20 PM, TylerWeir tyler.w...@gmail.com wrote:

 It's not an editor/IDE war unless someone brings up Vim or Emacs,
 so...

 I've been using Vim+Scala+Ctags since I started.

 I'd recommend not getting hung-up on which editor is the best  just
 start coding.


 On Apr 9, 3:01 pm, Charles F. Munat c...@munat.com wrote:
 I was thinking that I'd start with Textmate, since I've used that the
 most and it's what most Rails developers use, and then move to NetBeans,
 since that seems to be pretty popular. But I could take a quick look at
 Eclipse, too.



 David Pollak wrote:

  On Thu, Apr 9, 2009 at 2:38 AM, Alexander Kellett lypa...@gmail.com
  mailto:lypa...@gmail.com wrote:

      actually my biggest blocker (and still my blocker) is getting a
      working coding environment.

      there is so much contradictory information on which ide is the best.
      it would be really nice to have a document that talks about the pro's
      and con's of each ide.

      in the rails/osx world its easy: use textmate unless you have a
      predisposition for something else.

  I spent a lot of time coding Scala and Lift with emacs and Textmate.
   They work fine.

  While my current IDE of choice is NetBeans, I'm not convinced that an
  IDE is better than a good text editor.

      not the case for lift / scala in general.

      i know, boring... but i think it really would help to have such a
      document to help people decide.

      On Thu, Apr 9, 2009 at 5:58 AM, Charles F. Munat c...@munat.com
      mailto:c...@munat.com wrote:

        I'm writing a proposal for a presentation on moving from Rails to
      Lift.

        A couple of stumbling blocks that I've mentioned are:

        1. Understanding and taking advantage of immutable constructs.

        2. Getting the hang of the view-centric approach to MVC.

        Before I go much further, I'd like to poll this list for things that
        others think should be included. For former or current Rails
      developers
        like myself, What sorts of things gave you the most trouble when
      moving
        to Lift (or trying it out)? What would you like to have had someone
        explain to you to make the transition easier?

        Thanks for any help!

        Chas.

  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Beginning Scalahttp://www.apress.com/book/view/1430219890
  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: Rails - Lift

2009-04-09 Thread Alexander Kellett

actually my biggest blocker (and still my blocker) is getting a
working coding environment.

there is so much contradictory information on which ide is the best.
it would be really nice to have a document that talks about the pro's
and con's of each ide.

in the rails/osx world its easy: use textmate unless you have a
predisposition for something else.

not the case for lift / scala in general.

i know, boring... but i think it really would help to have such a
document to help people decide.

On Thu, Apr 9, 2009 at 5:58 AM, Charles F. Munat c...@munat.com wrote:

 I'm writing a proposal for a presentation on moving from Rails to Lift.

 A couple of stumbling blocks that I've mentioned are:

 1. Understanding and taking advantage of immutable constructs.

 2. Getting the hang of the view-centric approach to MVC.

 Before I go much further, I'd like to poll this list for things that
 others think should be included. For former or current Rails developers
 like myself, What sorts of things gave you the most trouble when moving
 to Lift (or trying it out)? What would you like to have had someone
 explain to you to make the transition easier?

 Thanks for any help!

 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: IDE

2009-03-21 Thread Alexander Kellett

thank you for the suggestion (and realy nice of javarebel to make
this available to scala devels!), much nicer than refreshing and
getting a jetty no-contexts page.

unfortunately, as scala:cc is polling rather than using a filesystem
notifier, the latency between file modification and .class update is
huge. on top of that, the compiler is quite slow, therefore most of
the time, i reload, and the page has not yet changed.

my gut feeling (maybe there are better options) is that scala should
in development mode on request verify that the timestamps of all files
are earlier than that of the .class files. if thats the case, it
should block until the .class file timestamps change. probably some
corner cases, but this should be enough most of the time.

going to find some docs on working on lift itself.

Alex

On Thu, Mar 19, 2009 at 5:07 PM, Timothy Perrett
timo...@getintheloop.eu wrote:


 Alex, you could always use JavaRebel... This will replace the classes
 dynamically for you instantly (no more Jetty reboots required, just browser
 refresh). They do a scala only version of JavaRebel that you can download
 for free.

 Thanks

 Tim

 On 19/03/2009 15:12, Alexander Kellett lypa...@gmail.com wrote:


 is it possible for lift to block until such compiles are redone? the
 compiler is simply too slow at this point to be used with such an
 interactive cycle for me alas. i reload and get either the old, or
 500s. simply too error prone.

 Alex

 On Thu, Mar 5, 2009 at 6:02 AM, David Pollak
 feeder.of.the.be...@gmail.com wrote:
 One can get continuous build with any editor.  mvn scala:cc scans for
 changed files and recompiles.  With the compiler changes that David MacIver
 is work on, the compiler will not only recompile the changed files, but also
 all dependent files (including dependencies due to implicits, traits, etc.)
 Using mvn scala:cc or Eclipse along with JavaRebel makes writing Lift apps
 kinda sorta like writing web apps in a scripting language.

 




 


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

2009-03-19 Thread Alexander Kellett

is it possible for lift to block until such compiles are redone? the
compiler is simply too slow at this point to be used with such an
interactive cycle for me alas. i reload and get either the old, or
500s. simply too error prone.

Alex

On Thu, Mar 5, 2009 at 6:02 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
 One can get continuous build with any editor.  mvn scala:cc scans for
 changed files and recompiles.  With the compiler changes that David MacIver
 is work on, the compiler will not only recompile the changed files, but also
 all dependent files (including dependencies due to implicits, traits, etc.)
 Using mvn scala:cc or Eclipse along with JavaRebel makes writing Lift apps
 kinda sorta like writing web apps in a scripting language.

--~--~-~--~~~---~--~~
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: Fwd: Official Siemens SIS Press Release about ESME released

2009-03-12 Thread Alexander Kellett

tiny url version to save some people mobile device long url correction
hell... ;)

http://tinyurl.com/cfnmcu

On Thu, Mar 12, 2009 at 5:03 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
 ESME is Scala and Lift based and is in production @ Siemens.

 -- Forwarded message --
 From: Hirsch, Richard richard.hir...@siemens.com
 Date: Mon, Mar 9, 2009 at 7:45 AM
 Subject: Official Siemens SIS Press Release about ESME released
 To: p...@apache.org, esme-...@incubator.apache.org
 Cc: Jim Jagielski j...@jagunet.com


 The official press release from Siemens about ESME has been released:
 https://www.it-solutions.siemens.com/b2b/it/en/global/press/press-releas
 es/2009/Pages/enterprise-social-messaging-experiment.aspx

 Thanks for everyone's support.

 D.



 --
 Lift, the simply functional web framework http://liftweb.net
 Beginning Scala http://www.apress.com/book/view/1430219890
 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: Required goal not found: archetype:generate

2009-03-12 Thread Alexander Kellett

Ah. Feel much better.. Thought it was just me and never took the time
to look into this. I get the same thing...

Looking at mvn -X I see:

[DEBUG]   (f) remoteArtifactRepositories = [[central] -
http://repo1.maven.org/maven2]

Googling for a while helps not... any ideas?

On Thu, Mar 12, 2009 at 6:20 PM, erik.fris...@googlemail.com
erik.fris...@googlemail.com wrote:

 You are indeed right, my PDF was outdated. I have to admit though I
 have no clue how that happened, I downloaded it today. Anyway, I ran
 the following command:

 mvn archetype:generate -U \
 -DarchetypeGroupId:net.liftweb \
 -DarchetypeArtifactId=lift-archetype-blank \
 -DarchetypeVersion=1.0 \
 -DremoteRepositories=http://scala-tools.org/repo-releases \
 -DgroupId=demo.helloworld \
 -DartifactId=helloworld \
 -Dversion=1.0-SNAPSHOT

 Now I get this error:

 The desired archetype does not exist (org.apache.maven.archetypes:lift-
 archetype-blank:1.0)

 Before I run the error I again deleted the .m2. Thanks for the help,
 got us a little closer to the solution. Is there something else I can
 try to get this to work?

 Erik

 P.S. If I ever get to see the BUILD SUCCESSFUL I will pop me a cold
 one and celebrate...

 On Mar 13, 4:09 am, TylerWeir tyler.w...@gmail.com wrote:
 Grab the PDF again, looks like you have the slightly older one with a
 version typo.  Run this badboy:

 mvn archetype:generate -U \
 -DarchetypeGroupId=net.liftweb \
 -DarchetypeArtifactId=lift-archetype-blank \
 -DarchetypeVersion=1.0 \
 -DremoteRepositories=http://scala-tools.org/repo-releases\
 -DgroupId=demo.helloworld \
 -DartifactId=helloworld \
 -Dversion=1.0-SNAPSHOT

 Ty

 On Mar 12, 1:00 pm, erik.fris...@googlemail.com

 erik.fris...@googlemail.com wrote:
  Hi again,

  I figured this one out. During some fixing I unwittingly overwrote
  my .bash_profile, reverting maven to the 2.0.6 version. I am running
  Leopard. I don't get this error anymoreyou guessed it, I get
  another. Now I get this:

  The desired archetype does not exist (org.apache.maven.archetypes:lift-
  archetype-blank:0.10)

  I can post the stacktrace if it is of help, I exclude it for now so
  this post remains somewhat readable. I am so desperately trying to get
  this working to play around with the framework, but so far this has
  been very depressing. I would greatly appreciate any hints or tips
  what might be going wrong.

  mvn --version prints out this:
  Maven version: 2.0.10
  Java version: 1.5.0_16
  OS name: mac os x version: 10.5.6 arch: i386 Family: unix

 


--~--~-~--~~~---~--~~
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: Required goal not found: archetype:generate

2009-03-12 Thread Alexander Kellett

Few hours of playing with maven (multiple versions) and getting
increasingly annoyed by it... and I suddenly revisited this part of
the command:
  -DarchetypeGroupId:net.liftweb
: should be =!

Works just fine after that change :)
Alex

On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir tyler.w...@gmail.com wrote:

 o, k.  Since I'm getting the same error and I'm unsure why, try
 this on:

 mvn -e archetype:generate

 then you'll get a list mvn can make for you.  lift-blank is # 32.

 You then fill bits and pieces yourself like this:

 Choose a number:
 (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42)
 16: : 32
 [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates
 from lift-archetype-blank-repo
 Define value for groupId: : ca.tylerweir
 Define value for artifactId: : HelloWorld
 Define value for version:  1.0-SNAPSHOT: :
 Define value for package:  ca.tylerweir: :

 Give that a shot.

 On Mar 12, 1:20 pm, erik.fris...@googlemail.com
 erik.fris...@googlemail.com wrote:
 You are indeed right, my PDF was outdated. I have to admit though I
 have no clue how that happened, I downloaded it today. Anyway, I ran
 the following command:

 mvn archetype:generate -U \
 -DarchetypeGroupId:net.liftweb \
 -DarchetypeArtifactId=lift-archetype-blank \
 -DarchetypeVersion=1.0 \
 -DremoteRepositories=http://scala-tools.org/repo-releases\
 -DgroupId=demo.helloworld \
 -DartifactId=helloworld \
 -Dversion=1.0-SNAPSHOT

 Now I get this error:

 The desired archetype does not exist (org.apache.maven.archetypes:lift-
 archetype-blank:1.0)

 Before I run the error I again deleted the .m2. Thanks for the help,
 got us a little closer to the solution. Is there something else I can
 try to get this to work?

 Erik

 P.S. If I ever get to see the BUILD SUCCESSFUL I will pop me a cold
 one and celebrate...

 On Mar 13, 4:09 am, TylerWeir tyler.w...@gmail.com wrote:



  Grab the PDF again, looks like you have the slightly older one with a
  version typo.  Run this badboy:

  mvn archetype:generate -U \
  -DarchetypeGroupId=net.liftweb \
  -DarchetypeArtifactId=lift-archetype-blank \
  -DarchetypeVersion=1.0 \
  -DremoteRepositories=http://scala-tools.org/repo-releases\
  -DgroupId=demo.helloworld \
  -DartifactId=helloworld \
  -Dversion=1.0-SNAPSHOT

  Ty

  On Mar 12, 1:00 pm, erik.fris...@googlemail.com

  erik.fris...@googlemail.com wrote:
   Hi again,

   I figured this one out. During some fixing I unwittingly overwrote
   my .bash_profile, reverting maven to the 2.0.6 version. I am running
   Leopard. I don't get this error anymoreyou guessed it, I get
   another. Now I get this:

   The desired archetype does not exist (org.apache.maven.archetypes:lift-
   archetype-blank:0.10)

   I can post the stacktrace if it is of help, I exclude it for now so
   this post remains somewhat readable. I am so desperately trying to get
   this working to play around with the framework, but so far this has
   been very depressing. I would greatly appreciate any hints or tips
   what might be going wrong.

   mvn --version prints out this:
   Maven version: 2.0.10
   Java version: 1.5.0_16
   OS name: mac os x version: 10.5.6 arch: i386 Family: unix
 


--~--~-~--~~~---~--~~
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: typed browser scripting languages?

2009-02-13 Thread Alexander Kellett

http://code.google.com/webtoolkit/

java - javascript

alas, http://www.scala-lang.org/node/291

On Fri, Feb 13, 2009 at 11:46 PM, Meredith Gregory
lgreg.mered...@gmail.com wrote:
 Scalads, lasses and Lifted,

 Does anyone know of efforts to create a typed functional equivalent to
 JavaScript? The current situation with the momentum to use third party
 components with no ability to catch interaction between components at
 compile time means that you are flying completely blind when you use third
 party code. This really weakens the value prop of providers like jQuery --
 especially jQuery as it has no dependency management, either.

 i know of one group that compiles OCaml to JavaScript (for a mobile
 platform). Are there other efforts people know about?

 Best wishes,

 --greg

 --
 L.G. Meredith
 Managing Partner
 Biosimilarity LLC
 806 55th St NE
 Seattle, WA 98105

 +1 206.650.3740

 http://biosimilarity.blogspot.com

 


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