|
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="javalocation" default="deploy" basedir="."> |
|
20 <description> |
|
21 Builds Location API |
|
22 </description> |
|
23 |
|
24 <import file="../../../build/utilities.xml"/> |
|
25 |
|
26 <!-- Needed by the utilities.xml. See the description form the utilities.xml |
|
27 file --> |
|
28 |
|
29 <property name="javah.classnames" |
|
30 value="com.nokia.mj.impl.location.LandmarkStoreManager, |
|
31 com.nokia.mj.impl.location.LAPIManager, |
|
32 javax.microedition.location.Landmark, |
|
33 javax.microedition.location.Coordinates, |
|
34 javax.microedition.location.LandmarkStore, |
|
35 javax.microedition.location.Orientation, |
|
36 com.nokia.mj.impl.location.LocationProviderImpl, |
|
37 com.nokia.mj.impl.location.Positioner, |
|
38 javax.microedition.location.LocationProvider, |
|
39 javax.microedition.location.Location"/> |
|
40 |
|
41 <target name="system.properties"> |
|
42 <properties> |
|
43 microedition.location.version=1.0 |
|
44 </properties> |
|
45 </target> |
|
46 |
|
47 <!-- conditional compilation variation depending upon the platform |
|
48 --> |
|
49 <target name="init.component.properties"> |
|
50 <condition property="java.src.paths" value="../common/javasrc.s60:../landmarks/javasrc.s60:../orientation/javasrc.s60:../position/javasrc.s60/javasrc:../position/javasrc.s60/javasrc.proximity" else="../common/javasrc.s60:../landmarks/javasrc.s60:../orientation/javasrc.s60:../position/javasrc.s60/javasrc:../position/javasrc.s60/javasrc.noproximity"> |
|
51 <isset property="RD_JAVA_PROXIMITY_LISTENER_ENABLED"/> |
|
52 </condition> |
|
53 </target> |
|
54 |
|
55 <target name="create.public.api.jar"> |
|
56 <omj.public.apis includes="javax/microedition/location/Landmark.class, |
|
57 javax/microedition/location/LandmarkStore.class, |
|
58 javax/microedition/location/AddressInfo.class, |
|
59 javax/microedition/location/Coordinates.class, |
|
60 javax/microedition/location/QualifiedCoordinates.class, |
|
61 javax/microedition/location/LandmarkException.class, |
|
62 javax/micoredition/location/Orientation.class, |
|
63 javax/microedition/location/LocationProvider.class, |
|
64 javax/microedition/location/Criteria.class, |
|
65 javax/microedition/location/Location.class, |
|
66 javax/microedition/location/LocationException.class, |
|
67 javax/microedition/location/LocationListener.class, |
|
68 javax/microedition/location/ProximityListener.class"/> |
|
69 </target> |
|
70 |
|
71 </project> |