Re: [Lift] Unable to set up Lift in Eclipse (Indigo)

27 views
Skip to first unread message

David Pollak

unread,
Dec 29, 2012, 10:35:01 PM12/29/12
to lif...@googlegroups.com
The Scala IDE for Eclipse has lots and lots of problems. There are people on this list that make it work, but you can simply use IntelliJ 12 and it works like a charm.

On Sat, Dec 29, 2012 at 6:56 PM, Vineet Vishal <kamesh...@gmail.com> wrote:
Hi All,

I am very new to Lift. I was following the steps mentioned in scala doco website to setup Lift project in eclipse but in vain.


I am getting stuck  on the step Configuring the Lift project for Scala IDE"
Despite of several efforts, I am not able to configure sbteclipse for sbt to generate eclipse project files (.project. .classpath).
My sbt command prompt is not able to recognize "eclipse" command.
Please help. I am stuck since 3 days.
Is there any better instruction site that i can follow? I want to set up a lift web application in eclipse IDE.
regards
Vineet

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

Diego Medina

unread,
Dec 29, 2012, 10:38:23 PM12/29/12
to Lift

+1 on using intellij, here are some instructions

https://www.assembla.com/spaces/liftweb/wiki/IDE

This should also help
https://github.com/lift/lift_25_sbt

They come with the eclipse and intellij sbt plugins

Regards

Diego
Sent from my android cell

Chenguang He

unread,
Dec 29, 2012, 11:38:13 PM12/29/12
to lif...@googlegroups.com
+1.
New Intellij rocks

Chenguang He



Richard Dallaway

unread,
Dec 30, 2012, 5:11:46 AM12/30/12
to lif...@googlegroups.com
Did you reload or restart SBT after adding the plugin?

These instructions are for Lift 2.5-M3:


If you start with the download from http://liftweb.net/download you'll see it already has the Eclipse plugin enabled.

Richard

Damian Helme

unread,
Dec 30, 2012, 5:50:53 AM12/30/12
to lif...@googlegroups.com
Are you sure  .sbt/plugins/build.sbt is in your home directory? 

Try adding the sbteclipse plugin to your specific project, rather making it globally available (which is what the article describes).

Add:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0")

to 

/path/to/lift_basic/project/plugins.sbt


On Sun, Dec 30, 2012 at 10:11 AM, Richard Dallaway <ric...@dallaway.com> wrote:
http://liftweb.net/download

Vineet

unread,
Dec 30, 2012, 5:58:58 AM12/30/12
to lif...@googlegroups.com
Yes, I followed the cookbook instructions and executed the sbt.bat.

I am able to import the project as lift project in my eclipse.

I think I am good now.

Initially, I closed the cmd prompt and then started a new one again. Do we need to reload even then?

Sent from my iPhone

Richard Dallaway

unread,
Dec 30, 2012, 7:20:39 AM12/30/12
to liftweb


On 30 Dec 2012 11:56, "Vineet" <kamesh...@gmail.com> wrote:
>
> Yes, I followed the cookbook instructions and executed the sbt.bat.
>
> I am able to import the project as lift project in my eclipse.
>
> I think I am good now.
>
> Initially, I closed the cmd prompt and then started a new one again. Do we need to reload even then?

No,  I don't think you would need to reload if you restarted. Glad it's working for you.

Peter Petersson

unread,
Dec 31, 2012, 9:53:14 AM12/31/12
to lif...@googlegroups.com

I simply don't get all the complaints about eclipse :( unfortunately I am on my cell now, but I have posted howtos before on this list.

--from my cell
best regards Peter Petersson

Naftoli Gugenheim

unread,
Jan 1, 2013, 7:36:16 PM1/1/13
to liftweb
Eclipse is fine. Lately I've used IntelliJ a bit and it has some nice things over Eclipse (especially my install which is somewhat corrupted, I have to re-download it once... and especially the commercial version of IDEA) Here are some things that I found Eclipse is much better at though: (1) Git support. E.g. you can apply changes to the index one change at a time. You can even edit the staging area directly. (2) It has a somewhat WYSIWYG/M-ish html editor. (3) Task management is better.
Those are all outside of Scala of course. As far as scala goes I haven't been struck by any huge difference.
Reply all
Reply to author
Forward
0 new messages