Skip to main content

Source code file content

Revision: 57029

GLASSFISH-18987 Remove call to getService in critical path
» Project Revision History

» Checkout URL

svn / tags / source-build-3.1.1 / scripts / solarisrealm.xml

Size: 1751 bytes, 1 line
<?xml version="1.0" encoding="iso-8859-1"?>

<project name="SolarisRealm source integration for security" default="build" basedir="..">

    <!-- import build.xml for init target and inherited properties -->
    <import file="${basedir}/build.xml"/>

    <target name="checkout" depends="init,check.svn,os-init" if="isSolaris" unless="skipCheckout">
        <svn.checkout repo="${solrealm.svn.url}" dest="solarisrealm"/>
    </target>

    <!--Build is possible only for solaris systems, do not run for other OS-->
    <target name="build" depends="checkout" if="isSolaris">
        <!-- build solrealm -->
        <ant dir="${glassfish.external.dir}/solarisrealm" target="build-solrealm">
            <property name="module.jar.file"
                value="${maven.repo.local}/org/glassfish/security/security/${project.version}/security-${project.version}.jar"/>
        </ant>
	<antcall target="install-solrealm"/>
    </target>

    <target name="install-solrealm">
        <condition property="solarisrealmartid"
            value="libsolsparcauth" else="libsolx86auth">
            <isset property="isSolarisSparc" />
        </condition>
        <mvn.publish.local file="${glassfish.external.dir}/solarisrealm/libsolarisauth.so"
            packaging="so"
            groupId="solarisrealm"
            artifactId="${solarisrealmartid}"
            version="${solrealm.version}"
            generatepom="false" />
    </target>

    <target name="os-init">
	  <condition property="isSolaris">
	    <os name="SunOS"/>
  	 </condition>
	  <condition property="isSolarisSparc">
	    <os name="SunOS" arch="sparc"/>
  	 </condition>
	  <condition property="isSolarisx86">
	    <os name="SunOS" arch="x86"/>
  	 </condition>
    </target>
</project>
 
 
Close
loading
Please Confirm
Close