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 / branches / v3_prelude_release / packager / common-targets.xml

Size: 2096 bytes, 1 line
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the "License").  You may not use this file except
in compliance with the License.

You can obtain a copy of the license at
glassfish/bootstrap/legal/CDDLv1.0.txt or
https://glassfish.dev.java.net/public/CDDLv1.0.html.
See the License for the specific language governing
permissions and limitations under the License.

When distributing Covered Code, include this CDDL
HEADER in each file and include the License file at
glassfish/bootstrap/legal/CDDLv1.0.txt.  If applicable,
add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your
own identifying information: Portions Copyright [yyyy]
[name of copyright owner]
-->
<project name="common-targets">
    <target name="init">
        <available property="present" 
                   file="target/stage/glassfishv3-prelude/glassfish/modules" type="dir" />
    </target> 
    <target name="pack.compression" depends="init" if="present">
	<!-- pack200 compression -->
        <apply executable="pack200" 
               dest="target/stage/glassfishv3-prelude/glassfish/modules" parallel="false">
            <targetfile/>
            <srcfile/>
            <fileset dir="target/stage/glassfishv3-prelude/glassfish/modules" 
                     includes="**/*.jar" />
            <mapper type="glob" from="*.jar" to="*.pack.gz"/>
        </apply>
        <apply executable="unpack200" 
               dest="target/stage/glassfishv3-prelude/glassfish/modules" parallel="false">
            <srcfile/>
            <targetfile/>
            <fileset dir="target/stage/glassfishv3-prelude/glassfish/modules" 
                     includes="**/*.pack.gz" />
            <mapper type="glob" from="*.pack.gz" to="*.jar"/>
        </apply>
	<!-- remove *.pack.gz files -->
        <delete>
            <fileset dir="target/stage/glassfishv3-prelude/glassfish/modules" 
                     includes="**/*.pack.gz"/>
        </delete>
    </target>

</project>
 
 
Close
loading
Please Confirm
Close