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
> 
> roger.whitc...@ingres.com <mailto:roger.whitc...@ingres.com> 
> 
> 
> 
> 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.
> 
> 
> 

Reply via email to