Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How I create libraries in Intellij IDEA?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic