Re: Version API

2015-07-29 Thread Mike Kienenberger
Starting in 4.0.M3, you will be able to use object.getClass().getPackage().getImplementationVersion() to get the build version which will be stored in the jar's WEB-INF/MANIFEST.MF where object can be any class in the jar. I'm guessing something like ObjectContext.class will work in place of "obj

Re: Version API

2015-07-29 Thread Michael Gentry
Maybe we should add a Cayenne.getVersion() method? > On Jul 27, 2015, at 10:41 AM, Mike Kienenberger wrote: > > Our jar MANIFEST file also contains: > > Bundle-Version: 4.0.0.M2 > > But shouldn't we also be supplying this information as > > Implementation-Version: 4.0.0.M2 > > so it's in a