JavaScript interface with the openchemlib java library
To build this project, you need :
- java >= 1.7
- GWT 2.8 (Download build here)
- Node.js (link)
npm install
[sudo] npm install -g gulp
Copy config.default.json
to config.json
and put the path to the GWT classes on your computer.
If you want to update the java code from openchemlib, provide the path to the openchemlib source.
Options
- -m [name]: only process module "name"
- -v: verbose output
Execute the GWT compiler
Transform the GWT compiled files to javascript modules
Compile and export
Copy the required java files from the openchemlib project