[midPoint] Groovy and Apache commons
Wojciech Staszewski
wojciech.staszewski at diagnostyka.pl
Mon Jan 16 10:48:59 CET 2017
OK, thanks!
W dniu 16.01.2017 o 10:33, Radovan Semancik pisze:
> Hi,
>
> Apache commons lang should be already available. We are using that almost everywhere. So just import the classes in your script. Other Apache Common libraries are sometimes used. But generally we try to keep dependencies to the minimum.
>
> If the library that you wan is not included then there is no extra mechanism in midPoint to include extra library. You have to use the methods provided by the usual development environment. I see two options: add the library to server (tomcat) class path or create a custom midPoint build with that library included.
>
> However, a word of warning: adding new dependency to an existing project such as midPoint can be risky. This library may already be used in midPoint or tomcat, but there may be a different version than the one that you are trying to add. Or that library may be a dependency of some other library used by midPoint. Your library may interfere with inner classloaders (e.g. tomcat application classloader or connector classloader in ConnId). Strange things may happen. Use at your own risk. Expect the
> unexpected. Dependency management is one of the hardest and ugliest parts of software development. That's the reason we try to keep the number of dependencies down. We already have too many of them and this not not a trivial task to manage.
>
--
Wojciech Staszewski
Administrator Systemów Sieciowych
tel. kom: 663 680 236
www.diagnostyka.pl
Diagnostyka Sp. z o. o.
ul. Prof. M. Życzkowskiego 16, 31-864 Kraków
Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS)
NIP: 675-12-65-009; REGON: 356366975
Kapitał zakładowy: 33 756 500 zł.
Pomyśl o środowisku zanim wydrukujesz ten e-mail.
More information about the midPoint
mailing list