Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Refine build scripts #18

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

Refine build scripts #18

wants to merge 19 commits into from

Commits on Dec 28, 2021

  1. chore: add .gitignore

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    8f4da3c View commit details
    Browse the repository at this point in the history
  2. Add .editorconfig for automatic IDE configuration

    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    746716f View commit details
    Browse the repository at this point in the history
  3. docs: update copyright year

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    e9cb076 View commit details
    Browse the repository at this point in the history
  4. docs: add a readme

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    5c95323 View commit details
    Browse the repository at this point in the history
  5. build: check in NTEventLogappender.dll from log4j 1.2.17 binary.

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    98e9279 View commit details
    Browse the repository at this point in the history
  6. build: rewrite maven build for modern 2021 tools

    The new build requires JDK8 or later, and a JDK6 installed as a maven
    toolchain.
    
    Main changes include:
    * switch to Maven 3, requiring JDK7 to invoke
    * switch to latest (compatible) maven plugins, requiring JDK8 to invoke
    * introduce two profiles: toolchain (default) and no-toolchain
      * toolchain profile uses maven toolchains feature with JDK6
        (can also use JDK7) and source/target version of 1.4,
        for compatibility with JDK 1.4/5/6/7 and beyond
      * no-toolchain profile uses default system JDK with
        source/target version of 7,
        for compatibility with JDK 8/9/10/11/17 and beyond
    * stop building NTEventLogAppender.dll from maven by invoking ant
      (instead use the checked-in version)
    * replace some plugin use with resources section
    * replace some ant tasks with maven clean plugin
    * change all project metadata for correctness
    * remove duplicate LICENSE and NOTICE files and use the main ones
    * set default encoding to UTF-8 to silence some warnings
    * enable running all unit tests instead of a whitelist
    * change when and how site is generated
    * customize site templating for modern site plugin
    * remove unused and unsupported ant build files
    * update INSTALL document to match changes
    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    910e7b8 View commit details
    Browse the repository at this point in the history
  7. ci: set up github actions

    Sets up a matrix build using github actions that runs on every push.
    The following combinations all work:
    
    * Toolchain 1.6, JDK 11, OS ubuntu-18.04
    * Toolchain 1.6, JDK 11, OS ubuntu-20.04
    * Toolchain 1.6, JDK 11, OS windows-2019
    * Toolchain 1.6, JDK 11, OS windows-2022
    * Toolchain 1.7, JDK 11, OS ubuntu-18.04
    * JDK 8, OS ubuntu-18.04
    * JDK 11, OS ubuntu-18.04
    * JDK 17, OS ubuntu-18.04
    * JDK 8, OS ubuntu-20.04
    * JDK 11, OS ubuntu-20.04
    * JDK 17, OS ubuntu-20.04
    * JDK 8, OS windows-2019
    * JDK 11, OS windows-2019
    * JDK 17, OS windows-2019
    * JDK 8, OS windows-2022
    * JDK 11, OS windows-2022
    * JDK 17, OS windows-2022
    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    5631d09 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a4f9bef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4722f24 View commit details
    Browse the repository at this point in the history
  10. Refine GitHub Actions

    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    a6219b8 View commit details
    Browse the repository at this point in the history
  11. test: delete old scripts to run tests in favor of mvn test

    Now that the main build runs all tests, remove the old way of running
    them with ant or bash.
    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    206f463 View commit details
    Browse the repository at this point in the history
  12. test: note why DRFATestCase is slow

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    5e14210 View commit details
    Browse the repository at this point in the history
  13. test: run NTEventLogAppenderTest on Windows only

    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    2f5a754 View commit details
    Browse the repository at this point in the history
  14. test: do not run MDCTestCase reflection test on modern JDK

    MDCTestCase has some nasty reflection inside that is not allowed anymore
    on JDK >= 17. Detect and trap the error.
    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    4d54012 View commit details
    Browse the repository at this point in the history
  15. tests: skip executing SocketServerTestCase, TestCase2, TestCase3, Tes…

    …tCase4
    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    f10e706 View commit details
    Browse the repository at this point in the history
  16. update readme

    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    e9bc63c View commit details
    Browse the repository at this point in the history
  17. Replace http://logging.apache.org with https://logging.apache.org

    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    6337e05 View commit details
    Browse the repository at this point in the history
  18. test: do not use same output files from many tests

    Changes most tests to use unique output files during their runs, so that
    when they run in parallel or out-of-order or interactively they do not
    cause test failures, reducing flakyness of test runs.
    lsimons authored and Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    f723b70 View commit details
    Browse the repository at this point in the history
  19. test: ignore at java.base/java... when comparing stacktraces

    Vladimir Sitnikov committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    ecddd47 View commit details
    Browse the repository at this point in the history