8000 GitHub - thearthur/java-crate: java pallet crate
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

thearthur/java-crate

 
 

Repository files navigation

Repository · Issues · API docs · Annotated source · Release Notes

Install and configure java.

Dependency Information

:dependencies [[com.palletops/java-crate "0.8.0-beta.1"]]

Releases

PalletCrate VersionRepoGroupId
0.8.0-beta.1 0.8.0-beta.1 clojars com.palletops Release Notes Source
0.7 0.7.1 sonatype org.cloudhoist Release Notes Source
0.6 0.5.1 sonatype org.cloudhoist Release Notes Source
0.5 0.5.1 sonatype org.cloudhoist Release Notes Source
0.8-alpha.7 0.8.0-alpha.1 sonatype org.cloudhoist Release Notes Source
0.8-alpha.8 0.8.0-alpha.2 sonatype org.cloudhoist Release Notes Source

Server Spec

The java crate defines the java function, that takes a settings map and returns a server-spec for installing java. You can use this in a group-spec or server-spec.

(group-spec "my-node-with-java"
  :extends [(pallet.crate.java/java {})])

Settings

The java crate uses the following settings:

:vendor one of #{:openjdk :oracle :sun}

:components a set of #{:jdk :jre}

:strategy allows override of the install strategy (:packages, :package-source, :rpm or :debs)

:version specify the java version to install

:packages the packages that are used to install

:package-source a non-default package source for the packages

:rpm takes a map of remote-file options specifying a self-extracting rpm file to install

:debs takes a map of remote-directory options specifying an archive of deb files to install. The archive should have no top level directory.

Support

On the group, or #pallet on freenode irc.

License

Licensed under EPL

Copyright 2010, 2011, 2012, 2013 Hugo Duncan.

About

java pallet crate

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 94.3%
  • Shell 5.7%
0