To create a package that installs a new version of an OSGi bundle and deletes the older version, you can use a filter like this:
<?xml version="1.0" encoding="UTF-8"?> <workspaceFilter version="1.0"> <filter root="/apps/myapp/install"> <exclude pattern="/apps/myapp/install/.*"/> <include pattern="/apps/myapp/install/custombundle-.*"/> </filter> </workspaceFilter>
Here's an example scenario for the filter above:
Prisijunkite prie savo paskyros