ControlTier > controltier-elements
 

JavaBin

A unix based self extracting java platform package

Overview

Open in Workbench JavaBin: A unix based self extracting java platform package

Intent

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
javaPackageBase package-base

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