-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Allow schemaZip Gradle task to execute on MS Windows #23933
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
Conversation
Because of the different file separators in different operating systems, the schemazip task in Windows system cannot be executed. Now it has been repaired
Please check the error details |
The error in the linked Stack Overflow question shows this happening for Spring Framework I can confirm that this also occurs for
|
I made a mistake. I built the old code.
Running environment build command: gradlew build |
Reopening to decide if the team wants to fix the build on Windows for |
@y987425112, @husterchen, and @vananiev, It would be very helpful to us if you could answer the following questions.
|
|
Known Failures4.3.x
5.0.x
5.1.x
5.2.x
|
This has been merged into Thanks! |
Prior to this commit, the schemaZip Gradle task failed to find Spring schema files on MS Windows due to path separators hard coded to forward slashes that are not compatible with the Windows operating system. Consequently, a full build failed on Windows since the distZip task was not able to locate the zipped schema archive that the schemaZip task failed to create. This commit fixes this by updating the schemaZip task to search for schema files using backslashes as well as forward slashes. Closes gh-23933
Prior to this commit, the schemaZip Gradle task failed to find Spring schema files on MS Windows due to path separators hard coded to forward slashes that are not compatible with the Windows operating system. Consequently, a full build failed on Windows since the distZip task was not able to locate the zipped schema archive that the schemaZip task failed to create. This commit fixes this by updating the schemaZip task to search for schema files using backslashes as well as forward slashes. Closes gh-23933
Prior to this commit, the schemaZip Gradle task failed to find Spring schema files on MS Windows due to path separators hard coded to forward slashes that are not compatible with the Windows operating system. Consequently, a full build failed on Windows since the distZip task was not able to locate the zipped schema archive that the schemaZip task failed to create. This commit fixes this by updating the schemaZip task to search for schema files using backslashes as well as forward slashes. Closes gh-23933
Because of the different file separators in different operating
systems, the schemazip task in Windows system cannot be executed.
Now it has been repaired