Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans 8.2 External Execution Base API Missing for Scala Plugins

Tags:

scala

netbeans

I am using NetBeans 8.2 to develop Scala application.

Some Scala plugins require: "The plugin External Execution Base API is requested in implementation version 201510222201".

Can I download that API anywhere?

like image 880
user3836754 Avatar asked Jan 26 '17 09:01

user3836754


2 Answers

One of the frequent pull request submitters has an 8.2 plugin set available for download.

like image 143
dberry Avatar answered Oct 03 '22 21:10

dberry


I've just ran into the same problem. The solution is the following:

  1. Find out what version of the External Execution Base API you have in your Netbeans installation. In my case, it is noted in

..\NetBeans 8.2\ide\modules\org-netbeans-modules-extexecution-base.jar\META-INF\MANIFEST.MF

  1. Edit the dependency definitions of the related nbscala nbm files. In my case I had to update the following files

org-netbeans-modules-scala-sbt-1.8.1.0.nbm\Info\info.xml

org-netbeans-modules-scala-sbt-1.8.1.0.nbm\netbeans\modules\org-netbeans-modules-scala-sbt.jar\META-INF\MANIFEST.MF

org-netbeans-modules-scala-console-1.8.1.0.nbm\Info\info.xml

org-netbeans-modules-scala-console-1.8.1.0.nbm\netbeans\modules\org-netbeans-modules-scala-console.jar\META-INF\MANIFEST.MF

  1. Delete the nbm signatures, since the changes made it invalid

org-netbeans-modules-scala-console-1.8.1.0.nbm\META-INF\NBSCALA.*

org-netbeans-modules-scala-sbt-1.8.1.0.nbm\META-INF\NBSCALA.*

  1. Install the modules and hope there won't be any issue encountered by this hack.
like image 45
Zsolt Avatar answered Oct 03 '22 20:10

Zsolt