official sbt 2.5 template

122 views
Skip to first unread message

Diego Medina

unread,
Jul 5, 2012, 2:05:30 PM7/5/12
to Lift
Hi,

I started working on a 2.5 sbt template to replace the 2.4 templates
we have under the lift organization and I have a question, does anyone
use the RunWebApp, LiftConsole and AppTest objects? I', thinking of
removing them and instead use specs2 to show test examples.

And I'm on the edge between adding the idea and eclipse plugins or
not. On one hand I don't want to because some people may not use any
of those IDEs, on the other hand I have been very happy with the
IntelliJ plugin and would really recommend users to use it.

Oh, I did upgrade them to sbt 0.11.3 and removed the 2.8.x folder as
Lift 2.5 will be 2.9.x+
Also upgraded h2 and logback. And I'll add a sample logback xml config file.

Thanks

Diego

--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

David Pollak

unread,
Jul 5, 2012, 2:07:17 PM7/5/12
to lif...@googlegroups.com
On Thu, Jul 5, 2012 at 11:05 AM, Diego Medina <di...@fmpwizard.com> wrote:
Hi,

I started working on a 2.5 sbt template to replace the 2.4 templates
we have under the lift organization and I have a question, does anyone
use the RunWebApp, LiftConsole and AppTest objects? I', thinking of
removing them and instead use specs2 to show test examples.

And I'm on the edge between adding the idea and eclipse plugins or
not. On one hand I don't want to because some people may not use any
of those IDEs, on the other hand I have been very happy with the
IntelliJ plugin and would really recommend users to use it.

Oh, I did upgrade them to sbt 0.11.3 and removed the 2.8.x folder as
Lift 2.5 will be 2.9.x+
Also upgraded h2 and logback. And I'll add a sample logback xml config file.

+85,000 to all these changes. ;-)
 

Thanks

  Diego

--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code



--
Telegram, Simply Beautiful CMS https://telegr.am
Lift, the simply functional web framework http://liftweb.net


Everson Alves da Silva

unread,
Jul 5, 2012, 2:22:44 PM7/5/12
to lif...@googlegroups.com
Great changes. +1 for specs2 sample instead of those objects. In fact, I already use a specs2 sample from you as starting point of my Lift projects.

Diego Medina

unread,
Jul 5, 2012, 2:45:13 PM7/5/12
to lif...@googlegroups.com
> In fact, I
> already use a specs2 sample from you as starting point of my Lift projects.

Cool!

Aditya Vishwakarma

unread,
Jul 5, 2012, 3:46:19 PM7/5/12
to lif...@googlegroups.com
+1 for specs2. Even I remove them 1st thing on a new project.
Aditya Vishwakarma

Tobias Pfeiffer

unread,
Jul 5, 2012, 3:50:16 PM7/5/12
to lif...@googlegroups.com
Hi,

Am Donnerstag, 5. Juli 2012, 20:05 schrieb Diego Medina:
> I started working on a 2.5 sbt template to replace the 2.4 templates
> we have under the lift organization and I have a question, does
> anyone use the RunWebApp, LiftConsole and AppTest objects?

I use RunWebApp a lot. Not to run tests, though, but because it's much,
much faster than "mvn jetty:run", also with JRebel.

Tobias

Diego Medina

unread,
Jul 5, 2012, 4:56:23 PM7/5/12
to lif...@googlegroups.com
wow, good to know, good thing I asked :)

>
> Tobias
>
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code



Naftoli Gugenheim

unread,
Jul 5, 2012, 11:22:14 PM7/5/12
to lif...@googlegroups.com
On Thu, Jul 5, 2012 at 3:50 PM, Tobias Pfeiffer <tob...@tesobe.com> wrote:
Is it faster than sbt container:start?

Naftoli Gugenheim

unread,
Jul 5, 2012, 11:22:56 PM7/5/12
to lif...@googlegroups.com
On Thu, Jul 5, 2012 at 11:22 PM, Naftoli Gugenheim <nafto...@gmail.com> wrote:


On Thu, Jul 5, 2012 at 3:50 PM, Tobias Pfeiffer <tob...@tesobe.com> wrote:
Hi,

Am Donnerstag, 5. Juli 2012, 20:05 schrieb Diego Medina:
> I started working on a 2.5 sbt template to replace the 2.4 templates
> we have under the lift organization and I have a question, does
> anyone use the RunWebApp, LiftConsole and AppTest objects?

I use RunWebApp a lot. Not to run tests, though, but because it's much,
much faster than "mvn jetty:run", also with JRebel.

Is it faster than sbt container:start?
Because if I understand correctly this is about the sbt starter project, not the maven archetype, so that's really what matters.

Damian Helme

unread,
Jul 6, 2012, 1:58:08 AM7/6/12
to lif...@googlegroups.com
I use RunWebApp whenever I need to debug in Eclipse. If anyone knows of a way to debug in Eclipse without using this, I'd be glad to hear it.

Jeppe Nejsum Madsen

unread,
Jul 6, 2012, 4:33:11 AM7/6/12
to lif...@googlegroups.com
So do I, for the same reasons

/Jeppe

Alexej Bondarenko

unread,
Jul 6, 2012, 5:28:02 AM7/6/12
to lif...@googlegroups.com
Hey, IntelliJ idea plugin would be great!
+1 idea
-1 eclipse 

;)

And yes, specs2 is absolutely ok!

Alexej

Damian Helme

