Das Ant-Ziel für die Installation einer Anwendung (in Form einer .ear-Datei) ist installapp. Es erfordert die folgenden Optionen:
- -Dserver.name
Der Name des Servers, der die Anwendung installieren soll.
- -Dear.file
Der vollständig qualifizierte Name der zu installierenden .ear-Datei.
- -Dapplication.name
Der Name der Anwendung.
Abbildung 1. Anwendungsbeispiel build.sh installapp -Dserver.name=CuramServer
-Dear.file=/ear/Curam.ear
-Dapplication.name=Curam
Anmerkung: Die .ear-Datei, die das Servermodul enthält, muss installiert werden, bevor irgendeine andere (nur-Client) EAR-Datei installiert wird.
An optional Ant property is available for passing additional arguments to WebSphere wsadmin:
wsadmin.extra.args. For example, the following sets new Java heap sizes and passes the option to append wsadmin tracing:
-Dwsadmin.extra.args="-javaoption -Xms1024m -javaoption -Xmx1024m -appendtrace true"
Depending on your shell you may need to escape the quotes above; e.g.
-Dwsadmin.extra.args=\"-appendtrace true\".
You should not use this property to set arguments already passed via the Curam Ant scripts and you can observe these when running Ant by specifying its verbose option:
-v.