[JAVA-2900] Auto generate Build Information Created: 02/Jul/18 Updated: 28/Oct/23 Resolved: 16/Aug/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Build |
| Affects Version/s: | 3.5.0, 3.6.4 |
| Fix Version/s: | 3.8.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Description |
|
Rather than rely on looking up the MANIFEST.MF file - use / write a gradle plugin or task that auto generates the build information in a class, so that it can be used by MongoDriverInformation. The Scala driver uses a BuildInfo plugin to generate the driver version on compile. |
| Comments |
| Comment by Githook User [ 17/Aug/18 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}Message: Store driver version in a generated class Accessing the driver version from META-INF/MANIFEST.MF has proved to be Generating a class at build time and storing it in the class path will
|
| Comment by Githook User [ 16/Aug/18 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Store driver version in a generated class Accessing the driver version from META-INF/MANIFEST.MF has proved to be Generating a class at build time and storing it in the class path will
|