c28749e97052f09388969427adf7df641cdcdc22kais<!--
c28749e97052f09388969427adf7df641cdcdc22kais DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
968d6dde54d2efa62910a3cf36438325d0b69031krishna
968d6dde54d2efa62910a3cf36438325d0b69031krishna The contents of this file are subject to the terms
c28749e97052f09388969427adf7df641cdcdc22kais of the Common Development and Distribution License
c28749e97052f09388969427adf7df641cdcdc22kais (the License). You may not use this file except in
c28749e97052f09388969427adf7df641cdcdc22kais compliance with the License.
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais You can obtain a copy of the License at
c28749e97052f09388969427adf7df641cdcdc22kais https://opensso.dev.java.net/public/CDDLv1.0.html or
c28749e97052f09388969427adf7df641cdcdc22kais opensso/legal/CDDLv1.0.txt
c28749e97052f09388969427adf7df641cdcdc22kais See the License for the specific language governing
c28749e97052f09388969427adf7df641cdcdc22kais permission and limitations under the License.
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais When distributing Covered Code, include this CDDL
c28749e97052f09388969427adf7df641cdcdc22kais Header Notice in each file and include the License file
c28749e97052f09388969427adf7df641cdcdc22kais at opensso/legal/CDDLv1.0.txt.
c28749e97052f09388969427adf7df641cdcdc22kais If applicable, add the following below the CDDL Header,
c28749e97052f09388969427adf7df641cdcdc22kais with the fields enclosed by brackets [] replaced by
51144063f3afc862c6cb3f54fd4341724f765075Krishna Yenduri your own identifying information:
c28749e97052f09388969427adf7df641cdcdc22kais "Portions Copyrighted [year] [name of copyright owner]"
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais $Id: build.xml,v 1.2 2008/06/25 05:46:14 qcheng Exp $
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais-->
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais<project name="fedlibrary-clientsdk" default="package-clientsdk">
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <description>OpenSSO Federation Library Client SDK</description>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <!-- enforce invocation via top level build only -->
c28749e97052f09388969427adf7df641cdcdc22kais <fail message="*** clientsdk may be built from top level only ***">
c28749e97052f09388969427adf7df641cdcdc22kais <condition>
c28749e97052f09388969427adf7df641cdcdc22kais <or>
c28749e97052f09388969427adf7df641cdcdc22kais <not><isset property="fedlibrary.clientsdkbase.dir"/></not>
c28749e97052f09388969427adf7df641cdcdc22kais </or>
c28749e97052f09388969427adf7df641cdcdc22kais </condition>
c28749e97052f09388969427adf7df641cdcdc22kais </fail>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <!-- properties for clientsdk -->
c28749e97052f09388969427adf7df641cdcdc22kais <property name="clientsdk.name" value="fedlibrary_client_sdk"/>
c28749e97052f09388969427adf7df641cdcdc22kais <property name="clientsdk.version" value="${library.version}"/>
c28749e97052f09388969427adf7df641cdcdc22kais <tstamp>
c28749e97052f09388969427adf7df641cdcdc22kais <format property="pstamp" pattern="yyyy-MMMM-d hh:mm"/>
c28749e97052f09388969427adf7df641cdcdc22kais </tstamp>
c28749e97052f09388969427adf7df641cdcdc22kais <property name="clientsdk.stamp"
c28749e97052f09388969427adf7df641cdcdc22kais value="${clientsdk.version}_${DSTAMP}${TSTAMP}_${build.number.set}"/>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <target name="package-clientsdk" depends="preparebuild">
c28749e97052f09388969427adf7df641cdcdc22kais <echo message="Building federation library client sdk"/>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <tstamp>
c28749e97052f09388969427adf7df641cdcdc22kais <format property="touch.time" pattern="yyyy-MMMM-d hh:mm"/>
c28749e97052f09388969427adf7df641cdcdc22kais </tstamp>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna
c28749e97052f09388969427adf7df641cdcdc22kais <jar destfile="${fedlibrary.dist.dir}/openfedclientsdk.jar">
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <manifest>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <attribute name="Version" value="${clientsdk.version}"/>
c28749e97052f09388969427adf7df641cdcdc22kais <attribute name="Create-On" value="${touch.time}"/>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna </manifest>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna
c28749e97052f09388969427adf7df641cdcdc22kais <fileset dir="${library.classes.dir}">
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <includesfile name="${fedlibrary.clientsdkbase.dir}/ClientSDKClasses"/>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna </fileset>
c28749e97052f09388969427adf7df641cdcdc22kais <fileset dir="${library.res.i18n.dir}">
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <includesfile name="${fedlibrary.clientsdkbase.dir}/ClientSDKProperties"/>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna </fileset>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <manifest>
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <attribute name="Created-On" value="${pstamp}" />
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <section name="com.sun.identity">
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna <attribute name="Implementation-Title"
2bd70d4be73561631df9cb3d9eb4c65fa94fa665krishna value="OpenAM Client SDK"/>
c28749e97052f09388969427adf7df641cdcdc22kais <attribute name="Implementation-Version"
c28749e97052f09388969427adf7df641cdcdc22kais value="${clientsdk.stamp}"/>
c28749e97052f09388969427adf7df641cdcdc22kais <attribute name="Implementation-Vendor"
c28749e97052f09388969427adf7df641cdcdc22kais value="ForgeRock AS"/>
c28749e97052f09388969427adf7df641cdcdc22kais </section>
c28749e97052f09388969427adf7df641cdcdc22kais </manifest>
c28749e97052f09388969427adf7df641cdcdc22kais </jar>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <checksum file="${fedlibrary.dist.dir}/openfedclientsdk.jar"
c28749e97052f09388969427adf7df641cdcdc22kais algorithm="SHA" fileext=".sha" />
c28749e97052f09388969427adf7df641cdcdc22kais </target>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <target name="preparebuild">
c28749e97052f09388969427adf7df641cdcdc22kais <mkdir dir="${fedlibrary.dist.dir}"/>
c28749e97052f09388969427adf7df641cdcdc22kais </target>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais <target name="clean">
c28749e97052f09388969427adf7df641cdcdc22kais <delete dir="${fedlibrary.dist.dir}"/>
c28749e97052f09388969427adf7df641cdcdc22kais </target>
c28749e97052f09388969427adf7df641cdcdc22kais
c28749e97052f09388969427adf7df641cdcdc22kais</project>
c28749e97052f09388969427adf7df641cdcdc22kais