File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes [IntelliJ] Adding JARs to a project 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 "[IntelliJ] Adding JARs to a project" Watch "[IntelliJ] Adding JARs to a project" New topic
Author

[IntelliJ] Adding JARs to a project

Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I tried adding CGLIB to my project, using "Attach classes from repository..." in the Project Structure settings. When I run my appli, the libraries are not in the path, so it fails. I'm attaching several screens of my project settings. In the last screen, you can see that nothing appears under "Others" in the Structure view. What am I missing ?



[Thumbnail for Screenshot-Structure.png]


[Thumbnail for Screenshot-Project Structure.png]


[Thumbnail for Screenshot-Module.png]


[My Blog]
All roads lead to JavaRanch
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Which version you are using?
I have IntelliJ 9.0.3 Ultimate Edition and "Attach classes from repository" doesn't exist.


[Thumbnail for Screen shot 2010-12-18 at 4.29.06 AM.png]

Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

IntelliJ 10. "Attach classes from repository..." is a new feature (very convenient)
The problem was solved after detaching and reattaching the libraries. Strange. I wonder why the libraries were not properly recognized after the import.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [IntelliJ] Adding JARs to a project
 
Similar Threads
Eclipse+Subversion: Project Directory Structure?
JNDI with Tomcat
Having to manually add certain folders and files to /wtpapps folder
Q for Mike Clark: Project Directory Structure
FrontMan Commands ?