Re: separate testing dependencies from use dependencies?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Apr 20 2004 - 13:01:06 EDT

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-119) 1.1M5, date, prefetch and MS SQL Server"

    This makes sense. I guess it would be beneficial to do at some point.
    Also I was thinking of distributing dependency jars for
    cayenne-nodeps.jar with the download (I think this is something you've
    advocated before), but probably only those under BSD/Apache license.

    Andrus

    On Apr 15, 2004, at 12:23 PM, Mike Kienenberger wrote:
    > One of the things I noticed today in my application is that I was
    > acquiring a
    > huge number of jar files, many of which were only used for testing,
    > all of
    > which I was packaging up in my j2ee war file. So I made a root-level
    > lib-testing directory and moved all of my testing libraries (and their
    > dependencies) into there.
    >
    > I think otherlib could benefit from the same kind of separation. I
    > realize
    > that
    > http://www.objectstyle.org/cayenne/userguide/install/postinstall.html
    > documents the user libraries pretty well, but I think having
    > otherlib/testing would make it clear what these many other jar files
    > are
    > for.
    >
    > I also think it might make sense to maintain a readme.txt file in the
    > otherlib directory stating what each of these jar files is used for,
    > making
    > it easier to upgrade various components, especially in those cases
    > when Jar
    > A requires Jar B which requires Jar C, and you want to upgrade A
    > (which may
    > or may not depend on B anymore).
    >
    > The only solid contribution I can make to such documentation is
    >
    > mockrunner-0.2.7.jar Testing jar used for optimistic locking tests
    > (mock
    > JDBC objects).
    >
    > -Mike
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 20 2004 - 13:01:12 EDT