Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.Beta4
    • Fix Version/s: 3.0.0.GA
    • Component/s: server
    • Labels:
      None
    • Environment:
      JBoss Tools nightly build 20071017

      Description

      I need a .ear file which contains a .sar file (service archive for JBoss). Such a .sar file is declared in META-INF/jboss-app.xml of the EAR project "hska" as follows:
      <jboss-app>
      <security-domain>java:/jaas/hska</security-domain>
      <module>
      <service>hska.sar</service>
      </module>
      </jboss-app>

      I have a "General Project" named hskaSAR which has a META-INF subdirectory for the xml files of the .sar file. Creating hskaSAR/hska.sar via the "Project Archives" view of JBoss Tools works fine. However, there is no possibility to include the .sar file within the (exploded) .ear.

      I tried to edit and extend the file .settings/org.eclipse.wst.common.component within the EAR project as follows:
      <dependent-module deploy-path="/" handle="module:/classpath/lib/hskaSAR/hska.sar">
      <dependency-type>uses</dependency-type>
      </dependent-module>

      However, this workaround doesn't work.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            rob.stryker Rob Stryker added a comment -

            no our patch for wtp 2.0.2 won't solve this because of the nature of the code. The patch would have had to be MUCH more substantial than it was to allow for non-jee elements such as sar files.

            My patch to the 3.0 stream should have fixed it though. I would love to have an example project to test with though =]

            Show
            rob.stryker Rob Stryker added a comment - no our patch for wtp 2.0.2 won't solve this because of the nature of the code. The patch would have had to be MUCH more substantial than it was to allow for non-jee elements such as sar files. My patch to the 3.0 stream should have fixed it though. I would love to have an example project to test with though =]
            Hide
            rob.stryker Rob Stryker added a comment -

            Example project demonstrating how to publish a sar inside an ear

            Show
            rob.stryker Rob Stryker added a comment - Example project demonstrating how to publish a sar inside an ear
            Hide
            rob.stryker Rob Stryker added a comment -

            Unit test provided

            Show
            rob.stryker Rob Stryker added a comment - Unit test provided
            Hide
            maxandersen Max Rydahl Andersen added a comment -

            work on natively supporting SAR's is going on in JBIDE-9497

            Show
            maxandersen Max Rydahl Andersen added a comment - work on natively supporting SAR's is going on in JBIDE-9497
            Hide
            maxandersen Max Rydahl Andersen added a comment -

            set to best guess version.

            Show
            maxandersen Max Rydahl Andersen added a comment - set to best guess version.

              People

              • Assignee:
                rob.stryker Rob Stryker
                Reporter:
                juergen.zimmermann Juergen Zimmermann
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development