[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 Kevin Wright
Excellent :)

On Tue, Jul 21, 2009 at 11:01 AM, Miles Sabin  wrote:

>
> 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 Kevin Wright
Probably best to just forego all support and leave it to the mailing lists,
much less stressful that way :p

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



On Tue, Jul 21, 2009 at 10:36 AM, Miles Sabin  wrote:

>
> 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: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 Kevin Wright
Can we take this as confirmation that 3.5 is now the recommended eclipse
distro to work against?

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

*Requirements*

The recommended (and minimum) versions of the components required to use the
Scala Eclipse plugin are,

   - version 6 or newer of the Java Development
Kit(minimum version
   *5*)
   - version 3.4.1 or newer of Eclipse
"Classic"(3.5 Milestone releases
are not fully supported)

--




On Tue, Jul 21, 2009 at 9:49 AM, Miles Sabin  wrote:

>
> 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-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-21 Thread Dan Gravell

On Jul 20, 10:55 pm, Miles Sabin  wrote:
> JDT weaving being enabled is your problem.
>
> What versions of Eclipse and the Scala IDE?

3.4.2 and 2.7.5

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

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.

So I changed my permissions/ownerships on this stuff, because I was
tired, and initially all the manual edits I'd made screwed my eclipse.
By removing all the edits eclipse ran again, but the plugins I'd
installed via update sites had been removed. I reinstalled the scala
plugin, and now it says JDT weaving is enabled, and the original
problem appears solved, so thank you.

--~--~-~--~~~---~--~~
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 Dan Gravell

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.

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