[GRADLE-1774] Gradle truncates values of system and project properties passed from the command line if they contain an equals sign Created: 31/Aug/11  Updated: 04/Jan/13  Resolved: 03/Feb/12

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.0-milestone-8

Type: Bug
Reporter: Peter Niederwieser Assignee: René Gröschke (Inactive)
Resolution: Fixed Votes: 0


gradle -Pfoo=bar=baz

foo ends up having value bar instead of bar=baz. Same for -Dfoo=bar=baz. Quotes don't seem to help. A Java program run with the java command doesn't have a problem with -Dfoo=bar=baz.

Comment by René Gröschke (Inactive) [ 02/Feb/12 ]

I was able to reproduce and fix the issue with -Pfoo=bar=baz, but I can't reproduce the problem with -Dfoo=bar=baz as this works as expected for me.

Comment by Adam Murdoch [ 02/Feb/12 ]

@Rene, -Dfoo=bar=baz was fixed a while ago, but we missed -Pfoo=bar=baz

Generated at Wed Jun 30 12:04:00 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.