-
Notifications
You must be signed in to change notification settings - Fork 5
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
Consider using JavaExec when calling DataNucleus #314
Comments
While not directly related to this issue, have you considered using lazy configuration and also task configuration avoidance? |
Hi @thc202 , Thanks for your feedback.
No specific reason for this, except that I tried to use the methods already available in Line 273 in 9c4bc33
On the other hand, I don't think the enhancer tasks have a similar issue. They instantiate a new Lines 284 to 302 in 9c4bc33
Anyways, thanks for pointing this out. This definitely makes sense. So if you get a chance to contribute a PR, that would be greatly appreciated. |
Not yet, but any contribution is more than welcome :-) |
The
DataNucleusEnhancer
andSchemaTool
useSystem#exit
in case of errors which ends up terminating the Gradle daemon, withJavaExec
it is created a different process and the exit calls wouldn't affect the Gradle daemon.Is there are specific reason why they are being called programmatically instead of as command line?
Happy to provide a pull request if this is acceptable.
The text was updated successfully, but these errors were encountered: