Re: [Lift] lift walk through with eclispe

68 views
Skip to first unread message

Diego Medina

unread,
Nov 4, 2012, 1:55:22 PM11/4/12
to lif...@googlegroups.com

Hi,

There are a few wiki articles about using eclipse with lift here
https://www.assembla.com/spaces/liftweb/wiki/IDE

If you have more questions, we are here to help

Regards

Diego
Sent from my android cell

On Nov 4, 2012 1:40 PM, "vivace" <kna...@gmail.com> wrote:
Hi

I am super new to all of this but love scala and am intrigued by LIFT. I have been looking at the walk through http://simply.liftweb.net/index-Chapter-2.html#toc-Chapter-2
its great, it makes sense but I am struggling to create a project in eclipse where i can run it.  I downloaded the source code but for some reason eclipse can not open it as a project. So i thought i would start with a different project in eclipse and then add the files but then i realised i really dont understand the structure of how its all laid out. Is there a resource for some information about this?

thanks!!

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

vivace

unread,
Nov 5, 2012, 1:12:57 PM11/5/12
to lif...@googlegroups.com
Thanks! :)

vivace

unread,
Nov 5, 2012, 5:30:50 PM11/5/12
to lif...@googlegroups.com
OK i am having a heck of a time. I got sbt-eclipse going but after i run it , and then import the project it seems that the libraries are messed up and none of the source files show up in the project explorer...

Naftoli Gugenheim

unread,
Nov 5, 2012, 9:32:42 PM11/5/12
to liftweb
Can you be more precise than "messed up"?
Also can you show the contents of .classpath and .project?
Although you really should ask on scala-ide-user.



--

vivace

unread,
Nov 6, 2012, 12:56:01 AM11/6/12
to lif...@googlegroups.com
.project:
<projectDescription>
  <name>default-cb3312</name>
  <buildSpec>
    <buildCommand>
      <name>org.scala-ide.sdt.core.scalabuilder</name>
    </buildCommand>
  </buildSpec>
  <natures>
    <nature>org.scala-ide.sdt.core.scalanature</nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
  </natures>
</projectDescription>

.classpath
<classpath>
  <classpathentry output="target/scala-2.9.2/classes" path="src/main/scala" kind="src"></classpathentry>
  <classpathentry output="target/scala-2.9.2/classes" path="src/main/java" kind="src"></classpathentry>
  <classpathentry output="target/scala-2.9.2/test-classes" path="src/test/scala" kind="src"></classpathentry>
  <classpathentry output="target/scala-2.9.2/test-classes" path="src/test/java" kind="src"></classpathentry>
  <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"></classpathentry>
  <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
  <classpathentry path="bin" kind="output"></classpathentry>
</classpath>


Sorry i am kind of clueless here...it would help me to understand a lot more if i could get this set up.  The src/main/scala packages seem to be empty and there are no source files under src->main  although there are files on the drive. 

many many thanks!!

Olek Swirski

unread,
Nov 6, 2012, 1:10:20 AM11/6/12
to lif...@googlegroups.com
looks like you may need m2e thing, check here:
https://www.assembla.com/wiki/show/liftweb/Using_Eclipse_Juno_with_SBT
>>>> have been looking at the walk through http://simply.liftweb.**
>>>> net/index-Chapter-2.html#toc-**Chapter-2<http://simply.liftweb.net/index-Chapter-2.html#toc-Chapter-2>

Peter Petersson

unread,
Nov 6, 2012, 4:59:17 AM11/6/12
to lif...@googlegroups.com

Hi

If you like you can take a look at any of my public github proj. at [1] they all include the eclipse plugging and most of them have readme description on how to get started.

[1] http://github.com/karma4u101

--from my cell
best regards Peter Peterson

Den 4 nov 2012 19:40 skrev "vivace" <kna...@gmail.com>:
Hi

I am super new to all of this but love scala and am intrigued by LIFT. I have been looking at the walk through http://simply.liftweb.net/index-Chapter-2.html#toc-Chapter-2

vivace

unread,
Nov 7, 2012, 2:18:19 PM11/7/12
to lif...@googlegroups.com
I think iv got the m2e thing. I remember installing it and it shows up when i look at 'about eclipse'

vivace

unread,
Nov 7, 2012, 2:19:09 PM11/7/12
to lif...@googlegroups.com
really cool thanks. I will take a look. thanks!!
Reply all
Reply to author
Forward
0 new messages