Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Build path selection list(Source for build path selection list)
Build path selection list [message #983545] Tue, 13 November 2012 20:35 Go to next message
John Conrad is currently offline John Conrad
Messages: 1
Registered: November 2012
Junior Member
The Build Path "option" gives a list of mostly jar files that one can add to a project. How do you designate where eclipse goes to "find" the list it presents?
Re: Build path selection list [message #983810 is a reply to message #983545] Wed, 14 November 2012 01:53 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3153
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 11/13/2012 06:55 PM, John Conrad wrote:
> The Build Path "option" gives a list of mostly jar files that one can
> add to a project. How do you designate where eclipse goes to "find" the
> list it presents?

Eclipse offers two "places" to get JARs although through more than two
interfaces (buttons) under the Libraries tab.

1. Add library takes you to a list grouping tools Eclipse knows about
because you configured it so: JDK, Tomcat, etc. plus stuff like JUnit,
User libraries you establish yourself in collections of third-party
libraries, Web App libraries you get from other projects in the
workspace when relevant.

2. Add JAR/Add JARs takes you nowhere: you must browse to find a
third-party JAR you want to use.

This is also where/how you associate Javadoc and/or source code with the
JARs you consume making Eclipse Content Assist work in your Java editor.

All of this is recorded in the .classpath file at the root of your project.

Is this what you meant?

You can mitigate all of this Build Path stuff by adopting Maven to a)
create the Eclipse project (via an appropriate archetype), b) keep the
needed JARs up-to-date from web sources, etc. It's very difficult to
grasp (about as mysterious as the old autotools on Unix/Linux for
building C/C++ and other resources0, but very effective. Many swear by
Maven.

There are still other ways such as Apache Ivy which works a little like
Maven except that it's far easier because it uses XML in ant scripts.

I haven't used something called Gradle and don't know how it works, but
I've heard good things about it.

Hope this helps.
Previous Topic:Jelastic integration with Eclipse
Next Topic:Implementing Warshall's algorithm within Viatra
Goto Forum:
  


Current Time: Wed Aug 27 17:25:17 EDT 2014

Powered by FUDForum. Page generated in 0.02591 seconds