4 Replies Latest reply on Mar 14, 2011 3:57 AM by Wim Vandenhaute

    JBoss AS 6.0.0.Final multiple ear deployment order

    Wim Vandenhaute Newbie

      Hi all,


      I was wondering what would be the best approach to specifying a specific order in jboss deploying my ears.


      My setup is:

      1. Core.ear
      2. Device1.ear, Device2.ear, ...
      3. App1.ear, App2.ear, ...
      4. AdminApp.ear


      This is the order I need my ears to get deployed as for example all 2,3,4 ears depend on core, some app ears depend on device ears etc. ...

      In a previous version, running on jboss 4.2.3 this was accomplished by simply naming the ears alfabetically.


      So I am wondering if there is a more suitable solution, e.g. where I can explicitly set a deployment order.


      Even nicer would be if I could have something like:





           -Device1.ear, ...


           - App1.ear, ...




      where I then generically specify deployment order of the core,devices,apps,admin directories in some way and I could simply drop new apps, device ears etc. without having to change anything to my distribution.


      Any thoughts?


      Kind regards,