Would it be worth adding this to the build? Would it then also be worth adding an API to load and parse this as a Version structure?
Roger Whitcomb | Architect, Engineering | [email protected] | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA +1 650-587-5596 | fax: +1 650-587-5550 -----Original Message----- From: Greg Brown [mailto:[email protected]] Sent: Thursday, May 19, 2011 1:04 PM To: [email protected] Subject: Re: Pivot version available programmatically? You can get this information from the JAR manifests but it is pretty ugly. Best thing to do would probably be to add build.properties or something like it to the generated JARs so it would be available on the classpath. On May 19, 2011, at 3:42 PM, Roger L. Whitcomb wrote: > In ApplicationContext there is a "getJVMVersion()" that returns a > Version structure. I'm looking for something that gives me the Pivot > version number (Version object) in a similar fashion and I can't find > it. Is there such a method? If not, do you think it would be useful? > Could it be set somehow from the static "build.properties" version > number? > > > > Thanks. > > > > Roger Whitcomb > > Architect, Engineering > > Ingres Corporation > > [email protected] <mailto:[email protected]> > > > > PHONE +1 650.587.5596 > > FAX +1 650.587.5550 > > > > www.ingres.com <http://www.ingres.com/> > > > > This transmission is confidential and intended solely for the use of the > recipient named above. It may contain confidential, proprietary, or > legally privileged information. If you are not the intended recipient, > you are hereby notified that any unauthorized review, use, disclosure or > distribution is strictly prohibited. If you have received this > transmission in error, please contact the sender by reply e-mail and > delete the original transmission and all copies from your system. > > >
