Open.ControlTier > ModuleForge
 

JavaBin

A self extracting java platform package

Overview

Open in Workbench JavaBin: A self extracting java platform package

Design

Super Type
bin
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory ${modules.dir}/JavaBin/templates
Data View Children, proximity: 1
Logger Name JavaBin

Constraints

Allowed Child Dependencies

  • Package

Allowed Parent Dependencies

  • Deployment

Allowed Property Values

Property Allowed Values Default Enforced
package-install-rank
  • 1
  • 1
false
package-install-root
  • ${user.home}/j2sdk
  • ${user.home}/jdk
  • ${user.home}/jdk
false
package-repo-url
  • ${framework.pkgRepo.uri}/${context.depot/JavaBin/bins/FILENAME
  • ${framework.pkgRepo.uri}/${context.depot/JavaBin/bins/FILENAME
false
package-filetype
  • bin
  • bin
false
package-arch
  • unix
  • unix
false

Attributes

Exported Attributes

Name Property
javaHome package-install-root

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

extract

extracts the distribution

Usage
extract [-filename <>] [-installroot <>]
Execution bash
Arguments cd ${opts.installroot}/.. && [[ ! -f ${opts.installroot}/LICENSE ]] && ( echo yes | MORE="-99999999" sh ${opts.filename} ) || ( echo ${opts.installroot} already installed )

Options

Option Description
filename filename of the distribution
installroot destination directory