[Lift] Re: Liftweb without Maven?

2009-04-20 Thread Jeppe Nejsum Madsen
On Mon, Apr 20, 2009 at 2:53 PM, Sean Reque wrote: [...] > > I am inlining the buildr buildfile I created for Lift's hello world > example below. > [..] I recently did the same for Gradle (it does require building Gradle from source to get the Scala plugin). This is the result: usePlugin('sc

[Lift] Re: Liftweb without Maven?

2009-04-20 Thread Alex Boisvert
Hi Sean, I've been using Lift + Buildr for a while now and I'm pretty happy with both. See some comments below. On Mon, Apr 20, 2009 at 5:53 AM, Sean Reque wrote: > =begin > Differences between maven pom.xml and this buildr file: > > 1. I could not get buildr to build this project without set

[Lift] Re: Liftweb without Maven?

2009-04-20 Thread Josh Suereth
Maven does not really use Jelly anymore (in Maven2). I agree a Maven1 was rather ridiculous. Maven2 takes the idea that the pom should just be configuration + declaration, not implementation details. It's a breath of fresh air from other build tools (even Maven1). The issue still becomes how do

[Lift] Re: Liftweb without Maven?

2009-04-20 Thread Sean Reque
> Wow, strong words.  I'm wondering what it was about maven that caused this > productivity loss?  So far my shop has not run into this, in fact, we've had > the opposite vs. Ant.  Granted, Raven and Buildr are different beasts. I apologize for the strong words. I think I was still angry from re

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread David Pollak
On Thu, Apr 16, 2009 at 7:40 PM, Sean Reque wrote: > > I am a newcomer to Scala and Lift, and I plan on trying to figure out > how to use either Buildr or Raven, to run Lift, and if I can > successfully do so I will try to share my work. If I cannot, I will > probably stop pursuing Lift and start

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread Mark Harrah
Well, maybe the archetype code could be generalized and go into sbt. We can continue discussing that on the sbt mailing list if you are interested. The remaining part is just dependency declarations for the hello-lift example. Thanks, Mark On Thursday 16 April 2009, Alexander Kellett wrote:

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread Jeppe Madsen
On Fri, Apr 17, 2009 at 10:21 AM, Alexander Kellett wrote: > > hey sean, > > i hope you're open to other possibilities than buildr/raven :) > i myself have no real interest in messing with maven after my terrible > experiences from when i was working on java code full time.. > i just verified that

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread Josh Suereth
Here's a decent start for an ant build. If anyone is interested in helping flesh out this build file more, let's start up a github project/node and crank it out. Note: This will compile a lift project (I only tested with an archetype), but not package or anything else. -Josh On Fri, Apr 17, 2

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread Josh Suereth
On Thu, Apr 16, 2009 at 10:40 PM, Sean Reque wrote: > > I am a newcomer to Scala and Lift, and I plan on trying to figure out > how to use either Buildr or Raven, to run Lift, and if I can > successfully do so I will try to share my work. If I cannot, I will > probably stop pursuing Lift and star

[Lift] Re: Liftweb without Maven?

2009-04-17 Thread Alexander Kellett
hey sean, i hope you're open to other possibilities than buildr/raven :) i myself have no real interest in messing with maven after my terrible experiences from when i was working on java code full time.. i just verified that it takes just a few minutes to install sbt and get a running lift app :

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread Sean Reque
I am a newcomer to Scala and Lift, and I plan on trying to figure out how to use either Buildr or Raven, to run Lift, and if I can successfully do so I will try to share my work. If I cannot, I will probably stop pursuing Lift and start looking at other areas of Scala. I say this simply to state y

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread Alexander Kellett
excellent, thanks for finishing this off mark! is it possible this might get into a later sbt release or does this belong somewhere in the lift source tree? thank you! Alex On Thu, Apr 16, 2009 at 7:11 PM, Mark Harrah wrote: > Hi, > > Thanks for putting effort into this.  The inline dependency

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread Mark Harrah
Hi, Thanks for putting effort into this. The inline dependency declarations replace the pom.xml, so it isn't needed. You can also declare the archetype as a dependency and extract and process it. I have attached a project definition that does not require downloading the zip manually or processi

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread Alexander Kellett
attached a replacement for the sbt script provided, with inline comments for getting it to work. barely tested and trivial. not yet verified that this works without a preexisting maven install. will automate more at weekend. will look into getting the blocking-on-page-load modification into sbt/li

