-
Notifications
You must be signed in to change notification settings - Fork 103
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
Nondeterministic output of processors #219
Comments
Can probably just
|
This specification cannot be complete, it doesn't mention that I'm tempted to write to memory and then just dump the first (comment) line before writing to a file. Sorting can probably be done similarly, assuming it never breaks lines for length when programmatically generated. |
IIRC you can pass an explicit header which overrides the autogenerated date header. You would indeed still need to sort explicitly.
Not that I know of, but better check. |
https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#store-java.io.Writer-java.lang.String- documents that the autogenerated comment is always included. |
Indeed. AFAICT you can just |
https://github.com/stapler/stapler/blob/3765ae49d6ff355ab457927eeb5be5776b54817b/core/src/main/java/org/kohsuke/stapler/jsr269/AbstractProcessorImpl.java#L66-L70 can result in build products from a given source tree including a timestamp, breaking artifact diff tools.
It would also be better for
*.properties
-formatted outputs to be sorted, for maximum stability.The text was updated successfully, but these errors were encountered: