Re: Interesting Tomcat (et al) Issue ...

From: Mike Kienenberger (mkienen..laska.net)
Date: Wed Jul 13 2005 - 17:27:06 EDT

  • Next message: Joshua Pyle: "Re: Interesting Tomcat (et al) Issue ..."

    "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com> wrote:
    > I don't think addClassPath would work since it would append to the
    > CLASSPATH and my cayenne.xml #2 is already in the CLASSPATH, it is just
    > overshadowed by #1.

    You're right. I wasn't thinking clearly.

    You can change the name it looks for. First optional parameter for
    Configuration. I use it to guarantee that my unit tests never access my
    non-unit-test datasources.

    new DefaultConfiguration("cayenne-testing.xml")



    This archive was generated by hypermail 2.0.0 : Wed Jul 13 2005 - 17:24:01 EDT