Hi All
Would like to know if it's possible to package custom XBL components into a separate JAR file. We currently have all of our custom XBL components packaged into a WAR file which is overlaid to the Orbeon WAR file to create a single WAR file for deployment and we want to be able to rebuild the XBL components package by itself in some cases. Kind regards Kris -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Kris,
Yes, you can. Out-of-the-box, you can put additional resources in the `WEB-INF/resources`, or in your own jar files that you add in `WEB-INF/lib`. They will be loaded from the jars by the ClassLoader resource manager which is there by default (and has to be there, as most built-in Orbeon Forms resources are shipped in jar files). You can read more about resource managers on that page linked below, and you'll let me know if this works for you. https://doc.orbeon.com/xml-platform/resources/resource-managers ‑Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
Hi Kris, have you tried putting the source for your XBL in a jar file, per my
previous message? If so, did it work for you? ‑Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
I just got back to this today and yes I managed to separate my custom XBL components into a separate JAR. Following up on this, is it possible to deploy the XBL components into a directory on the filesystem which can then be picked up by the filesystem resource manager instead? Kind regards Kris -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Kris,
Yes, definitely, and in fact this is something that is done quite frequently. You'll find more about this on the page linked below, and you'll let us know if this works for you. https://doc.orbeon.com/xml-platform/resources/external-resources ‑Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
This works perfectly. Thanks Alex.
-- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Perfect Kris, and thank you for the confirmation.
‑Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |