[ 
https://issues.apache.org/jira/browse/TOMEE-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992642#comment-13992642
 ] 

Romain Manni-Bucau commented on TOMEE-1198:
-------------------------------------------

not in our build, but basicallt define in arq.xml 
openejb.arquillian.predeploy-archives=my.class.with.Deployements and it doesn't 
deploy anything at startup cause we read in empty properties instead of 
properties matching arquillian config

> Remote TomEE Arquillian doesn't honor openejb.arquillian.predeploy-archives
> ---------------------------------------------------------------------------
>
>                 Key: TOMEE-1198
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1198
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> In RemoteTomEEContainer we do ATM:
> {code}
>  if (configuration.getProperties() != null) {
>                 final Properties props = new Properties();
>                 
> IO.readProperties(IO.read(configuration.getProperties().getBytes()), new 
> Properties());
>                 containerArchives = ArquillianUtil.toDeploy(props);
>                 for (Archive<?> archive : containerArchives) {
>                     deploy(archive);
>                 }
>             }
> {code}
> It should actually be
> {code}
>  if (configuration.getProperties() != null) {
>                 final Properties props = new Properties();
>                 
> IO.readProperties(IO.read(configuration.getProperties().getBytes()), props);
>                 containerArchives = ArquillianUtil.toDeploy(props);
>                 for (Archive<?> archive : containerArchives) {
>                     deploy(archive);
>                 }
>             }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to