platform/kepler

1,063 views
Skip to first unread message

Eric Molitor

unread,
Jan 2, 2013, 9:59:29 AM1/2/13
to scala-...@googlegroups.com
Branch created for Kepler and minimally tested with M4. Works reasonably well assuming you bump up heap and permgen. Without permgen its an OOM mess. Performance is much improved over Juno assuming you were impacted by some of Juno's infamous regressions.

Happy New Year

- Eric

nafg

unread,
Jan 9, 2013, 9:02:44 PM1/9/13
to scala-...@googlegroups.com
Nice, how can I get a build?

Mirco Dotta

unread,
Jan 10, 2013, 3:22:59 AM1/10/13
to scala-...@googlegroups.com
Check out branch https://github.com/scala-ide/scala-ide/tree/platform/kepler

Then, the following should work (building IDE with Scala 2.10.0 for Eclipse Kepler):

./build-all.sh -P scala-2.10.x -P eclipse-kepler -Dscala.version=2.10.0 clean install

If the above works fine, you'll have a local update site in org.scala-ide.sdt.update-site/target/site

-- Mirco

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Twitter: @mircodotta








nafg

unread,
Jan 15, 2013, 1:11:06 AM1/15/13
to scala-...@googlegroups.com
I get:
[ERROR] Failed to execute goal on project org.scala-ide.sbt.full.library: Could not resolve dependencies for project org.scala-ide:org.scala-ide.sbt.full.library:bundle:2.1.0-SNAPSHOT: The following artifacts could not be resolved: org.scala-sbt:classpath_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:logging_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:io_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:control_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:classfile_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:process_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:relation_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:interface_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:persist_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:api_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:compiler-integration_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:incremental-compiler_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:compile_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-sbt:compiler-interface_2.10.0:jar:0.13.0-SNAPSHOT, org.scala-tools.sbinary:sbinary_2.10.0:jar:0.4.1-SNAPSHOT: Could not find artifact org.scala-sbt:classpath_2.10.0:jar:0.13.0-SNAPSHOT in typesafe-ide (http://repo.typesafe.com/typesafe/ide-2.10) -> [Help 1]

Luc Bourlier

unread,
Jan 17, 2013, 8:58:18 AM1/17/13
to scala-...@googlegroups.com
You should still use the 2.10.0-SNAPSHOT version:

./build-all.sh -P scala-2.10.x -P eclipse-kepler -Dscala.version=2.10.0-SNAPSHOT clean install

There have been some problem with our build of sbt for a while, and we haven't generated a 2.10.0 version yet. But the content should be exactly the same.

HTH,
Luc

Simon Schäfer

unread,
Jan 17, 2013, 11:28:27 AM1/17/13
to scala-...@googlegroups.com
Hi Luc,

with 2.10.0-SNAPSHOT I can successfully build the plugin. But I can't
install it because of missing dependency to "Scala Debug Plugin". How
to fix that?

Error:

Cannot complete the install because one or more required items could
not be found.
Software being installed: Scala IDE for Eclipse
2.1.0.local-2_10-201301171422-fad79b1
(org.scala-ide.sdt.feature.feature.group
2.1.0.local-2_10-201301171422-fad79b1)
Missing requirement: Scala Debug Plugin
2.1.0.local-2_10-201301171422-fad79b1 (org.scala-ide.sdt.debug
2.1.0.local-2_10-201301171422-fad79b1) requires 'bundle
org.eclipse.jdt.core [3.8.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: Scala IDE for Eclipse 2.1.0.local-2_10-201301171422-fad79b1
(org.scala-ide.sdt.feature.feature.group
2.1.0.local-2_10-201301171422-fad79b1)
To: org.scala-ide.sdt.debug [2.1.0.local-2_10-201301171422-fad79b1]
> <http://repo.typesafe.com/typesafe/ide-2.10>) -> [Help 1]
>
>
> On Thursday, January 10, 2013 3:22:59 AM UTC-5, Mirco Dotta wrote:
>
> Check out branch
> https://github.com/scala-ide/scala-ide/tree/platform/kepler
> <https://github.com/scala-ide/scala-ide/tree/platform/kepler>
>
> Then, the following should work (building IDE with Scala
> 2.10.0 for Eclipse Kepler):
>
> ./build-all.sh -P scala-2.10.x -P eclipse-kepler
> -Dscala.version=2.10.0 clean install
>
> If the above works fine, you'll have a local update site
> in org.scala-ide.sdt.update-site/target/site
>
> -- Mirco
>
> On Jan 10, 2013, at 3:02 AM, nafg wrote:
>
>> Nice, how can I get a build?
>>
>> On Wednesday, January 2, 2013 9:59:29 AM UTC-5, Eric Molitor
>> wrote:
>>
>> Branch created for Kepler and minimally tested with M4.
>> Works reasonably well assuming you bump up heap and
>> permgen. Without permgen its an OOM mess. Performance is
>> much improved over Juno assuming you were impacted by
>> some of Juno's infamous regressions.
>>
>> Happy New Year
>>
>> - Eric
>
>
> ---------------
> Mirco Dotta
> Typesafe <http://www.typesafe.com/> - The software stack for

iulian dragos

unread,
Jan 18, 2013, 8:26:16 AM1/18/13
to scala-...@googlegroups.com
On Thu, Jan 17, 2013 at 5:28 PM, Simon Schäfer <ma...@antoras.de> wrote:
Hi Luc,

with 2.10.0-SNAPSHOT I can successfully build the plugin. But I can't install it because of missing dependency to "Scala Debug Plugin". How to fix that?

Error:

Cannot complete the install because one or more required items could not be found.
 Software being installed: Scala IDE for Eclipse 2.1.0.local-2_10-201301171422-fad79b1 (org.scala-ide.sdt.feature.feature.group 2.1.0.local-2_10-201301171422-fad79b1)
 Missing requirement: Scala Debug Plugin 2.1.0.local-2_10-201301171422-fad79b1 (org.scala-ide.sdt.debug 2.1.0.local-2_10-201301171422-fad79b1) requires 'bundle org.eclipse.jdt.core [3.8.0,4.0.0)' but it could not be found

That's the real issue. Simply modify MANIFEST.MF in the sdt.debug project to depend on a larger range (I imagine the range is correct in the sdt.core bundle). If it all works, please contribute back in the form of a pull request ;-)

cheers,
iulian



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais

Grzegorz Kossakowski

unread,
Jan 18, 2013, 6:57:24 PM1/18/13
to scala-...@googlegroups.com
On 17 January 2013 05:58, Luc Bourlier <luc.bo...@typesafe.com> wrote:
You should still use the 2.10.0-SNAPSHOT version:

./build-all.sh -P scala-2.10.x -P eclipse-kepler -Dscala.version=2.10.0-SNAPSHOT clean install

Why do you use 2.10.0-SNAPSHOT in case that 2.10.0 final is already out?

--
Grzegorz Kossakowski
Scalac hacker at Typesafe
twitter: @gkossakowski

Simon Schäfer

unread,
Jan 20, 2013, 5:52:57 PM1/20/13
to scala-...@googlegroups.com
After widening the range I could successfully install the plugin.
Nevertheless I get runtime errors when trying to start the Scala editor.

When I try to compile branch platform/kepler I get errors either with
3.7 and 4.2. The compile errors seem to be the same in both versions.

@Eric, did you already get this to compile (and with which version of
eclipse)? Because some of the changes you made do not work for me. For
example in [1] the new ctor can not be found.

[1]:
https://github.com/scala-ide/scala-ide/commit/9ddf9b12d74d662c3ae61dd22b89b88e3afb10f5

On Fri 18 Jan 2013 02:26:16 PM CET, iulian dragos wrote:
>
>
> On Thu, Jan 17, 2013 at 5:28 PM, Simon Schäfer <ma...@antoras.de
> <mailto:ma...@antoras.de>> wrote:
>
> Hi Luc,
>
> with 2.10.0-SNAPSHOT I can successfully build the plugin. But I
> can't install it because of missing dependency to "Scala Debug
> Plugin". How to fix that?
>
> Error:
>
> Cannot complete the install because one or more required items
> could not be found.
> Software being installed: Scala IDE for Eclipse
> 2.1.0.local-2_10-201301171422-__fad79b1
> (org.scala-ide.sdt.feature.__feature.group
> 2.1.0.local-2_10-201301171422-__fad79b1)
> Missing requirement: Scala Debug Plugin
> 2.1.0.local-2_10-201301171422-__fad79b1 (org.scala-ide.sdt.debug
> 2.1.0.local-2_10-201301171422-__fad79b1) requires *'bundle
> org.eclipse.jdt.core [3.8.0,4.0.0)' *but it could not be found
>
>
> That's the real issue. Simply modify MANIFEST.MF in the sdt.debug
> project to depend on a larger range (I imagine the range is correct in
> the sdt.core bundle). If it all works, please contribute back in the
> form of a pull request ;-)
>
> cheers,
> iulian
>
> Cannot satisfy dependency:
> From: Scala IDE for Eclipse
> 2.1.0.local-2_10-201301171422-__fad79b1
> (org.scala-ide.sdt.feature.__feature.group
> 2.1.0.local-2_10-201301171422-__fad79b1)
> To: org.scala-ide.sdt.debug
> [2.1.0.local-2_10-__201301171422-fad79b1]
>
>
> On Thu 17 Jan 2013 02:58:18 PM CET, Luc Bourlier wrote:
>
> You should still use the 2.10.0-SNAPSHOT version:
>
> ./build-all.sh -P scala-2.10.x -P eclipse-kepler
> -Dscala.version=2.10.0-__SNAPSHOT clean install
>
> There have been some problem with our build of sbt for a
> while, and we
> haven't generated a 2.10.0 version yet. But the content should be
> exactly the same.
>
> HTH,
> Luc
>
> Le mardi 15 janvier 2013 07:11:06 UTC+1, nafg a écrit :
>
> I get:
> [ERROR] Failed to execute goal on project
> org.scala-ide.sbt.full.__library: Could not resolve
> dependencies for
> project
>
> org.scala-ide:org.scala-ide.__sbt.full.library:bundle:2.1.0-__SNAPSHOT:
> The
> following artifacts could not be resolved:
> org.scala-sbt:classpath_2.10.__0:jar:0.13.0-SNAPSHOT,
> org.scala-sbt:logging_2.10.0:__jar:0.13.0-SNAPSHOT,
> org.scala-sbt:io_2.10.0:jar:0.__13.0-SNAPSHOT,
> org.scala-sbt:control_2.10.0:__jar:0.13.0-SNAPSHOT,
> org.scala-sbt:classfile_2.10.__0:jar:0.13.0-SNAPSHOT,
> org.scala-sbt:process_2.10.0:__jar:0.13.0-SNAPSHOT,
> org.scala-sbt:relation_2.10.0:__jar:0.13.0-SNAPSHOT,
> org.scala-sbt:interface_2.10.__0:jar:0.13.0-SNAPSHOT,
> org.scala-sbt:persist_2.10.0:__jar:0.13.0-SNAPSHOT,
> org.scala-sbt:api_2.10.0:jar:__0.13.0-SNAPSHOT,
>
> org.scala-sbt:compiler-__integration_2.10.0:jar:0.13.0-__SNAPSHOT,
>
> org.scala-sbt:incremental-__compiler_2.10.0:jar:0.13.0-__SNAPSHOT,
> org.scala-sbt:compile_2.10.0:__jar:0.13.0-SNAPSHOT,
>
> org.scala-sbt:compiler-__interface_2.10.0:jar:0.13.0-__SNAPSHOT,
>
> org.scala-tools.sbinary:__sbinary_2.10.0:jar:0.4.1-__SNAPSHOT:
> Could
> not find artifact
> org.scala-sbt:classpath_2.10.__0:jar:0.13.0-SNAPSHOT in
> typesafe-ide
> (http://repo.typesafe.com/__typesafe/ide-2.10
> <http://repo.typesafe.com/typesafe/ide-2.10>
> <http://repo.typesafe.com/__typesafe/ide-2.10
> <http://repo.typesafe.com/typesafe/ide-2.10>>) -> [Help 1]
>
>
>
> On Thursday, January 10, 2013 3:22:59 AM UTC-5, Mirco
> Dotta wrote:
>
> Check out branch
> https://github.com/scala-ide/__scala-ide/tree/platform/kepler
> <https://github.com/scala-ide/scala-ide/tree/platform/kepler>
>
> <https://github.com/scala-ide/__scala-ide/tree/platform/kepler
> <https://github.com/scala-ide/scala-ide/tree/platform/kepler>__>
>
> Then, the following should work (building IDE with Scala
> 2.10.0 for Eclipse Kepler):
>
> ./build-all.sh -P scala-2.10.x -P eclipse-kepler
> -Dscala.version=2.10.0 clean install
>
> If the above works fine, you'll have a local update site
> in org.scala-ide.sdt.update-site/__target/site
>
> -- Mirco
>
> On Jan 10, 2013, at 3:02 AM, nafg wrote:
>
> Nice, how can I get a build?
>
> On Wednesday, January 2, 2013 9:59:29 AM UTC-5,
> Eric Molitor
> wrote:
>
> Branch created for Kepler and minimally tested
> with M4.
> Works reasonably well assuming you bump up
> heap and
> permgen. Without permgen its an OOM mess.
> Performance is
> much improved over Juno assuming you were
> impacted by
> some of Juno's infamous regressions.
>
> Happy New Year
>
> - Eric
>
>
>
> ---------------
> Mirco Dotta
> Typesafe <http://www.typesafe.com/> - The software
> stack for
>
> applications that scale
> PSE-D, 1015 Lausanne, Switzerland
> Work: +41 (0)21 691 49 65
> <tel:%2B41%20%280%2921%20691%2049%2065>

Luc Bourlier

unread,
Jan 21, 2013, 8:53:59 AM1/21/13
to scala-...@googlegroups.com
Because we haven't been able to publish a 2.10.0 build of sbt 0.13-SNAPSHOT in our maven repo yet.

You know, the other discussion we are having ... :)

Luc

Mirco Dotta

unread,
May 9, 2013, 3:28:16 AM5/9/13
to scala-...@googlegroups.com
Any update here? i.e. is there yet hope for Kepler + Scala IDE 3?

Not a chance (given our limited resources, it's already hard to support two Eclipse platforms for v3).

What may be possible is having a Scala IDE Lithium nightly for Kepler (but we need someone from the community to be responsible for it). 
As you might know, we have a branch for Kepler (https://github.com/scala-ide/scala-ide/tree/platform/kepler), which is maintained by Eric. 
Not sure what's the current status, but it looked like it was working with Kepler M4. You could have a look at it: try to merge master in that 
branch, build and install it locally. If there is any fix needed for Kepler M6, we will be glad to review your PR ;-)

Kepler 4.3 M6 + Scala IDE 3 stable installs perfectly fine with Scala 2.10.1,

Wow, I'm really surprised you can actually install it.

but am getting null pointer exceptions when trying to edit .scala files (kind of mostly miss and sometimes hit in terms of .scala file opening without error).

Don't waste time with trying to use v3 on Kepler. Try the branch I mentioned above.

Should we stick with Juno here? Would love to benefit from performance improvements across the board (Scala 2.11 M2 included).

The current Scala IDE master is still targeting Eclipse Indigo. The plan is to move it to Eclipse Juno, but all our resources are currently 
invested in improving the Play2 support in Eclipse. Hence, it may take a while before master targets Juno. This entails that, if we release a 
special Scala IDE for a Scala 2.11 milestone, you will be able to install it only on Eclipse Indigo. I know it's not ideal, but that's how things 
are at the moment.

-- Mirco


Thanks for feedback
--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

virtualeyes

unread,
May 9, 2013, 7:18:33 AM5/9/13
to scala-...@googlegroups.com
Mirco, thanks for the reality check, assumed as much.

Not a huge deal, got a stripped down Juno 4.2.2 (Platform Runtime Binary + JDT) setup and working with latest Scala IDE 3 stable.

In the past I was able to get a Juno milestone build working on a Scala IDE 2 nightly, so was hoping could pull off the same "miracle" with Kepler ;-)

re: Scala 2.11 milestone with Kepler, can play guinea pig if need be, am very curious about build time improvements on Scala.Next as 2.10 appears to be a bit slower than 2.9.2 based projects -- sigh, can't we have absolutely everything perfect right now? Kidding, long and winding road to Scala Nirvana.

Thanks for your continuing efforts, next year should be fun, Scala on the rise....

Mirco Dotta

unread,
May 9, 2013, 12:22:43 PM5/9/13
to scala-...@googlegroups.com
Mirco, thanks for the reality check, assumed as much.

Eh eh eh, no worries, I guess it was worth trying ;-)

