Now that I try to use the project level lib creation, its totally whacky. Is this intentional or is it really broken? The library appears as a Spring lib (little green leaf). I have no way to specify sources or javadocs - just "Attach Files, Specifc Doc URL, Attafch classes from Repo"
Im going to have to drop back to 10.5.2 - I cant use 11 for anything new.
Select the desired module in the "Project" Structure dialog
Select the "Dependencies" Tab.
In the far right margin of the dependencies listing is a vertical tool bar. Click the '+' icon and select "Library"
You can now either:
Select an existing Global Library or Project Library, or
Create a new Library as either a Global Library, Project Library, or Module Library level
Also note that there is no longer a separate button to add a directory of jars. Just use the "Attach Files" button and select a directory rather than a specific JAR. (At the top of the "Select Path" dialog that opens, it states "Select files or directories...") While combining the files and directories buttons into a single action makes sense, I think it might be more intuitive for JetBrains to name that button "Attach Files or Directories..." since I've seen a couple of comments in the EAP forums now where people think they can no longer attach directories. I created a feature request for such: http://youtrack.jetbrains.net/issue/IDEA-75367
To create a module library: 1) Select your module 2) Switch to the "Dependencies" tab 3) Click on the small "+" button on the right 4) In the popup menu click on "2 Library" 5) In the dialog click on "New library" 6) Finally in that "Configure Library" module, you can select "Module Library" in the "Level" dropdown If you create a YouTrack issue about the bad usability of this convoluted procedure: I'll add my vote.
> I have no way to specify sources or javadocs - just "Attach Files ... And "Attach Files" is all you need. IDEA figures out itself if the added folders/files are sources, jars or javadoc.
On 10.10.2011 22:30, StanAccy wrote:
Now that I try to use the project level lib creation, its totally whacky. Is this intentional or is it really broken? The library appears as a Spring lib (little green leaf). I have no way to specify sources or javadocs - just "Attach Files, Specifc Doc URL, Attafch classes from Repo"
>
Im going to have to drop back to 10.5.2 - I cant use 11 for anything new.
They are still here: just select 'Dependencies' tab for your module, press '+' button and select 'Files' item. Looks like 'Files' is not a good name for this item so it will be renamed to 'Jars or directories' in the next IDEA build.
-- Nikolay Chashnikov Software Developer JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"
Now that I try to use the project level lib creation, its totally whacky. Is this intentional or is it really broken?
The library appears as a Spring lib (little green leaf). I have no way to specify sources or javadocs - just "Attach Files, Specifc Doc URL, Attafch classes from Repo"
Im going to have to drop back to 10.5.2 - I cant use 11 for anything new.
You can still add module libraries.
Also note that there is no longer a separate button to add a directory of jars. Just use the "Attach Files" button and select a directory rather than a specific JAR. (At the top of the "Select Path" dialog that opens, it states "Select files or directories...") While combining the files and directories buttons into a single action makes sense, I think it might be more intuitive for JetBrains to name that button "Attach Files or Directories..." since I've seen a couple of comments in the EAP forums now where people think they can no longer attach directories. I created a feature request for such: http://youtrack.jetbrains.net/issue/IDEA-75367
I hope that helps.
-Mark
To create a module library:
1) Select your module
2) Switch to the "Dependencies" tab
3) Click on the small "+" button on the right
4) In the popup menu click on "2 Library"
5) In the dialog click on "New library"
6) Finally in that "Configure Library" module, you can select "Module Library" in the "Level" dropdown
If you create a YouTrack issue about the bad usability of this convoluted procedure: I'll add my vote.
> I have no way to specify sources or javadocs - just "Attach Files ...
And "Attach Files" is all you need. IDEA figures out itself if the added folders/files are sources, jars or javadoc.
On 10.10.2011 22:30, StanAccy wrote:
>
>
They are still here: just select 'Dependencies' tab for your module, press '+' button and select 'Files' item. Looks like 'Files' is not a good name
for this item so it will be renamed to 'Jars or directories' in the next IDEA build.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"