Cross Reference: build.xml
xref
: /
forgerock
/
openam
/
openam-federation
/
OpenFM
/
src
/
main
/
clientsdk
/
build.xml
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1991
N/A
<!--
2362
N/A
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1991
N/A
1991
N/A
Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
1991
N/A
1991
N/A
The contents of this file are subject to the terms
2362
N/A
of the Common Development and Distribution License
1991
N/A
(the License). You may not use this file except in
2362
N/A
compliance with the License.
1991
N/A
1991
N/A
You can obtain a copy of the License at
1991
N/A
https://opensso.dev.java.net/public/CDDLv1.0.html
or
1991
N/A
opensso
/
legal
/
CDDLv1.0.txt
1991
N/A
See the License for the specific language governing
1991
N/A
permission and limitations under the License.
1991
N/A
1991
N/A
When distributing Covered Code, include this CDDL
1991
N/A
Header Notice in each file and include the License file
1991
N/A
at
opensso
/
legal
/
CDDLv1.0.txt
.
1991
N/A
If applicable, add the following below the CDDL Header,
2362
N/A
with the fields enclosed by brackets [] replaced by
2362
N/A
your own identifying information:
2362
N/A
"Portions Copyrighted [year] [name of copyright owner]"
1991
N/A
1991
N/A
$Id:
build.xml
,v 1.20
2009
/
09
/
17
05:44:02 mallas Exp $
1991
N/A
1991
N/A
Portions Copyrighted 2015 ForgeRock AS.
1991
N/A
1991
N/A
-->
1991
N/A
1991
N/A
<
project
name=
"openfm-clientsdk"
default=
"package-clientsdk"
>
1991
N/A
1991
N/A
<
description
>OpenSSO Federation Client SDK</
description
>
1991
N/A
1991
N/A
<!-- enforce invocation via top level build only -->
1991
N/A
<
fail
message=
"*** clientsdk may be built from top level only ***"
>
1991
N/A
<
condition
>
1991
N/A
<
or
>
1991
N/A
<
not
><
isset
property=
"
openfm.clientsdkbase.dir
"
/></
not
>
1991
N/A
</
or
>
1991
N/A
</
condition
>
1991
N/A
</
fail
>
1991
N/A
1991
N/A
<!-- properties for clientsdk -->
1991
N/A
<
property
name=
"
clientsdk.name
"
value=
"openfm_client_sdk"
/>
1991
N/A
<
property
name=
"
clientsdk.version
"
value=
"${
openfm.version
}"
/>
1991
N/A
<
tstamp
>
1991
N/A
<
format
property=
"pstamp"
pattern=
"yyyy-MMMM-d hh:mm"
/>
1991
N/A
</
tstamp
>
1991
N/A
<
property
name=
"
clientsdk.stamp
"
1991
N/A
value=
"${
clientsdk.version
}_${DSTAMP}${TSTAMP}_${
build.number.set
}"
/>
1991
N/A
1991
N/A
<!-- clientsdk class path -->
1991
N/A
<
path
id=
"
build.class.path
"
>
1991
N/A
<
path
refid=
"
build.class.path
"
/>
1991
N/A
</
path
>
1991
N/A
1991
N/A
<
target
name=
"package-clientsdk"
depends=
"preparebuild"
>
1991
N/A
<
echo
message=
"Building clientSDK"
/>
1991
N/A
1991
N/A
<
tstamp
>
1991
N/A
<
format
property=
"
touch.time
"
pattern=
"yyyy-MMMM-d hh:mm"
/>
1991
N/A
</
tstamp
>
1991
N/A
1991
N/A
<
mkdir
dir=
"${
openfm.classes.dir
}/
com
/
sun
/
identity
/
log
/
messageid
"
/>
1991
N/A
<
copy
todir=
"${
openfm.classes.dir
}/
com
/
sun
/
identity
/
log
/
messageid
"
>
1991
N/A
<
fileset
dir=
"${
openfm.log.xml.dir
}"
>
1991
N/A
<
include
name=
"
SAML2LogMessageIDs.xml
"
/>
1991
N/A
<
include
name=
"
COTLogMessageIDs.xml
"
/>
1991
N/A
</
fileset
>
1991
N/A
</
copy
>
1991
N/A
<
jar
destfile=
"${
fm.dist.dir
}/
openssoclientsdk.jar
"
duplicate=
"preserve"
>
1991
N/A
<
manifest
>
1991
N/A
<
attribute
name=
"Version"
value=
"${
openfm.version
}"
/>
1991
N/A
<
attribute
name=
"Create-On"
value=
"${
touch.time
}"
/>
1991
N/A
</
manifest
>
1991
N/A
<
fileset
dir=
"${
library.classes.dir
}"
>
1991
N/A
<
includesfile
name=
"${
fedlibrary.clientsdkbase.dir
}/ClientSDKClasses"
/>
1991
N/A
</
fileset
>
1991
N/A
<
fileset
dir=
"${
openfm.classes.dir
}"
>
1991
N/A
<
includesfile
name=
"${
openfm.clientsdkbase.dir
}/ClientSDKClasses"
/>
1991
N/A
</
fileset
>
1991
N/A
<
fileset
dir=
"${
library.res.i18n.dir
}"
>
1991
N/A
<
includesfile
name=
"${
fedlibrary.clientsdkbase.dir
}/ClientSDKProperties"
/>
1991
N/A
</
fileset
>
1991
N/A
<
fileset
dir=
"${
openfm.res.i18n.dir
}"
>
1991
N/A
<
includesfile
name=
"${
openfm.clientsdkbase.dir
}/ClientSDKProperties"
/>
1991
N/A
</
fileset
>
1991
N/A
<
fileset
dir=
"${
amserver.classes.dir
}"
>
1991
N/A
<
filename
name=
"
com
/
sun
/
identity
/
log
/
messageid
/*.*"
/>
1991
N/A
<
not
>
1991
N/A
<
filename
name=
"
com
/
sun
/
identity
/
log
/
messageid
/*.xml"
/>
1991
N/A
</
not
>
1991
N/A
</
fileset
>
1991
N/A
<
fileset
dir=
"${
openfm.classes.dir
}"
>
1991
N/A
<
filename
name=
"
com
/
sun
/
identity
/
log
/
messageid
/*.xml"
/>
1991
N/A
</
fileset
>
1991
N/A
1991
N/A
<
fileset
dir=
"${
openfm.dir
}/resources"
>
1991
N/A
<
filename
name=
"
META-INF
/
services
/
com.sun.xml.ws.api.pipe.TransportPipeFactory
"
/>
1991
N/A
</
fileset
>
1991
N/A
1991
N/A
<
manifest
>
<
attribute
name=
"Created-On"
value=
"${pstamp}"
/>
<
section
name=
"
com.sun.identity
"
>
<
attribute
name=
"Implementation-Title"
value=
"OpenAM Client SDK"
/>
<
attribute
name=
"Implementation-Version"
value=
"${
clientsdk.stamp
}"
/>
<
attribute
name=
"Implementation-Vendor"
value=
"ForgeRock AS"
/>
</
section
>
</
manifest
>
<
zipfileset
src=
"${
sharedlib.dist.dir
}/
opensso-sharedlib.jar
"
includes=
"**/*.class"
/>
<
zipfileset
src=
"${
fm.base.dir
}/
extlib
/
amclientsdk.jar
"
includes=
"**/*.class, **/*.properties"
/>
</
jar
>
<
checksum
file=
"${
fm.dist.dir
}/
openssoclientsdk.jar
"
algorithm=
"SHA"
fileext=
".sha"
/>
</
target
>
<
target
name=
"preparebuild"
>
<
mkdir
dir=
"${
fm.dist.dir
}"
/>
</
target
>
<
target
name=
"clean"
>
<
delete
dir=
"${
fm.dist.dir
}"
/>
<
delete
dir=
"${
openfm.classes.dir
}/
com
/
sun
/
identity
/
log
/
messageid
"
/>
</
target
>
</
project
>