Das Ant-Ziel zum Installieren einer Anwendung (in Form einer EAR-DAtei) ist installapp. Es erfordert die folgenden Optionen:
- -Dserver.name
Der Name des Servers, auf dem die Anwendung installiert werden soll.
- -Dear.file
Der vollständig qualifizierte Name der zu installierenden EAR-Datei.
- -Dapplication.name
Der Name der Anwendung.
Abbildung 1. Anwendungsbeispiel build installapp -Dserver.name=CuramServer
-Dear.file=d:/ear/Curam.ear
-Dapplication.name=Curam
Anmerkung: Die EAR-Datei, die das Servermodul enthält, muss implementiert sein, bevor andere (nur-Client-) EAR-Dateien installiert werden.
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"
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.