Re: [Lift] Scheduling the San Francisco Scala Lift Off

2010-01-13 Thread Miles Sabin
On Wed, Jan 13, 2010 at 3:31 AM, David Pollak
 wrote:
> For the last two years, the San Francisco Scala Lift Off has happened the
> day after JavaOne.  It's looking like JavaOne might not happen this year, so
> I'm starting to think about a time in the April-June timeframe when there
> are a lot of Scala and/or Java folks in San Francisco.  If you all have any
> ideas of good dates, please post them.

A bit early maybe, but EclipseCon 2010 is 22nd - 25th of March.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin
-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Indentation problem with Eclipse plugin

2009-12-31 Thread Miles Sabin
On Thu, Dec 31, 2009 at 12:45 PM, GA  wrote:
> Thanks for the answers.
>
> Good to know that it has been fixed already on trunk. Any idea when the new
> release of the plugin will be available?

Simultaneously with the first (real, rather than beta) release
candidate of scala 2.8.0.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Indentation problem with Eclipse plugin

2009-12-31 Thread Miles Sabin
On Thu, Dec 31, 2009 at 11:11 AM, Timothy Perrett
 wrote:
> As this is a problem with the eclipse plugin, you'll get a better / right
> response on either scala-user or logging an issue with epfl trac so miles
> can pick it up and address it.

No need ... this is fixed on trunk.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: scala eclipse plugin with lift

2009-11-18 Thread Miles Sabin
On Wed, Nov 18, 2009 at 12:17 PM, Marius  wrote:
> It interpreted my scala code as java out of the sudden. I tried the
> JDT weving trick and nothing.

If you had JDT weaving enabled then only way you would see Scala code
interpreted as Java is if the .project file included the Java builder.
That only happens when you use Maven to generate your project
metadata.

So please report this issue to whoever is responsible for that Maven behaviour.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.




Re: [Lift] scala eclipse plugin with lift

2009-11-18 Thread Miles Sabin
On Wed, Nov 18, 2009 at 7:25 AM, Francois Armand  wrote:
> What plugin version are you using ? There is a 2.7 version of the plugin
> that has to be used with Lift. This version is notoriously buggy, slow
> and not maintained.
>
> The new Eclipse plugin version, which only target Scala 2.8, is far far
> better (and is become better days after days). It is not production
> ready yet (compared to say the Java editor of Eclipse), but I begin to
> think that it will be good (from usable today) in a near future.

There's only one Eclipse IDE and it's very much maintained ... that
2.8 branch that you're getting such good results from is precisely the
result of that work.

It's clearly come on a long way since 2.7.x, but many people are
working with 2.7.x very successfully.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.




[Lift] Re: Scala and Eclipse

2009-10-17 Thread Miles Sabin

On Sat, Oct 17, 2009 at 2:31 PM, Josh Suereth  wrote:
> I'm not supporting the mvn eclipse:eclipse plugin route right now.  If
> anyone desires to support that, please contribute patches ;)

So, for the archives, could you say what the currently recommended
Maven+Eclipse configuration is?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala and Eclipse

2009-10-17 Thread Miles Sabin

On Sat, Oct 17, 2009 at 11:07 AM, johncch  wrote:
> I manage to import lift and lift-mapper projects fine, but earlier
> today when I tried importing in lift-hello lift I'm getting editor
> shutdowns and what nots. Let's look at a few.

>From the stacktrace my hunch is that you're trying to create projects
outside of the Eclipse workspace. That's not fully supported in 2.7.x
(it will be in 2.8).

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-07 Thread Miles Sabin

On Fri, Aug 7, 2009 at 10:06 PM, Naftoli Gugenheim wrote:
> I don't think I used it to import projects, only to create them or
> add maven support to them. It's possible that adding and removing
> natures isn't something that would stick out in my memory, so I
> can't say whether I needed to or thought that I wouldn't need to.
> After all if I was using GAE with scala I wouldn't expect not to
> need two step to have two natures...

TBH, it's this secret incantation, wave a dead chicken at the full
moon kind of thing that makes me more comfortable with people using
the command line Maven tools. At least then projects will be broken in
a well understood and deterministic way and can be repaired likewise.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-07 Thread Miles Sabin

On Fri, Aug 7, 2009 at 9:30 PM, Naftoli Gugenheim wrote:
> I didn't see the ticket, but I use m2eclipse all the time. What
> problems is it accused of causing? :) I thought that the command line
> mvn eclipse:eclipse was dangerous because it changed metadata from outside
> eclipse!

See that ticket ... the JRE classpath container was missing from the
generated .classpath.

Presumably you fix up .project and/or .classpath file by hand after
importing a Scala project using m2eclipse?

Apparently m2eclipse would only create correct Eclipse metadata for a
Scala project if the Scala IDE implemented an m2eclipse-specific
extension point. I don't have time to do that, so unless someone else
steps up with a contribution I don't really have any other option than
to recommend using something else.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-07 Thread Miles Sabin

On Fri, Aug 7, 2009 at 2:24 PM, Steffen
Weißmann wrote:
> And I have removed the maven plugin completely, I
> think that helped a lot...

FWIW, after a slightly heated exchange around this Trac ticket,

  https://lampsvn.epfl.ch/trac/scala/ticket/2226

I've come to the conclusion that m2eclipse should be avoided like the
plague currently, and I've updated the Wiki page accordingly.

I think I'm right in saying that people are currently getting the best
results from using the Maven command line tools and then importing the
resulting projects into Eclipse and/or adding the Scala nature
manually later? And that if they use Maven-Eclipse integrations at
all, it's only after initial project creation?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-06 Thread Miles Sabin

