aspose file tools*
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
Author

IntellijJ, I have these Jars

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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.
Dmitry Jemerov
author
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="http://www.jetbrains.com/" target="_blank" rel="nofollow">http://www.jetbrains.com/</a><br />"Develop with Pleasure"
Taras Tielkes
Greenhorn

Joined: Nov 14, 2005
Posts: 6
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)?
 
 
subject: IntellijJ, I have these Jars