×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    40

    How to add other java classes' path to Eclipse's project?

    Good night, everyone

    I find eclipse is worse for use than JBuilder. I have wanted to add a logger class to Blinker.java by adding jar or folder to Elicpse's project's property's "Java build path", but the ANT build still tell " [wtkbuild] D:\Downloads\programs\mobile\nokia\Nokia12SDK1\Java\Examples\eclipse\Blinker\com\nokia\m2m\sdk\examples\iocontrol\Blinker.java:7: package com.nokia.m2m.sdk.examples.logger does not exist
    ^".

    Is there anyone who can tell me how to tell eclipse's building to find a referenced class? I do step by step as "IMlet programming guide" saying on using Eclipse to build a blinker.java for N12, but I copy Nokia SDK's blinker example to here, which is added a SerialPortLogger.class to.

    Many thanks ahead!

  2. #2
    Registered User
    Join Date
    May 2004
    Posts
    13
    Hey
    Have you visited eclipseMe-site? address is http://eclipseme.sourceforge.net/
    I can't help you more than this but hope this will help.

    There are good instructions how to manage. I personally prefer Eclipse.

  3. #3
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    156
    Hi!
    There are no problems, if all needed classes are in the same project (you must not include they in Java build path).
    Second solution - add external project reference, that points to needed classes.
    I am using Eclipse 3.01.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×