On Thu, Aug 6, 2009 at 9:44 PM, Steffen
Weißmann wrote:
> I guess several people are developing lift projects with eclipse, so I
> hope there is a chance to get it working. Is there any configuration
> (Eclipse version+plugin versions+project setup) that is known to work?

There are these documents,

  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseMaven
  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseLift

which have been contributed by Lift/Eclipse users. I can't vouch for
their accuracy or completeness I'm afraid.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-05 Thread Miles Sabin

On Wed, Aug 5, 2009 at 10:39 PM, Steffen
Weißmann wrote:
>> Can you show me the contents of your .project and .classpath files.
>
> Both files attached. Thanks for looking into it...

OK, you have two problem here (which are Scala IDE bugs, so I was a
bit harsh on Maven this time around).

You have two output folders: the Scala IDE <= 2.7.5.final only
supports one. Use a single default output folder.

You also have source directories nested below the top level of your
project. Although I've seen reports that this works from various
people, there's code in 2.7.5.final and earlier which makes this
unlikely. If switching to a single output folder doesn't solve your
problems try also moving your source directories to the top level.

Both of these issues are fixed on trunk (but don't go there unless
you're using the Lift 2.8.0 branch).

Let me know how you get on ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse setup

2009-08-05 Thread Miles Sabin

On Wed, Aug 5, 2009 at 10:21 PM,
steffen.weissmann wrote:
> I have trouble with getting started with lift in eclipse. In my
> project, created from lift-archetype-basic 1.1-SNAPSHOT, i have all
> the lift jars with attached sources (all in the maven repository)
> under "Referenced Libraries". I can also browse the source code by
> double-clicking on the classes there, but i have no code completion
> for many of these classes. Sometimes when Ctrl-clicking on a Scala
> type it opens Object.java source... What I am using is Eclipse Galileo
> with Scala plugin 2.7.5.

This sounds like Maven breakage yet again.

Can you show me the contents of your .project and .classpath files.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse - project generation

2009-07-22 Thread Miles Sabin

On Wed, Jul 22, 2009 at 9:36 PM, Jeppe Nejsum Madsen wrote:
> Miles Sabin  writes:
>> There's no mention of the M2_REPO classpath variable on either of the
>> Wiki pages I've just pointed to.
>>
>> Can someone who cares about Maven comment on whether or not that's an
>> omission, and update the relevant page(s) if it is?
>
> I don't care much for Maven, but since it'll help fellow Lift'ers :-)
>
> I've updated http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseMaven

Many thanks ... much appreciated :-)

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse - project generation

2009-07-22 Thread Miles Sabin

On Wed, Jul 22, 2009 at 7:57 PM, Jeppe Nejsum Madsen wrote:
> Is the M2_REPO classpath variable defined? Iirc, the maven generated
> .classpath uses this. There's a mvn target to generate or just manually
> create it to point to your .m2/repository directory.

There's no mention of the M2_REPO classpath variable on either of the
Wiki pages I've just pointed to.

Can someone who cares about Maven comment on whether or not that's an
omission, and update the relevant page(s) if it is?

Thanks ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse - project generation

2009-07-22 Thread Miles Sabin

On Wed, Jul 22, 2009 at 6:58 PM,
nielsbo...@gmail.com wrote:
> Am I missing something out here, or what is the problem.

Hopefully one of these will help you persuade Maven not to destroy
Eclipse's internal metadata,

  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseLift
  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseMaven

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-21 Thread Miles Sabin

On Tue, Jul 21, 2009 at 10:44 AM, Kevin
Wright wrote:
> Out of curiousity, do you think that the time may be ripe to set up a
> scala-ide mailing list with epfl, we seem to be getting more and more
> questions raised about it...

I'm planning something along those lines ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-21 Thread Miles Sabin

On Tue, Jul 21, 2009 at 9:54 AM, Kevin
Wright wrote:
> If so, the wiki needs updating:

Done,

  http://www.scala-lang.org/node/94

If anyone would like to contribute additions or revisions of that
document I would be extremely grateful.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-21 Thread Miles Sabin

On Tue, Jul 21, 2009 at 9:54 AM, Kevin
Wright wrote:
> Can we take this as confirmation that 3.5 is now the recommended eclipse
> distro to work against?

Yes.

> If so, the wiki needs updating:
> http://www.scala-lang.org/node/94
>
> especially the bit about "(3.5 Milestone releases are not fully supported)"

Well, strictly speaking that's still true ;-)

But yes, point taken ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-21 Thread Miles Sabin

On Tue, Jul 21, 2009 at 9:21 AM, Dan Gravell wrote:
> Workspace in ~/ and installation in /opt/eclipse-3.4.2. plugins/ and
> features/ are writeable to some user I hadn't seen before (no
> mnemonic, only a numeric ID), the rest all read only to the user
> that's running it.

It's the read-only installation which was at the root of your problem
with 3.4.2. Upgrading to 3.5 would have also fixed the problem, and
there are also other ways of avoiding have to install the IDE to /opt
but they're somewhat fiddly and system-specific.

Seeing as you're up and running now I'd suggest leaving things as they
are. However, keep this in mind if you upgrade the Scala IDE before
your update to Eclipse 3.5.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-20 Thread Miles Sabin

On Mon, Jul 20, 2009 at 10:55 PM, Miles Sabin wrote:
> JDT weaving being enabled is your problem.

Ahem ...

JDT weaving *not* being enabled is your problem.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-20 Thread Miles Sabin

On Mon, Jul 20, 2009 at 10:45 PM, Dan Gravell wrote:
> On Jul 20, 10:33 pm, Miles Sabin  wrote:
>> Is JDT Weaving enabled?
>
> Dunno, to be honest. It says it's disabled but I've done everything it
> suggests to enable it (specifically: manually enabling in the
> config.ini file and then the contradictory advice at
> http://wiki.eclipse.org/JDT_weaving_features ). But it still says it's
> disabled.
>
> And as I said it was all working before.

JDT weaving being enabled is your problem.

What versions of Eclipse and the Scala IDE?

Also is the filesystem layout of your Eclipse install unusual in any
way? Is it read only?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala project in eclipse - showing Java build errors?

2009-07-20 Thread Miles Sabin

On Mon, Jul 20, 2009 at 10:08 PM, Dan Gravell wrote:
> For the line: package bootstrap.liftweb
>
> I get the error: Syntax error on token "liftweb", ; expected after
> this token
>
> Which is suggesting to me the JDT is compiling this, rather than the
> scala compiler.

Is JDT Weaving enabled?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Help with the eclipse plugin

2009-07-09 Thread Miles Sabin

On Thu, Jul 9, 2009 at 6:14 PM, Jeppe Nejsum Madsen wrote:
> A major show stopper atm is that Lift, afaik, doesn't work with Scala
> 2.8 which makes it difficult to actually use the trunk plugin. It is my
> (maybe incorrect?) impression that there's not a lot of activity
> happening on the 2.7.5 plugin

All the current activity is on trunk ...

Nevertheless there are many mostly happy users of 2.7.5 for Lift and
general Scala development work.

Cheers,


Miles

-- 
Miles S4abin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Help with the eclipse plugin

2009-07-09 Thread Miles Sabin

On Thu, Jul 9, 2009 at 5:45 PM, David
Pollak wrote:
> But, until Martin's magic brain has yielded code for us, I would recommend
> avoiding Eclipse for Scala and Lift related development.

Unsurprisingly I disagree.

Bug reports and more contributions to documentation on using Eclipse
with Lift and Maven would be much appreciated from the Lift community.
There's a start here,

  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseLift
  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseMaven

but clearly a great deal more is needed. A little more encouragement
and a little less FUD wouldn't go amiss.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Pick n random elements from a list?

2009-07-08 Thread Miles Sabin

On Wed, Jul 8, 2009 at 7:03 AM, DFectuoso wrote:
> So i did some poking around in scala and found that scala 2.8 theres a
> util.Random.shuffle so i could do
>
> util.Random.shuffle(List.range(1,100)) take 3
>
> Close enought... but... it doesnt work in lift using scala 2.7.5
>
> So before spending more time I wanted to check if you guys had a quick
> way to do this "the scala way"

Isn't the source of object scala.util.Random from 2.8.0 good enough?

  // Backported to collections < 2.8.0
  def shuffle[T](seq: Seq[T]): Seq[T] = {
val buf: Array[T] = seq.toArray

def swap(i1: Int, i2: Int) {
  val tmp = buf(i1)
  buf(i1) = buf(i2)
  buf(i2) = tmp
}

for (n <- buf.length to 2 by -1) {
  val k = nextInt(n)
  swap(n - 1, k)
}

    buf.toSeq
  }

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Great pictures from the Scala Lift Off

2009-06-22 Thread Miles Sabin

Rather late in the day ... my pictures from Scala Lift Off here,

  http://www.flickr.com/photos/montpelier/sets/72157619470965981/

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Switch to Scala 2.7.5 for 1.1 ?

2009-06-03 Thread Miles Sabin

On Wed, Jun 3, 2009 at 9:26 PM, Heiko Seeberger
 wrote:
> I wonder if we should switch to Scala 2.7.5. I do not know whether the actor
> fixes are relevant as Lift has got its own actor library now. But for users
> of the Scala IDE for Eclipse (like me) it might be beneficial, because the
> Scala IDE ships with 2.7.5.

Other than the change to the Scala distribution that's bundled with
the IDE there are no changes in 2.7.5, so the only thing you'd be
missing out on would be the actors changes (tho' I think that's enough
of a reason to want to upgrade).

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Problem creating new project in Eclipse

2009-05-27 Thread Miles Sabin

On Wed, May 27, 2009 at 6:25 PM, Peter Bliznak  wrote:
> created Eclipse project using "basic" artifact. Structure seems to got
> created correctedly,
> but I cannot open any .scala file  atttempting so is causing never ending
> stream of following exception:
>
> any ideas?

Am I right in thinking that you the generated project has source
directories which are nested one or more levels deep in the project?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: GAE, Google Plugin for Eclipse, Scala and DataNucleus problems.

2009-05-22 Thread Miles Sabin

On Fri, May 22, 2009 at 5:54 PM, glenn  wrote:
> Solution 2 is problematic because the GAE Plugin generates a project
> with a non-maven standard structure. Worse
> yet, it's not even an Eclipse Web Project, so you don't get the
> benefit of Eclipse's classpath management when it
> comes to compiling and war packaging.

Could you unpack that last sentence for me a bit? Are you saying that
the GAE Eclipse plugin doesn't use the Eclipse standard .classpath
mechanism? If it doesn't, then what does it do instead?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: GAE, Google Plugin for Eclipse, Scala and DataNucleus problems.

2009-05-22 Thread Miles Sabin

On Fri, May 22, 2009 at 12:35 AM, glenn  wrote:
> Ignore my last note about the released vs. snapshot, I just made the
> changes to point to the 1.1 snapshot versions, and removed the
> need to change the jetty version.

Wonderful stuff ... many thanks!

Any additional commentary on Eclipse with Lift/Maven/GAE from you or
anyone else would be most welcome :-)

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: GAE, Google Plugin for Eclipse, Scala and DataNucleus problems.

