Re: [hibernate-dev] Scanner contract

2013-03-20 Thread Steve Ebersole
I should point out that for most cases, writing a new Scanner should be as simple as extending org.hibernate.jpa.boot.scan.spi.AbstractScannerImpl and passing in a custom org.hibernate.jpa.boot.archive.spi.ArchiveDescriptorFactory that handles specific archive types (by URL protocol, etc). For

Re: [hibernate-dev] Scanner contract

2013-03-20 Thread Steve Ebersole
Here is the initial work I did on this. https://github.com/sebersole/hibernate-core/tree/HHH-8088 Unfortunately it includes a lot of fixes to bad test code, especially in org.hibernate.jpa.test.packaging.PackagingTestCase and children (please no more relative file references in tests). At a hi