permaculture playing cards*
The moose likes IDEs, Version Control and other tools and the fly likes How I create libraries in Intellij IDEA? 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 "How I create libraries in Intellij IDEA?" Watch "How I create libraries in Intellij IDEA?" New topic
Author

How I create libraries in Intellij IDEA?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post
I need to build some libraries and then use them in several projects, for example:

I want to add 5 jar files, their javaDocs and sources as a logical entity and then add it to any project which has dependency on those jar files. Netbeans has it and I think IDEA should has too, but i can not find it.

Thanks
Rodrigo Lopes
Ranch Hand

Joined: Feb 29, 2008
Posts: 119
In your Project Settings, under Modules, in the tab Dependencies...
When you click the Add button, you can choose the option Global Library.
Then, you can create a global library, that can be shared with other projects using the same procedure.
In the other projects, instead of creating a new library, you�ll use the one you created before.
Hope that helps.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How I create libraries in Intellij IDEA?
 
Similar Threads
JBoss class loader
My netbeans 6.0.1 cannot recognize package javax.ejb
Creating Jar files with external libraries
creating jar using external libraries
J2ME Polish in IntelliJ IDEA