2009-05-21 Thread Miles Sabin

On Thu, May 21, 2009 at 8:25 PM, glenn  wrote:
> I'd be happy to write up a step-by-step of getting a Lift project
> running in Eclipse,
> from installing Eclipse to installing the scala and maven plugins and
> setting them up and creating
> a new maven project using the lift archetypes.

Fantastic! Assuming you have a Scala Trac login you should be able to
directly edit this page,

  http://lampsvn.epfl.ch/trac/scala/wiki/ScalaEclipseLift

Thanks!

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: [scala] GAE, Google Plugin for Eclipse, Scala and DataNucleus problems.

2009-05-21 Thread Miles Sabin

On Tue, Apr 14, 2009 at 5:25 PM, Atsuhiko Yamanaka
 wrote:
> On Tue, Apr 14, 2009 at 4:44 AM, toivo  wrote:
>> DataNucleus Enhancer (version 1.1.0) : Enhancement of classes
>>
>> Apr 13, 2009 10:22:31 PM org.datanucleus.metadata.MetaDataManager
>> loadClasses
>> SEVERE: Class "gbook.Autu" was not found in the CLASSPATH. Please check your
>> specification and your CLASSPATH.
>> org.datanucleus.exceptions.ClassNotResolvedException: Class "gbook.Autu" was
>> not found in the CLASSPATH. Please check your specification and your
>> CLASSPATH.
>
> If you add scala-library.jar to the CLASSPATH for the enhance command,
> that error will be disappeared.

Is anyone willing to write this up for the Scala Trac Wiki? A
walkthrough of getting a Scala GAE project up and running in Eclipse
would be extremely helpful.

While we're about it, the current Wiki entry for using the Scala IDE
for Eclipse for Lift development consists of exactly one line. While
I'd be delighted if things really were as simple, straightforward and
reliable as that implies, I fear that in fact the picture isn't so
rosy.

It'd be fantastic if someone could also contribute a walkthough of
setting up a Lift project in Eclipse. And for bonus points a
walkthrough of getting a Scala Lift GAE project up and running in
Eclipse would be Just Awesome.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: [scala-tools] Scala IDE for Eclipse: Expect a little turbulence on trunk ...

2009-05-18 Thread Miles Sabin

On Mon, May 18, 2009 at 1:23 PM, Ismael Juma  wrote:
> On Mon, 2009-05-18 at 13:12 +0200, Miles Sabin wrote:
>> We have some very ambitious (but realistic) plans for this fortnight,
>> and I think that by the beginning of June we'll have made an awful lot
>> of progress on both stability and features, and will have opened
>> things up for much more rapid improvement in the future.
>
> Sounds promising. :) Is ticket #1400 in your plans at all?

Yes.

> As usual, this is an issue for maven projects that tend to use a
> separate output directory for test classes.

Yup, that's the main motivator ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Scala IDE for Eclipse: Expect a little turbulence on trunk ...

2009-05-18 Thread Miles Sabin

Hi folks,

I'm at EPFL for the next two weeks for an intensive hacking stint with
Martin and Iulian on the Scala IDE and on scalac's IDE interface. For
now I would strongly recommend staying well away from trunk if you
want to be able to get any useful work done: things are currently
broken and are likely to get worse before they get better.

We have some very ambitious (but realistic) plans for this fortnight,
and I think that by the beginning of June we'll have made an awful lot
of progress on both stability and features, and will have opened
things up for much more rapid improvement in the future.

Watch this space ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-05-07 Thread Miles Sabin

On Thu, May 7, 2009 at 11:43 PM, David Pollak
 wrote:
> I'm totally cool with you providing support for this configuration on this
> list.

Well, hang on ...

The point is that this is all of our problem ... I can help with
generic Scala IDE problems, but Lift + Maven + GAE plugin stuff is not
in my purview.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-05-07 Thread Miles Sabin

On Thu, May 7, 2009 at 11:31 PM, David Pollak
 wrote:
> If you've got questions about Scala and Eclipse and GAE generically, this is
> not the best place to ask them.

He wants to get Lift + maven + the Scala IDE for Eclipse + the GAE
plugin for Eclipse all working together, which is falling between
about as many stools as is possible unfortunately.

TBH, I think that here probably is as good a place as any to try and
thrash this out ... I'll do whatever I can to help on the Scala IDE
front.

But I'd understand if you'd rather punt this somewhere else ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



Re: Static imports considered evil? (was: Re: [Lift] Re: how to add object into session scope in lift)

2009-05-01 Thread Miles Sabin

On Fri, May 1, 2009 at 2:27 PM, Andrew Scherpbier  wrote:
> In eclipse, I'm used to having imports resolved and organized
> automatically when I save a file.  Unfortunately, this same
> functionality doesn't appear to work in the eclipse scala plugin.

Not yet ... maybe for 2.8.0 ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Miles Sabin

On Wed, Apr 22, 2009 at 1:16 PM, Josh Suereth  wrote:
> The maven-eclipse-plugin is currently "broken" in the sense that it won't
> pay attention to the source directories configured by the maven-scala-plugin.
> The developers seem unwilling to try to integrate these two plugins, as they
> have a "workaround".

Which developers are these? Where should I be applying pressure?

