javacommons/utils/build/build.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:48:13 +0300
branchRCL_3
changeset 24 6c158198356e
parent 18 9ac0a0a7da70
permissions -rw-r--r--
Revision: v2.2.9 Kit: 201033

<!--
#
# Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
#
-->

<project name="javautils" default="deploy.dual" basedir=".">

  <import file="../../../build/utilities.xml"/>

  <property name="java.src.paths" value="../javasrc:../../jvms/cldc_1.1.1/javasrc"/>

  <property name="javah.classnames" 
            value="com.nokia.mj.impl.utils.DebugUtils,
                   com.nokia.mj.impl.utils.Logger,
                   com.nokia.mj.impl.utils.StartUpTrace,
                   com.nokia.mj.impl.properties.common.FreeMemory,
                   com.nokia.mj.impl.properties.common.Locale,
                   com.nokia.mj.impl.properties.common.Platform,
                   com.nokia.mj.impl.utils.Formatter,
                   com.nokia.mj.impl.utils.InstallerErrorMessage,
                   com.nokia.mj.impl.utils.ResourceLoader"/>

  <target name="system.properties">
      <properties>
          microedition.configuration=CLDC-1.1
          microedition.locale=:common.Locale
          microedition.platform=:common.Platform
          com.nokia.memoryramfree=:common.FreeMemory
      </properties>
  </target>

  <!-- Setting all classes to be visible to everybody -->
  <target name="create.internal.api.jar">
    <omj.internal.apis includes=
                 "com/nokia/mj/impl/utils/**/*.class,
                  com/nokia/mj/impl/rt/legacy/LegacySupport.class,
                  com/nokia/mj/impl/rt/support/ApplicationInfo.class,
                  com/nokia/mj/impl/rt/support/ApplicationUtils.class,
                  com/nokia/mj/impl/rt/support/Finalizer.class,
                  com/nokia/mj/impl/rt/support/Jvm.class,
                  com/nokia/mj/impl/rt/support/JvmInternal.class,
                  com/nokia/mj/impl/rt/support/MemoryManager.class,
                  com/nokia/mj/impl/rt/support/MemoryManagerCtr.class,
                  com/nokia/mj/impl/rt/support/MemoryToken.class,
                  com/nokia/mj/impl/rt/support/NativeMemoryBlock.class,
                  com/nokia/mj/impl/rt/support/ShutdownListener.class,
                  com/nokia/mj/impl/rt/support/SystemPropertyProvider.class,
                  com/nokia/mj/impl/rt/support/ThreadEventListener.class,
                  com/nokia/mj/impl/rt/ui/ConfirmData.class,
                  com/nokia/mj/impl/rt/ui/RuntimeUi.class,
                  com/nokia/mj/impl/rt/ui/RuntimeUiFactory.class,
                  com/nokia/mj/impl/rt/ui/RuntimeUiTexts.class,
                  com/nokia/mj/impl/coreui/CoreUi.class,
                  java/lang/RuntimePermission.class,
                  java/security/AccessControlException.class,
                  java/security/BasicPermission.class,
                  java/security/Permission.class,
                  java/security/PermissionCollection.class,
                  java/util/PropertyPermission.class,
                  java/util/TaskQueue.class,
                  javax/microedition/io/CommProtocolPermission.class,
                  javax/microedition/io/DatagramProtocolPermission.class,
                  javax/microedition/io/FileProtocolPermission.class,
                  javax/microedition/io/GCFPermission.class,
                  javax/microedition/io/HttpProtocolPermission.class,
                  javax/microedition/io/HttpsProtocolPermission.class,
                  javax/microedition/io/SocketProtocolPermission.class,
                  javax/microedition/io/SSLProtocolPermission.class"/>
  </target>


  <target name="create.public.api.jar">
    <omj.public.apis includes="java/lang/IllegalStateException.class,
                               java/util/Timer.class,
                               java/util/TimerTask.class"/>
  </target>

</project>