Anu,
I used Maven v2.0.6 [1] and the Eclipse plugin. This allow me to develop in Eclipse, including the ability for running the application inside the IDE, and package war files using Maven. I have not done the Maven configuration to cleanup the WEB-INF/classes and WEB-INF/lib before packaging.

***
* Eclipse plugin configuration in pom.xml to set the build
* directory inside the webapp source tree. This way you can
* point the application's <Context docBase=""> to the webapp's
* source tree for debugging inside Eclipse.
***
 <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <downloadSources>true</downloadSources>
          <buildOutputDirectory>
            ${basedir}/src/main/webapp/WEB-INF/classes
          </buildOutputDirectory>
          <wtpversion>1.0</wtpversion>
        </configuration>
      </plugin>

Paul Spencer

[1] http://maven.apache.org

Anupama Dande wrote:
Hi,

I am running Trinidad + Facelets + JSF web application from Eclipse.

Whenever I try to publish the webapp from eclipse (Using eclipse default
build file) it sometimes deploys only WEB-INF\classes and I have to copy
other files manually to get webapp working.

I am not able to figure out.. y this is happening. The problem with manual
copying of files is the changes to those files doesn't get reflected in
the
workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\myApp
path.

I appreciate any help.

Thanks,
Anu


Reply via email to