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] Resolved: (DDLUTILS-99) Customizing Betwixt-Mapping
Date Wed, 19 Apr 2006 18:39:39 GMT
     [ http://issues.apache.org/jira/browse/DDLUTILS-99?page=all ]
     
Thomas Dudziak resolved DDLUTILS-99:
------------------------------------

    Resolution: Fixed

The "/mapping.xml" specifies a classpath resource, so if you put your own mapping.xml file
into the classpath before the DdlUtils.jar, then it should be picked up instead.
Also, I've extracted an overridable method in DatabaseIO that returns the input source object
for the mapping file. This makes it easy to change the mapping when using the API. When using
the Ant tasks, the above classpath mechanism should suffice as it can be utilized quite easily
in the task definition for the DdlUtils' tasks.

> Customizing Betwixt-Mapping
> ---------------------------
>
>          Key: DDLUTILS-99
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-99
>      Project: DdlUtils
>         Type: Wish

>   Components: Core
>     Reporter: Tom Schindl
>     Assignee: Thomas Dudziak
>     Priority: Minor

>
> If one wants to add custom attributes to elements one has to replace the default mapping.
I'd suggest at least extract the "/mapping.xml" string into a static variable one can set
from the outside.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message