1 Reply Latest reply on Feb 14, 2011 3:10 AM by jaikiran pai

    controlling order of application.xml

    Arbi Sookazian Master

      Is there a way to control the order of loading the EARs in the application.xml for JBoss 5.1?

       

      I have the following application.xml:

       

      {code:java}<?xml version="1.0" encoding="UTF-8"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">

        <description>ECHO BILLING</description>

        <display-name>ECHO BILLING</display-name>

        <module>

            <ejb>com.echo.cis.ejb.dao-1.6.0-SNAPSHOT.jar</ejb>

        </module>

        <module>

              <ejb>com.echo.cis.crud.dao-1.6.0-SNAPSHOT.jar</ejb>

        </module>

        <module>

            <ejb>com.echo.cis.editors-1.6.0-SNAPSHOT.jar</ejb>

        </module> 

        <module>

          <ejb>com.echo.dilling.services.reports-1.6.0-SNAPSHOT.jar</ejb>

        </module>

        <module>

          <ejb>com.echo.dilling.dao-1.6.0-SNAPSHOT.jar</ejb>

        </module> 

        <module>

          <ejb>com.echo.dilling.reports-1.6.0-SNAPSHOT.jar</ejb>

        </module>

        <module>

          <ejb>com.echo.dilling.reports.services.persistence-1.6.0-SNAPSHOT.jar</ejb>

        </module>

        <module>

          <ejb>com.echo.dilling.reports.dao.gemini-1.6.0-SNAPSHOT.jar</ejb>

        </module> 

      </application>

      {code}

       

      I had to change the 'billing' to 'dilling' to fix a problem reported here: http://community.jboss.org/message/586523#586523

       

      But then that causes a problem with the Class-Path references in the MANIFEST.MF.  Plus I cannot change my Maven module names very easily due to the team envmt, etc.