Hibernate ORM
  1. Hibernate ORM
  2. HHH-8139 Build improvements
  3. HHH-7617

Gradle eclipse task missing src paths and test source generation

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.7
    • Fix Version/s: 4.2.1, 4.3.0.Beta2
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true
    • Suitable for new contributors:
      Yes, likely

      Description

      The eclipse task does not add all src and testsrc directories to the project path. generateTestJpaMetamodelClasses is not run either.

        Activity

        Hide
        Brett Meyer added a comment -

        This now works if you use the command-line 'gradle eclipse' task and then import existing projects in Eclipse.

        However, it's not entirely working with Eclipse's Gradle plugin – if you import as a Gradle project and let the plugin run the 'eclipse' task, generated sources aren't always added to the classpath. This appears to be an issue with the plugin.

        Show
        Brett Meyer added a comment - This now works if you use the command-line 'gradle eclipse' task and then import existing projects in Eclipse. However, it's not entirely working with Eclipse's Gradle plugin – if you import as a Gradle project and let the plugin run the 'eclipse' task, generated sources aren't always added to the classpath. This appears to be an issue with the plugin.

          People

          • Assignee:
            Brett Meyer
            Reporter:
            Brett Meyer
            Participants:
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development