|
1 <!-- |
|
2 # |
|
3 # Copyright (c) 2010 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="LabelTestMidletSuite" default="pack"> |
|
20 |
|
21 <!-- Get general settings for MIDlet projects. --> |
|
22 <import file="../../properties.xml"/> |
|
23 |
|
24 <!-- Set properties for this project. --> |
|
25 <property name="midlet1.name" value="LabelTestMIDlet_01"/> |
|
26 <property name="midlet1.icon.name" value="icon.png"/> |
|
27 <property name="midlet1.package.name" value="com.nokia.test.java.eswt.label.LabelTestMIDlet_01"/> |
|
28 <property name="midlet2.name" value="LabelTestMIDlet_02"/> |
|
29 <property name="midlet2.icon.name" value="icon.png"/> |
|
30 <property name="midlet2.package.name" value="com.nokia.test.java.eswt.label.LabelTestMIDlet_02"/> |
|
31 <property name="midlet3.name" value="LabelTestMIDlet_03"/> |
|
32 <property name="midlet3.icon.name" value="icon.png"/> |
|
33 <property name="midlet3.package.name" value="com.nokia.test.java.eswt.label.LabelTestMIDlet_03"/> |
|
34 <property name="midlet.permissions" value=""/> |
|
35 <property name="package.name" value="LabelTestMidletSuite"/> |
|
36 <property name="company.name" value="Nokia"/> |
|
37 <property name="midlet.version" value="1.1"/> |
|
38 <property name="midlet.description" value=""/> |
|
39 |
|
40 <!-- Package Preverifed classes, resources and MANIFEST file --> |
|
41 <target name="pack" depends="preverify"> |
|
42 <wtkjad jadfile="${bin}/${package.name}.jad" |
|
43 jarfile="${bin}/${package.name}.jar" |
|
44 update="true" |
|
45 config="1.1" |
|
46 profile="2.1" |
|
47 manifest="${bin}/MANIFEST.MF" |
|
48 name="${package.name}" |
|
49 vendor="${company.name}"> |
|
50 <attribute name="MIDlet-Permissions" value="${midlet.permissions}"/> |
|
51 <attribute name="MicroEdition-Profile" value="MIDP-2.1"/> |
|
52 <attribute name="MicroEdition-Configuration" value="CLDC-1.1"/> |
|
53 <attribute name="MIDlet-Version" value="${midlet.version}"/> |
|
54 <attribute name="MIDlet-Description" value="${midlet.description}"/> |
|
55 <midlet name="${midlet1.name}" icon="${midlet1.icon.name}" class="${midlet1.package.name}" /> |
|
56 <midlet name="${midlet2.name}" icon="${midlet2.icon.name}" class="${midlet2.package.name}" /> |
|
57 <midlet name="${midlet3.name}" icon="${midlet3.icon.name}" class="${midlet3.package.name}" /> |
|
58 </wtkjad> |
|
59 |
|
60 <wtkpackage |
|
61 jarfile="${bin}/${package.name}.jar" |
|
62 jadfile="${bin}/${package.name}.jad" |
|
63 classpath="${project.class.path}" |
|
64 basedir="${prever}" |
|
65 autoversion="false"> |
|
66 <fileset dir="${res}" |
|
67 excludes="**/distribution.policy.s60" /> |
|
68 </wtkpackage> |
|
69 </target> |
|
70 |
|
71 </project> |