I have imported dstools in Eclipse on MS Windows. When I try to run build.xml as ant build, I get the following error message:
Buildfile: D:\projects\DataScript\rds-src-0.26\build.xml
init:
prepare:
antlr.DatascriptParser:
[antlr] java.lang.NoClassDefFoundError: antlr/Tool
[antlr] Caused by: java.lang.ClassNotFoundException: antlr.Tool
[antlr] at java.net.URLClassLoader$1.run(Unknown Source)
[antlr] at java.security.AccessController.doPrivileged(Native Method)
[antlr] at java.net.URLClassLoader.findClass(Unknown Source)
[antlr] at java.lang.ClassLoader.loadClass(Unknown Source)
[antlr] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[antlr] at java.lang.ClassLoader.loadClass(Unknown Source)
[antlr] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[antlr] Exception in thread "main"
BUILD FAILED
D:\projects\DataScript\rds-src-0.26\build.xml:137: ANTLR returned: 1
Total time: 422 milliseconds
antlr.jar is in the project's library path. Putting the proper antlr v2.77 library folder in CLASSPATH env var points doesn't help either.