[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] js resource not redeployed after sp_redeploy

Hello there,

We use Equinox servlet bridge with Tomcat 6; there is a bundle of static web resources (js, html, css ...) registered via plugin.xml. However, after js being updated and new bundle copied to plugins folder and followed by a "sp_redeploy", the js change does not show up; we have to restart TomcatÂto bring up the change.

Does anyone know why this happens? Thanks a lot!

here is a plugin.xml sample, (js are in app folder)

<plugin>
  Â<extension point="org.eclipse.equinox.http.registry.resources">
    <resource alias="/index.html" base-name="/index.html" />
  Â</extension>
  Â...
  Â<extension point="org.eclipse.equinox.http.registry.resources">
    <resource alias="/app" base-name="/app" />
  Â</extension>
...
</plugin>

Here is a list of the framework bundles we use,

org.apache.felix.fileinstall-3.4.0.jar
org.apache.felix.webconsole_4.2.2-all.jar
org.eclipse.equinox.cm_1.1.0.v20131021-1936.jar
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar
org.eclipse.equinox.ds_1.4.200.v20131126-2331.jar
org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar
org.eclipse.equinox.http.servletbridge_1.0.300.v20130327-1442.jar
org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar
org.eclipse.equinox.registry_3.5.400.v20140428-1507.jar
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar
org.eclipse.osgi.services_3.4.0.v20140312-2051.jar
org.eclipse.osgi_3.10.0.v20140606-1445.jar
org.eclipse.update.configurator_3.3.200.v20140203-1328.jar