Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

The Eclipse Update site project to package our feature/plugin.

File system layout

Versioning

To ignore: all content generated when the site is built.

Contribute

Setup

In Eclipse IDE, import an existing project using this .project file.

Build

There are some prerequisites before executing the build process:

  • first you need to setup the feature project and apply the build procedure until the configuration step (included)
  • also (even if this should be in the procedure for the build of the plugin), please ensure that:
    • the node modules have been installed (to grab the backend): running npm install at the root of the project
    • the node modules are up to date: same as above but with npm update
    • the node.exe executable has been downloaded into the folder runtime under the root of the project
    • the editor backend has been built
    • you configured the backend to use the port used by the plugin

For the three last points, you can run the grunt task grunt prepare-site which does that for you (it sets the port to 50000 which is the default used, and downloads a version of node hard-coded in the gruntfile).

Then:

  1. Be sure to clean all previously generated files by running grunt clean:site (not necessary if you ran grunt prepare-site)

  2. Open site.xml in the IDE, the Update Site editor should open

  3. In main tab Site Map, click button Build All

Then, you can either run the task grunt package-site which creates an archive and remove original files, or do it yourself by copying the following content:

  • features/
  • plugins/
  • site.xml

And run grunt clean:site to remove the generated content.