Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DSDP/MTJ/Remove Debug Features from Release Build

< DSDP‎ | MTJ

Back to main DSDP-MTJ Use Cases


Short description:

Before releasing the SW build, debug information must be removed from the source code

Priority:

Owner:

Status: Proposed, Outlined

Proposed:|Accepted: date_here
Identified|Described|Outlined|Detailed

Community Review: review_date_here


Use Case Specification: Remove debug features from release build

1. Brief Description

The duty of the Java developer when creating a release build is to make sure that the build is ready for release. One of the acts to fulfill this is to remove the debug features from the build.

A Java developer chooses from the build operations that the build is a release build. The system removes all debug features during the preprocessing.


2. Flow of events

2.1 Basic Flow

B1: The user starts to make build
B2: The user chooses between
(1) development build
(2) release build
B3: The user chooses to build a release build
B4: The system starts the compiling and detects during the preprocessing all the debug classes.
B5: The system removes the debug classes and their methods and replaces some methods.
B6: The system creates the release build without the debug features

2.2 Alternative flows

Alternative flow 1: The user chooses a development build.


3. Special Requirements


4. Preconditions

4.1 Debug classes marked as debug classes
A Java developer has marked all the debug classes as debug classes

4.2 Alternative methods are defined
A Java developer has defined alternative methods for the methods in debug classes needing to be replaced with something.


5. Post Conditions

5.1 Release build has been created without debug features
The user has created the release build for sure without debug features. The user can continue with the build into the next steps of the deployment process without a risk of accidentally releasing a debug build.


6. Extension Points



Comments:


Back to main DSDP-MTJ Use Cases

Back to the top