Re: Cayenne XML Names [wildcard resource lookup]

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Dec 19 2007 - 12:04:38 EST

  • Next message: Tore Halset: "failing junit tests"

    On Dec 19, 2007, at 6:56 PM, Mike Kienenberger wrote:

    > Then walks through the classloader for each resource returned over
    > /META-INF/ for any taglib.xmls

    Yep. In 99.9% of cases the returned resource URL points either to a
    file or to a jar, so you can grep the URL for the environment pattern
    and go from there (although theoretically it can be some network
    resource that does not support "list" operation). That's what I meant
    by the workaround.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Dec 19 2007 - 12:05:12 EST