What I'm doing seems to me quite simple but it's just not working out. This has a lot to do with me being a novice to java and eclipse.
I want to reference another project(call it javalibproject) from my eclipse project (call it mainproject) . So i add javalibproject to the projects tab in in the java build path of mainproject and also add a project reference to it.
What i was hoping at this stage is that i would be able to import the javalibproject package and declare one of the referenced classes. But in my class in mainproject, i get javalibproject cannot be resolved to a type. I would have also expected some sort of library folder displayed in package explorer showing javalibproject (similar to what happens when you reference an external jar).
Any ideas what i'm doing wrong? WOuld i be best off trying to export javalibproject as a JAR and reference that.
Thanks,
Eoin