GMaven (OLD... DO NOT USE)
  1. GMaven (OLD... DO NOT USE)
  2. MGROOVY-126

Stub generation causes duplicate class problems for goals like idea:idea

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.0-beta-3, 1.0-rc-1
    • Fix Version/s: 1.0-rc-4
    • Component/s: stub generation
    • Labels:
      None
    • Number of attachments :
      0

      Activity

      Hide
      Jason Dillon added a comment -

      This is because these plugins invoke 'generate-sources' before running themselves... Which cases stub generation to flip on and add directories for compilation.

      Show
      Jason Dillon added a comment - This is because these plugins invoke 'generate-sources' before running themselves... Which cases stub generation to flip on and add directories for compilation.
      Hide
      Andreas Heydler added a comment -

      Not sure if its related but I have found that when you use the idea resync with pom option on the maven tab it then includes the target/generated sources directory in the source path which causes idea to complain about duplicate classes.

      Not sure if this is an idea problem or a stub generator problem

      Andreas

      Show
      Andreas Heydler added a comment - Not sure if its related but I have found that when you use the idea resync with pom option on the maven tab it then includes the target/generated sources directory in the source path which causes idea to complain about duplicate classes. Not sure if this is an idea problem or a stub generator problem Andreas
      Hide
      Stig Lau added a comment -

      If this is the problem I have seen in IDEA with warnings of duplicate clases;
      my solution has been to exlude groovy-stubs from project-settings -> modules insideof IDEA. Would be nice to have that done automatically.

      Show
      Stig Lau added a comment - If this is the problem I have seen in IDEA with warnings of duplicate clases; my solution has been to exlude groovy-stubs from project-settings -> modules insideof IDEA. Would be nice to have that done automatically.

        People

        • Assignee:
          Jason Dillon
          Reporter:
          Jason Dillon
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: