3 Replies Latest reply on May 18, 2013 5:54 AM by Sueleyman Vurucu

    Problems with application.xml for maven projects

    Sueleyman Vurucu Expert



      I have problems to deploy my ear project over jboss tools with my application.xml. My deployment shown as below:




      I find a workaround for my problem. But I don't understand why jboss tools copy jboss-structure.xml and not application.xml


      My workarround is simple. Create an active maven profile and copy the content of target/<projectname>/META-INF to <project>/EarContent. Then Jboss tolls deploy my ear with application.xml.


      Here is my hack:


                          <!-- Copy application.xml in <project>/ EarContent/META-INF. But only for Eclipse projects. This needed for jboss plugin inside eclipse. -->
                                                                                      <!-- here the phase you need -->