non-interactive eclipse installer
STABLE
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
install-eclipse is a shell script that installs eclipse in a non-interactive, automated way. As part of the workflow, the script install the Eclipse Platform Runtime Binaries and then installs additional eclipse plugin(s), if specified. The list of plugins to be installed can either be a specified via:
- command-line switch. e.g. -p "http://beust.com/eclipse/,org.testng.eclipse"
- local or remote config file, listing the plugins to be installed. Refer to git-java-mvn.cfg, as an example.
See Usage and Examples for more details.
- non-interactive eclipse installation, great for automated setups
- installs only what is needed
- ability to provide a list of plugins to be installed.
- the plugin list can be a remote file accessible over http[s]
- optimizes eclipse.ini [EXPERIMENTAL]
curl -k https://raw.githubusercontent.com/budhash/install-eclipse/master/install-eclipse > install-eclipse; chmod +x install-eclipse
install-eclipse [OPTIONS]... install_folder
Options:
-h
show this message
-d <download_url>
download url to use. if this is not specified,
the download url is extracted from download site
-p <"repository,plugin_id">
information about plugin to be installed.
it should be in the format "repository,plugin_id"
-c <config_file>
config file containing plugin information.
it should be in the format "repository,plugin_id" per line
-f
force remove existing install_folder, if it exists
-o
optimize the eclipse.ini file [EXPERIMENTAL]
-install latest version into "eclipse" folder. without any additional plugins
./install-eclipse eclipse
-install eclipse and jdt plugin
./install-eclipse -p "http://download.eclipse.org/releases/neon,org.eclipse.jdt.feature.group" eclipse
-install eclipse, jdt plugin and testng plugin
./install-eclipse -p "http://download.eclipse.org/releases/neon,org.eclipse.jdt.feature.group" -p "http://beust.com/eclipse/,org.testng.eclipse" eclipse
-install eclipse along with plugins specified in a config file
./install-eclipse -c ./profiles/plugins.cfg eclipse
-install eclipse along with plugins specified in a remote config file
./install-eclipse -c https://raw.githubusercontent.com/budhash/install-eclipse/master/profiles/git-java-mvn.cfg eclipse
-install plugins specified without installing (in an existing installation)
./install-eclipse -n -c https://raw.githubusercontent.com/budhash/install-eclipse/master/profiles/plugins.cfg eclipse
-install eclipse and remove existing destination folder if it exists
./install-eclipse -f eclipse
-install eclipse and optimize eclipse.ini file [EXPERIMENTAL]
./install-eclipse -f -o eclipse
-complex commands
./install-eclipse -o -f -c https://raw.githubusercontent.com/budhash/install-eclipse/master/profiles/plugins.cfg -d http://mirror.cc.columbia.edu/pub/software/eclipse/eclipse/downloads/drops4/R-4.6-201606061100/eclipse-platform-4.6-macosx-cocoa-x86_64.tar.gz
-install directly without downloading/installing install-eclipse locally
bash <( curl -sk https://raw.githubusercontent.com/budhash/install-eclipse/master/install-eclipse ) -f -c https://raw.githubusercontent.com/budhash/install-eclipse/master/profiles/git-java-mvn.cfg ./eclipse
- This script has currently been tested on OSX 10.10, Ubuntu 12.10 with Eclipse 4.6 only.
- See install-eclipse issues on GitHub for open issues
budhash (at) gmail
You can download this project in either zip or tar formats.
Or simply clone the project with Git by running:
git clone git://github.com/budhash/install-eclipse