[opencms-dev] Managing module libs and module events

Florian Hopf hopf at synyx.de
Thu Jul 15 20:10:58 CEST 2010


Hi,

Thomas Göttlich schrieb:
> Those jars are put in the appropriate lib folder in the module and are
> published upon upload (i.e. copied to the WEB-INF/lib dir).
> However, if I update my module and the dependency version changes - to
> let's say mydep-1.1.jar - I end up with 2 versions of the same
> dependency in my WEB-INF/lib.
> 
> I also deleted the module but it then leaves the additional jars in the
> WEB-INF/lib and tells me that there are no publish history entries.
> 
> Does OpenCMS delete additional jar files if a module is deleted or the
> jar is not a module dependency any more?

It should delete those jars if you added /system/modules/your-module as
a module resource. I think this should happen automatically if you
create the module in the workplace but might be missing if you are
creating your module outside of opencms.

Regards
Florian




More information about the opencms-dev mailing list