[jboss-user] [JBoss Tools] - Problem with Deployment to AS 7

Thomas Letsch do-not-reply at jboss.com
Wed Dec 7 05:05:12 EST 2011


Thomas Letsch [http://community.jboss.org/people/thomas.letsch] created the discussion

"Problem with Deployment to AS 7"

To view the discussion, visit: http://community.jboss.org/message/640253#640253

--------------------------------------------------------------
Hi,

I am using Eclipse Indigo with the M4 Release of JBoss Tools. When deploying my web application in eclipse to my JBoss AS 7.0.2 the WEB-INF/lib directory is not populated with dependent libraries.

My Eclipse project is build with maven eclipse:eclipse. Here are some information:


.setting/org.eclipse.wst.common.component:
...(all dependencies look the same)
<dependent-module archiveName="commons-lang-2.5.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/var/M2_REPO/commons-lang/commons-lang/2.5/commons-lang-2.5.jar">
      <dependency-type>uses</dependency-type>
    </dependent-module>
...

pom.xml:
...
|      | <dependency> |
|          | <groupId>commons-lang</groupId> |
|          | <artifactId>commons-lang</artifactId> |
|          | <version>${commons-lang.version}</version> |
|      | </dependency> |
...
|              | <plugin> |
|                  | <groupId>org.apache.maven.plugins</groupId> |
|                  | <artifactId>maven-eclipse-plugin</artifactId> |
|                  | <version>2.8</version> |
|                  | <inherited>true</inherited> |
|                  | <configuration> |
|                      | <downloadSources>true</downloadSources> |
|                      | <useProjectReferences>false</useProjectReferences> |
|                      | <workspace>C:\dev\workspaces\default</workspace> |
|                      | <wtpversion>2.0</wtpversion> |
|                      | <excludes> |
|                          | <exclude>com.google.gwt:gwt-user</exclude> |
|                          | <exclude>com.google.gwt:gwt-servlet</exclude> |
|                          | <exclude>com.google.gwt:gwt-dev</exclude> |
|                      | </excludes> |
|                      | <additionalProjectnatures> |
|                          | <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature> |
|                          | <projectnature>com.google.gdt.eclipse.core.webAppNature</projectnature> |
|                      | </additionalProjectnatures> |
|                      | <additionalBuildcommands> |
|                          | <buildCommand> |
|                              | <name>com.google.gwt.eclipse.core.gwtProjectValidator</name> |
|                          | </buildCommand> |
|                          | <buildCommand> |
|                              | <name>com.google.gdt.eclipse.core.webAppProjectValidator</name> |
|                          | </buildCommand> |
|                          | <buildCommand> |
|                              | <name>com.google.appengine.eclipse.core.projectValidator</name> |
|                          | </buildCommand> |
|                      | </additionalBuildcommands> |
|                      | <classpathContainers> |
|                          | <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
|                          | <classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER</classpathContainer> |
|                      | </classpathContainers> |
|                      | <additionalConfig> |
|                          | <file> |
|                              | <name>.settings/com.google.gdt.eclipse.core.prefs</name> |
|                              | <content><![CDATA[ |
|                                      | eclipse.preferences.version=2 |
|                                      | jarsExcludedFromWebInfLib= |
|                                      | warSrcDir=src/main/webapp |
|                                      | warSrcDirIsOutput=true |
|                                      | ]]> |
|                              | </content> |
|                          | </file> |
|                      | </additionalConfig> |
|                      | <buildOutputDirectory>${basedir}/src/main/webapp/WEB-INF/classes</buildOutputDirectory> |
|                  | </configuration> |
|              | </plugin> |

Thanks,
Thomas
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/640253#640253]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111207/f4aca41e/attachment-0001.html 


More information about the jboss-user mailing list