Uploaded image for project: '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
    • Status: Closed
    • Priority: 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

      Attachments

        Issue Links

          Activity

          Hide
          hardy.ferentschik 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 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 Steve Ebersole added a comment -

          Correct.

          Show
          steve Steve Ebersole added a comment - Correct.
          Hide
          hardy.ferentschik 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 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 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 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 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 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 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 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