You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2006/04/19 20:39:39 UTC

[jira] Resolved: (DDLUTILS-99) Customizing Betwixt-Mapping

     [ 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