Grails-Plugin-Consortium / grails-filterpane

Filterpane plugin for grails.
Apache License 2.0
16 stars 44 forks source link

Test-Application and ApplicationLoader in final jar v3.0.8 #77

Open Wellssow opened 7 years ago

Wellssow commented 7 years ago

We use the filterpane version 3.0.8 in our application and found an extra "Application" and "ApplicationLoader" class inside the jar, under /org/grails/plugins/filterpane/test.

When we deploy the our WAR-file on a Tomcat 8.5.15 this application got started first with a 50% chance. And this breaks our own application.

I guess the test package got there accidently and could be removed.

Wellssow commented 7 years ago

And the Application is referenced in "META-INF/grails-plugin.xml"

mgkimsal commented 7 years ago

@Wellssow - what fix did you come up with for this? Hit me tonight and it's driving me crazy.

Wellssow commented 7 years ago

Sorry for the late response - I was afk due to my holiday ;-)

I removed the class and xml reference from the jar. Well, quite a dirty hack - but it works :D

And referenced this "fixed" jar instead of the orignal:

    // compile "org.grails.plugins:filterpane:3.0.8"
    compile files("lib/filterpane-3.0.8.jar")
amarflybot commented 6 years ago

After the hack the Tomcat container get started.. Sir @macrosak Could you please make the change a release a new version?

macrosak commented 6 years ago

I do not have access to this repo, @ctoestreich can you make a new release?