importing Class files for use (summary) [message #49568] |
Fri, 08 April 2005 18:31 |
Eclipse User |
|
|
|
Originally posted by: ask.me.com
Ok I understand the plug-in requirements now. Thanks. =)
I can also understand that all the files an app uses must be in it's
directory (package) or imported at the beginning of the file from some
resolvable location.
What is unclear when using Eclipse, I can make a user library that loads
custom class files (in example a SDK from another vendor). I can even set
that as a system library to load on startup.
What I don't get is why when I use that userlibrary in a example.java I
get a com.name.blah.whatever cannot be resolved, even though I can see it
in the userlibrary and I have loaded/linked it to that Eclipse project and
listed on the operties\java build path\libraries tab.
If I have:
c:\dev\myproject\newclass
so Eclipse makes:
c:\dev\myproject\bin
c:\dev\myproject\src
and I copy the example from the SDK to
c:\dev\myproject\src\com\name\blah\whatever\example.java
Where do I have to place the SDK.jar and SDKjavadocs.jar to have
example.jar make use of them. I thought putting them anywhere, then
making a userlibrary to that location was enough but it fails.
I know it's a newbie question but I can't sort it out.
|
|
|
Powered by
FUDForum. Page generated in 0.03848 seconds