Awesome
JavaScript Build Eclipse
Since Eclipse Neon will provide Gulp/Grunt support, I have decided to give up this project. See https://wiki.eclipse.org/JSDT/JSDT_Neon_Plan and demo at https://www.youtube.com/watch?v=V7sZVTNHNYM
JavaScript Build Eclipse
is a set of plugins based on tern.java which gives support for Grunt and Gulp (and more?). It provides the Build Explorer
view which looks like the Ant
view. The Build Explorer
displays in a tree the tasks :
With the Build Explorer
, you can :
display in a tree, tasks and targets
fromGruntfile.js
/glupfile.js
.execute task/target
with Eclipse launch by double clicking in the task / target item of the tree.navigate to the definition of a task or target
: opens the Gruntfile.js / glupfile.js and selects the location where task/target is declared.
To collect tasks / targets from Gruntfile.js
/ glupfile.js
, tern.java is used :
- tern-grunt : a tern plugin which adding support for Grunt.
- tern-gulp : a tern plugin which adding support for Gulp.
Those tern plugins are used too for JavaScript editor completion :
Installation
JavaScript Build Eclipse
Eclipse is developed/tested with Eclipse 4.4 Luna. It is advised to use Eclipse 4.4 Luna (even if AngularJS Eclipse could work with older version of Eclipse) :
- if you start with
JavaScript Build Eclipse
, please read Getting Started. - to install it, please read Installation - Update Site section.
Build
JavaScript Build Eclipse
Eclipse is build with this cloudbees job.
Development
tern.java is used to load tasks from Gruntfile.js / gulpfile.js but JavaScript Build Eclipse is not linked to tern.java. You could develop a plugin which load tasks and after benefit with the Build explorer view, launch. Evry plugins which starts with fr.opensagres.eclipse.jsbuild.* are not linked to tern.java.