openam-server-prepare-war.xml revision 3e472ffbd24321714fe54d5f1d58f3f460e1f60a
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* Copyright (c) 2011 ForgeRock AS. All Rights Reserved
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* The contents of this file are subject to the terms
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* of the Common Development and Distribution License
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* (the License). You may not use this file except in
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder* compliance with the License.
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* You can obtain a copy of the License at
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* http://forgerock.org/license/CDDLv1.0.html
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* See the License for the specific language governing
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer* permission and limitations under the License.
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer* When distributing Covered Code, include this CDDL
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer* Header Notice in each file and include the License file
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer* at http://forgerock.org/license/CDDLv1.0.html
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski* If applicable, add the following below the CDDL Header,
aca2ab791cb1945ec9efacc07d68c3c424574f4fChristian Maeder* with the fields enclosed by brackets [] replaced by
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* your own identifying information:
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski* "Portions Copyrighted [year] [name of copyright owner]"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski<!-- Parent Project -->
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder<project name="openam-server-war-preparation" default="openam_server-prepare-war">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <description>OpenAM Server Prepare WAR ANT Script</description>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <format property="war.time.stamp" pattern="yyyy-MMMM-dd HH:mm" locale="en,UK"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <property name="version.set" value="${openam.version}"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <filter token="DATESTAMP" value="${war.time.stamp}"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <filter token="VERSION" value="${version.set}"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <mkdir dir="${project.build.directory}/classes"/>
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder <mkdir dir="${project.build.directory}/openam"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy file="${project.basedir}/version.template"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski tofile="${openam.temp.target}/version"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski filtering="true"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <mkdir dir="${openam.temp.target}/WEB-INF/template/opendj"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/WEB-INF/template/opendj" filtering="false">
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder <mkdir dir="${openam.temp.target}/WEB-INF/template/sms"/>
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder <copy todir="${openam.temp.target}/WEB-INF/template/sms" filtering="false">
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder <fileset dir="${project.basedir}/openam-core/src/main/resources/xml">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <mkdir dir="${openam.temp.target}/images"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/images" filtering="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="${project.basedir}/openam-core/src/main/resources/lockhart/images">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/css" filtering="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="${project.basedir}/openam-core/src/main/resources/lockhart/css">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${amserver.target.resources.dir}" flatten="true" filtering="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="${amserver.resources.i18n.dir}">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <exclude name="authentication_util.properties"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${amserver.target.resources.dir}" filtering="true">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <fileset dir="${amserver.resources.i18n.dir}">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <exclude name="authentication_util.properties"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <globmapper from="*.properties" to="*_en.properties"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <mkdir dir="${openam.temp.target}/config/federation/default_en"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <copy todir="${openam.temp.target}/config/federation/default_en" filtering="false">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <fileset dir="${project.basedir}/src/main/webapp/config/federation/default">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <mkdir dir="${openam.temp.target}/WEB-INF/classes"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <copy todir="${openam.temp.target}/WEB-INF/classes" filtering="false">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <fileset dir="${project.basedir}/openam-federation/OpenFM/src/main/resources">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <include name="FederationManagerCLI.properties"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <globmapper from="*.properties" to="*_en.properties"/>
9a80079e082fdf4fe8e19f8fc61e6cd8799b47a7Christian Maeder <copy todir="${openam.temp.target}/WEB-INF/classes" filtering="false">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <fileset dir="${project.basedir}/openam-federation/OpenFM/src/main/resources">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <include name="FederationManagerCLI.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <!-- Align in fedlet -->
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <mkdir dir="${openam.temp.target}/WEB-INF/fedlet/AG/com/sun/identity/fedlet/ag"/>
9a80079e082fdf4fe8e19f8fc61e6cd8799b47a7Christian Maeder <copy todir="${openam.temp.target}/WEB-INF/fedlet/AG/com/sun/identity/fedlet/ag/"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer filtering="false">
9a80079e082fdf4fe8e19f8fc61e6cd8799b47a7Christian Maeder dir="${project.basedir}/openam-federation/openam-federation-library/target/classes/com/sun/identity/fedlet/ag">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <copy todir="${openam.temp.target}/WEB-INF/fedlet" filtering="false">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <include name="FederationConfig.properties"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <!-- Align in auth -->
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <mkdir dir="${openam.temp.target}/config/auth"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <globmapper from="*.properties" to="*_en.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_en" flatten="true">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <copy todir="${openam.temp.target}/config/auth/default_de" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default_de" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_es" flatten="true">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default_es" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_fr" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default_fr" includes="*.*"/>
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <copy todir="${openam.temp.target}/config/auth/default_ja" flatten="true">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default_ja" includes="*.*"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_ko" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default_ko" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_zh" flatten="true">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default_zh_CN" includes="*.*"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_zh_CN" flatten="true">
aca2ab791cb1945ec9efacc07d68c3c424574f4fChristian Maeder <fileset dir="src/main/webapp/config/auth/default_zh_CN" includes="*.*"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <copy todir="${openam.temp.target}/config/auth/default_zh_TW" flatten="true">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <fileset dir="src/main/webapp/config/auth/default_zh_TW" includes="*.*"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <copy todir="${openam.temp.target}/config/auth/default" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_de" overwrite="false">
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_es" overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_fr" overwrite="false">
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_ja" overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_ko" overwrite="false">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_zh" overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_zh_CN" overwrite="false">
d0642e0d269791a923f2bf86ea249f971f14addbChristian Maeder <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <copy todir="${openam.temp.target}/config/auth/default_zh_TW" overwrite="false">
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <fileset dir="src/main/webapp/config/auth/default" includes="*.*"/>
80c2d23821d095b55d9a547f48fc3fcdc27df405Christian Maeder <copy todir="${openam.temp.target}/config/auth">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <fileset dir="src/main/webapp/config/auth" includes="index.html"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default" filtering="false" overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_en" filtering="false"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_de" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_es" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_fr" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_ja" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_ko" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
aca2ab791cb1945ec9efacc07d68c3c424574f4fChristian Maeder dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_zh" filtering="false"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
f094a7999dfa79cad2eb34ce15f1939c0d6b9e39Till Mossakowski <copy todir="${openam.temp.target}/config/auth/default_zh_CN" filtering="false"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config/auth/default_zh_TW" filtering="false"
3a6decfd748f532d5cb03fbcb7a42fa37b0faab3Christian Maeder overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski dir="${project.basedir}/openam-federation/OpenFM/src/main/resources/xml/auth-module">
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <concat destfile="${amserver.target.resources.dir}/amSDK.properties">
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <fileset dir="${amserver.resources.i18n.dir}">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <include name="authentication_util.properties"/>
3a6decfd748f532d5cb03fbcb7a42fa37b0faab3Christian Maeder <java classname="com.sun.identity.tools.nightly.MergeSDKProperties"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer fork="true" failOnError="true" classpath="${build.class.path}">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <arg value="${amserver.resources.i18n.dir}"/>
e45f00ee89d20991a57651931b13f0637762bcd1Till Mossakowski <arg value="${amserver.target.resources.dir}"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy file="${amserver.target.resources.dir}/amSDK.properties"
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski tofile="${amserver.target.resources.dir}/amSDK_en.properties"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <!-- Align the Console Definitions for WAR Inclusion. -->
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <copy todir="${project.build.directory}/classes" overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="${server.resources}/console">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <!-- Align the Service Definitions for WAR Inclusion. -->
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${project.build.directory}/classes" overwrite="false">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="${server.resources}/services">
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <!-- Align the Config Definitions for WAR Inclusion. -->
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <copy todir="${project.build.directory}/classes" overwrite="false">
9a80079e082fdf4fe8e19f8fc61e6cd8799b47a7Christian Maeder <copy todir="${project.build.directory}/classes" overwrite="false" filtering="true">
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <fileset dir="${project.basedir}/src/main/webapp/WEB-INF/template/sms">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <!-- Align in Federation Elements -->
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${amserver.target.resources.dir}" flatten="true">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="${library.resources.i18n.dir}" includes="**/*.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <fileset dir="${openfm.resources.i18n.dir}" includes="**/*.properties"/>
ad69cb3627839ed3d33f13d71c81378b65a24b35Till Mossakowski <copy todir="${amserver.target.resources.dir}" flatten="true">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="${library.resources.i18n.dir}" includes="*.properties"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <fileset dir="${openfm.resources.i18n.dir}" includes="*.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <globmapper from="*.properties" to="*_en.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <!-- Remaining Bits -->
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <copy todir="${openam.temp.target}/config" overwrite="false">
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <copy todir="${openam.temp.target}/js" overwrite="false">
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <fileset dir="src/main/webapp/com_sun_web_ui/js">
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <mkdir dir="${openam.temp.target}/WEB-INF/classes/META-INF/services"/>
3a6decfd748f532d5cb03fbcb7a42fa37b0faab3Christian Maeder <copy todir="${openam.temp.target}/WEB-INF/classes/META-INF/services" overwrite="false">
2f1781ab0a0a58328ef9d1ad8bda1984fd80259dChristian Maeder <fileset dir="src/main/webapp/META-INF/services">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <include name="com.sun.xml.ws.api.security.trust.STSAttributeProvider"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <include name="com.sun.xml.ws.api.security.trust.STSAuthorizationProvider"/>
0fdd7e2481e93a2b540617f0a24c4ee206a35e1cTill Mossakowski <include name="com.sun.xml.ws.api.security.trust.STSTokenProvider"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski <include name="com.sun.xml.ws.api.security.trust.config.STSConfiguration"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer name="com.sun.xml.ws.api.security.trust.config.STSConfigurationProvider"/>
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <include name="com.sun.xml.ws.assembler.ServerPipelineHook"/>
c46bd51db9d35bed0f8f83d3d1db78238bd89ae8Till Mossakowski remove duplicate entries in FederationConfig.properties against
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <java classname="com.sun.identity.setup.ConsolidateConfig"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer fork="true" failOnError="true" classpath="${build.class.path}">
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <arg value="${openam.temp.target}/WEB-INF/classes/AMConfig.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <arg value="${library.res.dir}/FederationPerServer.properties"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <arg value="${openam.temp.target}/WEB-INF/classes/AMConfig.properties"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <java classname="com.sun.identity.setup.ConsolidateConfig"
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <classpath refid="build.class.path"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openam.temp.target}/WEB-INF/classes/serverdefaults.properties"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${library.res.dir}/FederationConfig.properties"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openam.temp.target}/WEB-INF/classes/serverdefaults.properties"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <!-- update amConsoleConfig with federation tabs -->
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <java classname="com.sun.identity.setup.InsertContent"
d0642e0d269791a923f2bf86ea249f971f14addbChristian Maeder fork="true" failOnError="true" classpath="${build.class.path}">
602537decb7c714fbf6da6caa024ab3f10805276Christian Maeder <classpath refid="build.class.path"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <arg value="<tab id=\"2\".+?/tab>"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <arg value="${openfm.dir}/xml/console/fmConsoleConfiguration.xml"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <arg value="${openam.temp.target}/WEB-INF/classes/amConsoleConfig.xml"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <arg value="<tab id=\"4\""/>
d0642e0d269791a923f2bf86ea249f971f14addbChristian Maeder <!-- entities profile tabs -->
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <java classname="com.sun.identity.setup.InsertContent"
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="<profile id=\"SAMLv2\">.+?</profile>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openfm.dir}/xml/console/fmConsoleConfiguration.xml"/>
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <arg value="${openam.temp.target}/WEB-INF/classes/amConsoleConfig.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="</profiletabs>"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <java classname="com.sun.identity.setup.InsertContent"
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="<profile id=\"wsfed\">.+?</profile>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openfm.dir}/xml/console/fmConsoleConfiguration.xml"/>
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder <arg value="${openam.temp.target}/WEB-INF/classes/amConsoleConfig.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="</profiletabs>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <java classname="com.sun.identity.setup.InsertContent"
433bb7cb49200f4e6c7341101da25309e423c0e2Christian Maeder fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="<profile id=\"idff\">.+?</profile>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openfm.dir}/xml/console/fmConsoleConfiguration.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openam.temp.target}/WEB-INF/classes/amConsoleConfig.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="</profiletabs>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <java classname="com.sun.identity.setup.InsertContent"
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="<servlet>.+?</servlet>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${library.xml.dir}/web.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openam.temp.target}/WEB-INF/web.xml"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <arg value="<!- - servlet declaration - ->"/>
93dfeb7d82cf7d67776b0e7492bbe7e48af172a5Till Mossakowski <java classname="com.sun.identity.setup.InsertContent"
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer fork="true" failOnError="true" classpath="${build.class.path}">
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="<servlet-mapping>.+?</servlet-mapping>"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${library.xml.dir}/web.xml"/>
fe1771bb2ad4ad758a5654b277c1bb145d46701cTill Mossakowski <arg value="${openam.temp.target}/WEB-INF/web.xml"/>
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder <arg value="<!- - servlet mapping - ->"/>
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <!-- update web.xml with fed servlet info -->
970835ca7cec4085ba84151d5b901cde934ec8f6Thiemo Wiedemeyer <java classname="com.sun.identity.setup.InsertContent"
3b48bca4acd0ba91c879fa4c586795e26d99bb9cChristian Maeder fork="true" failOnError="true" classpath="${build.class.path}">
54ea981a0503c396c2923a1c06421c6235baf27fChristian Maeder <arg value="<context-param>.+?</context-param>"/>
7ab2df3001654dd1b7a2cfc3da1ccef11c39a503Christian Maeder <arg value="${openfm.dir}/xml/console/web.xml"/>
d0642e0d269791a923f2bf86ea249f971f14addbChristian Maeder <arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<java classname="com.sun.identity.setup.InsertContent"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openfm.dir}/xml/console/web.xml"/>
<arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<java classname="com.sun.identity.setup.InsertContent"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openfm.dir}/xml/console/web.xml"/>
<arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<!-- update web.xml with FAM STS info -->
<java classname="com.sun.identity.setup.InsertContent"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openfm.dir}/xml/wss/web.xml"/>
<arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<java classname="com.sun.identity.setup.InsertContent"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openfm.dir}/xml/wss/web.xml"/>
<arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<java classname="com.sun.identity.setup.InsertContent"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openfm.dir}/xml/wss/web.xml"/>
<arg value="${openam.temp.target}/WEB-INF/web.xml"/>
<java classname="com.sun.identity.setup.MergeProperties"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openam.temp.target}/WEB-INF/classes/configuratorPlugins.properties"/>
<java classname="com.sun.identity.setup.MergeProperties"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openam.temp.target}/WEB-INF/classes/serviceNames.properties"/>
<java classname="com.sun.identity.setup.MergeProperties"
fork="true" failOnError="true" classpath="${build.class.path}">
<arg value="${openam.temp.target}/WEB-INF/classes/serviceDefaultValues.properties"/>
<java classname="com.sun.identity.setup.MergeProperties" fork="true">
<arg value="${openam.temp.target}/WEB-INF/classes/configuratorTagSwap.properties"/>
<java classname="com.sun.identity.setup.InsertContent" fork="true">
<arg value="${library.xml.dir}/jaxrpc-ri-runtime.xml"/>
<arg value="${openam.temp.target}/WEB-INF/jaxrpc-ri-runtime.xml"/>
<mkdir dir="${war.packageweb.dir}"/>
<move file="${openam.temp.target}/WEB-INF/web.xml" tofile="${war.packageweb.dir}/web.xml"/>
<!--mkdir dir="${openam.temp.target}/samples" />
<copy todir="${openam.temp.target}/samples">
<fileset dir="${openfm.samples.dir}/war"