Trejkaz created BUILDR-696:
------------------------------
Summary: "buildr idea" should leave the existing project files
alone if they exist
Key: BUILDR-696
URL: https://issues.apache.org/jira/browse/BUILDR-696
Project: Buildr
Issue Type: Improvement
Components: IDE
Environment: buildr 1.4.17
Reporter: Trejkaz
If I run "buildr idea", buildr clobbers a lot of existing project files.
This is undesirable because:
* My project contains a lot of configuration like code style, copyright notices
and code inspections which I would rather keep.
* It sets the project SDK to a version ("7") which doesn't follow IDEA's
default naming scheme ("1.7") - so I have to rename it back every time.
* It sets the SDK for all modules explicitly, though it would be better if it
left that as the default project SDK for any modules which are the same (which
is surely the case for most projects.) Since it does set it explicitly, I have
to rename all the modules SDKs back too.
It's also a bit dated that it is generating the single .ipr file. I think it
should be using the newer .idea directory format, which also makes it easier to
have it modify only the files where it should know better (modules.xml and the
.iml files.)
--
This message was sent by Atlassian JIRA
(v6.2#6252)