17365N/A ! The contents of this file are subject to the terms of the 10139N/A ! Common Development and Distribution License, Version 1.0 only 10139N/A ! (the "License"). You may not use this file except in compliance 10139N/A ! You can obtain a copy of the license at 17177N/A ! See the License for the specific language governing permissions 10139N/A ! and limitations under the License. 15322N/A ! When distributing Covered Code, include this CDDL HEADER in each 10139N/A ! file and include the License file at 10139N/A ! add the following below this CDDL HEADER, with the fields enclosed 10139N/A ! by brackets "[]" replaced with your own identifying information: 18616N/A ! Portions Copyright [yyyy] [name of copyright owner] 12773N/A ! Copyright 2008-2009 Sun Microsystems, Inc. 12773N/A ! Portions Copyright 2013 ForgeRock AS 16793N/A <!-- Install STAF and services --> 10139N/A <
echo>Installing staf, please wait...</
echo>
10139N/A <
arg value="-DACCEPT_LICENSE=1"/>
10139N/A <
arg value="-DUPDATE_ENVIRONMENT=User"/>
10139N/A <
arg value="-DSTART_ON_LOGIN=0"/>
10139N/A <
arg value="-DSCREATE_START_MENU_ICONS=0"/>
10139N/A <
fail message="STAF installation failed">
10139N/A <
equals arg1="${rc}" arg2="0"/>
12773N/A <
echo>Installing services, please wait...</
echo>
10139N/A <
for list="${list}" param="archive">
10139N/A <
var name="name" unset="true"/>
10139N/A <
globmapper from="*" to="${name}/*"/>
18544N/A <
delete includeemptydirs="true">
17361N/A <!-- Uninstall STAF and services --> 16143N/A <
echo>Uninstalling staf, please wait...</
echo>
15696N/A <
echo>Staf is not installed</
echo>
13057N/A <
echo>Starting staf, please wait...</
echo>
12315N/A <
env key="STAFCODEPAGE" value="LATIN_1"/>
12217N/A <
env key="STAF_INSTANCE_NAME" value="STAF"/>
12106N/A <
echo>Waiting for service to become available...</
echo>
11066N/A <
fail>"STAF initialisation failed"</
fail>
10812N/A <
echo>STAF is now ready to serve requests</
echo>
10139N/A <
echo>Stopping staf, please wait...</
echo>
10139N/A <
arg line="local shutdown shutdown"/>
10139N/A <
echo>Waiting for service to shutdown gracefully...</
echo>
10139N/A timeoutproperty="timeoutSocketListening">
10139N/A <
echo>Staf is not running</
echo>
10139N/A <
echo>Staf is not installed</
echo>
10139N/A <
echo>Staf is not running</
echo>
10139N/A <
for list="${list}" param="archive">
10139N/A <
var name="shortname" unset="true"/>
10139N/A <
var name="name" unset="true"/>
10139N/A <
propertyregex property="shortname" 10139N/A <
echo>${shortname} is not installed</
echo>
<
arg value="-classpath"/>
<
arg value="-classpath"/>