在Eclipse中,如何排除某些文件(可能基于.svn扩展名或文件名)被复制到输出文件夹? [英] In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?

查看:180
本文介绍了在Eclipse中,如何排除某些文件(可能基于.svn扩展名或文件名)被复制到输出文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse开发Java应用程序。我的项目有两个源目录都被构建,然后一些文件被复制到输出文件夹。从输出目录我然后运行我的应用程序,并且都运行良好。



但是,我不断有这些警告:



Eclipse中的问题选项卡快照http://www.freeimagehosting.net/uploads/128c1af93f.png



任何人都知道如何摆脱这些警告?也许通过排除某些文件,也许基于.svn扩展名或文件名,从构建过程?如果是这样,我该怎么办呢排除这些?

解决方案

你是否尝试添加


$排除模式 b $ b

** /。svn /



>在项目的构建路径设置的偏好设置?


I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory I then run my application and all works well.

However, I keep having these warnings:

Snapshot from Problems tab in Eclipse http://www.freeimagehosting.net/uploads/128c1af93f.png

Anyone know how to get rid of these warnings? Maybe by excluding some files, maybe based on the .svn extension or filename, from the build process? If so, how would I go about excluding those?

解决方案

Have you tried to add

**/.svn/

to the Exclusion patterns at the Source preferences of the project's build path settings?

这篇关于在Eclipse中,如何排除某些文件(可能基于.svn扩展名或文件名)被复制到输出文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