Chris Grindstaff wrote:
Friday, July 25, 2003, 10:53:47 AM, you wrote:

ROH> Hi,

ROH> In Eclipse, using version 2.1.0, I'm trying to use some utility
ROH> classes which I have in a folder outside of my Eclipse directory.
ROH> These classes are not in a jar, they are just .class files.  Is there
ROH> a way that I can get Eclipse to find and use those classes, perhaps
ROH> reminiscent of the classpath environment variable I am used to setting
ROH> for the JDK?

ROH> I keep finding ways that Eclipse offers to copy ("import") the files
ROH> into the Eclipse project folder.  But I want to keep just one copy of
ROH> these utility classes.

Rich,
     If it does exist it's Properties of a Java Project > Java Build
     Path > Libraries > Add Class Folder. Then choose Create New
     Folder, click Advanced and Link to folder in the file system.

Thank you Chris. I've been trying everything I can think of, but still can't make it work. Part of my difficulty may concern the interplay of package names and folder names.


I get this far
(properties > Java Build Path > Libraries > Add Class Folder >
Create New Folder > Advanced  > Link to folder in the file system >
Browse ...

In the Browse For Folder dialog I select my folder of utility classes, then, back in the New Folder dialog, I reach a confusing point. I get an error message "Folder name must be specified" even though the folder I just selected is listed in a text area. The OK button is disabled.

I can proceed by writing a folder name into the Folder name text area, but I'm not sure what it expects there. What does it mean by forcing me to specify two folders? I've tried a half dozen things at this point, and I have more ideas for ways to experiment, but still have not found a way that works.

Rich




_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to