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

The skriptTest Gradle task does not work on Windows #2797

Closed
Olyno opened this issue Jan 30, 2020 · 5 comments
Closed

The skriptTest Gradle task does not work on Windows #2797

Olyno opened this issue Jan 30, 2020 · 5 comments
Assignees
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.

Comments

@Olyno
Copy link
Contributor

Olyno commented Jan 30, 2020

Description

gradlew skriptTest command doesn't work on windows.

Steps to Reproduce

Simply execute the command.

Expected Behavior

Execute tests

Informations

@bensku
Copy link
Member

bensku commented Jan 31, 2020

Could you post Gradle log with --info, would be interesting to see what the classpath for test platform is.

@Olyno
Copy link
Contributor Author

Olyno commented Feb 2, 2020

Here is logs: https://hasteb.in/qopalaxi.sql

@bensku bensku added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Feb 3, 2020
@bensku
Copy link
Member

bensku commented Feb 3, 2020

Java didn't like forward slashes in name of Skript jar. Please let me know if there are more issues running tests on Windows.

@Olyno
Copy link
Contributor Author

Olyno commented Feb 29, 2020

Sorry for the really late answer, I still have the same issue, here are new logs: https://hasteb.in/ojusulog.gradle

@Nicofisi
Copy link
Member

Nicofisi commented Mar 1, 2020

I have the same error as @Olyno on Windows 10 on 4563dcd

> Task :skriptTest FAILED
Error: Could not find or load main class ch.njol.skript.tests.platform.PlatformMain
Caused by: java.lang.ClassNotFoundException: ch.njol.skript.tests.platform.PlatformMain

@Nicofisi Nicofisi changed the title [bug] - skriptTest command not working The skriptTest Gradle task doesn't necessarily work on Windows Mar 2, 2020
@Nicofisi Nicofisi changed the title The skriptTest Gradle task doesn't necessarily work on Windows The skriptTest Gradle task does not work on Windows Mar 2, 2020
@Nicofisi Nicofisi self-assigned this Mar 3, 2020
@Wealthyturtle Wealthyturtle added the completed The issue has been fully resolved and the change will be in the next Skript update. label Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.
Projects
None yet
Development

No branches or pull requests

5 participants