The moose likes IDEs, Version Control and other tools and the fly likes IntellijJ, I have these Jars Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IntellijJ, I have these Jars" Watch "IntellijJ, I have these Jars" New topic

IntellijJ, I have these Jars

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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.
Dmitry Jemerov
Ranch Hand

Joined: Nov 24, 2006
Posts: 120
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.

Dmitry Jemerov<br />Development Lead<br />JetBrains, Inc.<br /><a href="" target="_blank" rel="nofollow"></a><br />"Develop with Pleasure"
Taras Tielkes

Joined: Nov 14, 2005
Posts: 6
You can simply create a project without Spring and/or Hibernate facets.

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)?
I agree. Here's the link:
subject: IntellijJ, I have these Jars
jQuery in Action, 3rd edition