Results 1 to 2 of 2
  1. #1
    Dark Knight is offline Member
    Join Date
    Feb 2014
    Posts
    20
    Rep Power
    0

    Default Adding external archives?

    Hi guys,

    Im pretty new to all this and just had a quick question. Im doing a few Spring tutorials and in eclipse and for each tutorial I have to right click my project, build path, and then add external archives and then select the spring JAR files I want to bring in and use before my project will successfully compile and run. I was just wondering is this required for every project or is there a way I can set eclipse up to look in these locations for every project without me having to explicitly tell it too?

    Thanks for any help I may get.

  2. #2
    kneitzel is offline Senior Member
    Join Date
    Feb 2014
    Posts
    447
    Rep Power
    6

    Default Re: Adding external archives?

    Hi,

    I am just wondering what kind of projects you have. I am using the Spring Tool Suite (which is based on eclipse) and when I use these, the project templates for spring is using maven. So all I have to take care of is the Pom.xml file which contains all dependencies. (So when you didn't download some dependencies, on build you are asked if you want them to be downloaded.)

    That simplifies the dependency management in my eyes and seems to be the standard way when working with spring. At least the books that I read about spring always had comments like "add xxxxx to Pom,.xml" when talking about examples or extending them.

    With kind regards,

    Konrad

Similar Threads

  1. Problem with adding external library (openCv)
    By giersz2 in forum New To Java
    Replies: 1
    Last Post: 10-14-2012, 05:09 PM
  2. LinkedList and archives
    By veronica in forum New To Java
    Replies: 3
    Last Post: 02-04-2011, 04:54 PM
  3. adding external jar in Net Beans project
    By alfarida in forum NetBeans
    Replies: 23
    Last Post: 12-29-2010, 02:49 AM
  4. creating archives
    By almaz__ in forum Java Applets
    Replies: 2
    Last Post: 09-27-2009, 05:30 PM
  5. Problems adding an external class
    By jan2321 in forum Eclipse
    Replies: 2
    Last Post: 11-06-2008, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •