JavaBin
A self extracting java platform package
Overview
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 |
|
|
false |
| package-install-root |
|
|
false |
| package-repo-url |
|
|
false |
| package-filetype |
|
|
false |
| package-arch |
|
|
false |
Attributes
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 |



