[ 
https://issues.apache.org/jira/browse/SLING-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817351#comment-13817351
 ] 

Bertrand Delacretaz edited comment on SLING-3231 at 11/8/13 3:35 PM:
---------------------------------------------------------------------

I think requiring -Da=b without spaces is fine if that makes things simpler, as 
long as -D a=b with spaces produces a useful error message.

And actually using -F instead of -D would be better to prevent confusion, 
otherwise you can have confusing command lines like 

{code}
java -Da=b -jar some.jar -Da=c
{code}

Where the -Ds have different meaning depending on their position in the command 
line.


was (Author: bdelacretaz):
I think requiring -Da=b without spaces is fine if that makes things simpler, as 
long as -D a=b with spaces produces a useful error message.

> Not able to set multiple framework property via command line args
> -----------------------------------------------------------------
>
>                 Key: SLING-3231
>                 URL: https://issues.apache.org/jira/browse/SLING-3231
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions: Launchpad Base 2.5.0
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>         Attachments: SLING-3231.patch
>
>
> Sling launchpad doc [1] mentions that multiple framework properties can be 
> specified via command line like "-D n=v". For current implementation this 
> leads to saving of last pair only.
> This appears to be a bug in parsing logic [2]. Patch to follow
> [1] 
> http://sling.apache.org/documentation/the-sling-engine/the-sling-launchpad.html
> [2] http://markmail.org/thread/dtlzmnrcid4v3esy



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to