---
title: "Launch文件的使用"
author: "winseclone"
date: "2013-01-31T11:45:00Z"
tags: []
categories: ["编程语言"]
slug: "launch"
draft: false
lastmod: "2013-02-02T17:25:16Z"
id: 1780216
url: "https://winseclone.iteye.com/blog/1780216"
---

平时，使用eclipse插件开发，都是用product来配置应用需要用到的插件。在运行一次后，就可以点击Run菜单来再次运行。那这些运行的信息保存在哪里呢？

    在运行后，会在workspace\\.metadata\\.plugins\\org.eclipse.debug.core\\.launches下建立一个launch的文件：  
![](http://dl.iteye.com/upload/attachment/0080/1045/6a9ccf8d-7e8c-396a-9960-67f16b62a168.png)

    我们可以通过**common**选项卡的**shared file**可以把launch文件保存到工作空间中，就可以通过launch文件与其他同事交流协作。

    RAP的demo导出来的插件中包含了3个Launch文件。点击Run-&gt;Run configuration就可以看到RAP DEMO的三个启动项（会自动的扫描工作空间里面的.launch文件）。  
![](http://dl.iteye.com/upload/attachment/0080/1047/52ae5bea-ed2b-3bde-9182-f5e098f5f533.png)