db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DDLUTILS-133) Command-Line Invoker
Date Mon, 17 Sep 2007 01:02:33 GMT

     [ https://issues.apache.org/jira/browse/DDLUTILS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Dudziak updated DDLUTILS-133:
------------------------------------

    Fix Version/s:     (was: 1.1)
                   1.2

> Command-Line Invoker
> --------------------
>
>                 Key: DDLUTILS-133
>                 URL: https://issues.apache.org/jira/browse/DDLUTILS-133
>             Project: DdlUtils
>          Issue Type: New Feature
>          Components: Ant Tasks
>            Reporter: Alexander Hars
>            Assignee: Thomas Dudziak
>            Priority: Minor
>             Fix For: 1.2
>
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message