build/templates/pkgdef_template.xml
author hgs
Thu, 02 Sep 2010 13:22:59 +0300
changeset 67 63b81d807542
child 80 d6dafc5d983f
permissions -rw-r--r--
v2.2.13_1

<?xml version="1.0" encoding="UTF-8"?>
<SystemDefinition xmlns:qt="http://www.nokia.com/qt" schema="3.0.0">

  <package id="jrt" name="Java Runtime" levels="util generic rt ui">
  
    <!-- Plaform API collection, building this just exports the platform APIs headers -->
    
    <collection id="jrt_plat" name="JRT Platform Interfaces" level="ui">
      <component id="java_registry_api" name="Java Registry API" class="api" filter="s60">
        <meta rel="Api" href="jrt_plat/java_registry_api/java_registry_api.metaxml"/>
        <unit bldFile="jrt_plat/java_registry_api/build"/>
      </component>
      <component id="java_env_info_api" name="Java Environment Info API" class="api" filter="s60">
        <meta rel="Api" href="jrt_plat/java_env_info_api/java_env_info_api.metaxml"/>
        <unit bldFile="jrt_plat/java_env_info_api/build"/>
      </component>
      <component id="java_debug_api" name="Java Debug API" class="api" filter="s60">
        <meta rel="Api" href="jrt_plat/java_debug_api/java_debug_api.metaxml"/>
        <unit bldFile="jrt_plat/java_debug_api/build"/>
      </component>
    </collection>
    
    
    <!-- A Pseudo collection, building this exports e.g. the ODC and IBY files, 
         generates the stub sis file for the jrt package and builds the java 
         sources (including the JNI headers needed in native compilation). -->
         
    <collection id="build_nativejava" name="Build Native Java">
      <component id="nativejava" name="Build Native Java" filter="s60" introduced="^4">
        <unit bldFile="build"/>
      </component>      
    </collection>

    
    <!-- Real collections, building these builds the native resources and native sources. -->
    
    <collection id="javacommons" name="Java Commons" level="generic">
      <component id="javacommons_build" filter="s60" name="Java Commons Build">
        <unit bldFile="javacommons" qt:proFile="javacommons.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    <collection id="javaruntimes" name="Java Runtimes" level="rt">
      <component id="javaruntimes_build" filter="s60" name="Java Runtimes Build">
        <unit bldFile="javaruntimes" qt:proFile="javaruntimes.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    <collection id="javauis" name="Java UIs" level="ui">
      <component id="javauis_build" filter="s60" name="Java UIs Build">
        <unit bldFile="javauis" qt:proFile="javauis.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    <collection id="javamanager" name="Java Manager" level="generic">
      <component id="javamanager_build" filter="s60" name="Java Manager Build">
        <unit bldFile="javamanager" qt:proFile="javamanager.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    <collection id="javatools" name="Java Tools" level="util">
      <component id="javatools_build" filter="s60" name="Java Tools Build">
        <unit bldFile="javatools" qt:proFile="javatools.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    <collection id="javaextensions" name="Java Extensions" level="generic">
      <component id="javaextensions_build" filter="s60" name="Java Extensions Build">
        <unit bldFile="javaextensions" qt:proFile="javaextensions.pro" qt:qmakeArgs="-r RD_JAVA_SF_BUILD=1"/>
      </component>
    </collection>
    
  </package>
</SystemDefinition>