[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.iam] Preliminary EAR support

I have added some preliminary EAR support that will allow you to run EAR and WAR projects in the appserver from Eclipse, by right clicking on the projects and select run on server.

The wars will be deployed in the path specified in the application.xml file in the EAR project.

The support is included in the latest build in the development update site at http://q4e.googlecode.com/svn/trunk/updatesite-dev


Caveats:

- to have Eclipse recognize the application.xml file it needs to be in /META-INF/application.xml, so you'd need to add to the pom' EAR plugin configuration so Maven generates the application.xml in the right place

<configuration>

<generatedDescriptorLocation>${basedir}/META-INF</generatedDescriptorLocation>
...

- WAR projects need to be open in the workspace to be deployed. If the EAR depends on WARs in the repository they are not available for deployment.


Hope you find it useful!