Skip to content

Conversation

@HannesWell
Copy link
Member

Move all RelEng Build Tools ANT tasks currently in use into this repository and convert them to plain Java scripts so that they can be launched as (Multi-File) Source-Code Programs by just invoking the java command (and setting the required system properties).

In detail the following Java files are copied from https://github.com/eclipse-platform/eclipse.platform.releng.buildtools/tree/af458820007ba53a290d47a76ec58bd4e9ceef9e

  • The generator classes:
    • org.eclipse.releng.generators.TestResultsGenerator as TestResultsGenerator
    • org.eclipse.releng.generators.ErrorTracker as ErrorTracker
    • org.eclipse.releng.generators.PlatformStatus as PlatformStatus
  • org.eclipse.releng.build.tools.comparator.Extractor as ComparatorSummaryExtractor
  • org.eclipse.releng.build.tools.convert.ant.Converter as CompileLogConverter
  • The relevant classes from package org.eclipse.releng.build.tools.convert.dom to package log.convert (with same name)

In all copied source files spaces are replaced by tabs and all files are formated, but not changed further.
They don't compile successfully in this state and are only adapted subsequently.

This will also significantly simplify the build changes required for

And a significant part of the code added with this PR can be removed again if only data are written to JSON files instead of outputting html files.

Furthermore this makes the eclipse.platform.releng.buildtools repository obsolete for this repository.

@HannesWell HannesWell force-pushed the build-java-scripts branch 2 times, most recently from f9f9461 to b4ac006 Compare December 10, 2025 07:50
The following Java files are copied from
https://github.com/eclipse-platform/eclipse.platform.releng.buildtools
at commitId: af458820007ba53a290d47a76ec58bd4e9ceef9e

respectively from
https://github.com/eclipse-platform/eclipse.platform.releng.buildtools/tree/af458820007ba53a290d47a76ec58bd4e9ceef9e

Add the generator classes:
- org.eclipse.releng.generators.TestResultsGenerator
  as TestResultsGenerator
- org.eclipse.releng.generators.ErrorTracker
  as ErrorTracker
- org.eclipse.releng.generators.PlatformStatus
  as PlatformStatus

Add org.eclipse.releng.build.tools.comparator.Extractor
  as ComparatorSummaryExtractor

Add org.eclipse.releng.build.tools.convert.ant.Converter
  as CompileLogConverter

Add relevant classes from package
org.eclipse.releng.build.tools.convert.dom
  to package log.convert (with same name)

In all copied source files spaces are replaced by tabs and all files are
formated, but not changed further.
They don't compile successfully in this state and are only adapted
subsequently.
Convert the previous ANT tasks classes to plain Java Source-Code
Programs that can be launched directly from source via the 'java'
command, without being compiled. Arguments are read as system
properties.
This leverages JEP-458 - 'Launch Multi-File Source-Code Programs':
https://openjdk.org/jeps/458

With this and the previous commit, this makes this repository
independent from eclipse.platform.releng.buildtools.
Therefore the latter is removed from the Oomph-setup of the Platform.
@HannesWell HannesWell merged commit f872147 into eclipse-platform:master Dec 10, 2025
5 of 6 checks passed
@HannesWell HannesWell deleted the build-java-scripts branch December 10, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant