problem in compilation

15 views
Skip to first unread message

Zsolt

unread,
Feb 18, 2010, 6:52:02 PM2/18/10
to mobile-trail-explorer
Hi

I tried to compile the source on

Win7/32bit
WTK2.5.2 --> as in build-eclipse.xml
jdk6/18
eclipse galileo

============
Buildfile: D:\MTE\mobile-trail-explorer\build-eclipse.xml
Default_Color_Phone:
Default Build:
setup:
[mkdir] Created dir: D:\MTE\mobile-trail-explorer\collated
[copy] Copying 5 files to D:\MTE\mobile-trail-explorer\collated
\images
[copy] Copying 1 file to D:\MTE\mobile-trail-explorer\collated
\resources
build_no_obfustication:
[null] Compiling 171 source files to tempC3D1
[wtk] D:\MTE\mobile-trail-explorer\src\com\substanceofcode
\tracker\model\AudioShortcutAction.java:29: cannot find symbol
[wtk] symbol : class RecordControl
[wtk] location: package javax.microedition.media.control
[wtk] import javax.microedition.media.control.RecordControl;
[wtk] ^
[wtk] D:\MTE\mobile-trail-explorer\src\com\substanceofcode
\tracker\model\AudioShortcutAction.java:44: cannot find symbol
[wtk] symbol : class RecordControl
[wtk] location: class
com.substanceofcode.tracker.model.AudioShortcutAction
[wtk] private static RecordControl rc;
[wtk] ^
[wtk] D:\MTE\mobile-trail-explorer\src\com\substanceofcode
\tracker\model\AudioShortcutAction.java:76: cannot find symbol
[wtk] symbol : class RecordControl
[wtk] location: class
com.substanceofcode.tracker.model.AudioShortcutAction
[wtk] rc = (RecordControl)
p.getControl("RecordControl");
[wtk] ^
[wtk] 3 errors

BUILD FAILED
D:\MTE\mobile-trail-explorer\build-eclipse.xml:109: Compile failed;
see the compiler error output for details.
==>
preverify="${install.api.bin}/preverify.exe" >

Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.Object. Fix the build path then try
building this project mobile-trail-explorer Unknown Java Problem


Luca Nora

unread,
Feb 23, 2010, 9:33:49 AM2/23/10
to mobile-trail-explorer
On 19 Feb, 00:52, Zsolt <feherzsolt....@gmail.com> wrote:
> Hi
>
> I tried to compile the source on
>
> Win7/32bit
> WTK2.5.2 --> as in build-eclipse.xml
> jdk6/18
> eclipse galileo

Hi Zsolt,
same building OS/tools/IDE/JDK of mine :-)

Currently I'm able to build MTE (SVN trunk) on Eclipse/MJT *without*
build-eclipse.xml ant script.
I had big troubles with this script and I've reverted, creating a MTJ
project in Eclipse that it builds correctly (except some warnings).

>       [wtk] D:\MTE\mobile-trail-explorer\src\com\substanceofcode
> \tracker\model\AudioShortcutAction.java:29: cannot find symbol
>       [wtk] symbol  : class RecordControl
>       [wtk] location: package javax.microedition.media.control
>       [wtk] import javax.microedition.media.control.RecordControl;

Compiler invoked through wtk.jar task in Ant doesn't find
RecordControl class: it's MMAPI stuff.

Your build-eclipse.xml Ant file contains a property that "include"
mmapi.jar?
If not, try to add this element in XML file:

<property name="api.mmapi" value="${install.api.lib}/mmapi.jar" />

and update, accordingly, property jsr. In other words jsr should be
like this:

<property name="jsr" value="${api.cldc};${api.midp};${api.bluetooth};$
{api.fileIO};${api.junit-11};${api.nokia};${api.siemens};$
{api.samsung};${api.messaging};${api.jsr179};${api.mmapi};" />

Zsolt

unread,
Mar 4, 2010, 11:05:52 AM3/4/10
to mobile-trail-explorer
Confirmed
Reply all
Reply to author
Forward
0 new messages