I have a directory outside of my Eclipse workspace containing utility classes which I would like to be able to use in my Eclipse projects. I wish I could put those classes on the classpath, or on some Eclipse-equivalent, so I could use them when needed (as I use the classes in the JDK).
Ed Burnette wrote:
2. Eclipse 2.1+ will let you link any folder into a project, similar to Unix symbolic links. Right click on the project, select New > Folder > Advanced > Link to folder in the file system. Fill out the alias folder name and the real path name.
Thank you, Ed. I've now updated from 2.1.0 to 2.1.1, in case that might have made a difference. But still I can't make this feature which you (and Chris) describe work. I can get the linked resource to appear in the Package Explorer. And in the Java Editor, in one of my project files, [Source > Organize Imports] finds the linked classes and creates import statements to them. But it doesn't go all the way and actually work. Even after creating the import statement, it gives an error saying that the import cannot be resolved.
Is there somebody who has used this feature successfully?
Again, one thing that I find confusing is the interplay of package and folder names. Maybe that has to be done just right.
In the meantime, having previously discovered that linking to jar libraries works, I've automated production of a jar of my directory of utility classes, and this appears to be a workable arrangement.
Rich
_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
