Call a Scala function in a Workbench

16 views
Skip to first unread message

박은정

unread,
Jun 20, 2016, 6:51:31 AM6/20/16
to Scala IDE User
Hi everyone.

I'm not sure if this is the right place for the following question, but if someone can help me, please let me know.

My situation is that I use a Java Class. Let say the class is A_Extend. A_Extend calls a JFace Class, B_GUI. The B_GUI calls Scala Function, C_Scala.
By the way, my development mode includes automatically generated EMF model source code and A_Extend, and B_GUI and C_Scala codes. When I executed B_GUI as Java Application in the development mode, it can call C_Scala (I set Scala nature). However, when I execute B_GUI using A_Extend in executed Workbench, C_Scala is not called.
I thought it is because there is no Scala compiler in Workbench, so I tried to include the Scala nature both on a emf instance model and emf design file. However, it does not work.

Is there any one who can help me?

Thank you so much and have a wonderful day.

Best Regards,
Grace

Simon Schäfer

unread,
Jun 22, 2016, 9:25:56 AM6/22/16
to scala-ide-user
Not sure if anyone with experience for EMF with Scala is on the list. Generally, Scala is just a library, therefore I guess it is just a configuration problem on your side. You need to ensure that the Scala library in on the classpath of all the applications that need to be run.


---- On Mon, 20 Jun 2016 12:25:19 +0200 박은정 <ejpa...@gmail.com>wrote ----

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

Reply all
Reply to author
Forward
0 new messages