7237N/A<?xml version="1.0" encoding="UTF-8"?>
7237N/A<!--
7237N/A
7237N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7237N/A
7237N/A Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
7237N/A
7237N/A The contents of this file are subject to the terms of either the GNU
7237N/A General Public License Version 2 only ("GPL") or the Common Development
7237N/A and Distribution License("CDDL") (collectively, the "License"). You
7237N/A may not use this file except in compliance with the License. You can
7237N/A obtain a copy of the License at
7237N/A https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
7237N/A or packager/legal/LICENSE.txt. See the License for the specific
7237N/A language governing permissions and limitations under the License.
7237N/A
7237N/A When distributing the software, include this License Header Notice in each
7237N/A file and include the License file at packager/legal/LICENSE.txt.
7237N/A
7237N/A GPL Classpath Exception:
7237N/A Oracle designates this particular file as subject to the "Classpath"
7237N/A exception as provided by Oracle in the GPL Version 2 section of the License
7237N/A file that accompanied this code.
7237N/A
7237N/A Modifications:
7237N/A If applicable, add the following below the License Header, with the fields
7237N/A enclosed by brackets [] replaced by your own identifying information:
7237N/A "Portions Copyright [year] [name of copyright owner]"
7237N/A
7237N/A Contributor(s):
7237N/A If you wish your version of this file to be governed by only the CDDL or
7237N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
7237N/A elects to include this software in this distribution under the [CDDL or GPL
7237N/A Version 2] license." If you don't indicate a single choice of license, a
7237N/A recipient has the option to distribute your version of this file under
7237N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
7237N/A its licensees as provided above. However, if you add GPL Version 2 code
7237N/A and therefore, elected the GPL Version 2 license, then the option applies
7237N/A only if the new code is made subject to such option by the copyright
7237N/A holder.
7237N/A
7237N/A-->
7237N/A
7237N/A<project name="singleton" default="default" basedir=".">
7237N/A <property file="build.properties"/>
7237N/A <property file="${ws.root}/gfproject/${deploy.platform}-config.properties"/>
7237N/A
7237N/A <description>Builds, tests, and runs the project JdbcUserTx Application</description>
7237N/A <import file="${ws.root}/gfproject/build-impl.xml"/>
7237N/A <import file="${ws.root}/gfproject/${deploy.platform}-targets.xml"/>
7237N/A
7237N/A <target name="all" depends="build,deploy,redeploy,runtest,undeploy" />
7237N/A <target name="build-deploy" depends="build,deploy,redeploy" />
7237N/A
7237N/A
7237N/A <target name="build" depends="compile-tests">
7237N/A <antcall target="build-impl">
7237N/A <param name="war.classes" value="**/*Servlet.class,**/*Interface.class"/>
7237N/A </antcall>
7237N/A </target>
7237N/A
7237N/A <target name="deploy">
7237N/A <antcall target="deploy-${deploy.platform}-impl"/>
7237N/A </target>
7237N/A
7237N/A <target name="redeploy">
7237N/A <antcall target="re-deploy-${deploy.platform}">
7237N/A <param name="redeploy" value="--force=true"/>
7237N/A </antcall>
7237N/A </target>
7237N/A
7237N/A <target name="runtest">
7237N/A <antcall target="runtest-impl">
7237N/A <param name="contextroot" value="${testng.test.name}"/>
7237N/A <param name="testng.test.name" value="${testng.test.name}"/>
7237N/A <param name="testng.testclient" value="SingletonTestNG"/>
7237N/A </antcall>
7237N/A
7237N/A </target>
7237N/A
7237N/A <target name="undeploy">
7237N/A <antcall target="undeploy-${deploy.platform}-impl"/>
7237N/A </target>
7237N/A
7237N/A</project>
7237N/A