GitHub user AarjavP opened a pull request:
https://github.com/apache/groovy/pull/507
Fix wildcard arg handling in startGroovy.bat
Full disclosure: I don't fully understand this fix but it seems to be
working better for me.
From answer here: http://stackoverflow.com/a/12772969/5130921
The problem I had was similar, I was passing `-cp` `somedir\*` as
arguments, and I was getting the same message `The syntax of the command is
incorrect`
Also not sure if this is related but I also cannot pass in these arguments
without them being changed:
`-Dlog4j.configuration="file:simple/path/to.properties"`
However, `-Dlog4j.configuration=file:simple/path/to.properties` works fine
(just quotes removed)
The proposed change does not fix the above error, just the `*` thing.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AarjavP/groovy patch-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/507.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #507
----
commit f869ff7938b5a4262be297007178ef6f68aafaff
Author: AarjavP <[email protected]>
Date: 2017-03-02T19:11:13Z
Fix wildcard arg handling in startGroovy.bat
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---