Currently the auto deployer only kicks in if you have no openejb-jar.xml file at all. If you do have an openejb-jar.xml it assumes it is correct and does nothing.
The code to modify an existing openejb-jar.xml is present in the AutoConfigAndDepoy class, we simply need to merge some logic over or improve that class so it can be used instead of the AutoDeploy class.
Description
Currently the auto deployer only kicks in if you have no openejb-jar.xml file at all. If you do have an openejb-jar.xml it assumes it is correct and does nothing.
The code to modify an existing openejb-jar.xml is present in the AutoConfigAndDepoy class, we simply need to merge some logic over or improve that class so it can be used instead of the AutoDeploy class.
David Blevins added a comment - 23/Jan/07 02:45 AM $ svn ci
Sending container/openejb-core/src/main/java/org/apache/openejb/alt/config/AutoConfigAndDeploy.java
Sending container/openejb-core/src/main/java/org/apache/openejb/alt/config/ConfigurationFactory.java
Adding container/openejb-core/src/main/java/org/apache/openejb/alt/config/GeronimoMappedName.java
Transmitting file data ...
Committed revision 498898.
Sending container/openejb-core/src/main/java/org/apache/openejb/alt/config/AutoConfigAndDeploy.java
Sending container/openejb-core/src/main/java/org/apache/openejb/alt/config/ConfigurationFactory.java
Adding container/openejb-core/src/main/java/org/apache/openejb/alt/config/GeronimoMappedName.java
Transmitting file data ...
Committed revision 498898.