Skip to content

Fix Windows start scripts classpath#3309

Merged
baev merged 2 commits intoallure-framework:mainfrom
EmreeAltunn:fix-windows-build
May 6, 2026
Merged

Fix Windows start scripts classpath#3309
baev merged 2 commits intoallure-framework:mainfrom
EmreeAltunn:fix-windows-build

Conversation

@EmreeAltunn
Copy link
Copy Markdown
Contributor

This PR fixes startScripts generation on Windows.

Before this change, running:

./gradlew.bat :allure-commandline:startScripts

failed with:

Illegal char <*> at index ... src/lib/*

The previous classpath used a wildcard path with files(...), which can be interpreted as an invalid path on Windows because of the * character.

Changes

Replaced the wildcard path with fileTree("src/lib") while keeping src/lib/config on the classpath.

Verification

Verified on Windows with:

./gradlew.bat :allure-commandline:startScripts

Result:

BUILD SUCCESSFUL

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 25, 2026

CLA assistant check
All committers have signed the CLA.

@baev baev added the type:bug Something isn't working label Apr 29, 2026
@baev baev merged commit 8cf3222 into allure-framework:main May 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants