Externalizing connection property values for an ODA connection type
The connection properties for an ODA connection type are specified in the plugin.xml file for the appropriate Eclipse plug-in. For example, the connection properties for the XML connection type are specified in the plugin.xml file bundled in org.eclipse.birt.report.data.oda.xml_xxxx.jar. This JAR file is located in AC_SERVER_HOME/Jar/BIRT/platform/plugins. To extract plugin.xml, type:
jar xvf org.eclipse.birt.report.data.oda.xml_xxxx.jar plugin.xml
The JDK must be in your path.
The connection properties for the XML connection type, FILELIST and SCHEMAFILELIST, are specified as follows:
<properties>
<propertyGroup
defaultDisplayName="Connection Properties"
name="connectionProperties">
<property
type="string"
defaultDisplayName="%datasource.property.xmlFile"
canInherit="true"
name="FILELIST"/>
<property
type="string"
defaultDisplayName="%datasource.property.schemaFile"
canInherit="true"
name="SCHEMAFILELIST"/>
</propertyGroup>
</properties>
To externalize the connection property values for an XML connection, add a ConnectOptions element to the data source connection configuration file’s Runtime element, for example:
<Runtime>
<ConnectOptions Type="My_XML_Connection">
<Property PropName="FILELIST">My_XML File</Property>
<Property PropName="SCHEMAFILELIST">My_XML Schema</Property>
</ConnectOptions>
</Runtime>
The property names listed in the ConnectOptions element must match the property names listed in the properties element in plugin.xml. The match is case‑sensitive.