rbywater / idea-trinkets

Automatically exported from code.google.com/p/idea-trinkets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Offline Module" doesn't work on IDEA 7.0.3 EAP (build 7648)

GoogleCodeExporter opened this issue · comments

I love the concept, but unfortunately the plugin doesn't work in 7.0.3 EAP 
(build 7648). I disabled several modules, and a new node "Disabled 
Modules" appeared in the project view, but this node is always empty and 
there is no way to re-enable the modules again!

Looking at the project.ipr file I can see a new "OfflineModuleManager" 
component registered and all the modules I've disabled are under it, but 
they don't show up in the GUI anywhere, so there is no way to click on 
them to enable again.

If it makes any difference, the modules I disabled were all in a separate 
module group, and I disabled them all at once by right-clicking on the 
group node and selecting "Disable module" from there.

Original issue reported on code.google.com by grr...@gmail.com on 17 Jan 2008 at 11:19

I'm seeing the same thing on 7.0.3 build 7757.  In my case I only disabled a 
single
individual module without any children under it.  The "Disabled Modules" item
appeared, but nothing under it and no way to re-enable.

Original comment by dtar...@gmail.com on 11 Jun 2009 at 8:24

  • Added labels: ****
  • Removed labels: ****
In case it helps anybody, I found a workaround for this: you must remove the 
*.iml 
extension from the list of ignored file patterns (it's somewhere under 
Settings, it 
has things like CVS, *.bak, *.DS_Store, etc. that should be ignored by default).

After you do this, the .iml files will start appearing under your IDEA modules, 
but 
more importantly disabled modules will also start appearing under Disabled 
Modules 
node.

Original comment by grr...@gmail.com on 12 Jun 2009 at 6:47

  • Added labels: ****
  • Removed labels: ****
Thanks! That did the trick

Original comment by dtar...@gmail.com on 12 Jun 2009 at 8:19

  • Added labels: ****
  • Removed labels: ****
Now it works on IDEA 9.x

Original comment by aefimov....@gmail.com on 16 Sep 2010 at 6:31

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Using Offline Module 1.0.2 on IntelliJ 7.0.5 Build 7971 and experiencing same 
bug. After disabling a module, there's no way to enable it as the node does not 
appear. The workaround does not work on this build. 

Original comment by starzma...@gmail.com on 27 Oct 2010 at 2:59

  • Added labels: ****
  • Removed labels: ****
Ok I think I found another workaround to re-enable the module. I created a new 
module by importing the existing iml of the disabled module. I hope this 
doesn't cause issue like overflowing the tree of disabled module nodes with 
duplicated module names. (BTW I can't see the disabled modules node)

Original comment by starzma...@gmail.com on 27 Oct 2010 at 3:26

  • Added labels: ****
  • Removed labels: ****