This repository has been archived by the owner on Dec 10, 2020. It is now read-only.
forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the -no-header argument to jaxb generator to give deterministic o…
…utput Makes the jaxb output deterministic to make it compatible with caching. Also removed some logic for global codegen strategy that is no longer needed. The jaxb generator adds a timestamp to each java file it generates by default. ``` // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.07.09 at 03:50:50 PM PDT ``` Fortuantely, you can easiliy turn this off ``` $ xjc -h | grep header -no-header : suppress generation of a file header with timestamp ``` Testing Done: CI is running at https://travis-ci.org/pantsbuild/pants/builds/93226958 Updated unit tests. Bugs closed: 1768, 2627 Reviewed at https://rbcommons.com/s/twitter/r/3179/
- Loading branch information
1 parent
656348a
commit 3e0da3f
Showing
4 changed files
with
29 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters