<!--
#
# 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="javahttp" default="deploy" basedir=".">
<description>
Builds GCF http1
</description>
<import file="../../../../build/utilities.xml"/>
<target name="init.component.properties">
<condition property="java.src.paths"
value="../javasrc.s60">
<isset property="target.s60" />
</condition>
<condition property="java.src.paths"
value="../javasrc.linux">
<isset property="target.linux" />
</condition>
<echo message="java.src.paths = ${java.src.paths}"/>
</target>
<target name="system.properties">
<properties>
com.nokia.mj.impl.http.proxy=:http.DynamicPropertyHandler
</properties>
</target>
<!-- Needed by the utilities.xml. See the description form the utilities.xml
file -->
<condition property="javah.classnames"
value="com.nokia.mj.impl.properties.http.DynamicPropertyHandler">
<isset property="target.linux" />
</condition>
<condition property="javah.classnames"
value="com.nokia.mj.impl.http.HttpConnectionNative">
<isset property="target.s60" />
</condition>
<target name="create.internal.api.jar">
<omj.internal.apis includes="com/nokia/mj/impl/http/HttpConnectionNative.class,
com/nokia/mj/impl/http/NativeHttpByteSource.class,
com/nokia/mj/impl/http/HttpClientConnection.class,
com/nokia/mj/impl/gcf/protocol/http/Protocol.class,
com/nokia/mj/impl/gcf/protocol/http/Connections.class"/>
</target>
<target name="create.public.api.jar">
<omj.public.apis includes="javax/microedition/io/HttpConnection.class,
javax/microedition/io/HttpsConnection.class"/>
</target>
</project>