-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System properties should take precedence over arquillian.xml #41
Comments
You basically expect the completely opposite behaviour that is currently implemented in Governor - the current implementation ignores values that are set as system properties when the values are set in arq.xml and you want to do it the other way around... To be honest I would choose you approach as well, as it is also implemented in arq-core: https://github.com/arquillian/arquillian-core/blob/master/config/impl-base/src/main/java/org/jboss/arquillian/config/impl/extension/PropertiesParser.java |
That's correct. I think that's what you should generally expect when it comes to precedence. System properties take precedence over locally defined ones (e.g. mvn). |
yeah why not :) what about environment properties? |
This can be always solved in arq.xml Maybe we should remove those additional ones and just rely on what is available from core? |
I think we should have following strategy:
I wouldn't remove "counter parts" as they are already introduced and it would be confusing for the user. By counterparts I mean for example And we can always use regular substitution provided by Arquillian Core: |
When, for example, username and password for JIRA are defined in
arquillian.xml
but also provided as environment variable, latter should take precedence.Current implementation takes only those which are defined in the file.
The text was updated successfully, but these errors were encountered: