Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Ant Tasks
    • Labels:
      None

      Description

      We should be able to use DdlUtils even in non-Java, non-Ant environments. For example, I would like to use DdlUtils for running unit tests in PHP. My Php tests are not executed using Ant.

      It would not be very complicated to extend the tasks classes with a few CommandLine tasks. They can be modeled on the Ant tasks.

      Parameters could be, for example (just an initial set):
      cmd=(createDb | dropDb | SchemaToDb | DataToDb | DbToDtd | DataToFile | SchemaToFile | SchemaSqlToFile)
      driver=<database driver class>
      url=<database url>
      user=<databaser user name>
      password=<database password>
      file=<file to be written to or read from>
      ..

      This way, DdlUtils could be used very easily with many more programming languages and target environments. The programmer would only have to have the JRE, the DdlUtils jars (including dependencies) and the database driver installed to use DdlUtils.

      I am willing to do this, but need your feedback if this makes sense.

        Activity

          People

          • Assignee:
            Thomas Dudziak
            Reporter:
            Alexander Hars
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development