<!--
#
# 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="javacomm" default="deploy" basedir=".">
    <description>
        Builds GCF CommConnection
    </description>


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

  <!-- Needed by the utilities.xml. See the description form the utilities.xml
       file -->

  <property name="javah.classnames" 
            value="com.nokia.mj.impl.comm.CommConnectionImpl,
            com.nokia.mj.impl.properties.comm.DynamicPropertyHandler "/>

  <!-- Setting all classes to be visible to everybody. TODO: Check is it correct to publish all the classes -->
  
  <target name="system.properties">
    <properties>
      microedition.commports=:comm.DynamicPropertyHandler
    </properties>
  </target>
   
  <target name="create.public.api.jar">
  	<omj.public.apis includes="javax/microedition/io/CommConnection.class"/>
  </target>
  
</project>