> The workaround is to configure the build-helper-plugin in your pom with the
> correct source directories, and then when running maven eclispe:eclipse you
> will see these show up.  Very intuitive eh?

Can't that workaround be made the default behaviour for Maven Scala
modules? At least then things would work out of the box with Eclipse
(if I'm understanding the situation correctly).

TBH, I'm a little bit cheesed off to discover that lots of the alleged
brokenness of the Scala IDE for Eclipse seem to boil down to Maven
trampling all over internal Eclipse metadata.

Can someone (Josh, you seem like the obvious candidate) please try and
get this sorted out at the Maven end?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-22 Thread Miles Sabin

On Wed, Apr 22, 2009 at 11:14 AM, Channing  wrote:
> 4. went to the project properties and edited each of the source
> folders removing the 'Excluded items' which was preventing eclipse
> from compiling the scala code

> Whenever I change the pom, I use a terminal to run mvn commands from
> the project directory and refresh my workspace, I have to repeat step
> 4 whenever I do this.

Umm ... this Maven behaviour is just completely broken, isn't it? Or
am I missing something?

Can someone explain the rational for it to me?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-21 Thread Miles Sabin

On Wed, Apr 22, 2009 at 12:31 AM, Derek Chen-Becker
 wrote:
> I'll open a ticket in Trac for the errors I'm seeing. I'm actually getting a
> different error now: "Build compiler (scalac) crashed".

That would typically (tho' not invariably) suggest a scalac bug which
can be reproduced on the command line rather than an Eclipse problem.
Do you get a successful command line build?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-21 Thread Miles Sabin

On Tue, Apr 21, 2009 at 9:10 PM, Derek Chen-Becker
 wrote:
> First off, I don't want to come off as whining. I know you've put some
> tremendous effort into this and it shows. The new version (I'm actually
> using 2.8.0_blahblah), especially the new JDT weaving makes things generally
> a pleasure. The weird part for me is that with nested modules it sometimes
> works flawlessly. Right now I fired up Eclipse and the nested module that
> yesterday showed 112 errors is completely clean. The other weird issue that
> I sometimes get is the "unhandled event loop", where I'll type and suddenly
> the window stops responding to keyboard input. If I close the source file
> and reopen it then things work again.

Unhandled event loop exceptions are an indication that something has
gone badly wrong in the UI part of the Scala IDE. When that happens
it'd help if you could check the Eclipse Error Log view and/or the
main Eclipse log file and create a ticket on Trac for it.

> As for nested modules, I use them because then I can issue a single "mvn
> install" in the top-level project and it builds all 8-10 modules at once. In
> particular, Lift uses nested modules.

OK, so then in the list of items for the "Eclipse Tooling for Lift"
what we really need is support for Maven nested modules? Or is this
something which should have generic Maven support?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-21 Thread Miles Sabin

On Tue, Apr 21, 2009 at 8:03 PM, Lee Mighdoll  wrote:
> I've played a bit with both netbeans 6.7m2 and eclipse 3.4.2 with the 2.7.3
> plugin.  I'm currently using eclipse, but I've found it to be fairly
> tempermental ...

Do you have any compelling reason for not immediately upgrading to 2.7.4.RC1?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-21 Thread Miles Sabin

I wrote:
> I'm going to be doing on Lift development with Eclipse at the Scala
> Lift Off

Let me try that again ...

I'm going to be doing a presentation on Lift development with Eclipse
at the Scala Lift Off.

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: developing Scala/Lift using Eclipse

2009-04-21 Thread Miles Sabin

On Tue, Apr 21, 2009 at 8:45 PM, Derek Chen-Becker
 wrote:
> Eclipse has been on and off with me. The new version definitely works
> better, but I write code against Maven projects with nested modules and that
> combination seems to make everything fairly unhappy. I get weird error
> messages like "_root_ does not exist" that go away if I stop and restart

I'm going to be doing on Lift development with Eclipse at the Scala
Lift Off, so I guess I'm going to be finding out all about these
issues.

But, for my immediate enlightenment, if Eclipse doesn't work well with
Maven nested modules and does (apparently?) work well with non-nested
modules, then why don't you just use non-nested modules?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Improving our eclipse experience (was: Why can eclipse never find: org.mortbay.jetty.webapp.WebAppContext)

2009-04-19 Thread Miles Sabin

I think that all of this sounds generally positive, but I have to ask ...

Why is this thread (now) titled "Improving out Eclipse experience"?
What is Eclipse doing wrong here?

Cheers,


Miles

On Sun, Apr 19, 2009 at 11:42 PM, Timothy Perrett
 wrote:
>
>
> Hmm im inclined to agree - lets wait and see what the general consensus is.
> If its positive, then I'll update the archetypes tomorrow.
>
> Cheers, Tim
>
> On 19/04/2009 22:12, "Heiko Seeberger" 
> wrote:
>
>>
>> +1 for changing.
>>
>> Am 19.04.2009 um 22:59 schrieb Timothy Perrett
>> :
>>
>>>
>>> Hey Heiko,
>>>
>>> This was my feeling - im aware that class does not exist in version
>>> 7... I guess my point was do we need to change the lift-archetype so
>>> that it explicitly defines jetty 6? It seems that this would smooth
>>> the curve for newbies :-)
>>>
>>> Cheers, Tim
>>>
>>> On Apr 19, 9:50 pm, Heiko Seeberger 
>>> wrote:
>>>> You need to change the Version range for Jetty in the POM: No
>>>> version 7!
>>>>
>>>
>>>>
>>
>> >
>>
>
>
>
> >
>



-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Getting Lift and Eclipse to make sweet sweet love.

2009-04-16 Thread Miles Sabin

On Thu, Apr 16, 2009 at 4:58 PM, TylerWeir  wrote:
> Ok, I grabbed the right version.
>
> I also added the Lift .jars from my .m2 repository to my Build Path.
>
> That seems to be it.  All is happy happy.
>
> Thanks Miles, great stuff.

Fantastic! Thanks for the update :-)

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Getting Lift and Eclipse to make sweet sweet love.

