<!--
#
# 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="javawebservices" default="deploy" basedir=".">
  <description>
    Builds WebServices API
  </description>

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

  <!-- If there is no ../javasrc then this component is variated away from 
       current release, and nothing is compiled. The component is kept so
       that no other places need to be varied except the sources. -->
  <available property="sources.exist" file="../javasrc" />
  <target name="compile" if="sources.exist">
    <omj.javac />
  </target>

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

  <target name="create.public.api.jar">
      <omj.public.apis includes="
          org/xml/sax/Attributes.class,
          org/xml/sax/InputSource.class,
          org/xml/sax/Locator.class,
          org/xml/sax/SAXException.class,
          org/xml/sax/SAXNotRecognizedException.class,
          org/xml/sax/SAXNotSupportedException.class,
          org/xml/sax/SAXParseException.class,
          org/xml/sax/helpers/DefaultHandler.class,
          java/rmi/MarshalException.class,
          java/rmi/Remote.class,
          java/rmi/RemoteException.class,
          java/rmi/ServerException.class,
          javax/xml/parsers/FactoryConfigurationError.class,
          javax/xml/parsers/ParserConfigurationException.class,
          javax/xml/parsers/SAXParser.class,
          javax/xml/parsers/SAXParserFactory.class,
          javax/xml/namespace/QName.class,
          javax/xml/rpc/JAXRPCException.class,
          javax/xml/rpc/NamespaceConstants.class,
          javax/xml/rpc/Stub.class,
          javax/microedition/xml/rpc/ComplexType.class,
          javax/microedition/xml/rpc/Element.class,
          javax/microedition/xml/rpc/FaultDetailException.class,
          javax/microedition/xml/rpc/FaultDetailHandler.class,
          javax/microedition/xml/rpc/Operation.class,
          javax/microedition/xml/rpc/Type.class"/>
  </target>

  <target name="system.properties">
    <properties>
        xml.rpc.subset.version=1.0
        xml.jaxp.subset.version=1.0
    </properties>
  </target>
</project>
