What happened to Module libs in EAP 11?

Have module level Libs been removed?  I cant seem to create one - only project level.

Being able to set a specific directory as the module lib folder was very useful.

N

0

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.

0
Avatar
Permanently deleted user

You can still add module libraries.

  1. Select the desired module in the "Project" Structure dialog
  2. Select the "Dependencies" Tab.
  3. In the far right margin of the dependencies listing is a vertical tool bar. Click the '+' icon and select "Library"
  4. You can now either:
    1. Select an existing Global Library or Project Library, or
    2. 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



I hope that helps.


-Mark

0
Avatar
Permanently deleted user

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.

>

---
Original message URL: http://devnet.jetbrains.net/message/5321838#5321838


0
Avatar
Permanently deleted user

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!"

0

请先登录再写评论。