Good question.
First, I actually created a libs.scala, but did not check in.
Second, the Scala for NetBeans of course can be written in Scala, but
not now. One reason is that I'm also writing Erlang/Fortress for
NetBeans, and all of them are based on GSF, that is, I'd like to get
more work done in Java first, so we can gain more cases for other
languages supporting on NetBeans.
Third point, someday if all things go smoothly, and, Scala has been
proved to be a practice language for all these kind of things, I may
re-write all above modules in Scala.
Regards
Caoyuan
On Mon, May 12, 2008 at 11:45 PM, Jaroslav Tulach
<
Jaroslav.Tulach@...> wrote:
> Hi.
> I am interested in using scala for writing tests for some of my NetBeans
> modules. How can that be done? I went to one of the scala modules to see how
> to build and execute scala and to my surprise, they are not written in scala
> at all!?
>
> That is surprising. All other IDE vendors write their modules in scala. Is it
> because of missing build infrastructure? In such case, here is diff with
> necessary changes:
>
http://wiki.netbeans.org/Diff.jsp?page=Scala&r1=44&r2=43>
http://wiki.netbeans.org/attach/Scala/ScalaBuild.diff> Now it is possible to write module classes in scala or java, write tests in
> scala or java. The java classes are compiled first, so they cannot refer to
> scala ones. The scala classes can refer to java. Indeed, it is easy to revert
> the compilation order, if necessary.
>
> One thing that is missing, is a module that would wrap all the necessary scala
> libraries. Can we create libs.scala, please?
>
> -jst
>
>
>