Re: pumping data: mssql->pgsql

From: Tore Halset (halse..vv.ntnu.no)
Date: Thu Feb 16 2006 - 17:24:45 EST

  • Next message: Andrus Adamchik: "Re: Configuring logging"

    On Feb 16, 2006, at 21:01, Tomi NA wrote:

    > This is probably going to sound downright silly, but...how do you
    > execute the dataport? I should just drop something like
    > <taskdef name="cdataport"
    > classname="org.objectstyle.cayenne.tools.DataPortTask">
    > <classpath refid="classpath"/>
    > </taskdef>
    > <cdataport projectFile= "subdir/cayenne.xml"
    > srcNode="ProductionNode" destNode="DevNode" excludeTables="BILL_*" />
    > into an xml file and give the command ant cdataport?

    Yes, almost.

    <taskdef name="cdataport"
    classname="org.objectstyle.cayenne.tools.DataPortTask">
    <classpath refid="classpath"/>
    </taskdef>

    <target name="doit">
    <cdataport projectFile=
    "subdir/cayenne.xml" srcNode="ProductionNode" destNode="DevNode"
    excludeTables="BILL_*"
    />
    </target>

    ant doit

      - Tore.



    This archive was generated by hypermail 2.0.0 : Thu Feb 16 2006 - 17:24:48 EST