i am writing a plugin for eclipse 4.2 that will upload the jars the user adds to a project. in order to do this i need to want to retrieve the location of the jars in the class path. the problem is that as far as i can see IJavaProject doesn't make the distinction between a linked jar and a copied one. so when i use IClasspathEntry to retrieve the location of the jar the returned value is a location in the project and not the jars true location.
does any one know how can i retrieve it?