carbideui/CarbideUIBuildScript/BuildScript/com.nokia.tools.s60.ide.releng.builder/commonTargets.xml
changeset 0 a44900f0f001
equal deleted inserted replaced
-1:000000000000 0:a44900f0f001
       
     1 <?xml version="1.0"?>
       
     2 <project name="project">
       
     3         <property name="packageDir" value="${buildRoot}/../../Downloads" />
       
     4 
       
     5         <target name="extractBuilds">
       
     6                 <available file="${buildDirectory}/plugins/org.eclipse.platform/plugin.xml" property="eclipseExists" />
       
     7                 <antcall target="extractEclipse" />
       
     8                 <available file="${buildDirectory}/plugins/org.eclipse.emf/plugin.xml" property="emfExists" />
       
     9                 <antcall target="extractEmf" />
       
    10                 <available file="${buildDirectory}/plugins/org.eclipse.gef/plugin.xml" property="gefExists" />
       
    11                 <antcall target="extractGef" />
       
    12         </target>
       
    13 
       
    14         <target name="extract">
       
    15                 <exec dir="${buildDirectory}/.." executable="unzip">
       
    16                         <arg line="-o -qq ${buildRoot}/../../Downloads/${zipname}" />
       
    17                 </exec>
       
    18 
       
    19                 <!-- <stripVersions directory="${buildDirectory}/plugins" /> -->
       
    20         </target>
       
    21 
       
    22         <target name="extractEclipse">
       
    23                 <antcall target="extract">
       
    24                         <param name="zipname" value="eclipse-platform.zip" />
       
    25                 </antcall>
       
    26         </target>
       
    27 
       
    28         <target name="extractGef" unless="gefExists">
       
    29                 <antcall target="extract">
       
    30                         <param name="zipname" value="gef.zip" />
       
    31                 </antcall>
       
    32         </target>
       
    33 
       
    34         <target name="extractEmf" unless="emfExists">
       
    35                 <antcall target="extract">
       
    36                         <param name="zipname" value="emf.zip" />
       
    37                 </antcall>
       
    38         </target>
       
    39 </project>