Eclipse how to add external class with different pkg name

Discussion in 'General Computer Support' started by jan2321, Nov 6, 2008.

  1. jan2321

    jan2321

    Joined:
    Nov 6, 2008
    Messages:
    1
    hello,

    i am trying to add an external junit 4 class (no source, just the class file) to my project. I add an external Class folder from the Project/Properties/Libraries window. When i run the class it complains that it cant find any of the classes in the rest of the project. I believe this is because the external class is using a different package name. infact if match the package names (default package name) it works. there must be a way for this to work without having to match the pkg names

    thank you
     
    jan2321, Nov 6, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jonnah
    Replies:
    5
    Views:
    938
    Walter Roberson
    May 19, 2004
  2. Harkin
    Replies:
    0
    Views:
    524
    Harkin
    Jul 19, 2005
  3. philbo30
    Replies:
    0
    Views:
    520
    philbo30
    Jun 8, 2007
  4. Meat Plow

    Re: Class 5 vs. Class 6 Toilets

    Meat Plow, Aug 4, 2010, in forum: Computer Support
    Replies:
    0
    Views:
    676
    Meat Plow
    Aug 4, 2010
  5. tightfisted easy-pick-up

    Re: Class 5 vs. Class 6 Toilets

    tightfisted easy-pick-up, Aug 4, 2010, in forum: Computer Support
    Replies:
    4
    Views:
    1,820
    §ñühw¤£f
    Aug 5, 2010
Loading...

Share This Page