cassandra-migration icon indicating copy to clipboard operation
cassandra-migration copied to clipboard

Missing OSGi bundle LocationScanner

Open AVP505 opened this issue 9 years ago • 2 comments

There is no "bundle" location scanner, only a FileSystemClassPathLocationScanner and JarFileClassPathLocationScanner.

Proposal create a bundle location scanner. Update ClassPathScanner.java, method createLocationScanner: if("bundle".equals(protocol)){ ...

Creating a patch for submission

AVP505 avatar Jan 20 '16 14:01 AVP505

Just doing a little housekeeping on our open issues. Did you ever submit a PR @AVP505?

SteveFeldman avatar Feb 24 '16 15:02 SteveFeldman

@SteveFeldman , No I didn't submit any PR. But we looked to add the flyway osgi scanner, which worked after some tries. But my changes are a bit to specific for my problem to be a good general fix.

Flyway Osgi scanner: https://github.com/flyway/flyway/blob/54181cca3f3be603b8bc75769748198121abeb93/flyway-core/src/main/java/org/flywaydb/core/internal/util/scanner/classpath/OsgiClassPathLocationScanner.java

AVP505 avatar Feb 25 '16 08:02 AVP505