Coming from the .Net world, I am used to New > Project > ASP.NET MVC
Web Project ... and then pressing "play". I am trying to get to this
point with Eclipse, Scala and Lift. I have tried both Eclipse and
Netbeans with varying degrees of success, but nothing approaching a
running project.
I have followed http://liftweb.net/docs/getting_started/mod_master.html
but it does not talk about how to get this configuration running. I
have run down all of the links provided in this document, but have
failed to get a working project.
To be as specific as possible, I am trying to get to a point here I
can press the debug button within Eclipse, and have the Lift Web App
run in the browser. Maybe this use case just doesn't exist outside of
the Visual Studio world.
Anything you could provide would be greatly appreciated.
Thanks in advance
DW
You may find your answer there.
On May 26, 7:28 pm, Wormhoudt <d...@homeboodle.com> wrote:
> I am very interested in Scala/Lift from a theoretical stand point, but
> am having a crazy difficult time trying to get a functional base
> build.
>
> Coming from the .Net world, I am used to New > Project > ASP.NET MVC
> Web Project ... and then pressing "play". I am trying to get to this
> point with Eclipse, Scala and Lift. I have tried both Eclipse and
> Netbeans with varying degrees of success, but nothing approaching a
> running project.
>
> I have followedhttp://liftweb.net/docs/getting_started/mod_master.html
In eclipse/netbeans you can either run/debug LiftConsole this will
boot up scala console inside your project or run RunWebApp this will
start embedded jetty both from test folder. Getting back to "play" in
eclipse you can set up maven as external tool Run->External Tools-
>External Tools Configuration there you set up your maven but i found
myself more convenient to use mvn in terminal.
Regarding debugging personally in Scala i prefer println contradictory
to Java where i used debugger extensively.
On May 27, 1:28 am, Wormhoudt <d...@homeboodle.com> wrote:
> I am very interested in Scala/Lift from a theoretical stand point, but
> am having a crazy difficult time trying to get a functional base
> build.
>
> Coming from the .Net world, I am used to New > Project > ASP.NET MVC
> Web Project ... and then pressing "play". I am trying to get to this
> point with Eclipse, Scala and Lift. I have tried both Eclipse and
> Netbeans with varying degrees of success, but nothing approaching a
> running project.
>
> I have followedhttp://liftweb.net/docs/getting_started/mod_master.html
> I am very interested in Scala/Lift from a theoretical stand point, but
> am having a crazy difficult time trying to get a functional base
> build.
>
> Coming from the .Net world, I am used to New > Project > ASP.NET MVC
> Web Project ... and then pressing "play". I am trying to get to this
> point with Eclipse, Scala and Lift. I have tried both Eclipse and
> Netbeans with varying degrees of success, but nothing approaching a
> running project.
>
> I have followed http://liftweb.net/docs/getting_started/mod_master.htmlbut it does not talk about how to get this configuration running. I
> have run down all of the links provided in this document, but have
> failed to get a working project.
>
> To be as specific as possible, I am trying to get to a point here I
> can press the debug button within Eclipse, and have the Lift Web App
> run in the browser. Maybe this use case just doesn't exist outside of
> the Visual Studio world.
It works with Lift & Eclipse as well :-) But it is slightly complicated
to get there :-(
I've got a blog post waiting for this setup, but I've agreed with Miles
(the Scala Plugin author) to wait until it's working with the 2.8
plugin. Lift doesn't yet play well with the latest 2.8 releases.
> Anything you could provide would be greatly appreciated.
Basically, what I do is this:
1) Create the lift project with maven, make sure it works with mvn
jetty:run
2) Install eclipse with the 2.7 scala plugin+m2eclipse
3) Import the maven project to eclipse
4) Add the scala nature and disable the maven builder (I only use maven
for dependencies)
5) Now run the RunWebApp file in the test directory as a Scala
application. This starts the server and you can now browse to
localhost:8080 and see the app
I probably missed some steps along the way.....
/Jeppe
I will try Jeppe's suggestions about applying a "Scala Nature" next. I
really don't know what that means, but I am sure Google will tell me.
I'll report back with my findings in the hope that I can ease some
other MS developers transition into Scala/Lift
DW
On May 27, 12:53 am, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote:
> Wormhoudt <d...@homeboodle.com> writes:
> > I am very interested in Scala/Lift from a theoretical stand point, but
> > am having a crazy difficult time trying to get a functional base
> > build.
>
> > Coming from the .Net world, I am used to New > Project > ASP.NET MVC
> > Web Project ... and then pressing "play". I am trying to get to this
> > point with Eclipse, Scala and Lift. I have tried both Eclipse and
> > Netbeans with varying degrees of success, but nothing approaching a
> > running project.
>
> > I have followedhttp://liftweb.net/docs/getting_started/mod_master.htmlbutit does not talk about how to get this configuration running. I
On May 27, 9:22 pm, Wormhoudt <d...@homeboodle.com> wrote:
> Wow. Thanks for all the quick responses. I have gotten everything
> running with Maven and now also with SBT. It is quite strange to see
> the propensity within the Scala community for println type debugging.
> In the end it is only about personal preference, but it seems kinda
> crazy to me to try to write a large application without a full
> debugger. Maybe that is my Windows roots showing through?
>
> I will try Jeppe's suggestions about applying a "Scala Nature" next. I
> really don't know what that means, but I am sure Google will tell me.
> I'll report back with my findings in the hope that I can ease some
> other MS developers transition into Scala/Lift
>
> DW
>
> On May 27, 12:53 am, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote:
>
>
>
> > Wormhoudt <d...@homeboodle.com> writes:
> > > I am very interested in Scala/Lift from a theoretical stand point, but
> > > am having a crazy difficult time trying to get a functional base
> > > build.
>
> > > Coming from the .Net world, I am used to New > Project > ASP.NET MVC
> > > Web Project ... and then pressing "play". I am trying to get to this
> > > point with Eclipse, Scala and Lift. I have tried both Eclipse and
> > > Netbeans with varying degrees of success, but nothing approaching a
> > > running project.
>
> > > I have followedhttp://liftweb.net/docs/getting_started/mod_master.htmlbutitdoes not talk about how to get this configuration running. I
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.