Bug 928888
| Summary: | standalone.bat has a syntax error that prevents settingdebug port or using the default debug port | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Tom Fonteyne <tfonteyn> | |
| Component: | Scripts and Commands | Assignee: | jboss-set | |
| Status: | CLOSED EOL | QA Contact: | Marek Kopecky <mkopecky> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.1.0 | CC: | pkremens | |
| Target Milestone: | --- | |||
| Target Release: | EAP 6.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Windows | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1134807 (view as bug list) | Environment: |
Windows
|
|
| Last Closed: | 2019-08-19 12:48:09 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1134807 | |||
Fix that Tom provided in description works for me. |
standalone.bat has these lines: :READ-DEBUG-PORT set "DEBUG_MODE=true" set DEBUG_ARG="%2" if not "x%DEBUG_ARG" == "x" ( if x%DEBUG_ARG:-=%==x%DEBUG_ARG% ( shift set DEBUG_PORT=%DEBUG_ARG% ) shift goto READ-ARGS ) which are not working properly. Replace them with these: :READ-DEBUG-PORT set "DEBUG_MODE=true" if not "%2" == "" ( if not "%2:~0,1" == "-" ( set DEBUG_PORT=%2 shift ) shift goto READ-ARGS )