Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11

Bundle path for Embedded server still not working properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Final
    • None
    • None
    • None
    • Workaround Exists
    • Hide

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

      <!-- Workaround for https://issues.jboss.org/browse/AS7-6471 -->
      <property name="bundlePath">${surefire.basedir:.}/build/target/jboss-as/bundles</property>
      Show
      Two workarounds: 1. Disabled assertions or... 2. Explicitly define bundlesPath in arquillian.xml, i.e. <!-- Workaround for https: //issues.jboss.org/browse/AS7-6471 --> <property name= "bundlePath" >${surefire.basedir:.}/build/target/jboss-as/bundles</property>

    Description

      Error is:

        io.escalante.test.artifact.ArtifactInstallTest: bundlesDir not a directory

      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.

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: