Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-696

"buildr idea" should leave the existing project files alone if they exist

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.4.24
    • IDE
    • buildr 1.4.17

    Description

      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.)

      Attachments

        Activity

          People

            pdonald Peter Donald
            trejkaz Trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: