JavaBin
A unix based self extracting java platform package
Overview
JavaBin: A unix based self extracting java platform package
Intent
- Automate the Unix self extraction Sun Java installer. see: unix based java installation.
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.
assertPackageIsInstalled
Confirm the package process is installed.
Check for the existence of the LICENSE file in the installation root to determine if the java installer had been executed previously.
- Usage
- assertPackageIsInstalled [-basedir <>] [-depot <>] [-executable <>] [-installroot <>] [-name <>] [-nodeps] [-nodir] [-nomodule] [-nopackageinstall] [-noproperties] [-script <>] [-subdirs <>] [-type <>]
Options
Option | Description |
---|---|
basedir | instance directory |
depot | project depot |
executable | executable to run |
installroot | package installroot |
name | object name |
nodeps | do not install dependencies |
nodir | do not create directories |
nomodule | do not update module |
nopackageinstall | do not install package |
noproperties | do not update properties |
script | script to execute |
subdirs | directory list |
type | object type |
extract
Extract the package archive.
execute the unix based sun java installer, gets around interactive prompting issues and terminal settings.
- Usage
- extract [-base <>] -filename <> [-filtersfile <>] -installroot <> -url <>
Options
Option | Description |
---|---|
base | package base name |
filename | the filename |
filtersfile | filtersfile |
installroot | the install root |
url | the repo url |