2009-04-16 Thread Miles Sabin

On Thu, Apr 16, 2009 at 3:51 PM, TylerWeir  wrote:
> I grabbed the latest from here: http://www.scala-lang.org/node/94

Err ... that's 2.7.3.final!

You want,

  http://www.scala-lang.org/node/1493

Make sure you use the rc update site URL to install from,

  http://www.scala-lang.org/scala-eclipse-plugin-rc

> I created a new empty project named LiftTest.
>
> I ran "Import..." and selected the Lift source tree which is the git
> repo.
>
> I wanted to test it out, so I jumped to Entry.scala in HelloLift and
> added an attribute to the model.
>
> I was hoping that as I typed "Mapp" that Content Assist would give me
> options for completion.  But it did not appear.

You hit ctrl-Space, right?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse tooling for Lift?

2009-04-15 Thread Miles Sabin

On Wed, Apr 15, 2009 at 12:17 PM, maku  wrote:
> e.g. a simple example of the current situation when I want to inspect
> the content of the Lift's MetaMegaProtoUser (Lift Mapper framework)
> used in a common User:
>
> object User extends User with MetaMegaProtoUser[User] ...
> class User extends MegaProtoUser[User] {
> ...
>
> When I want to inspect MetaMegaProtoUser (F3 in eclipse) -> the class
> User is shown
> When I want to inspect MegaProtoUser -> java.lang.Object is shown
>
> When I open MetaMegaProtoUser (by type search) there is an outline
> view presented. But it is not navigable and the structure of the open
> file is not reflected (several traits in one source file).
> It is not possible to search methods in a comfortable way (e.g. with
> Eclipse quick search -> CTRL_O)

These issues all relate to the way that Scala is presented to the
JDT's indexer ... there are a lot of deficiencies here, I know ... if
you're on trunk at the moment you should see fairly rapid improvements
between now and the release of 2.8.0.

> Important would be correct outlinining of methods, searching of
> classes, jumping from method to method and so on...
> The current version (I  update regularly and use the daily build)
> provides some func. but works not as expected.

Hmm ... these should be pretty much fully functional both on trunk and
the upcoming 2.7.4 ... if you have reproducible examples of these
kinds of issue could you create tickets for them in the Scala Trac
with the component set to "Eclipse plugin".

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift plugins/extensibility?

2009-04-15 Thread Miles Sabin

On Tue, Apr 14, 2009 at 2:20 PM, David Pollak
 wrote:
> What kind of plugins are you looking for in Lift?

I don't know about the OP, but I'd be interested in blog and Wiki
modules if such exist ...

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Eclipse tooling for Lift?

2009-04-14 Thread Miles Sabin

I'm about to start putting together a Lift-based website for my Scala
consulting business, and it struck me that it might be helpful if
there were support for Lift applications, either as part of the main
Scala IDE or as an extension.

Would there be any interest? What would people like to see?

Cheers,


Miles

-- 
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://twitter.com/milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Welcome Jonas Bonér to the Lift committer s

2009-03-30 Thread Miles Sabin

On Mon, Mar 30, 2009 at 8:33 PM, Josh Suereth  wrote:
> I think AspectJ compiler currently pukes on scala classes anyway (or at
> least it did when Miles set up aspectj as a workaround the Eclipse JDT).

That was certainly the case quite recently ... I filed a bug against
AspectJ which as far as I know hasn't been fixed yet.

> So... no dice for AspectJ + Scala without using a Java "glue" class.

Yup, AspectJ can only advise Java classes. Seeing as it's Aspect*J*
the advice itself is essentially written in Java. But advice can call
Scala code, so it's possible to do most of any heavy lifting in Scala.

FWIW, my attitude to AOP used to be the same as David's: I thought it
was evil because ... it represents a gross violation of encapsulation
and modularity and is the moral equivalent of INTERCAL's COME FROM
(http://en.wikipedia.org/wiki/COME_FROM).

I've now seen the light and realize that AOP is wonderful because ...
it gives me all that tools I need to grossly violate the encapsulation
and modularity of the JDT ;-)

I would say that you should consider AOP when all of the following
conditions are met,

* You need to change the interface/behaviour of a third party component.

* You can't persuade the third party to accomodate you.

* You have access to the source code of the component.

* Forking, replicating or replacing the component would be too painful.

* You are able to commit to tracking changes in the component to
accommodate the inevitable breakage of time as it evolve
independently.

This happens surprisingly often (except maybe the last), both wrt open
source and internal enterprise projects, which goes a long way to
explaining the success of AOP as a model.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Eclipse or Netbeans

2009-03-09 Thread Miles Sabin

On Mon, Mar 9, 2009 at 8:37 PM, Lee Mighdoll  wrote:
> I switched to NetBeans recently because by all reports the scala plugin for
> NetBeans is more stable.
>
> I do miss eclipse a bit, but NetBeans has some charm too.  Give it a try.

"... because by all reports ..."?!?!

You mean you switched because you heard other people were having
problems? Or you were having problems yourself? In which case, what
were they and where are the tickets in Trac?

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: IDE

2009-03-04 Thread Miles Sabin

On Wed, Mar 4, 2009 at 7:13 PM, Jon Hancock  wrote:
> I thought eclipse would be the best supported.  But so far, I'm still
> wrestling with it.

Which in particular is blocking you? Pointers to the issues in Trac
would be helpful and might save me and David a little time next week
:-)

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: IDE

