Re: woproject ant build broken

From: Mike Schrag (mschra..dimension.com)
Date: Wed Nov 08 2006 - 15:46:57 EST

  • Next message: Brendan Duddridge: "Re: Related view not working"

    Actually it really should NOT download the latest cayenne, because we
    run with a modded cayenne.

    ms

    On Nov 8, 2006, at 3:10 PM, Bob Schwarzmann wrote:

    > It seems with two build systems, errors like this are going to keep
    > occurring:
    >
    > java:
    > [javac] Compiling 28 source files to /Users/bob/jingle/
    > woproject/temp/classes
    > [javac] /Users/bob/jingle/woproject/woproject-ant-tasks/src/
    > java/org/objectstyle/woproject/ant/WOGenerator.java:172: cannot
    > resolve symbol
    > [javac] symbol : method getClassGenerationInfo ()
    > [javac] location: class org.objectstyle.cayenne.gen.ClassGenerator
    > [javac] super.initClassGenerator_1_1
    > (gen.getClassGenerationInfo (), entity, superclass);
    > [javac] ^
    > [javac] 1 error
    >
    >
    > a quick log command shows the likely culprit:
    >
    > svn log woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/
    > WOGenerator.java
    > ----------------------------------------------------------------------
    > --
    > r3579 | uli | 2006-11-07 03:50:19 -0800 (Tue, 07 Nov 2006) | 1 line
    >
    > work with cayene 1.2
    >
    >
    >
    > If maven is configured to always pull down the latest cayenne
    > library, this seems likely to come up from time to time. This is
    > just a build break -- but it seems like a bad idea to be able to
    > produce two potentially different outputs by having two build
    > systems (one pulls down the latest bug fix version while the other
    > is left with a non-changing version). I'm not sold on maven over
    > ant, but having both seems to be asking for trouble.
    >
    > Can someone commit the correct updated version of cayenne for the
    > ant build?
    >
    > -Bob.



    This archive was generated by hypermail 2.0.0 : Wed Nov 08 2006 - 15:47:03 EST