includeAll filter parameter

Hi.

I cant figure out how filter parameter of includeAll tag works. Can, please, you help ?

I want to include only files whose name starts from “upgrade”.

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <databaseChangeLog xmlns=“http://www.liquibase.org/xml/ns/dbchangelog
  3.     xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:ext=“http://www.liquibase.org/xml/ns/dbchangelog-ext
  4.     xsi:schemaLocation=“http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
  5.         http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd”>
  6.    
  7.    
  8.     <includeAll  path=“neoflex.nlo.db” filter=“upgrade*” />

Haven’t found any docs on the subject.

I’m using version 3.0.5.

The filter attribute currently expects a class name that implemetns IncludeAllResourceFilter.


See https://liquibase.jira.com/browse/CORE-1202 for more information.


Nathan