apache / apache/iotdb

when running the program in IDE, we can not get the version info

オープン
#2,772 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

in IoTDBConstant class

//when running the program in IDE, we can not get the version info using getImplementationVersion()
public static final String VERSION =
IoTDBConstant.class.getPackage().getImplementationVersion() != null ? IoTDBConstant.class
.getPackage().getImplementationVersion() : "UNKNOWN";

![image](https://user-images.githubusercontent.com/7359454/109935388-8173ea80-7d08-11eb-8239-cf01cb441fcf.png)

![image](https://user-images.githubusercontent.com/7359454/109935424-89338f00-7d08-11eb-9a93-b58ae75663af.png)

Hope that the version information can be obtained normally in the development environment

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

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

調査の方向性

IoTDBConstant クラスの VERSION フィールドから始め、IDE から実行した場合とパッケージ化されたアプリケーションから実行した場合の getImplementationVersion() の動作を比較します。IDE のケースを再現し、その後、開発環境での実行が UNKNOWN ではなくバージョン情報を返し、パッケージ化された実行が引き続き正常に動作することを確認します。

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

評価

技術スタック
java
領域
databases
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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