[ https://issues.apache.org/jira/browse/TOMEE-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521977#comment-16521977 ]
Romain Manni-Bucau commented on TOMEE-2197: ------------------------------------------- Fail? Not in the parser though but in the deployer to ensure it is the same for all xml parsers and properties syntax > openejb.xml <Deployments jar="..."/> does not work > -------------------------------------------------- > > Key: TOMEE-2197 > URL: https://issues.apache.org/jira/browse/TOMEE-2197 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server > Affects Versions: 7.0.4 > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Minor > Fix For: 8.0.0, 7.0.5 > > > When declaring a deployment in openejb.xml or tomee.xml we scan <Deployments> > sections. > This contains a file= and a jar= attribute. > The jar= does not work because it later gets overridden by the (often empty) > file attribute. > WORKAROUND: just use the file= attribute and be done > Should be fixed nonetheless. And should issue a warning if both attributes > are used. -- This message was sent by Atlassian JIRA (v7.6.3#76005)