Cgen task

From: Gary Jarrel (garyjarre..mail.com)
Date: Thu Feb 09 2006 - 06:35:34 EST

  • Next message: emre.yilma..r.net: "Has cayenne trigger"

    Hi All!

    I'm using the cgen ant task to generate interfaces using the map for a
    particular cayenne project.

    I'm generating a pair of interface (as I've seen discussed on this
    list) i.e IFooInterface and I_FooInterface. Hence I'm using the
    makepairs=true and usepkgpath=true. I'm also setting a custom package
    for the super interface using superpkg. This custom package and hence
    custom directory is different to that used by the generated cayenne
    super classes

    The problem is sub interface get generated into the same folder as the
    standard cayenne sub classes, and I can't see an easy way to modify
    the directory into which these interface are generated, as it appears
    cgen reads the package name from the map file, and builds the
    directory structure accordingly. Is there a way to modify this
    behaviour?

    Thankyou for you help!

    Gary



    This archive was generated by hypermail 2.0.0 : Thu Feb 09 2006 - 06:35:35 EST