Hi Florian,<br><br>yes that helps.<br><br>However, there is one major problem:<br><br>OpenCMS can't delete the jars since they are in the classpath of the application and the OS refuses to delete them while still being used (i.e. the server still references them).<br>
<br>The problem is that the export driver tries to delete the lib (file.delete();) and reports "ok" but didn't actually delete anything.<br><br>Any ideas?<br><br><div class="gmail_quote">2010/7/15 Florian Hopf <span dir="ltr"><<a href="mailto:hopf@synyx.de">hopf@synyx.de</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
Thomas Göttlich schrieb:<br>
<div class="im">> Those jars are put in the appropriate lib folder in the module and are<br>
> published upon upload (i.e. copied to the WEB-INF/lib dir).<br>
> However, if I update my module and the dependency version changes - to<br>
> let's say mydep-1.1.jar - I end up with 2 versions of the same<br>
> dependency in my WEB-INF/lib.<br>
><br>
> I also deleted the module but it then leaves the additional jars in the<br>
> WEB-INF/lib and tells me that there are no publish history entries.<br>
><br>
> Does OpenCMS delete additional jar files if a module is deleted or the<br>
> jar is not a module dependency any more?<br>
<br>
</div>It should delete those jars if you added /system/modules/your-module as<br>
a module resource. I think this should happen automatically if you<br>
create the module in the workplace but might be missing if you are<br>
creating your module outside of opencms.<br>
<br>
Regards<br>
<font color="#888888">Florian<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>