Not a huge deal, got a stripped down Juno 4.2.2 (Platform Runtime Binary + JDT) setup and working with latest Scala IDE 3 stable.

In the past I was able to get a Juno milestone build working on a Scala IDE 2 nightly, so was hoping could pull off the same "miracle" with Kepler ;-)

re: Scala 2.11 milestone with Kepler, can play guinea pig if need be

The question here is more if you would like to help out maintaing the platform/kepler branch. This basically means building that branch, install it on Eclipse Kepler and investigate/fix issues related to platform compatibility. This is usually not a lot of work, but it's definitely something we (Typesafe Team) can't invest on. Eric (Molitor) is actually the one to thank for Scala IDE Juno compatibility, and he's been keeping doing the same for Kepler (in the platform/kepler branch I mentioned before). I think he would be thrilled to get your help in maintaining that branch, if you have some spare cycle.

To whet your appetite, you should know that master can be currently compiled against Scala 2.11-SNAPSHOT. This means that if you successfully merge master in platform/kepler branch and build that branch with the command `./build-all.sh -P scala-2.11.x clean install` , if you are lucky you may actually be able to install the Scala IDE on Kepler.... :)

virtualeyes

unread,
May 10, 2013, 10:02:58 AM5/10/13
to scala-...@googlegroups.com
and here I thought donating 10 sheets of toilet paper (USD) to the Eclipse foundation the other day was a significant contribution ;-)

Will give Kepler + Scala IDE a shot as spare time available (i.e. attempt to build/sort out, for example, current null pointer exceptions I'm getting)

p.s. the new Play routes file support is pretty cool, no longer does it look like one large meaningless comment (semantic highlighting alone is a big win there)
Reply all
Reply to author
Forward
0 new messages