[
https://issues.jboss.org/browse/AS7-711?page=com.atlassian.jira.plugin.sy...
]
David Lloyd commented on AS7-711:
---------------------------------
Note that we need some sane and consistent policy for when a new driver is deployed that
makes an existing driver tag become ambiguous. It would probably make the most sense to
either make the deployment fail with a specific error, or log a warning that it will fail
at next restart (though I don't like the latter because it creates a possibly
inconsistent state - you can't restart the server with that configuration and get the
same result).
Make a version attribute (optional) for driver tag instead the
current parsed notation
--------------------------------------------------------------------------------------
Key: AS7-711
URL:
https://issues.jboss.org/browse/AS7-711
Project: Application Server 7
Issue Type: Task
Components: JCA
Reporter: Stefano Maestri
Assignee: Stefano Maestri
Fix For: 7.0.0.CR1
<dmlloyd> <driver class="org.foo.Bar" version="1.1"/>
where version is *optional* unless there are more than one version of the same driver
deployed
<maeste> hbraun: it's there if you have more than one version of th driver
deployed
<dmlloyd> and we need a smarter way to detect Driver, DataSource and XADataSource
classes in deployments too
<maeste> dmlloyd: oki it makes sense, but it's just another way to express it
as an attribute instead of part of the name. We are not removing it, just writing it more
elegant :)
<dmlloyd> and making it optional
<dmlloyd> might even do majorVersion=xs:int, minorVersion=xs:int if you want to be
thorough
<maeste> dmlloyd: yup, make it optional is possible also on current notation.
Making it optional is the real work anyway
<dmlloyd> then you can make minor optional even if major is present
<maeste> dmlloyd: oki
<hbraun> maeste: another valuable modification would be a default value if there is
only one driver
<maeste> hbraun: yup, it's what we are doing making it optional
<hbraun> maeste: great
<maeste> hbraun: oh you mean the whole driver tag?
<hbraun> maeste: i think that will simpify things a lot
<bstansberry> maxandersen: ok good
<hbraun> maeste: no
<maeste> hbraun: just version right?
<hbraun> maeste: i was speking of the version attribute
<hbraun> maeste: exactly
<maeste> hbraun: oki so we agree
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira