Re: Easily Import/Export tables

From: open.pumpkin (open.pumpki..mail.com)
Date: Tue Sep 08 2009 - 10:31:07 EDT

  • Next message: Andrus Adamchik: "Re: Easily Import/Export tables"

    Missing. Sorry.
    Here the headers of the stack trace :

    Apache Ant version 1.7.1 compiled on November 10 2008
    Buildfile: build.xml
    Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre
    Detected OS: Linux
    parsing buildfile /myPath/build.xml with URI = file:/myPath/build.xml
    Project base dir set to: /myPath
    [antlib:org.apache.tools.ant] Could not load definitions from resource
    org/apache/tools/ant/antlib.xml. It could not be found.
    Build sequence for target(s) `exportTask' is [exportTask]
    Complete build sequence is [exportTask, ]

    exportTask:
    [cdataport] log4j:WARN No appenders could be found for logger
    (org.apache.cayenne.conf.DefaultConfiguration).
    [cdataport] log4j:WARN Please initialize the log4j system properly.
    [cdataport] Porting from 'Dev_WSN_STORE_Node' to 'Local_WSN_STORE_Node'.
    [cdataport] Number of entities: 4
    [cdataport] Deleting WSN_STORE_REG

    BUILD FAILED
    (...)

    2009/9/8 Andrus Adamchik <andru..bjectstyle.org>

    >
    > On Sep 8, 2009, at 3:24 AM, open.pumpkin wrote:
    >
    > Line #20 is : srcNode="Dev_WKN_Node" destNode="Local_WKN_Node" />
    >> Connections to databases are correct (if I stop one DB, I receive a
    >> Connection refused exception). Node names are correct. But I'm not
    >> familiar
    >> with ant.
    >> Can you enlighten me?
    >>
    >
    > Try running ant with -v flag: "ant -v". It should print the stack trace.
    >
    >
    > Now some general questions :
    >> When using the ant method to export DB data, ID's are kept identical in
    >> different DB's ? Or, if they change, the foreign keys are automatically
    >> mapped with new ID's ? If not, then this method does not interest me.
    >>
    >
    > The ids are preserved.
    >
    > Andrus
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Sep 08 2009 - 10:31:52 EDT