Use of classpath*: / Windows

Tom Zeller tzeller at dragonacea.biz
Mon Jun 22 15:35:14 EDT 2015


>> Manually via the testbed, automatically via integration tests.
>
> The tests pretty much don't run for me so I'm not easily able to understand what's going on when something is involving them. I'll see about the testbed.

Right, I need to doc the integration tests.

Quickly added LS forms to the testbed index page, r310. You'll need to
modify idp.views, as the note there says.

>> Yes, but, the base-path of the SWF registry/repository needs the * if
>> classpath resources are in src/main/resources and test/main/resources
>> (multiple disjoint paths). The resource loader "hack" I added does
>> what you say above, reverses the * to just-one.
>
> Right, but it's just working in that one of the two happens to have the file it's looking for, but if both do, it's not loading both. That's why it needs to be a distinct syntax

Yes. However, I did what Spring did in how they handle classpath*: in
their resource loader, first one wins.


More information about the dev mailing list