---
title: "禁止Eclipse中xml文件Run as的XSL Transformation生成out.xml以方便Android应用开发"
author: "crazier9527"
date: "2012-08-26T21:38:19Z"
tags: []
categories: ["移动开发"]
slug: "eclipse-xml-run-as-xsl-transformation-out-xml-android"
draft: false
lastmod: "2014-04-22T16:05:45Z"
id: 1663288
url: "https://crazier9527.iteye.com/blog/1663288"
---

可以在Eclipse里面配置,菜单Windows-&gt;Preference,选择结点Run/Debug-&gt;Lauching,Lauch Operation选择第一项（Always launch the previously launched application）。  
这样即使当前编辑文件是xml的话，也不会去转换这个xml文件了，而是去运行之前运行过的工程，前提是当前工程运行过一次并且要在之前的Run Configurations把Xsl结点下的main.xml, main.xml(1)之类的无用的删除了。

 

感谢：[http://www.mangocd.com/](http://www.mangocd.com)