• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

IntellijJ, I have these Jars

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
I'm trying to create a new application using IntelliJ 7, this project uses Spring and Hibernate.
When I'm trying to create it, IntelliJ tries to connect to Maven repositories to download Spring and Hibernate Jars.
I don't need this since I already have these Jars.
I didn't figured out how to make IntelliJ uses my Jars, any help?
Thank for your time.
 
author
Posts: 149
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello John,

In the technologies selection page of the New Project Wizard, there's a "Change..." button at the bottom. It allows you to pick the .jar files from your local disk instead of downloading them from a repository.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can simply create a project without Spring and/or Hibernate facets.

Then:
1) Add your specific spring/hibernate JARs using the regular "Project Settings" dialog.
2) Add Spring and Hibernate facets to the relevant modules. (Using the context menu for nodes in the module tree in the "Project Settings" dialog)

The current support for downloading spring/hibernate JARs at project creation time is quite simplistic, perhaps IDEA 8.0 will provide something more powerful (Maven based)?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic