|
1 <!-- |
|
2 # |
|
3 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 # All rights reserved. |
|
5 # This component and the accompanying materials are made available |
|
6 # under the terms of "Eclipse Public License v1.0" |
|
7 # which accompanies this distribution, and is available |
|
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 # |
|
10 # Initial Contributors: |
|
11 # Nokia Corporation - initial contribution. |
|
12 # |
|
13 # Contributors: |
|
14 # |
|
15 # Description: |
|
16 # |
|
17 --> |
|
18 |
|
19 <project name="javahttp" default="deploy" basedir="."> |
|
20 <description> |
|
21 Builds GCF http1 |
|
22 </description> |
|
23 |
|
24 <import file="../../../../build/utilities.xml"/> |
|
25 |
|
26 |
|
27 <target name="init.component.properties"> |
|
28 <condition property="java.src.paths" |
|
29 value="../javasrc.s60"> |
|
30 <isset property="target.s60" /> |
|
31 </condition> |
|
32 |
|
33 <condition property="java.src.paths" |
|
34 value="../javasrc.linux"> |
|
35 <isset property="target.linux" /> |
|
36 </condition> |
|
37 |
|
38 |
|
39 <echo message="java.src.paths = ${java.src.paths}"/> |
|
40 </target> |
|
41 |
|
42 <target name="system.properties"> |
|
43 <properties> |
|
44 com.nokia.mj.impl.http.proxy=:http.DynamicPropertyHandler |
|
45 </properties> |
|
46 </target> |
|
47 |
|
48 |
|
49 <!-- Needed by the utilities.xml. See the description form the utilities.xml |
|
50 file --> |
|
51 <condition property="javah.classnames" |
|
52 value="com.nokia.mj.impl.properties.http.DynamicPropertyHandler"> |
|
53 <isset property="target.linux" /> |
|
54 </condition> |
|
55 |
|
56 <condition property="javah.classnames" |
|
57 value="com.nokia.mj.impl.http.HttpConnectionNative"> |
|
58 <isset property="target.s60" /> |
|
59 </condition> |
|
60 |
|
61 <target name="create.internal.api.jar"> |
|
62 <omj.internal.apis includes="com/nokia/mj/impl/http/HttpConnectionNative.class, |
|
63 com/nokia/mj/impl/http/NativeHttpByteSource.class, |
|
64 com/nokia/mj/impl/http/HttpClientConnection.class, |
|
65 com/nokia/mj/impl/gcf/protocol/http/Protocol.class, |
|
66 com/nokia/mj/impl/gcf/protocol/http/Connections.class"/> |
|
67 </target> |
|
68 |
|
69 <target name="create.public.api.jar"> |
|
70 <omj.public.apis includes="javax/microedition/io/HttpConnection.class, |
|
71 javax/microedition/io/HttpsConnection.class"/> |
|
72 </target> |
|
73 |
|
74 </project> |
|
75 |