Skip to content

saltstack-formulas/eclipse-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eclipse-formula

Travis CI Build Status Semantic Release

Formula to install Eclipse on GNU/Linux and MacOS.

Configures Eclipse release & edition (default edition is java) published by the Eclipse Foundation packaging project. The following editions are supported by this formula:

  • java (formula default) = Eclipse IDE for Java
  • jee = Eclipse IDE for Java EE
  • cpp = Eclipse IDE for C/C++
  • committers = Eclipse IDE for Eclipse Committers
  • php = Eclipse for PHP
  • dsl = Eclipse for DSL
  • javascript = Eclipse for JavaScript and Web
  • modeling = Eclipse Modelling tools
  • rcp = Eclipse IDE for RCP
  • parallel = Eclipse IDE for Parallel Applications
  • testing = Eclipse for Testers
  • scout = Eclipse for Scout

The supported versions are: - R - R-incubation

See the full SaltStack Formulas installation and usage instructions.

If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.

If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning.

See Formula Versioning Section for more details.

If you need (non-default) configuration, please pay attention to the pillar.example file and/or Special notes section.

Commit message formatting is significant!!

Please see How to contribute for more details.

None.

Meta-state (This is a state that includes other states).

This installs Eclipse package, manages Eclipse configuration file and then configures the development environment.

This state will install Eclipse from archive only.

This state will install Eclipse from source only.

This state will configure npmrc and/or environment and has a dependency on eclipse.install via include list.

This state will install Eclipse plugins.

This state will install some Eclipse shortcuts.

This state will install some Eclipse linux-alternatives on GNU/Linux.

Meta-state (This is a state that includes other states).

this state will undo everything performed in the eclipse meta-state in reverse order, i.e. removes the configuration file and then uninstalls the package.

This state will remove the configuration of Eclipse and has a dependency on eclipse.package.clean via include list.

This state will remove Eclipse package and has a dependency on eclipse.config.clean via include list.

This state will remove Eclipse package and has a dependency on eclipse.config.clean via include list.

This state will remove Eclipse plugins.

This state will remove Eclipse shortcuts.

This state will remove Eclipse linux-alternatives on GNU/Linux.

Linux testing is done with kitchen-salt.

Requirements

  • Ruby
  • Docker
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]

Where [platform] is the platform name defined in kitchen.yml, e.g. debian-9-2019-2-py3.

bin/kitchen converge

Creates the docker instance and runs the eclipse main state, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the docker instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you SSH access to the instance for manual testing.