problem about scala-ide-Collection of common programming errors
Aykut Kllic
java scala scala-ide oaw mwe
I’m trying to write a MWE2 workflow component using scala language. Below is the scala code:package com.ford.modelling.workflowimport org.eclipse.emf.mwe2.runtime.workflow.{IWorkflowComponent, IWorkflowContext}class SayHello extends IWorkflowComponent {var message : String = null;def preInvoke {}def invoke(ctx : IWorkflowContext) { System.out.println(message) } def postInvoke {} }and below is the workflow code:module com.ford.modelling.workflow.SomeWorklowSayHello {}I can’t figure out why does t
Matthew Farwell
eclipse scala scala-ide
Is the current Scala Eclipse plugin (http://www.scala-lang.org/node/94) usable? I keep reading that its unstable and buggy, even unusable.See previous thread: http://stackoverflow.com/questions/796258/what-is-the-current-state-of-tooling-for-scalaI’ve tried it out briefly but only for trivial programs, so far it seems fine.Thanks!UPDATE: I’m going to dive in and get some stuff done with Scala and Eclipse, I’ll try to report back and let you know what I find. UPDATE: See my answer below about my
Matthew Farwell
java eclipse scala exception scala-ide
I have some Scala code like this:class Callee {@throws(classOf[MyCheckedException])def doStuff() {} }Calling it from Java like so:public class Caller {public static void main(String[] args) {// this won’t compile; the Java compiler complains that the catch block is unreachable// however without the catch block, it complains “unhandled exception MyCheckedException”try {new Callee().doStuff();}catch (MyCheckedException e) {}} }Removing the catch block results in an error from the Java compiler say
sebastian_oe
scala compiler scala-ide scalac
I’m trying to develop on the Scala compiler project with the help of ScalaIDE. I followed this guide to set up the development environment. When I now try to build the mentioned projects, the reflect project won’t get built. Instead, I get the following error via the console output:uncaught exception during compilation: scala.reflect.internal.MissingRequirementError reflect Unknown Scala ProblemHaving tried the provided ANT script of the project via the console, everything seems to work f
adelarsq
eclipse scala osgi pde scala-ide
How to build an OSGi bundle that use Scala (2.9.1.RC3) with PDE (Eclipse Helios). I’m using Scala IDE (2.0.0-beta) to build the project and converting this to PDE project. My MANIFEST.MF is like that:Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: ScalaTest1 Bundle-SymbolicName: ScalaTest1 Bundle-Version: 1.0.0.qualifier Bundle-Activator: scalatest1.Activator Import-Package: org.osgi.framework;version=”1.3.0″ Bundle-RequiredExecutionEnvironment: JavaSE-1.6The project build without e
Web site is in building