unread,
Jul 6, 2012, 5:39:52 AM7/6/12
to lif...@googlegroups.com
also +1 for the eclipse plugin

Peter Petersson

unread,
Jul 6, 2012, 1:29:26 PM7/6/12
to lif...@googlegroups.com
When I want to debug i run it from Eclipse with the following setup (no
need for the RunWebApp for this setup)

http://higherlogics.blogspot.se/2012/03/debugging-lift-24-with-eclipse.html

best regards
Peter Petersson

On 07/06/2012 07:58 AM, Damian Helme wrote:
> I use RunWebApp whenever I need to debug in Eclipse. If anyone knows
> of a way to debug in Eclipse without using this, I'd be glad to hear
> it. --

Peter Petersson

unread,
Jul 6, 2012, 1:33:29 PM7/6/12
to lif...@googlegroups.com
On 07/06/2012 11:28 AM, Alexej Bondarenko wrote:
> Hey, IntelliJ idea plugin would be great!
> +1 idea
> -1 eclipse

If Diego decides to include IDE sbt plugins I think he aims for adding
them both, its not a IDE contest ;)
Makes sense to me so
+1

>
> ;)
>
> And yes, specs2 is absolutely ok!
>
> Alexej

Diego Medina

unread,
Jul 6, 2012, 2:24:18 PM7/6/12
to lif...@googlegroups.com
>
> If Diego decides to include IDE sbt plugins I think he aims for adding them
> both, its not a IDE contest ;)
> Makes sense to me so
> +1


Yes, even though I don;t use Eclipse, I'm adding both, Eclipse and Intellij.
RE; RunWebApp, even though there are other ways to debug a Lift
application, if people are using RunWebApp, I'll include it, but as
I'm updating Jetty, I'll modify it so that it will run a newer Jetty
(7.x I think)

Thanks for the feedback!

Diego

>
>
>>
>> ;)
>>
>> And yes, specs2 is absolutely ok!
>>
>> Alexej
>> --
>> Lift, the simply functional web framework: http://liftweb.net
>> Code: http://github.com/lift
>> Discussion: http://groups.google.com/group/liftweb
>> Stuck? Help us help you:
>> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code



IL

unread,
Jul 6, 2012, 4:20:13 PM7/6/12
to lif...@googlegroups.com
We should add both.
People need choices.

Mads Hartmann Jensen

unread,
Aug 2, 2012, 2:18:50 PM8/2/12
to lif...@googlegroups.com
Diego,

What about adopting giter8 for this (https://github.com/n8han/giter8/)?

Thanks,
Mads

Everson Alves da Silva

unread,
Aug 2, 2012, 2:21:42 PM8/2/12
to lif...@googlegroups.com
+1 - giter8 templates would be awesome

Diego Medina

unread,
Aug 2, 2012, 2:23:05 PM8/2/12
to lif...@googlegroups.com
On Thu, Aug 2, 2012 at 2:18 PM, Mads Hartmann Jensen <mad...@gmail.com> wrote:
> Diego,
>
> What about adopting giter8 for this (https://github.com/n8han/giter8/)?
>

Maybe as an additional template, but I don't have g8 in my mac, and so
far I haven't needed it. I think I can install g8 with some other 2
letter script, but I don't have that either :)
I do like the idea behind g8, but I didn't want new users to have to
install more things before they can just try Lift.

Thanks

Diego
> --

Mads Hartmann Jensen

unread,
Aug 2, 2012, 2:30:30 PM8/2/12
to lif...@googlegroups.com
I can understand that. I think it would be nice to have both
and I don't mind creating a giter8 template from your project
when you're done and maintain it by cherry-picking if the
community thinks it's an nice idea.

A lot of Scala projects provide giter8 templates and I'd like
to see it as the goto tool for project scaffolding and as such
I think it would be nice to support it as well :)

/Mads

Diego Medina

unread,
Aug 2, 2012, 2:59:05 PM8/2/12
to lif...@googlegroups.com
On Thu, Aug 2, 2012 at 2:30 PM, Mads Hartmann Jensen <mad...@gmail.com> wrote:
> I can understand that. I think it would be nice to have both
> and I don't mind creating a giter8 template from your project
> when you're done and maintain it by cherry-picking if the
> community thinks it's an nice idea.
>
> A lot of Scala projects provide giter8 templates and I'd like
> to see it as the goto tool for project scaffolding and as such
> I think it would be nice to support it as well :)

Yes, definitely, I also like the idea of adopting what the scala
community adopts (unless there are serious drawbacks), would you
create a new branch on this same repo for the giter8?

....and ... Welcome back!

Diego

Mads Hartmann Jensen

unread,
Aug 2, 2012, 6:09:13 PM8/2/12
to lif...@googlegroups.com
Thanks! :)

Yes, I think that might be the easiest to do. Will you let me know
when the template is done?

/Mads

Diego Medina

unread,
Aug 2, 2012, 7:54:05 PM8/2/12
to lif...@googlegroups.com
On Thu, Aug 2, 2012 at 6:09 PM, Mads Hartmann Jensen <mad...@gmail.com> wrote:
> Thanks! :)
>
> Yes, I think that might be the easiest to do. Will you let me know
> when the template is done?

I'm done :)

I want to add the boostrap css theme, but that may take a while, so I
think yu can go ahead and work o giter8 templates based on the
current work.

Thanks
Reply all
Reply to author
Forward
0 new messages