Sorry that didn't work for you. I haven't tried linked class folders myself but it sounds like it should be reported as a bug at www.eclipse.org > Bugs. Using jars is a better arrangement though. Something else you might try is to create an Eclipse project for the utility files you're using and then make the first project dependant on the utility project. That would require you to be able to build the utilities under Eclipse however. I don't think you can have a project containing only class files because Eclipse likes to delete the generated files before builds.
Package names have to have the same hierarchy as folders. So if your package name is org.eclipse.foo.bar and it contains a class called Test then you need to have a directory org/eclipse/foo/bar with a file Test.java. The directory containing "org" has to be listed as a source folder in the project properties > Java Build Path > Source dialog. --Ed > -----Original Message----- > Message: 3 > From: "Richard O. Hammer" <[EMAIL PROTECTED]> > > 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
