---
title: "MyEclipse不能导出war包"
author: "三问飞絮"
date: "2013-03-28T22:06:56Z"
tags: []
categories: ["非技术"]
slug: "myeclipse-war"
draft: false
lastmod: "2013-03-28T22:06:56Z"
id: 1838357
url: "https://simon-fish.iteye.com/blog/1838357"
---

场景：IDE：MyEclipse 6.x，在导致web工程为war时，新建工程都可以正常导出war包，只有其中两个项目的工程不能导出。

      细节：在导出过程中，只看到console输出以下内容：

```
delete --force D:/workspaceSCC/BPMServer/.myeclipse
    D         D:/workspaceSCC/BPMServer/.myeclipse
    Working copy not locked; this is probably a bug, please report
svn: Directory 'D:\workspaceSCC\BPMServer\.myeclipse\.svn' containing working copy admin area is missing
```

 

      仔细一看，可能跟这个.myeclipse有关系。

 

      结论：myeclipse在导出war时，在工程下面生成.myeclipse临时文件夹存放war里的内容。最后再通过命令删除临时文件夹。刚好这个.myeclipse文件夹已经被上传到svn目录，所以文件夹其实在SVN提交前，并不会真的被移除掉。导致第二次再导致不成功。