---
title: "Eclipse 打war包"
author: "long316"
date: "2011-12-31T09:47:48Z"
tags: []
categories: ["Web前端"]
slug: "eclipse-war"
draft: false
lastmod: "2012-02-10T10:30:40Z"
id: 1331190
url: "https://long316.iteye.com/blog/1331190"
---

http://qm4050.iteye.com/blog/1147077

http://www.iteye.com/topic/254141


jar cvf volunteer.war *.*/.  当前目录下所有文件打成volunteer.war，放在当前目录下

如果当前目录在e:/Tomcat/webapps/BME
e:
cd Tomcat
cd webapps
cd BME
jar cvf BME.war *.*/.