-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Netbeans 8? #10
Comments
You have an build.sbt in that folder? |
Same issue observed here. Also a netbeans noob (writing a book so trying to include instructions for netbeans) |
Same question. Do you have a build.sbt in that folder? |
Yes. Project is the activator minimal Java or scala akka seed project. I also tried generating the project files with activator net beans. No luck. If I create an sbt project in net beans I can open it though. Sent from my iPhone
|
Here is the section on opening the project. Maybe you can review and let me know if something is wrong? Or otherwise provide input? Thanks in advance for any insight or instruction. Neither installing the plugin into netbeans nor generating the project via command line seem to allow the project to be opened. The project is created with activator new selecting a minimal java or scala project. Netbeans Download Netbeans SE from https://netbeans.org/downloads Open Netbeans once installation is complete. Goto Tools -> Plugins netbeansinstall.png Click install (it will also list several dependencies). Preparing the Project for Netbeans Open your global sbt plugins file (create it if it's not there) - it is located in ~/.sbt/{version}/plugins/build.sbt where version is the sbt version. It is 0.13 at the time of writing. Include the following in the file ensuring there is a blank line between each line in the file: addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.1.4") *It's possible that the current version of the nbsbt-plugin has changed since the time of writing - check https://github.com/dcaoyuan/nbsbt for any updates. Once you have done this, you'll be able to generate the project files by navigating to the sbt project root we generated earlies (akkademy-db). Once you're in the project folder's root, run 'activator netbeans' |
I have a project that's working OK with nbeclipse. I install the 1.1.2 plugin as directed (sbt 0.13.5 and Scala 2.11.1) and go 'netbeans'. As expected it creates .classpath_nb.
However, Netbeans 8.0 is only offering to open 'Project Folder' and navigating to the directory containing .classpath_nb does not work as a suitable directory it seems.
I believe I have all the scala plugins from the NB plugins portal installed.
I'm a Netbeans noob, so its quite possibly my fault.
The text was updated successfully, but these errors were encountered: