Eclipse plugin for scripting using javascript
Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
META-INF
docs
icons
src/org/eclipsescript
.classpath
.gitignore
.project
README.txt
build.properties
build_js_with_jarjar.xml
js.jar
plugin.properties
plugin.xml

README.txt

Eclipse plugin for scripting using javascript.

Read more at http://eclipsescript.org/.

For development, an eclipse project containing some tests are available at:
	https://github.com/fornwall/eclipsescript-tests

This plug-in currently uses a re-packaged version of rhino in js.jar. This was built from rhino master git on 2016-01-12 using:
	(1) Get the source (https://developer.mozilla.org/en-US/docs/Rhino/Download_Rhino?redirectlocale=en-US&redirectslug=RhinoDownload):
		git clone https://github.com/mozilla/rhino.git
		cd rhino
	(2) Change string references to class:
		perl -p -i -e 's/org\/mozilla\//org\/eclipsescript\/rhino\//g' `find ./ -name *.java`
	(3) Build:
		ant jar
	(4) 
		cp build/rhino1.7.8-SNAPSHOT/js.jar $ECLIPSESCRIPT/js_orig.jar
		cd $ECLIPSESCRIPT
		ant -f build_js_with_jarjar.xml
	(5) Test the re-packaged rhino from shell with:
		java -cp js.jar org.eclipsescript.rhino.javascript.tools.shell.Main