Re: [Midpath-general] Compile error with current cvs
Brought to you by:
guillaum1
|
From: Guillaume L. <gl...@th...> - 2008-03-08 00:17:26
|
Hi Simon,
Some classes are missing in your cldc1.1.jar. It's probably due to the
fact that build.sh was broken under SVN: classes in
components/cldc-glue (like java.util.Timer) were not added to the jar
anymore.
I've updated the build.sh script. It should work now.
Guillaume
2008/3/7, Simon Kagstrom <sim...@gm...>:
> Hello!
>
> When trying to compile the current svn trunk, I get the following errors
>
> ecj -bootclasspath /home/ska/j2me/midpath/dist/cldc1.1.jar -sourcepath /home/ska/j2me/midpath/external/sdljava-cldc/java -source 1.3 -target 1.1 sdljava/util/Scheduler.java
> ----------
> 1. ERROR in sdljava/util/Scheduler.java (at line 6)
> import java.util.Timer;
> ^^^^^^^^^^^^^^^
> The import java.util.Timer cannot be resolved
> ----------
> 2. ERROR in sdljava/util/Scheduler.java (at line 78)
> Timer _timer = new Timer();
> ^^^^^
> Timer cannot be resolved to a type
> (...)
> 11. ERROR in /home/ska/j2me/midpath/external/sdljava-cldc/java/sdljava/util/Task.java (at line 34)
> public class Task extends TimerTask { //implements Comparable {
> ^^^^^^^^^
> TimerTask cannot be resolved to a type
>
> I'm using an Ubuntu Hardy alpha and ecj 3.3.0+0728-5.
>
> // Simon
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Midpath-general mailing list
> Mid...@li...
> https://lists.sourceforge.net/lists/listinfo/midpath-general
>
|