apache / apache/grails-core

Issues with 5.0.0 wrapper

Open
#14,702 11 comments 0 reactions 1 assignee Claimed by @jamesfredley View on GitHub
related-to: grails-wrapper
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

Using https://github.com/grails/grails-wrapper/releases/tag/v5.0.0

## Issues with Line Separator
```
% ./grailsw
env: bash\r: No such file or directory
```
### this happens because the Line Separator used is different from the one in sdkman
It uses CRLF and should just be LF

## Issues Resolving Test Dependencies
if I take grailsw from sdkman 5.3.6
```
% ./grailsw
| Resolving Dependencies. Please wait...

CONFIGURE SUCCESSFUL in 945ms
| Error Could not resolve all artifacts for configuration ':testRuntimeClasspath'. Type 'gradle dependencies' for more information
```

if I comment out all the test dependencies it works.

## stop-app doesn't appear to work

```
grails> stop-app
2024-09-15T23:02:08.687-04:00 WARN 40822 --- [nio-8081-exec-2] o.s.web.servlet.PageNotFound : No mapping for POST /actuator/shutdown
2024-09-15T23:02:08.688-04:00 WARN 40822 --- [nio-8081-exec-2] o.s.web.servlet.PageNotFound : No endpoint POST /actuator/shutdown.
| Error Application not running. (Use --stacktrace to see the full trace)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.