processing / processing/processing4

Implement support for handling Java “modules” and clean up JavaFX-specific workarounds

オープン
#212 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

Created by: benfry

JavaFX 16 (which we're using as of 4.0 alpha 5) is bundled as a set of Java “modules,” rather than regular .jar files. As such, it will complain if the code is loaded from the usual CLASSPATH.

For now, there are some workarounds in the build process that treat the (newly separated) JavaFX library as a special case, but this is pretty gross, and we need to either:

  1. Start tracking a modulesPath and module lists during build and bundling so that it can be specified when running from the PDE and when exporting.
  2. Alternatively, we could add additional information to library.properties so that special command line options can be added. In this case, it would be --add-modules javax.base, etc, but could also be used to cover -XstartOnFirstThread for libraries that require that (LWJGL?)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、JavaFX 16 モジュールのビルドおよびバンドリングプロセスを追跡します。これには、PDE がプロジェクトを実行する方法と、エクスポートが組み立てられる方法が含まれます。提案されている modulesPath/module-list アプローチと、library.properties を介してコマンドラインオプションを追加する方法を比較します。PDE の実行とエクスポートの両方で、現在の特殊ケースのワークアラウンドなしに JavaFX モジュールが動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system, desktop
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。