Darren, what is your scenario to run into this? I had some upgrade
paths to run through but didn't encounter this.

regards,
Daan

On Wed, Sep 11, 2013 at 6:58 PM, Darren Shepherd
<darren.s.sheph...@gmail.com> wrote:
> So I run ACS from eclipse for development, but DatabaseUpgradeChecker does
> the following
>
> String currentVersion =
> this.getClass().getPackage().getImplementationVersion();
>                 if (currentVersion == null) {
>                     currentVersion =
> this.getClass().getSuperclass().getPackage().getImplementationVersion();
>                 }
>
> Which results in currentVersion = "1.6.0_45" which is the package version of
> java because the super class is java.lang.Object.  So upgrade fails.  So I
> always comment out the DatabaseUpgradeChecker.  Changing the super class to
> ManagerBase also works around the problem sorta (currentVersion == null, so
> it just does nothing).
>
> What are others doing?  In general I want to get rid of any use of
> getImplementationVersion() as it makes development annoying.
>
> Darren

Reply via email to