Do not store project files in .pants.d/gen folder

Review Request #967 — Created Aug. 30, 2014 and submitted

fkorotkov
intellij-pants-plugin
009dd9e...
jcoveney, tejal

Do not store project files in .pants.d/gen folder

locally

IT
  1. how does this compare with project files generated for eclipse etc?

    1. I don't know. :-) It's an IntelliJ plugin specific fix. The plugin creates .iml files next to each target but it seems pants recretes generated folders in gen so we are loosing .iml files and IntelliJ is complaining about this.

      I noticed it while checking support for openning a folder instead of a BUILD file.

    2. I think this happening for code-gen (Scrooge-gen)targets only.
      Am i right?

    3. yep, you right

    4. makes sense, I was wondering where those projects files (for eclipse etc) are stored - and if you could reuse that. obviously if they are stored in the same location, then they must be having this issue as well. Could you create a ticket to investigate and fix this for all other ide gen before shipping this so we dont forget about it, thanks.

    5. umm. This is not part of pants goal ide gen.

      These files are created during Import Build File Functionality in the Pants Intellij Plugin.
      They are created by the intellij plugin when a module is configured at target source root.

  2. 
      
IT
  1. Ship It!

  2. 
      
TE
  1. Ship It!

  2. 
      
FK
Review request changed

Status: Closed (submitted)

Change Summary:

https://github.com/pantsbuild/intellij-pants-plugin/commit/b64b389c95c4edcf4c211197719f12b956bd2646
Loading...