On Thu, Dec 7, 2023 at 11:44 AM Bryan Stopp <[email protected]> wrote:

> I'm making the assumption here that the classloader functions the same
> when running stand-alone vs mvn hpi:run
>

Probably an invalid assumption.

I would advise never using the
https://commons.apache.org/proper/commons-jelly/tags.html#core:getStatic or
https://commons.apache.org/proper/commons-jelly/tags.html#core:invokeStatic
tags at all. Do as much as you possibly can in a Java class associated with
the view, and have the Jelly XML limit itself to calling methods on that
from JEXL, like ${it.someProperty} or ${descriptor.someMethod(someObject)}.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0_kN%3DaTgRVBgTprMG_tBB9x38j60%2Bg_N_d_4JJJrnAWQ%40mail.gmail.com.

Reply via email to