How do I set up Scala plugin for NetBeans to copy the Scala runtime library?

Posted by Alexey Romanov on Stack Overflow See other posts from Stack Overflow or by Alexey Romanov
Published on 2010-04-04T11:59:16Z Indexed on 2010/04/04 12:03 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

Versions: NetBeans 6.8, Scala Kit 0.16.1

When I compile my project, I get the following output:

init:
deps-jar:
Compiling 2 source files to F:\MyProgramming\NorvigSpellChecker\build\classes
compile:
Created dir: F:\MyProgramming\NorvigSpellChecker\dist
Building jar: F:\MyProgramming\NorvigSpellChecker\dist\NorvigSpellChecker.jar
Not copying the libraries.
To run this application from the command line without Ant, try:
java -jar "F:\MyProgramming\NorvigSpellChecker\dist\NorvigSpellChecker.jar"

jar:
BUILD SUCCESSFUL (total time: 3 seconds)

Of course, the libraries should be copied, so I can't actually run it by using this command line. I don't see any options to copy the library in the project configuration.

The plugin uses Ant for building, but I don't have any experience with it; presumably it should be easy enough to tell Ant to copy the libraries. Here is build-impl.xml, what should I do in build.xml?

© Stack Overflow or respective owner

Related posts about scala

Related posts about netbeans6.8