2009-03-04 Thread Miles Sabin

On Wed, Mar 4, 2009 at 4:30 PM, Paulo Cheque  wrote:
> It would be amazing to use Scala with JUnitMax plugin in Eclipse.
> Untill now, JUnitMax support only Java, but I believe this is not hard
> to change. I believe that if Kent Beck has more time he will implement
> that.

I'd give it a try: the way the SDT integrates with the JDT in eclipse
means that there's a reasonable chance that it'll Just Work ... if it
doesn't I'd like to hear about the issues.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: IDE

2009-03-04 Thread Miles Sabin

On Wed, Mar 4, 2009 at 4:19 PM, David Pollak
 wrote:
> I'm meeting with Miles Sabin in London next week to work with him on
> hardening the Eclipse plugin for Lift-related use.

Umm ... I think the concept of "hardening" the plugin left the theatre
along with Sean ;-)

Let's call a spade a spade: we'll be fixing bugs or adding features
... most likely both, but heavily weighted towards the former.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: eclipse plugin and scala shell

2009-03-01 Thread Miles Sabin

On Mon, Mar 2, 2009 at 12:27 AM, Josh Suereth  wrote:
> See the interpreter-dev branch.  I believe the current interpreter only
> works on ubuntu, but that branch should fix for all platforms (assuming you
> have the right run configuration setup)

I don't think it's distro-specific ;-) Works fine for me on Fedora ...

How difficult would it be to just fix the OOMs on Mac OS and Windows?

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Scala and Lift at QCon London

2009-01-14 Thread Miles Sabin

On Wed, Jan 14, 2009 at 11:23 PM, David Pollak
 wrote:
> There will be a couple of Scala and Lift presentations at QCon London this
> year (http://qconlondon.com), including my presentation of "How Scala's
> features led to Lift"
>
> It'd be great to get some Scala and Lift folks from England and maybe even
> from around Europe together sometime that week (March 9th - March 13th).

I think it's be great if we could make this a joint session with the
London Scala User Group ...

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Can or Box or something else

2009-01-06 Thread Miles Sabin

On Tue, Jan 6, 2009 at 11:23 PM, Tony Morris  wrote:
> No this is a mistake. Can is not an Option. Indeed it is (almost)
> impossible to write Can using Option (if you are familiar with Peano
> Arithmetic you will understand the need to qualify with almost).

While you're right in a (very) narrowly technical sense you're missing
the point that Lift's Can has functionality that is very closely
related to a combination of Option and Either in a touchy-feely
pragmatic getting-useful-things-actually-done sort of sense.

To prove the point, here,

  http://www.milessabin.com/misc/Chain.scala

is something I put together a while ago which can be used in a very
similar way to Can (at least, I expect that's the case ... I haven't
worked with Lift so I can't be sure) but which only exposes Option and
Either in it's public interface. It's also sufficiently Monad like to
get along nicely with for comprehensions.

Given the likelihood of confusion between Can and Option (irrespective
the algebraic niceties) I wish Lift had gone for something more like
that than a rename to Box.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Comet

2008-11-09 Thread Miles Sabin

On Sat, Nov 8, 2008 at 11:05 PM, David Pollak
<[EMAIL PROTECTED]> wrote:
> There is a way around this issue if you want to have a fancy DNS set-up, but
> the default behavior is to make sure the browser's connections never get
> clogged up.

DNS wildcards? Or something even fancier?

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Latest NetBeans plugin and NB 6.5 RC2 is wicked great

2008-11-08 Thread Miles Sabin

On Sat, Nov 8, 2008 at 4:56 PM, Alex Boisvert <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 7, 2008 at 11:22 AM, Miles Sabin <[EMAIL PROTECTED]> wrote:
> > Have you sent bug reports my way for these?
>
> I've created one now:
> https://lampsvn.epfl.ch/trac/scala/ticket/1490

Thanks.

This is pretty minor tho' ... Eclipse is just showing a subset of the
errors in a known to be non-compiling project. I agree things should
be better, but you'll find that as you fix the errors in your project
the set of errors that Eclipse is reporting will converge to the true
set of errors.

> My top lame excuses for not creating a bug earlier were that:
> 1) I was hoping it would get fixed in the next snapshot :) since it did
> doesn't seem like something that's specific to my project

See above. Feel free to disagree, but this isn't quite at the top of
my list of priorities.

> 2) I didn't have a small reproductible test case (my last bugs were marked
> as not-reproducible)

In this case, that's fine ... it's a known problem.

> 3) Sean's comments on my mailing list made me realize I use a lot of
> "unsupported" features that come from the JDT but are not really wired to
> the Scala plugin yet.  I don't know if "Clean All Project" is even supported
> but I use it all the time to come back to a consistent state (with Scala and
> Java projects)

Sean is being Chicken Little again I'm afraid, and in any case, what
you're seeing here isn't related to the JDT.

Yes, there are many JDT features which aren't yet wired up to the
Scala plugin properly, but if you just ignore them things should work
fairly smoothly. In particular cleaning all projects should work just
fine.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Latest NetBeans plugin and NB 6.5 RC2 is wicked great

2008-11-07 Thread Miles Sabin

On Fri, Nov 7, 2008 at 8:07 PM, Jorge Ortiz <[EMAIL PROTECTED]> wrote:
> Lift on 2.7.2 works just fine as of RC3.
>
> I unfortunately haven't been keeping up with the flurry of RCs. What RC is
> the Eclipse plugin currently released against? I can update the branch of
> Lift tracking 2.7.2 to that RC.
>
> But whenever 2.7.2 is released (any day now *crosses fingers*) Lift will
> upgrade as soon as possible.

Eclipse plugin releases are now simultaneous with scala releases, so
it's the same: 2.7.2.RC6.

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Latest NetBeans plugin and NB 6.5 RC2 is wicked great

2008-11-07 Thread Miles Sabin

On Fri, Nov 7, 2008 at 6:57 PM, Alex Boisvert <[EMAIL PROTECTED]> wrote:
> From a user perspective, I'd say it's getting better every month but still
> has many rough edges. For example, it's quite easy to get the compile/error
> log out of control on larger projects.   And at that point, I usually revert
> to JEdit to get stuff done.

Have you sent bug reports my way for these?

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Latest NetBeans plugin and NB 6.5 RC2 is wicked great

2008-11-07 Thread Miles Sabin

On Fri, Nov 7, 2008 at 6:31 PM, Tim Perrett <[EMAIL PROTECTED]> wrote:
> Out of interest - what's going on with the eclipse support these days?
> Is netbeans superior for scala? Or should I just stick to command line
> and textmate?

I'm subscribed to this list, so if there are Lift specific problems I
should see them fairly promptly.

My understanding is that Lift on 2.7.2 is still a work in progress, so
seeing as the Eclipse plugin requires 2.7.2 it might be early days for
that combination.

As ever I'm keen to make the Lift and Eclipse experience as pain free
as possible, but as ever I need help from the Lift community. Please
try Lift with 2.7.2 and Eclipse and get your feedback to me (tho'
obviously generic 2.7.2 non-Eclipse issues should go to the EPFL Trac
as usual).

Cheers,


Miles

-- 
Miles Sabin
tel:+44 (0)1273 720 779
mobile: +44 (0)7813 944 528
skype:  milessabin

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: NetBeans and complex parser combinator files

2008-10-09 Thread Miles Sabin

On Thu, Oct 9, 2008 at 1:55 PM, Erik Engbrecht <[EMAIL PROTECTED]> wrote:
> As a side note, I bet the Eclipse plugin has the same problem.

It'd be much appreciated if someone could give this a try ...

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: [ANN] Compiling Lift with Scala 2.7.2.RC2 and Eclipse Plugin

2008-09-25 Thread Miles Sabin

On Wed, Sep 24, 2008 at 10:15 PM, Jorge Ortiz <[EMAIL PROTECTED]> wrote:
> Instructions for using Eclipse with the 2.7.2.RC2 version of Lift


Many thanks for working through this :-)

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: AbstractMethodError

2008-09-22 Thread Miles Sabin

On Sat, Sep 20, 2008 at 4:27 PM, David Pollak
<[EMAIL PROTECTED]> wrote:
> Not until the Eclipse plugin is stabilized on its version (2.7.2) and that
> version is the same as Lift's version.

2.7.2 final will be with us very soon, and the situation with Eclipse
will be exactly as you want it from that point on. Obviously, the help
of the Lift community in making the Eclipse/Lift combination as smooth
as possible would be very much appreciated.

> This is one of the reasons that I stopped using the Eclipse plugin...
> because it causes issues like this.  If there was a way of turning off the
> compilation feature in the plugin, that'd be great.  In Emacs, jEdit, and
> NetBean, I can run mvn scala:cc which does continuous compilation of my
> input files and that works just fine with hot deploy and JavaRebel.

You can turn off automatic building in Eclipse, but this only get's
you so much. Many of the semantically sensitive features of the
Eclipse plugin are dependent on the underlying Scala compiler
infrastructure, and this has version sensitivities. This is
unavoidable in the absence of an independent mechanism for making that
information available to an IDE. It's worth bearing in mind that
Eclipse and Netbeans are on the same footing now that Netbeans is also
using the same compiler infrastructure.

So I'm afraid that for the foreseeable future you'll have to match the
versions of the command line tools you use with the versions of the
IDE plugins you use (both Eclipse and Netbeans) if you want their full
functionality to be available.

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: AbstractMethodError

2008-09-22 Thread Miles Sabin

On Sat, Sep 20, 2008 at 4:16 PM, David Pollak <[EMAIL PROTECTED]> wrote:
> If you're using Eclipse to compile your project, then you're using Scala
> 2.7.2-RC1/2 which has different method signatures than the version that Lift
> is compiled against: 2.7.1
>
> So, please exit Eclipse, got into your project directory and type: mvn clean
> jetty:run and see if the problem goes away.

It would also be enormously helpful to me and everyone else who wants
to use Scala, Eclipse and Lift together if someone in the Lift
community could check the 2.7.2 RC2 Eclipse plugin against a 2.7.2 RC2
build of Lift.

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: Problem with "Using eclipse hotdeploy"

2008-09-19 Thread Miles Sabin

On Fri, Sep 19, 2008 at 6:46 PM, sanity <[EMAIL PROTECTED]> wrote:
> I do this, but get this:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: RunWebApp
> Caused by: java.lang.ClassNotFoundException: RunWebApp
>at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>
> Any ideas?

Can you show me your .classpath and .project files?

Cheers,


Miles

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---