Changes the behavior of goal idea to create a subdirectory named for the project name.
Review Request #1019 - Created Sept. 11, 2014 and submitted
IntelliJ will fail to load the first time if you change the name and try to write the project into
the same directory as an existing project.
Also, enhanced the integration check to examine the contents of the project file when launching "hello"
Manually confirmed the error "Cannot load module file '/Users/zundel/Development/java/squarepants/idea/foo4568.iml':
File /Users/zundel/Development/java/squarepants/idea/foo4568.iml does not exist
Would you like to remove module 'foo4568' from the project?"
does not occur any more when you change the project name.
After this change makes your project show up under:
Besides the fact that intelliJ was failing if you changed --idea-project-name in the first case, I think this makes sense as there are a bunch of auxilliary files created in the same directory.
One thing to look out for: This change is at the 'ide_gen' level so will also impact other IDEs besides IntelliJ. I can go back and try to make it IntelliJ specific, but that would be hairy: in the default case when you don't specify --idea-project-dir it already tacks on the project name...
Feedback from John + updates to eclipse & ensime integration tests. Watiting for CI to go green, then I intend to merge it.
Revision 2 (+118 -58)