This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | scala plugin not available for install | ||
---|---|---|---|
Product: | contrib | Reporter: | maciek252 |
Component: | Scala | Assignee: | _ dcaoyuan <dcaoyuan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jcampbell, jglick, pjiricka |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
maciek252
2011-01-11 23:37:31 UTC
Can be built from sources. I was forced to remove it from dev AU since <scalac> was frequently breaking on the CI server; even when run locally it can take a couple of minutes to compile ~40 files, and takes a lot of memory. Probably should be moved out of contrib to a standalone project on java.net and built using a dedicated Hudson job. When trying to build this from source using HG checked out source, I'm getting build-init: Loading module list from C:\Users\scampbell\Documents\NetBeansProjects\nbsrc\mai n\nbbuild\nbproject\private\scan-cache-full.ser [parseprojectxml] The module org.jdesktop.layout has been deprecated BUILD FAILED C:\Users\scampbell\Documents\NetBeansProjects\nbsrc\main\contrib\scala.kit\build .xml:89: The following error occurred while executing this line: C:\Users\scampbell\Documents\NetBeansProjects\nbsrc\main\nbbuild\templates\proje ctized.xml:100: Cannot compile against a module: C:\Users\scampbell\Documents\Ne tBeansProjects\nbsrc\main\nbbuild\netbeans\ide\modules\org-netbeans-libs-lucene. jar because of dependency: org.netbeans.libs.lucene/1 > 2.13 Yes, the Lucene library was updated and the Scala editor would need a dependency on the new version (plus possibly compatibility fixes, though unlikely). I changed the "Major Release Version" and "Specific Version" version info for the Library "Lucene Integration" on the "Scala Editor" and "Scala Refactoring" projects and I was able to compile/install and use the Scala Plugin just fine on the NetBeans 7.0 Dev 201102160501. Here is the Diffs: diff --git a/scala.refactoring/nbproject/project.xml b/scala.refactoring/nbproject/project.xml --- a/scala.refactoring/nbproject/project.xml +++ b/scala.refactoring/nbproject/project.xml @@ -36,17 +36,15 @@ <build-prerequisite/> <compile-dependency/> <run-dependency> - <release-version>1</release-version> - <specification-version>2.13</specification-version> + <release-version>3</release-version> + <specification-version>3.0</specification-version> </run-dependency> </dependency> AND diff --git a/scala.editor/nbproject/project.xml b/scala.editor/nbproject/project.xml --- a/scala.editor/nbproject/project.xml +++ b/scala.editor/nbproject/project.xml @@ -39,17 +39,15 @@ <build-prerequisite/> <compile-dependency/> <run-dependency> - <release-version>1</release-version> - <specification-version>2.13</specification-version> + <release-version>3</release-version> + <specification-version>3.0</specification-version> </run-dependency> </dependency> Any progress of getting this back in as an available plugin NetBeans 7.0? It would be UNFORTUNATE to not have this as a part of the NetBeans 7.0 release! (it is a plugin that works great and the only means of supporting Scala in NetBeans) If Caoyuan Deng - or someone else - is willing to maintain the code somehow, I could try to push it into its own repository somewhere and set up a CI job for it. This would at least produce an update site URL that users could add to NB manually; could also be published on Plugin Portal if desired. BTW http://groups.google.com/group/scala-netbeans/browse_thread/thread/efd4d07a19e53da4 is unanswered. Also https://sourceforge.net/tracker/index.php?func=detail&aid=3157653&group_id=192439&atid=941398 is unanswered. https://sourceforge.net/projects/erlybird/ looks abandoned and http://wiki.netbeans.org/Scala69 says nothing about 7.0. No news yet ? Just like to add my voice requesting an updated build for 7.x We're close to GA for our first major product featuring a scala-based server on the backend. I love using NB + Scala, and it sure would help in promoting both within our company. For NetBeans 7.0 + Scala 2.8.x, please get it from: http://plugins.netbeans.org/plugin/36598/?show=true To follow the latest progress, here it is: http://java.net/projects/nbscala Or, https://github.com/dcaoyuan/nbscala |