• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. OpenJFX
  3. Main
  4. Community
  5. Committing the Code

Committing the Code

  • Created by Steve Northover, last modified by Kevin Rushforth on Oct 01, 2019

Testing the Code Prior to Pushing

Developers are expected to test their code prior to integrating it to avoid breaking the build or otherwise impacting other developers with badly broken code. At a minimum, developers must run the unit tests for their area, and verify that Ensemble8 runs. If you are making interface changes or other potentially broad changes, you need to run a "clean" build. For example:

    bash gradlew clean sdk apps test

For most developers these tests are enough but for even better coverage:

   bash gradlew -PFULL_TEST=true -PUSE_ROBOT=true test 

Committing the Code into the Repository

For the mainline GIT repo on https://github.com/openjdk/jfx the Skara tooling will format the commit message for you so that you don't need to do it manually.

The following applies to Mercurial repositories.

All commits require an associated JBS bug. The commit message must use the following template as described on the OpenJDK Producing a Changeset page.

<bugid>: <synopsis-of-symptom>
Summary: <summary-of-code-change>    (optional)
Reviewed-by: <reviewer>+             (must be OpenJDK id)
Contributed-by: <contributor-email>  (optional, used when applicable)

Note that you use the 7-digit bug ID excluding the "JDK-" prefix.

Developers are strongly encouraged to use jcheck to verify the format of a changeset prior to pushing any changeset.

Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 305, "requestCorrelationId": "2970e270c12f27af"}