Skip to content
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

Update GrapeIvy.groovy: set ivyInstance to IvyContext, for speed up #66

Closed
wants to merge 1 commit into from

Conversation

qxo
Copy link
Contributor

@qxo qxo commented Jul 18, 2015

When custom grape.config is present(-Dgrape.config=...), there are no need load default ivysettings!

if you want see the diff,run with -Dgrape.config=... and -Divy.message.logger.level=4

groovy-grape-custom-config-no-need-load-default-settings

groovy/groovy-core#665

When custom grape.config is present(-Dgrape.config=...), there are no need load default ivysettings!

if you want see the diff,run with -Dgrape.config=... and -Divy.message.logger.level=4
@PascalSchumacher
Copy link
Contributor

@paulk-asert As you are the grape expert, what's your opinion?

@paulk-asert
Copy link
Contributor

hoping to get time to look soon

@PascalSchumacher
Copy link
Contributor

@paulk-asert All tests pass, I guess this is safe to merge into master?

@paulk-asert
Copy link
Contributor

We won't have any tests covering this. I suspect it is safe to merge - just doing some checking. I think it applies all the time, not just when a custom config is specified via -Dgrape.config, but I think that might be OK anyway, since I don't think we ever fall back to that config, we use the one in defaultGrapeConfig.xml.

@paulk-asert
Copy link
Contributor

I did further testing and everything seems to be working well. Thanks for spotting this! I will close this once I create a Jira ticket.

@asfgit asfgit closed this in 2759277 Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants