[jboss-jira] [JBoss JIRA] (AS7-6471) Bundle path for Embedded server still not working properly

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Feb 7 04:00:51 EST 2013


     [ https://issues.jboss.org/browse/AS7-6471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated AS7-6471:
----------------------------------

    Workaround Description: 
Two workarounds:
1. Disabled assertions or...
2. Explicitly define bundlesPath in arquillian.xml, i.e.

{code}<!-- Workaround for https://issues.jboss.org/browse/AS7-6471 -->
<property name="bundlePath">${surefire.basedir:.}/build/target/jboss-as/bundles</property>{code}
                Workaround: Workaround Exists

    
> Bundle path for Embedded server still not working properly
> ----------------------------------------------------------
>
>                 Key: AS7-6471
>                 URL: https://issues.jboss.org/browse/AS7-6471
>             Project: Application Server 7
>          Issue Type: Bug
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 7.2.0.Alpha1
>
>
> Error is:
> {code}  io.escalante.test.artifact.ArtifactInstallTest: bundlesDir not a directory{code}
> The problem is that the check is done in an 'assert' block and that only happens when assertions have been enabled by the user :(
> The problem comes cos bundlesDir is set to "null/bundles", even if I have not set any bundlesDir.
> Seems like bundlesDir is pre-computed too early in EmbeddedContainerConfiguration where it expects a system property, but that might not be set, it might come from arquillian.xml. So better delay until EmbeddedServerFactory.create.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list