Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Could not build ballerina-lang repo when its path contains spaces #41090

Open
Thushara-Piyasekara opened this issue Jul 26, 2023 · 1 comment · May be fixed by #43445
Open

[Bug]: Could not build ballerina-lang repo when its path contains spaces #41090

Thushara-Piyasekara opened this issue Jul 26, 2023 · 1 comment · May be fixed by #43445

Comments

@Thushara-Piyasekara
Copy link
Contributor

Description

ballerina-lang repo master branch build failed with the following error message,

`> Task :jballerina-tools:generateDocs FAILED
Error: Could not find or load main class org.ballerinalang.plugin.gradle.doc.DocerinaGen
Caused by: java.lang.ClassNotFoundException: org.ballerinalang.plugin.gradle.doc.DocerinaGen

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jballerina-tools:generateDocs'.
> Process 'command 'C:\Program Files\Eclipse Adoptium\jdk-11.0.20.8-hotspot\bin\java.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 19s
346 actionable tasks: 41 executed, 305 up-to-date`

After relocating the repository to a path that does not include a space, the build was finished successfully.

Steps to Reproduce

Clone the repository to a directory with that includes a space. Following is the path I copied it to,
C:\Users\Thushara Piyasekara\Documents\Ballerina_Lang_Codebase\ballerina-lang>

Run the following command in the clone repo directory,
gradlew build -x check

Affected Version(s)

master branch

OS, DB, other environment details and versions

OS: Windows 10

Related area

-> CICD

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@Shadow-Devil
Copy link
Contributor

Hi, I would like to work on this issue. Could you please assign it to me?

@Shadow-Devil Shadow-Devil linked a pull request Oct 3, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants