• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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)?
 
Paper beats rock. Scissors beats tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic