Libraries - can this be done? [message #671514] |
Wed, 18 May 2011 07:43 |
Tom Simmons Messages: 9 Registered: July 2009 Location: Aberdeen, UK |
Junior Member |
|
|
I've been using Elcipse for a couple of years now, having previously used NetBeans.
I'm afraid I cannot say that I think Eclipse is better, but that's not up for discussion here.
One question I have is about Java Libraries. In NetBeans, outside of a project, you can create libraries. When you define a library you specify where the JARs are, then optionally you can specify where the JavaDoc and the source are. When you come to use a library in a project you add the library from the list of supplied or self defined and away you go. When debugging NetBeans knows where the docs/source are, and when you build in the distribution folder there is a folder of any external jars you need.
Under Eclipse I haven't found out how do do a similar thing. I have found under prefs you can create user libs, but you seem to have to specify the doc/source location each time you create a new project. Also the projects don't seem to hold a reference of which user libs are being reference, so each time you check out a project you need to configure it.
Am I missing something?
Thanks
Tom
[Updated on: Wed, 18 May 2011 07:55] Report message to a moderator
|
|
|
Re: Libraries - can this be done? [message #671546 is a reply to message #671514] |
Wed, 18 May 2011 09:29 |
Tom Simmons Messages: 9 Registered: July 2009 Location: Aberdeen, UK |
Junior Member |
|
|
Hmm OK, think I might have found some of the answer.
At some point before I inheritted this project (only one I've ever worked in Eclipse) someone has excluded .project and .class from being stored in subversion. If I change this, then the library reference etc for the project will be stored and won't need setting up each time I check the project out.
This however doesn't address the library configuration like NetBeans has, where you configure the a library once with all the source and doc info and pull it in to the projects.
Thanks
Tom
[Updated on: Wed, 18 May 2011 09:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02538 seconds