0N/A<!--
1091N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0N/A
0N/A Copyright (c) 2012-2014 ForgeRock AS. All Rights Reserved
0N/A
0N/A The contents of this file are subject to the terms
0N/A of the Common Development and Distribution License
0N/A (the License). You may not use this file except in
0N/A compliance with the License.
0N/A
0N/A You can obtain a copy of the License at
0N/A http://forgerock.org/license/CDDLv1.0.html
0N/A See the License for the specific language governing
0N/A permission and limitations under the License.
0N/A
0N/A When distributing Covered Code, include this CDDL
0N/A Header Notice in each file and include the License file
0N/A at http://forgerock.org/license/CDDLv1.0.html
0N/A If applicable, add the following below the CDDL Header,
0N/A with the fields enclosed by brackets [] replaced by
0N/A your own identifying information:
0N/A "Portions Copyrighted [year] [name of copyright owner]"
0N/A-->
0N/A<project default="fedlet">
0N/A <target name="fedlet">
0N/A <mkdir dir="built/dist/.zip"/>
0N/A <fail message="Source code is not compiled yet">
0N/A <condition>
0N/A <not>
0N/A <available file="Fedlet/Fedlet/bin/Release/Fedlet.dll" />
0N/A </not>
0N/A </condition>
0N/A </fail>
0N/A <copy todir="built/dist/.zip" file="readme.txt" />
0N/A <copy todir="built/dist/.zip/bin" file="Fedlet/Fedlet/bin/Release/Fedlet.dll" />
0N/A <copy todir="built/dist/.zip/bin" file="Fedlet/Fedlet/bin/Release/Fedlet.pdb" />
0N/A <copy todir="built/dist/.zip/conf">
0N/A <fileset dir="Fedlet/Fedlet/conf">
0N/A <include name="*.cot-template"/>
0N/A <include name="*.xml-template"/>
1554N/A </fileset>
0N/A </copy>
0N/A <copy todir="built/dist/.zip/SampleApp">
0N/A <fileset dir="Fedlet/SampleApp">
0N/A <include name="Web.config"/>
0N/A <include name="site.master"/>
0N/A <include name="App_Data/*" />
0N/A <include name="bin/*.dll" />
0N/A <include name="**/*.aspx"/>
0N/A <include name="**/*.png"/>
0N/A <include name="**/*.jpg"/>
0N/A <include name="**/*.gif"/>
0N/A <include name="**/*.css"/>
0N/A <include name="**/*.js"/>
0N/A </fileset>
0N/A </copy>
0N/A <zip destfile="built/dist/Fedlet-aspnet.zip">
0N/A <zipfileset dir="built/dist/.zip" prefix=""/>
0N/A </zip>
0N/A <delete dir="built/dist/.zip" />
0N/A
0N/A <checksum file="built/dist/Fedlet-aspnet.zip" algorithm="SHA" fileext=".sha" />
0N/A <tstamp>
0N/A <format property="time.stamp" pattern="yyyyMMdd"/>
0N/A </tstamp>
0N/A <filter token="BUILD_DATE" value="${time.stamp}" />
0N/A <copy file="build_date.js.template"
0N/A tofile="built/dist/build_date.js" filtering="true"/>
0N/A </target>
0N/A
0N/A <target name="clean">
0N/A <delete dir="built" />
0N/A </target>
0N/A</project>
0N/A