-
Bug
-
Resolution: Done
-
Major
-
None
-
7.18.0.Final
-
2019 Week 20-22
-
-
NEW
-
NEW
When bulding kjar, warning something like the following appear.
[WARNING] File 'src/main/resources//work/buildKjar/src/main/resources/com/sample/rules2' is in folder '.work.buildKjar.src.main.resources.com.sample.rules2' but declares package 'com.sample.rules2'. It is advised to have a correspondance between package and folder names. [WARNING] File 'src/main/resources//work/buildKjar/src/main/resources/com/sample/rules' is in folder '.work.buildKjar.src.main.resources.com.sample.rules' but declares package 'com.sample.rules'. It is advised to have a correspondance between package and folder names. [WARNING] File 'work/buildKjar/src/main/resources/com/sample/rules2' is in folder 'work.buildKjar.src.main.resources.com.sample.rules2' but declares package 'com.sample.rules2'. It is advised to have a correspondance between package and folder names. [WARNING] File 'work/buildKjar/src/main/resources/com/sample/rules' is in folder 'work.buildKjar.src.main.resources.com.sample.rules' but declares package 'com.sample.rules'. It is advised to have a correspondance between package and folder names.
But drl are put under appropriate path which matches declared package.
src/main/resources/ ├── com │ └── sample │ ├── rules │ │ └── Sample.drl │ └── rules2 │ └── Sample2.drl
This warning should not appear for this example.
In addition, path of File which is shown in this warning message looks wired.
e.g.
File 'src/main/resources//work/buildKjarTest2/src/main/resources/com/sample/rules2'
i.e. prefix ('src/main/resources/') is added to absolute path.
Therefore, it's hard to understand what is exactly wrong and warned.
- is cloned by
-
RHDM-962 An inaccurate warning appear while building kjar
- Closed