Re: Incorporating VPP code into cgen

From: Erik Hatcher (eri..hatchersolutions.com)
Date: Mon May 23 2005 - 20:11:29 EDT

  • Next message: Cris Daniluk: "Re: Incorporating VPP code into cgen"

    On May 23, 2005, at 6:13 PM, Mike Kienenberger wrote:
    > Having this method in tools.CayenneGenerator ant task causes a runtime
    > dependency on VPP.
    > I'm not sure why. I'll try to figure it out tomorrow.
    > Commenting out
    > just this code makes the v1.1 cgen task work without VPP in the
    > classpath.
    > Maybe I need to use a different ant nested parameter method. (I
    > just copied
    > this one from the VppCopy task).
    >
    > public void addConfiguredConfig(VPPConfig vppConfig) {
    > this.vppConfig = vppConfig;
    > }

    Simply importing something, even if its not used, still requires the
    dependency be available at run-time.

    Maybe you could have a dummy VPPConfig class in 1.1?

         Erik



    This archive was generated by hypermail 2.0.0 : Mon May 23 2005 - 20:12:26 EDT