Re: Building with JUnit

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Feb 08 2005 - 09:27:53 EST

  • Next message: Bryan Lewis: "NPE caused by inconsistent build?"

    Joel,

    I don't have a handy script to share, but check out 1.2M2 cdbgen Ant task
    that generates schema from the mapping. You can continue using Cayenne 1.1
    for your project, and just borrow Ant task class from 1.2.

    Andrus

    > Is there any sample build scripts for Cayenne that will let me build
    > JUnit tests and run against something like HSQL, but deploy to say
    > Resin/MySQL?
    >
    > I tried to use AppFuse to get an idea of how to do this, but its not
    > clear to me how to rebuild the (HSQL) database using Cayenne info and
    > basically maintain two different datasource between build (for JUnit)
    > and deploy, at least in any kind of convenient manner.
    >
    > Maven or Ant is fine with me. BTW, I'm using Cayenne, Tapestry, Spring
    > (or possibly Hivemind).
    >
    > I'd rather use an example than reinvent this wheel.
    >
    > Joel



    This archive was generated by hypermail 2.0.0 : Tue Feb 08 2005 - 09:27:55 EST