Hi,
I have problems to deploy my ear project over jboss tools with my application.xml. My deployment shown as below:
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-818301-20823/450-119/Unbenannt.PNG
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:
<profiles>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/EarContent/META-INF</outputDirectory>
<resources>
<resource>
<directory>${basedir}/target/wms-wan/META-INF</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>