0a99555401a033704f1f171baab6db11fb5528f2Allan Foster<!--
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster The contents of this file are subject to the terms
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster of the Common Development and Distribution License
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster (the License). You may not use this file except in
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster compliance with the License.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster You can obtain a copy of the License at
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster https://opensso.dev.java.net/public/CDDLv1.0.html or
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster opensso/legal/CDDLv1.0.txt
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster See the License for the specific language governing
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster permission and limitations under the License.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster When distributing Covered Code, include this CDDL
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster Header Notice in each file and include the License file
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster at opensso/legal/CDDLv1.0.txt.
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster If applicable, add the following below the CDDL Header,
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster with the fields enclosed by brackets [] replaced by
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster your own identifying information:
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster "Portions Copyrighted [year] [name of copyright owner]"
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster $Id: build.xml,v 1.13 2008/11/20 17:53:01 veiming Exp $
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster-->
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster<!--
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster Portions Copyrighted 2012 ForgeRock Inc
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster-->
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster<project name="openam" default="all">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <description>OpenAM - AM Server Unit Tests</description>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <taskdef resource="testngtasks" classpath="lib/testng-5.9-jdk15.jar"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="classes.dir" location="classes"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="test.classes.dir" location="test/classes"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="lib.dir" location="lib"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="output.dir" location="output"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="logs.dir" location="logs"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="template.dir" location="template"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="report.dir" location="report"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="testng.dir" value="testng"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="log.level" value="ALL"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <path id="build.class.path">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <pathelement location="${classes.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <pathelement location="${test.classes.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <fileset dir="${lib.dir}">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <include name="**/*.jar"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </fileset>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </path>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <target name="all">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <condition property="debug" value="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9009 -Xnoagent">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <isset property="debugTest" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </condition>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <property name="debug" value="" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <delete dir="${output.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <mkdir dir="${output.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <delete dir="${logs.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <mkdir dir="${logs.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <testng outputdir="${output.dir}" dumpCommand="true" classpathref="build.class.path">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <xmlfileset dir="${testng.dir}" includes="*" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <jvmarg value="-ea" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <jvmarg line="${debug}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <sysproperty key="bootstrap.dir" value="${bootstrap.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <sysproperty key="log.level" value="${log.level}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </testng>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster<!-- <java classname="org.testng.TestNG" fork="true">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <jvmarg value="-Dbootstrap.dir=${bootstrap.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <jvmarg value="-Dlog.level=${log.level}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <jvmarg value="-ea"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="-d"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${output.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${testng.dir}/idm-testng.xml"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${testng.dir}/sms-testng.xml"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${testng.dir}/cli-testng.xml"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${testng.dir}/log-testng.xml"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${testng.dir}/policy-testng.xml"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <classpath refid="build.class.path"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </java-->
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <antcall target="report" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </target>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <target name="report">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <delete dir="${report.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <mkdir dir="${report.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <copy file="${template.dir}/default.css" tofile="${report.dir}/default.css" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <java classname="com.sun.identity.shared.test.tools.ReportGenerator" fork="true">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${output.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${template.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <arg value="${report.dir}"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <classpath refid="build.class.path"/>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </java>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </target>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <target name="clean">
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <delete dir="${output.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster <delete dir="${report.dir}" />
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster </target>
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster
0a99555401a033704f1f171baab6db11fb5528f2Allan Foster</project>