Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > General Computer Support > Eclipse how to add external class with different pkg name

Thread Tools

Eclipse how to add external class with different pkg name

jan2321 jan2321 is offline
Junior Member
Join Date: Nov 2008
Posts: 1

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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Why doesn't `from pkg import mod' work after `del pkg.mod'? ryles Python 3 07-26-2009 04:13 PM
Plot pkg - Multiple Y axes? monkeyboy Python 2 11-07-2006 04:47 PM
McMillan installer on solaris - complains about missing .pkg file mrstephengross Python 0 03-10-2006 07:43 PM
All classes from pkg name & inner class reflection Jeffy Java 2 09-10-2003 01:49 PM