AnsweredAssumed Answered

Referencing bb-manifest in java classes

Question asked by cz0070476 on Apr 17, 2018
Latest reply on Apr 18, 2018 by cz0070476

Hi BB Community!


I am trying to pull the version # straight from bb-manifest into one of my B2 java classes for reporting. I've tried all sorts of linking by means of using the File class but cannot seem to provide the correct path. Since it is all being compiled into the same .war file, I know it must be more tricky than that, so I researched some more and found that a workaround would be to use the ServletContext, but did not work.


Are there any other options available to grab the version from bb-manifest?