You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Andy Gumbrecht (JIRA)" <ji...@apache.org> on 2014/05/11 00:06:23 UTC
[jira] [Commented] (TOMEE-1198) Remote TomEE Arquillian doesn't
honor openejb.arquillian.predeploy-archives
[ https://issues.apache.org/jira/browse/TOMEE-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992608#comment-13992608 ]
Andy Gumbrecht commented on TOMEE-1198:
---------------------------------------
Ouch, that looks like a late night sneak in. Do we have an example or test that highlights that issue?
> 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)