[Lift] Re: Liftweb without Maven?

2009-04-16 Thread David Pollak
On Wed, Apr 15, 2009 at 9:37 AM, Alexander Kellett wrote: > > On Wed, Apr 15, 2009 at 5:26 PM, David Pollak > 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

[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 wrote: > > > Alex, > > We could do something like this, but it would still need to

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

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Timothy Perrett
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 se

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Alexander Kellett
On Wed, Apr 15, 2009 at 5:26 PM, David Pollak 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 ou

[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. wrote: > > > > On Apr 14, 2:40 pm, Viktor Klang wrote: >> On Tue, Apr 14, 2009 at 1:38 PM, marius d. wrote: >> >> > E

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread David Pollak
On Tue, Apr 14, 2009 at 8:52 PM, tk050305cnx wrote: > > > On Apr 14, 7:53 pm, TylerWeir wrote: > > > > You'll have a better experience if you take the time to learn how > > maven works. > > Perhaps. But, it's a bit like this: > > "Can I have a beer, please." > "We don't have beer right now, but

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Josh Suereth
Does the ant build file already exist? If not, it wouldn't be too hard to create a maven assembly that "assembles" all the various dependencies and such into a directory (or uses something like the maven-ant-tasks to materialize them for the project later), and includes an ant build script/starter

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread Timothy Perrett
Perhaps David B can help on the feasibility of this with our current hudson install / services. Cheers, Tim On 15/04/2009 06:40, "marius d." wrote: > > sounds good to me > > On Apr 14, 10:58 pm, Timothy Perrett wrote: >> Perhaps we could couple this with Hudson? Hudson has an API (see >> h

[Lift] Re: Liftweb without Maven?

2009-04-15 Thread tk050305cnx
On Apr 14, 7:53 pm, TylerWeir wrote: > > You'll have a better experience if you take the time to learn how > maven works. Perhaps. But, it's a bit like this: "Can I have a beer, please." "We don't have beer right now, but I think you would have a better experience with our own brand whiskey."

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread marius d.
sounds good to me On Apr 14, 10:58 pm, Timothy Perrett wrote: > Perhaps we could couple this with Hudson? Hudson has an API (see > here:http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API) so > perhaps we could serve stuff up on the fly through that? Just > spitballing here > > Cheer

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread Timothy Perrett
Perhaps we could couple this with Hudson? Hudson has an API (see here: http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API ) so perhaps we could serve stuff up on the fly through that? Just spitballing here Cheers, Tim On Apr 14, 8:46 pm, João Pereira wrote: > yeah. nice service. may

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread João Pereira
yeah. nice service. maybe built with lift? On Tue, Apr 14, 2009 at 7:58 PM, marius d. wrote: > > > > On Apr 14, 2:40 pm, Viktor Klang wrote: >> On Tue, Apr 14, 2009 at 1:38 PM, marius d. wrote: >> >> > Even if I find maven quite helpful for Lift there are people that just >> > want to stay awa

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread marius d.
On Apr 14, 2:40 pm, Viktor Klang wrote: > On Tue, Apr 14, 2009 at 1:38 PM, marius d. 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 buil

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread TylerWeir
> expected output. I don't want to bother with Maven at this time. Can You'll have a better experience if you take the time to learn how maven works. On Apr 14, 7:11 am, tk050305cnx wrote: > I am new to Liftweb. Unfortunately, the example app in the "getting > started" doc did not work. That is

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread Timothy Perrett
Didn't Eric make some ant scripts ages ago... I certainly remember someone making them prior to this discussion. Tim On 14/04/2009 12:38, "marius d." 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. Perh

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread tk050305cnx
Thanks for your comments, João. I am using Ant (or respectively the Eclipse built-in Ant-based dependency management) for my Java and Scala work. I am on Vista. Maven sputtered a number of different error messages on several trials. I don't want to learn Maven and get to the bottom of this. Busy

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread Viktor Klang
On Tue, Apr 14, 2009 at 1:38 PM, marius d. 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 downloada

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread marius d.
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 proj

[Lift] Re: Liftweb without Maven?

2009-04-14 Thread João Pereira
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 al