Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Scala Worksheet on Juno with Scala 2.10
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  19 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Slinn  
View profile  
 More options Oct 16 2012, 12:47 pm
From: Michael Slinn <msl...@gmail.com>
Date: Tue, 16 Oct 2012 09:47:46 -0700 (PDT)
Local: Tues, Oct 16 2012 12:47 pm
Subject: Scala Worksheet on Juno with Scala 2.10

I have documented my attempt to get the Scala IDE worksheet to work with
Scala 2.10 on Juno
http://mikeslinn.blogspot.com/2012/10/adventures-with-scala-210-works...

Suggestions?

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
iulian dragos  
View profile  
 More options Oct 17 2012, 4:04 pm
From: iulian dragos <jagua...@gmail.com>
Date: Wed, 17 Oct 2012 22:04:02 +0200
Local: Wed, Oct 17 2012 4:04 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

On Tue, Oct 16, 2012 at 6:47 PM, Michael Slinn <msl...@gmail.com> wrote:
> I have documented my attempt to get the Scala IDE worksheet to work with
> Scala 2.10 on Juno

> http://mikeslinn.blogspot.com/2012/10/adventures-with-scala-210-works...

> Suggestions?

The yellow paragraph is confusing, and probably incorrect. You talk about
workspaces, but then you say the plugin does not support this, and it
leaves things installed in there. Plugins don't install inside the
workspace, but the *configuration area*. The only thing that is stored in
the workspace metadata is settings, but AFAIK that's not deleted when you
uninstall any plugin. You may find this section useful:
http://scala-ide.org/docs/tutorials/scalac-trunk/index.html#separatin...
.

Scala 2.10.0-M7 is binary incompatible with the 2.10.0 nightly version, so
if you want to use the nightly build of the worksheet, you need to install
the nightly build of the IDE for 2.10.0 nightly (update site:
http://download.scala-ide.org/nightly-update-juno-master-2.10.x)

cheers,
iulian

> Mike

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 17 2012, 5:10 pm
From: Michael Slinn <msl...@gmail.com>
Date: Wed, 17 Oct 2012 14:10:56 -0700 (PDT)
Local: Wed, Oct 17 2012 5:10 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Iulian,

Thanks for the information. I will follow your suggestions, update and
correct the posting.

Best,

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
iulian dragos  
View profile  
 More options Oct 18 2012, 3:27 am
From: iulian dragos <jagua...@gmail.com>
Date: Thu, 18 Oct 2012 09:27:19 +0200
Local: Thurs, Oct 18 2012 3:27 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

On Wed, Oct 17, 2012 at 11:10 PM, Michael Slinn <msl...@gmail.com> wrote:
> Iulian,

> Thanks for the information. I will follow your suggestions, update and
> correct the posting.

Great, let us know if you encounter any difficulties. We'll have a new
worksheet release very soon, so hopefully these things will be simpler for
Juno as well.

iulian

> Best,

> Mike

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Oct 18 2012, 3:36 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Thu, 18 Oct 2012 09:36:24 +0200
Local: Thurs, Oct 18 2012 3:36 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Eclipse hangs when I try to create a worksheet, right after I click Finish. Anyone have a workaround?

Does it always happens? If yes, then I think something is misconfigured. Please, have a look at the log: http://scala-ide.org/docs/helium/features/logging.html
When the hang occurs, you should use jps & jstack and provide a thread dump so that we can investigate (scala-ide.org/docs/user/faq.html#faq-known-issues#Eclipse_freezes__deadloc k_). You should also keep in mind that Eclipse is not bugfree, so without more information it's hard to say who's to blame...

-- Mirco

On Oct 17, 2012, at 11:10 PM, Michael Slinn wrote:

> Iulian,

> Thanks for the information. I will follow your suggestions, update and correct the posting.

> Best,

> Mike

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Work: +41 (0)21 691 49 65
Twitter: @mircodotta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacobus  
View profile  
 More options Oct 19 2012, 8:37 am
From: Jacobus <jacobusreyn...@gmail.com>
Date: Fri, 19 Oct 2012 05:37:31 -0700 (PDT)
Local: Fri, Oct 19 2012 8:37 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Hi,

I have a similar setup, and it's working fine. There is probably a
mis-configured setting somewhere.

Eclipse Juno:    http://download.eclipse.org/releases/juno
Scala IDE for 2.10:    
http://download.scala-ide.org/nightly-update-juno-master-2.10.x
Scala Worksheet for 2.10:    
http://download.scala-ide.org/nightly-update-worksheet-scalaide21-210...

Regards,
Jacobus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 19 2012, 10:57 am
From: Michael Slinn <msl...@gmail.com>
Date: Fri, 19 Oct 2012 07:57:01 -0700 (PDT)
Local: Fri, Oct 19 2012 10:57 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

I updated my blog posting<http://mikeslinn.blogspot.com/2012/10/adventures-with-scala-210-works...>to follow the corrections. However, when I attempt to install Scala IDE
nightly on Windows 7 64 bit using the launch script shown in the blog, I
get:

Cannot complete the install because one or more required items could not be
found.
  Software being installed: Scala IDE for Eclipse
2.1.0.nightly-2_10-201210170449-fb08783
(org.scala-ide.sdt.feature.feature.group
2.1.0.nightly-2_10-201210170449-fb08783)
  Missing requirement: Scala IDE for Eclipse
2.1.0.nightly-2_10-201210170449-fb08783
(org.scala-ide.sdt.feature.feature.group
2.1.0.nightly-2_10-201210170449-fb08783) requires 'org.eclipse.sdk 0.0.0'
but it could not be found

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 23 2012, 9:28 am
From: Michael Slinn <msl...@gmail.com>
Date: Tue, 23 Oct 2012 06:28:11 -0700 (PDT)
Local: Tues, Oct 23 2012 9:28 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

I tried once again, using what I think are the latest instructions. The blog
post<http://mikeslinn.blogspot.com/2012/10/adventures-with-scala-210-works...>was updated. Complete failure. Is there currently a way to get Juno to work
with a version of Scala 2.10 and a worksheet?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Oct 23 2012, 9:36 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Tue, 23 Oct 2012 15:36:02 +0200
Local: Tues, Oct 23 2012 9:36 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

> I tried once again, using what I think are the latest instructions. The blog post was updated. Complete failure.

Define complete failure, i.e., what happens? what is the error?

> Is there currently a way to get Juno to work with a version of Scala 2.10 and a worksheet?

Yes. Use the following update site to install both the Scala IDE V2.1.0-M2 and the Worksheet V0.1.2 http://download.scala-ide.org/sdk/e38/scala210/dev/site/

-- Mirco

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Work: +41 (0)21 691 49 65
Twitter: @mircodotta


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Oct 23 2012, 9:57 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Tue, 23 Oct 2012 15:57:08 +0200
Local: Tues, Oct 23 2012 9:57 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

One more note, the IDE sluggishness is likely due to the fact that you are using Juno, as discussed here: http://groups.google.com/group/scala-ide-user/browse_thread/thread/7d...

-- Mirco

On Oct 23, 2012, at 3:36 PM, Mirco Dotta wrote:

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Work: +41 (0)21 691 49 65
Twitter: @mircodotta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 23 2012, 12:49 pm
From: Michael Slinn <msl...@gmail.com>
Date: Tue, 23 Oct 2012 09:49:23 -0700 (PDT)
Local: Tues, Oct 23 2012 12:49 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

No error. No activity. Looks like I am editing a .txt file instead of a spreadsheet.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 23 2012, 12:49 pm
From: Michael Slinn <msl...@gmail.com>
Date: Tue, 23 Oct 2012 09:49:57 -0700 (PDT)
Local: Tues, Oct 23 2012 12:49 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

In this case sluggishness means several minutes wait per keystroke.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Oct 24 2012, 4:24 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Wed, 24 Oct 2012 10:24:38 +0200
Local: Wed, Oct 24 2012 4:24 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

On Oct 23, 2012, at 6:49 PM, Michael Slinn wrote:

> No error. No activity. Looks like I am editing a .txt file instead of a spreadsheet.

This means that the worksheet was not installed. Please, check.

> Mike

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Work: +41 (0)21 691 49 65
Twitter: @mircodotta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirco Dotta  
View profile  
 More options Oct 24 2012, 4:25 am
From: Mirco Dotta <mirco.do...@typesafe.com>
Date: Wed, 24 Oct 2012 10:25:24 +0200
Local: Wed, Oct 24 2012 4:25 am
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

> In this case sluggishness means several minutes wait per keystroke.

Then something must be wrong with your setup/machine. Can you share your Eclipse config.ini?

> Mike

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Work: +41 (0)21 691 49 65
Twitter: @mircodotta

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Oct 24 2012, 2:18 pm
From: Michael Slinn <msl...@gmail.com>
Date: Wed, 24 Oct 2012 11:18:12 -0700 (PDT)
Local: Wed, Oct 24 2012 2:18 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

My eclipse.ini is:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1 813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-server
-Xmn128m
-Xss2m
-XX:+UseParallelGC
-XX:PermSize=128m
-XX:MaxPermSize=128m
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1124M

I updated my docs<http://mikeslinn.blogspot.com/2012/10/adventures-with-scala-210-works...>to show that I install everything from EclipseIDE 2.10 M2, including the
worksheet.

I reinstalled from scratch and find that a new project works fine - hooray!
However, the slick-examples that were built with 2.10-RC1 do not.

Description    Resource    Path    Location    Type
      while compiling:
E:\work\experiments\scala\slick-presentation\src\main\scala\SlickPresentati on.scala        
during phase: erasure      library version: version 2.10.0-RC1     compiler
version: version 2.10.0-RC1   reconstructed args: -Xpluginsdir C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1187\1\.cp\lib
-bootclasspath C:\Program
Files\Java\jdk1.7.0_07\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jfr.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\classes;C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1188\1\.cp\lib\scala-library.jar
-classpath C:\Program
Files\Java\jdk1.7.0_07\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\jfr.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\access-bridge-64.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\dnsns.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\jaccess.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\localedata.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\sunec.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\sunmscapi.jar;C:\Program
Files\Java\jdk1.7.0_07\jre\lib\ext\zipfs.jar;E:\work\experiments\scala\slic k-presentation\target\scala-2.10\classes;E:\work\experiments\scala\slick-pr esentation\target\scala-2.10\test-classes;C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1188\1\.cp\lib\scala-swing.jar;C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1188\1\.cp\lib\scala-actors.jar;C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1187\1\.cp\lib\scala-reflect.jar;C:\Users\Mike
Slinn\.ivy2\cache\com.typesafe\slick_2.10.0-M7\jars\slick_2.10.0-M7-0.11.1. jar;C:\Users\Mike
Slinn\.ivy2\cache\org.slf4j\slf4j-api\jars\slf4j-api-1.6.4.jar;C:\Program
Files\eclipse\eclipse-jee-juno-win32-x86_64\configuration\org.eclipse.osgi\ bundles\1187\1\.cp\lib\scala-compiler.jar;C:\Users\Mike
Slinn\.ivy2\cache\org.scala-lang\scala-reflect\jars\scala-reflect-2.10.0-M7 .jar;C:\Users\Mike
Slinn\.ivy2\cache\org.slf4j\slf4j-nop\jars\slf4j-nop-1.6.4.jar;C:\Users\Mik e
Slinn\.ivy2\cache\com.h2database\h2\jars\h2-1.3.166.jar;C:\Users\Mike
Slinn\.ivy2\cache\org.xerial\sqlite-jdbc\jars\sqlite-jdbc-3.6.20.jar    
last tree to typer: This(anonymous class $anonfun)               symbol:
anonymous class $anonfun (flags: final <synthetic>)    symbol definition:
final class $anonfun extends
AbstractFunction1[SlickPresentation.Task,String] with
Serializable                  tpe:
SlickPresentation.$anonfun.$anonfun.$anonfun.type        symbol owners:
anonymous class $anonfun -> method apply -> anonymous class $anonfun ->
value results -> method apply$mcV$sp -> anonymous class $anonfun -> value
<local SlickPresentation> -> object SlickPresentation -> package
<empty>       context owners: value p -> method apply -> anonymous class
$anonfun -> method above -> object Persons -> object SlickPresentation ->
package <empty>  == Enclosing template or block ==  DefDef( // final def
apply(x$1: SlickPresentation.Persons.type):
scala.slick.lifted.Column[Boolean]    <method> final    "apply"    []    //
1 parameter list    ValDef( // p: SlickPresentation.Persons.type      
<param> <triedcooking>      "p"      <tpt> //
tree.tpe=SlickPresentation.Persons.type      <empty>    )    <tpt> //
tree.tpe=slick.lifted.Column    Apply( // def >[P2, R](e:
scala.slick.lifted.Column[P2],implicit om:
scala.slick.lifted.OptionMapper2[B1,B1,Boolean,P1,P2,R]):
scala.slick.lifted.Column[R] in class ColumnExtensionMethods,
tree.tpe=scala.slick.lifted.Column[Boolean]      TypeApply( // def >[P2,
R](e: scala.slick.lifted.Column[P2],implicit om:
scala.slick.lifted.OptionMapper2[B1,B1,Boolean,P1,P2,R]):
scala.slick.lifted.Column[R] in class ColumnExtensionMethods, tree.tpe=(e:
scala.slick.lifted.Column[Int], implicit om:
scala.slick.lifted.OptionMapper2[Int,Int,Boolean,Int,Int,Boolean])scala.sli ck.lifted.Column[Boolean]        
scala.slick.driver.H2Driver.simple().columnExtensionMethods[Int](p.age(),
lifted.this.TypeMapper.IntTypeMapper)."$greater" // def >[P2, R](e:
scala.slick.lifted.Column[P2],implicit om:
scala.slick.lifted.OptionMapper2[B1,B1,Boolean,P1,P2,R]):
scala.slick.lifted.Column[R] in class ColumnExtensionMethods, tree.tpe=[P2,
R](e: scala.slick.lifted.Column[P2], implicit om:
scala.slick.lifted.OptionMapper2[Int,Int,Boolean,Int,P2,R])scala.slick.lift ed.Column[R]        
// 2 type arguments        <tpt> // tree.tpe=Int        <tpt> //
tree.tpe=Boolean      )      // 2 arguments      Apply( // implicit def
valueToConstColumn[T](v: T,implicit evidence$2:
scala.slick.lifted.TypeMapper[T]): scala.slick.lifted.ConstColumn[T] in
class Implicits, tree.tpe=scala.slick.lifted.ConstColumn[Int]        
TypeApply( // implicit def valueToConstColumn[T](v: T,implicit evidence$2:
scala.slick.lifted.TypeMapper[T]): scala.slick.lifted.ConstColumn[T] in
class Implicits, tree.tpe=(v: Int, implicit evidence$2:
scala.slick.lifted.TypeMapper[Int])scala.slick.lifted.ConstColumn[Int]          
scala.slick.driver.H2Driver.simple()."valueToConstColumn" // implicit def
valueToConstColumn[T](v: T,implicit evidence$2:
scala.slick.lifted.TypeMapper[T]): scala.slick.lifted.ConstColumn[T] in
class Implicits, tree.tpe=[T](v: T, implicit evidence$2:
scala.slick.lifted.TypeMapper[T])scala.slick.lifted.ConstColumn[T]          
<tpt> // tree.tpe=Int        )        // 2 arguments        "age" // age:
Int, tree.tpe=Int        lifted.this."TypeMapper"."IntTypeMapper" //
implicit object IntTypeMapper in object TypeMapper,
tree.tpe=scala.slick.lifted.TypeMapper.IntTypeMapper.type      )      
Apply( // implicit def getOptionMapper2TT[B1, B2, BR](evidence$1:
scala.slick.lifted.BaseTypeMapper[B2]):
scala.slick.lifted.OptionMapper2[B1,B2,BR,B1,B2,BR] in object
OptionMapper2,
tree.tpe=scala.slick.lifted.OptionMapper2[Int,Int,Boolean,Int,Int,Boolean]        
TypeApply( // implicit def getOptionMapper2TT[B1, B2, BR](evidence$1:
scala.slick.lifted.BaseTypeMapper[B2]):
scala.slick.lifted.OptionMapper2[B1,B2,BR,B1,B2,BR] in object
OptionMapper2, tree.tpe=(evidence$1:
scala.slick.lifted.BaseTypeMapper[Int])scala.slick.lifted.OptionMapper2[Int ,Int,Boolean,Int,Int,Boolean]          
lifted.this."OptionMapper2"."getOptionMapper2TT" // implicit def
getOptionMapper2TT[B1, B2, BR](evidence$1:
scala.slick.lifted.BaseTypeMapper[B2]):
scala.slick.lifted.OptionMapper2[B1,B2,BR,B1,B2,BR] in object
OptionMapper2, tree.tpe=[B1, B2, BR](evidence$1:
scala.slick.lifted.BaseTypeMapper[B2])scala.slick.lifted.OptionMapper2[B1,B 2,BR,B1,B2,BR]          
// 3 type arguments          <tpt> // tree.tpe=Int          <tpt> //
tree.tpe=Int          <tpt> // tree.tpe=Boolean        )        
lifted.this."TypeMapper"."IntTypeMapper" // implicit object IntTypeMapper
in object TypeMapper,
tree.tpe=scala.slick.lifted.TypeMapper.IntTypeMapper.type      )    )  )  
== Expanded type of tree ==  ThisType(anonymous class $anonfun)  uncaught
exception during compilation: java.lang.AssertionError    slick-examples  
     Unknown    Scala Problem

