Kotlin / Kotlin/kotlin-interactive-shell
Build does not create lib directory and the ki does not work
- Dominant language
- Java
- Stars
- 612
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Command i ran:
```
git clone https://github.com/Kotlin/kotlin-interactive-shell
cd kotlin-interactive-shell
mvn -DskipTests package
```
Result:
```
INFO] Attaching shaded artifact.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Ki Shell :: parent 0.4-SNAPSHOT:
[INFO]
[INFO] Ki Shell :: parent ................................. SUCCESS [ 0.733 s]
[INFO] Ki Shell ........................................... SUCCESS [ 31.090 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.110 s
[INFO] Finished at: 2021-01-18T06:52:59-08:00
[INFO] ------------------------------------------------------------------------
06:53:00/kotlin-interactive-shell $bin/ki.sh
Error: Unable to access jarfile /git/kotlin-interactive-shell/kotlin-interactive-shell/bin/../lib/ki-shell-*.jar
06:53:46/kotlin-interactive-shell $ll lib
ls: lib: No such file or directory
```
Let's diagnose a bit
```
06:53:56/kotlin-interactive-shell $ls -rlta
total 56
drwxr-xr-x 11 steve staff 352 Jan 18 06:52 ..
-rw-r--r-- 1 steve staff 1067 Jan 18 06:52 .gitignore
-rw-r--r-- 1 steve staff 11351 Jan 18 06:52 LICENSE
-rw-r--r-- 1 steve staff 1054 Jan 18 06:52 README.md
drwxr-xr-x 4 steve staff 128 Jan 18 06:52 bin
drwxr-xr-x 3 steve staff 96 Jan 18 06:52 conf
drwxr-xr-x 10 steve staff 320 Jan 18 06:52 .
-rw-r--r-- 1 steve staff 4932 Jan 18 06:52 pom.xml
drwxr-xr-x 12 steve staff 384 Jan 18 06:52 .git
drwxr-xr-x 5 steve staff 160 Jan 18 06:52 ki-shell
06:54:04/kotlin-interactive-shell $ll ki-shell/
total 16
-rw-r--r-- 1 steve staff 6664 Jan 18 06:52 pom.xml
drwxr-xr-x 4 steve staff 128 Jan 18 06:52 src
drwxr-xr-x 10 steve staff 320 Jan 18 06:52 ..
drwxr-xr-x 5 steve staff 160 Jan 18 06:52 .
drwxr-xr-x 10 steve staff 320 Jan 18 06:52 target
06:54:11/kotlin-interactive-shell $fls . \*.jar
./ki-shell/target/ki-shell-0.4-SNAPSHOT-sources.jar
-rw-r--r-- 1 steve staff 153468 Jan 18 06:52 ./ki-shell/target/ki-shell-0.4-SNAPSHOT-sources.jar
./ki-shell/target/ki-shell-0.4-SNAPSHOT.jar
-rw-r--r-- 1 steve staff 664016 Jan 18 06:52 ./ki-shell/target/ki-shell-0.4-SNAPSHOT.jar
./ki-shell/target/ki-shell-0.4-SNAPSHOT-shaded.jar
-rw-r--r-- 1 steve staff 65264255 Jan 18 06:52 ./ki-shell/target/ki-shell-0.4-SNAPSHOT-shaded.jar
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect bin/ki.sh and the root pom.xml plus ki-shell/pom.xml to compare the launcher's expected lib/ki-shell-*.jar with the artifacts produced under ki-shell/target. Run mvn -DskipTests package and bin/ki.sh; the issue is done when the build produces the expected layout or the launcher uses the generated artifact successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin, shell
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100