carbideui/CarbideUIBuildScript/BuildScript/com.nokia.tools.s60.ide.releng.builder/commonTargets.xml
author vasuds@2INL03378.NOE.Nokia.com
Wed, 07 Jul 2010 16:18:07 +0530
changeset 0 a44900f0f001
permissions -rw-r--r--
Carbide.ui source under EPL for ver3.0

<?xml version="1.0"?>
<project name="project">
        <property name="packageDir" value="${buildRoot}/../../Downloads" />

        <target name="extractBuilds">
                <available file="${buildDirectory}/plugins/org.eclipse.platform/plugin.xml" property="eclipseExists" />
                <antcall target="extractEclipse" />
                <available file="${buildDirectory}/plugins/org.eclipse.emf/plugin.xml" property="emfExists" />
                <antcall target="extractEmf" />
                <available file="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" property="gefExists" />
                <antcall target="extractGef" />
        </target>

        <target name="extract">
                <exec dir="${buildDirectory}/.." executable="unzip">
                        <arg line="-o -qq ${buildRoot}/../../Downloads/${zipname}" />
                </exec>

                <!-- <stripVersions directory="${buildDirectory}/plugins" /> -->
        </target>

        <target name="extractEclipse">
                <antcall target="extract">
                        <param name="zipname" value="eclipse-platform.zip" />
                </antcall>
        </target>

        <target name="extractGef" unless="gefExists">
                <antcall target="extract">
                        <param name="zipname" value="gef.zip" />
                </antcall>
        </target>

        <target name="extractEmf" unless="emfExists">
                <antcall target="extract">
                        <param name="zipname" value="emf.zip" />
                </antcall>
        </target>
</project>