Re: running tests from commandline ant

From: Andrus (andru..bjectstyle.org)
Date: Wed Feb 05 2003 - 23:40:29 EST

  • Next message: Dirk Olmes: "Re: running tests from commandline ant"

    Dirk,

    are you doing something similar to the procedure described here:

    http://objectstyle.org/cayenne/developer.html#unit

    In this case Ant should've picked all the jars.

    Andrus

    At 05:32 AM 2/6/2003 +0100, Dirk Olmes wrote:
    >Hi,
    >
    >I'm trying to run the junit testsuite from the commandline with ant. This
    >fails, however.
    >
    >My first attempts produced lots of NoClassDefFoundErrors on class
    >org/objectstyle/ashwood/graph/Digraph. Adding the ashwood .jar that comes
    >with cayenne in otherlib fixed this. I'm suspicious that this is the
    >correct fix since I remember that the unit tests run automated at night
    >and this should have come up earlier.
    >
    >Anyway, now I'm running the unit tests from the commandline and get
    >strange ClassCastExceptions in the PostgreSQL JDBC adaptor. After some
    >fuzzing I made the same test work from within eclipse and it runs just
    >fine(!??)
    >
    >Is there something I'm missing?
    >
    >-dirk
    >



    This archive was generated by hypermail 2.0.0 : Wed Feb 05 2003 - 23:40:39 EST