Skip to content
Snippets Groups Projects
Commit b554e914 authored by Robert Butora's avatar Robert Butora
Browse files

servlet: modifies jar creation command (removes index.html)

parent 2290ac63
No related branches found
No related tags found
No related merge requests found
......@@ -51,11 +51,9 @@ uninstall:
.PHONY: war
war:
@jar -cf target/$(WEBAPP_WAR) -C $(INSTALL_DIR) index.html\
$(INSTALL_DIR)/META-INF/*.xml \
$(INSTALL_DIR)/WEB-INF/*.xml \
$(INSTALL_DIR)/WEB-INF/classes/* \
$(INSTALL_DIR)/WEB-INF/lib/*.jar
cd $(INSTALL_DIR) \
&& jar -cf ../$(WEBAPP_WAR) META-INF WEB-INF WEB-INF/classes WEB-INF/lib \
&& cd -
.PHONY:
create-war: clean build install war
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment