Bonjour,
Je viens de récupérer la derniere version de J2ME Polish que j'utilise avec Eclipse 3.2

Afin de tester les capacités de Polish, j'ai souhaité essayer les samples de démo, et "menu" qui est le sample décrit dans le tuto du site officiel ici:
http://www.j2mepolish.org/docs/tutorial.html


Je crée dnoc un nouveau polish J2ME project et j'y met les sources du sample, jusque là pas de pb.

Par contre quand je veux builder avec le fichier ant build.xml fourni, je fais clic droit, run as "ant build... J2MEPolish Default" ça me donne cette erreur.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Buildfile: C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build.xml
init:
j2mepolish:
[j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
[j2mepolish] Loading device database...
[j2mepolish] Processing [7] devices...
[j2mepolish] Building application for [Generic/Midp2Cldc11] (1/7):
[j2mepolish] Using locale [de_DE]...
[j2mepolish] assembling resources for device [Generic/Midp2Cldc11].
[j2mepolish] preprocessing for device [Generic/Midp2Cldc11].
[j2mepolish] compiling for device [Generic/Midp2Cldc11].
[j2mepolish-javac-Generic/Midp2Cldc11] Compiling 122 source files to C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build\real\Generic\Midp2Cldc11\de_DE\classes
    [javac] Internal J2ME Polish class: C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build\real\Generic\Midp2Cldc11\de_DE\source\StyleSheet.java:291: cannot find symbol
    [javac] symbol  : class CarrouselContainerView
    [javac] location: class StyleSheet
    [javac] , new Object[]{ new CarrouselContainerView(), mainscreenfocusedStyle}
    [javac] ^
    [javac] Internal J2ME Polish class: C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build\real\Generic\Midp2Cldc11\de_DE\source\StyleSheet.java:327: cannot find symbol
    [javac] symbol  : class CarrouselContainerView
    [javac] location: class StyleSheet
    [javac] , new Object[]{ new CarrouselContainerView(), mainscreenfocusedStyle}
    [javac] ^
    [javac] 2 errors
    [javac] An internal class of J2ME Polish could not be compiled. Please try a clean rebuild by either calling "ant clean j2mepolish" or by removing the working directory "C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build\real".
    [javac] When an API-class was not found, you might need to define where to find the device-APIs. Following classpath has been used: [C:\Program Files\J2ME-Polish\import\midp-2.0.jar;C:\Program Files\J2ME-Polish\import\cldc-1.1.jar;].
 
BUILD FAILED
C:\local\workspace-wifi_v3\trunk\J2MEPolishTest\build.xml:89: Unable to compile source code for device [Generic/Midp2Cldc11]: Compile failed; see the compiler error output for details.
 
Total time: 8 seconds
idem apres ant clean , rien à faire, on dirait que la fonction par defaut pose pb.


Par contre, si je choisir "run as Ant build.. frog' (frog etant un theme proposé) là ça compile bien.

Etrange non ??

Que puis je faire pour compiler par defaut ?