Mule MANIFEST.MF

307 views Asked by At

Is there any way to extract MANIFEST.MF in mule?? I would like to get version related information like, build version, timestamp, version etc. I'm creating API to get these build information.

other than MANIFEST.MF, is there any other way to get mule build version information?

I would appreciate your reply.

Thanks!

1

There are 1 answers

0
Julio Cejas On BEST ANSWER

You can use to extract Mule version or Server ID, for example:

Manifest mf = MuleManifest.getManifest();
Attributes att = mf.getMainAttributes();
out --> MuleManifest.getProductDescription();
out --> MuleManifest.getProductMoreInfo();
out --> MuleManifest.getBuildNumber();

I hope to help;