RC1 is later than M2 so this is not surprising.

I would like to use RC1 instead of M2. Should this be possible? Are there
any errors in my instructions? What update site should I use to fetch the
RC1 build of EclipseIDE and worksheet?

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacobus  
View profile  
 More options Oct 24 2012, 2:54 pm
From: Jacobus <jacobusreyn...@gmail.com>
Date: Wed, 24 Oct 2012 11:54:19 -0700 (PDT)
Local: Wed, Oct 24 2012 2:54 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Hi Mike,

Verify that you are using the latest version of Slick. It had some problems
with 2.10-RC1 that was fixed earlier today. You can even do a git clone of
slick and then use the sbt command publish-local to get the latest copy
compiled locally.

Then make sure you are pointing to the correct version. A build.sbt like
this should work fine (Notice it's using the snapshot version of slick):

scalaVersion := "2.10.0-RC1"

scalacOptions += "-deprecation"

resolvers ++= Seq("snapshots" at
"http://oss.sonatype.org/content/repositories/snapshots",
                              "releases"  at
"http://oss.sonatype.org/content/repositories/releases")

libraryDependencies ++= List(
  "com.typesafe" % "slick_2.10.0-RC1" % "1.0.0-SNAPSHOT"
  ,"com.h2database" % "h2" % "1.3.166"
  ,"org.xerial" % "sqlite-jdbc" % "3.6.20"
  ,"org.slf4j" % "slf4j-nop" % "1.6.4" // <- disables logging
  ,"org.specs2" % "specs2_2.10.0-RC1" % "1.12.2" % "test"
/*
// enables logging
  ,"org.slf4j" % "slf4j-api" % "1.6.4"
  ,"ch.qos.logback" % "logback-classic" % "0.9.28"
*/
/*
// Other database drivers
  "org.apache.derby" % "derby" % "10.6.1.0",
  "org.hsqldb" % "hsqldb" % "2.0.0",
  "postgresql" % "postgresql" % "8.4-701.jdbc4",
  "mysql" % "mysql-connector-java" % "5.1.13"
*/
)

Cheers,
Jacobus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Slinn  
View profile  
 More options Oct 24 2012, 3:58 pm
From: Mike Slinn <msl...@gmail.com>
Date: Wed, 24 Oct 2012 12:58:46 -0700
Local: Wed, Oct 24 2012 3:58 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Jacobus,

I made the changes you suggested and got:
sbt.ResolveException: unresolved dependency:
com.typesafe#slick_2.10.0-RC1;1.0.0-SNAPSHOT: not found

I must get some other work done today so I cannot look at this any more
until tomorrow. Perhaps the Slick snapshot will have propagated by then.

Should slick-examples <https://github.com/slick/slick-examples> be
updated with this new build?

Thanks,

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacobus  
View profile  
 More options Oct 31 2012, 4:00 pm
From: Jacobus <jacobusreyn...@gmail.com>
Date: Wed, 31 Oct 2012 13:00:14 -0700 (PDT)
Local: Wed, Oct 31 2012 4:00 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Hi Mike,

You can use a later version of Slick:
  "com.typesafe"      %   "slick_2.10.0-RC1"  % "0.11.2"

Here's an updated version of the build file. This one also includes Spray,
which may come in handy if you are writing a REST service:

scalaVersion := "2.10.0-RC1"

scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")

resolvers ++= Seq(
  "sonatype releases" at
"https://oss.sonatype.org/content/repositories/releases/",
  "sonatype snapshots" at
"https://oss.sonatype.org/content/repositories/snapshots/",
  "typesafe repo" at "http://repo.typesafe.com/typesafe/releases/",
  "spray repo" at "http://repo.spray.io/"
)

libraryDependencies ++= Seq(
  "io.spray"           %   "spray-can"         % "1.1-M4.2"
  ,"io.spray"          %   "spray-routing"     % "1.1-M4.2"
  ,"io.spray"          %   "spray-testkit"     % "1.1-M4.2"
  ,"io.spray"          %%  "spray-json"        % "1.2.2"     cross
CrossVersion.full
  ,"com.typesafe.akka" %%  "akka-actor"        % "2.1.0-RC1" cross
CrossVersion.full
  ,"org.specs2"        %%  "specs2" % "1.12.2" % "test"      cross
CrossVersion.full
  ,"com.typesafe"      %   "slick_2.10.0-RC1"  % "0.11.2"
  ,"com.h2database"    %   "h2"                % "1.3.166"
  ,"org.xerial"        %   "sqlite-jdbc"       % "3.6.20"
  ,"org.slf4j"         %   "slf4j-nop"         % "1.6.4"     // <- disables
logging
  ,"org.specs2"        %   "specs2_2.10.0-RC1" % "1.12.2"    % "test"
  ,"junit"             %   "junit"             % "4.8.1"     % "test"
/*
// enables logging
  ,"org.slf4j" % "slf4j-api" % "1.6.4"
  ,"ch.qos.logback" % "logback-classic" % "0.9.28"
*/
/*
// Other database drivers
  "org.apache.derby" % "derby" % "10.6.1.0",
  "org.hsqldb" % "hsqldb" % "2.0.0",
  "postgresql" % "postgresql" % "8.4-701.jdbc4",
  "mysql" % "mysql-connector-java" % "5.1.13"
*/
)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Slinn  
View profile  
 More options Nov 1 2012, 2:24 pm
From: Michael Slinn <msl...@gmail.com>
Date: Thu, 1 Nov 2012 11:24:55 -0700 (PDT)
Local: Thurs, Nov 1 2012 2:24 pm
Subject: Re: [scala-ide-user] Scala Worksheet on Juno with Scala 2.10

Thank you!

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »