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

Create a 'generateSources' task that performs all generation tasks

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0.Beta2
    • Component/s: None
    • Labels:
      None
    • Last commented by a user?:
      true

      Issue Links

        Activity

        Hide
        Hardy Ferentschik added a comment -

        What does that really mean? I guess you are taking about jaxb, logging and antlr. Is generateSources just a task which depends on the tasks for these different source generations?

        Show
        Hardy Ferentschik added a comment - What does that really mean? I guess you are taking about jaxb, logging and antlr. Is generateSources just a task which depends on the tasks for these different source generations?
        Hide
        Steve Ebersole added a comment -

        Correct.

        Show
        Steve Ebersole added a comment - Correct.
        Hide
        Hardy Ferentschik added a comment -

        +1 good idea, this way one can re-generate all the generated source with a single target. Might make the build also easier to understand.

        Show
        Hardy Ferentschik added a comment - +1 good idea, this way one can re-generate all the generated source with a single target. Might make the build also easier to understand.
        Hide
        Steve Ebersole added a comment -

        Well, regenerateSources is another idea altogether. generateSources would not "clean" first and given Gradle's up-to-date checking, would therefore probably not happen.

        Show
        Steve Ebersole added a comment - Well, regenerateSources is another idea altogether. generateSources would not "clean" first and given Gradle's up-to-date checking, would therefore probably not happen.
        Hide
        Steve Ebersole added a comment -

        Little nervous about generateSources and generateTestJpaMetamodelClasses. Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes.

        Show
        Steve Ebersole added a comment - Little nervous about generateSources and generateTestJpaMetamodelClasses . Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes.
        Hide
        Hardy Ferentschik added a comment -

        Little nervous about generateSources and generateTestJpaMetamodelClasses. Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes.

        I think it is ok to combine them under generateSources. I guess the alternative is to have a generateTestSources as well.

        Btw, I did not expect the generateSources would clean first by default.

        Show
        Hardy Ferentschik added a comment - Little nervous about generateSources and generateTestJpaMetamodelClasses. Most generateSources operate on production sources, whereas generateTestJpaMetamodelClasses operates on test classes. I think it is ok to combine them under generateSources . I guess the alternative is to have a generateTestSources as well. Btw, I did not expect the generateSources would clean first by default.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - Not Specified
              Not Specified
              Logged:
              Time Spent - 20m
              20m

                Development