Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertoaflores/2923892 to your computer and use it in GitHub Desktop.
Save albertoaflores/2923892 to your computer and use it in GitHub Desktop.
Sample WTP file to enable projects to load from eclipse to a server
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="myWebApp">
<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<property name="context-root" value="myCoolWebapp"/>
<property name="java-output-path"/>
</wb-module>
</project-modules>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment