eclipse-formula
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
1. General notes
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.
2. Contributing to this repo
Commit message formatting is significant!!
Please see How to contribute for more details.
4. Available states
4.1. eclipse
Meta-state (This is a state that includes other states).
This installs Eclipse package, manages Eclipse configuration file and then configures the development environment.
4.4. eclipse.config
This state will configure npmrc and/or environment and has a dependency
on eclipse.install
via include list.
4.8. eclipse.clean
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.
4.9. eclipse.config.clean
This state will remove the configuration of Eclipse and has a dependency
on eclipse.package.clean
via include list.
4.10. eclipse.archive.clean
This state will remove Eclipse package and has a dependency on
eclipse.config.clean
via include list.
5. Testing
Linux testing is done with kitchen-salt
.
5.1. 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
.
5.2. bin/kitchen converge
Creates the docker instance and runs the eclipse
main state, ready for
testing.