openam-server-prepare-war.xml revision f58c87ece2202b8f85310d8885c7e39a7f435c09
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay<?xml version="1.0" encoding="UTF-8"?>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay<!--
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay*
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* Copyright (c) 2011 ForgeRock AS. All Rights Reserved
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay*
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* The contents of this file are subject to the terms
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* of the Common Development and Distribution License
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* (the License). You may not use this file except in
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* compliance with the License.
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay*
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* You can obtain a copy of the License at
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* http://forgerock.org/license/CDDLv1.0.html
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* See the License for the specific language governing
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* permission and limitations under the License.
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay*
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* When distributing Covered Code, include this CDDL
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* Header Notice in each file and include the License file
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* at http://forgerock.org/license/CDDLv1.0.html
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* If applicable, add the following below the CDDL Header,
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* with the fields enclosed by brackets [] replaced by
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* your own identifying information:
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay* "Portions Copyrighted [year] [name of copyright owner]"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay*
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay-->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay<!-- Parent Project -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay<project name="openam-server-war-preparation" default="openam_server-prepare-war">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <description>OpenAM Server Prepare WAR ANT Script</description>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <target name="openam-server-prepare-war">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <tstamp>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <format property="war.time.stamp" pattern="yyyy-MMMM-dd HH:mm" locale="en,UK"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </tstamp>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <property name="version.set" value="${openam.version}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <filter token="DATESTAMP" value="${war.time.stamp}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <filter token="VERSION" value="${version.set}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${project.build.directory}/classes"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${project.build.directory}/openam"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy file="${project.basedir}/version.template"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay tofile="${openam.temp.target}/version"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay filtering="true"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/template/opendj"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/template/opendj" filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/binary">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="opendj.zip"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/template/ldif/oauth2"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy file="${project.basedir}/openam-oauth2/openam-oauth2-core-token-service/src/main/resources/oauth2_container.ldif.template"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay tofile="${openam.temp.target}/WEB-INF/template/ldif/oauth2/oauth2_container.ldif"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay filtering="false"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/template/ldif/sfha"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy file="${project.basedir}/openam-session-ha/openam-session-ha-core/src/main/resources/ldif/amsessiondb_container.ldif.template"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay tofile="${openam.temp.target}/WEB-INF/template/ldif/sfha/amsessiondb_container.ldif"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay filtering="false"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/template/ldif/sfha"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy file="${project.basedir}/openam-session-ha/openam-session-ha-core/src/main/resources/ldif/opendj_amsessiondb_index.ldif"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay tofile="${openam.temp.target}/WEB-INF/template/ldif/sfha/opendj_amsessiondb_index.ldif"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay filtering="false"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/template/opendj" filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/binary">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="opendj.zip"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/template/sms"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/template/sms" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/openam-core/src/main/resources/xml">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="serverconfig.xml"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/images"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/images" filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/openam-core/src/main/resources/lockhart/images">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="button/**"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/css"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/css" filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/openam-core/src/main/resources/lockhart/css">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="**/**"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${amserver.target.resources.dir}" flatten="true" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${amserver.resources.i18n.dir}">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="**/*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="Services.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="ums.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="sso.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="SMS.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="authentication_util.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${amserver.target.resources.dir}" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${amserver.resources.i18n.dir}">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="Services.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="ums.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="sso.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="SMS.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <exclude name="authentication_util.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <globmapper from="*.properties" to="*_en.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/config/federation/default_en"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/federation/default_en" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/src/main/webapp/config/federation/default">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="**/**"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/classes"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/classes" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/openam-federation/OpenFM/src/main/resources">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="FederationManagerCLI.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <globmapper from="*.properties" to="*_en.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/classes" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/openam-federation/OpenFM/src/main/resources">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="FederationManagerCLI.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align in fedlet -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/fedlet/AG/com/sun/identity/fedlet/ag"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/fedlet/AG/com/sun/identity/fedlet/ag/"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/openam-federation-library/target/classes/com/sun/identity/fedlet/ag">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="UserData.class"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="AssertionGen.class"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="MetaDataParser.class"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/fedlet" filtering="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/resources">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="FederationConfig.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align in auth -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/config/auth"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <globmapper from="*.properties" to="*_en.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_en" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_de" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_de" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_es" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_es" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_fr" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_fr" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ja" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_ja" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ko" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_ko" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_zh_CN" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_CN" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_zh_CN" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_TW" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default_zh_TW" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_de" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_es" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_fr" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ja" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ko" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_CN" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_TW" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/config/auth" includes="index.html"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default" filtering="false" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_en" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_de" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_es" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_fr" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ja" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_ko" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_CN" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config/auth/default_zh_TW" filtering="false"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <concat destfile="${amserver.target.resources.dir}/amSDK.properties">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${amserver.resources.i18n.dir}">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="Services.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="DSConfig.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="ums.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="sso.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="SMS.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="authentication_util.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </concat>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <java classname="com.sun.identity.tools.nightly.MergeSDKProperties"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay fork="true" failOnError="true" classpath="${build.class.path}">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <arg value="${amserver.resources.i18n.dir}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <arg value="${amserver.target.resources.dir}"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </java>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy file="${amserver.target.resources.dir}/amSDK.properties"
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay tofile="${amserver.target.resources.dir}/amSDK_en.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align the Console Definitions for WAR Inclusion. -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${project.build.directory}/classes" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${server.resources}/console">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align the Service Definitions for WAR Inclusion. -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${project.build.directory}/classes" overwrite="false">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${server.resources}/services">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align the Config Definitions for WAR Inclusion. -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${project.build.directory}/classes" overwrite="true" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${server.resources}/config">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.htm"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="license.txt"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${project.build.directory}/classes" overwrite="false" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${project.basedir}/src/main/webapp/WEB-INF/template/sms">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.*"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Align in Federation Elements -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${amserver.target.resources.dir}" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${library.resources.i18n.dir}" includes="**/*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${openfm.resources.i18n.dir}" includes="**/*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${amserver.target.resources.dir}" flatten="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${library.resources.i18n.dir}" includes="*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${openfm.resources.i18n.dir}" includes="*.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <globmapper from="*.properties" to="*_en.properties"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <!-- Remaining Bits -->
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/config" overwrite="true" filtering="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="${server.resources}/config">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="*.htm"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/js"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/js" overwrite="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/com_sun_web_ui/js">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="browserVersion.js"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <mkdir dir="${openam.temp.target}/WEB-INF/classes/META-INF/services"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <copy todir="${openam.temp.target}/WEB-INF/classes/META-INF/services" overwrite="true">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <fileset dir="src/main/webapp/META-INF/services">
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="com.sun.xml.ws.api.security.trust.STSAttributeProvider"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="com.sun.xml.ws.api.security.trust.STSAuthorizationProvider"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="com.sun.xml.ws.api.security.trust.STSTokenProvider"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="com.sun.xml.ws.api.security.trust.config.STSConfiguration"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay name="com.sun.xml.ws.api.security.trust.config.STSConfigurationProvider"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay <include name="com.sun.xml.ws.assembler.ServerPipelineHook"/>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </fileset>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </copy>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay </target>
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay</project>