Re: Code translation problems
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <00ab01c3f708$ddf0a300$764000b4@kardis> |
Every class that needs to be built into an application needs its own '-f' tag to TINIConvertor, or you can recursively build an entire directory into your app. TINIConvertor does not use class paths to figure out what it should add. Kris ----- Original Message ----- From: "Martin Gleadow" <u9mg-C+H4Y99vI9/[email protected]> To: <TINI-6tN4nzCoH/[email protected]> Sent: Wednesday, February 18, 2004 6:45 PM Subject: [TINI]Code translation problems > I am using a TINI board on a small robot as part of my dissertation, but > after having written some basic code to create a wander and avoid > obstacles behavioural pattern but am having troubles getting it to > translate to tini code properly. It compiles fine, but TINIConvertor > throws the following: > > Uncaught exception: Class "robot/Target" not found. > Class "robot/Target" not found. > at com.dalsemi.tiniconvertor.JiBDB.classTag(JiBDB.java:726) > at com.dalsemi.tiniconvertor.PoolEntry.getEntry(PoolEntry.java:497) > at > com.dalsemi.tiniconvertor.PoolEntry.writeEntry(PoolEntry.java:565) > at > com.dalsemi.tiniconvertor.ConstantPool.writeEntry(ConstantPool.java:6 > 7) > at > com.dalsemi.tiniconvertor.Disassembler.writeNewClass(Disassembler.jav > a:1845) > at TINIConvertor.getJiBletImage(TINIConvertor.java:210) > at TINIConvertor.WriteJiBlet(TINIConvertor.java:340) > > etc > > I have tried altering the classpaths and such like, and various > combinations of files in packages, even all classes defined in the same > package. Does anyone know what is going on here, as I need to test this > code on the robot before building another layer of code on top of it. > > Many thanks, > Martin Gleadow > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini