打包時(shí)過(guò)濾文件
在build.properties中的bin.excludes加入要過(guò)濾的文件
(例如:過(guò)濾jar包中所有文件夾下的CC配置文件.copyarea.db,應(yīng)該填寫(xiě) bin.excludes = **/.copyarea.db )
構(gòu)建時(shí)過(guò)濾文件
Properties -> Java Compiler -> Building
勾選Enable project specific settings, 在Output folder欄的Filtered Resources中填寫(xiě)你要過(guò)濾的文件 (例如:過(guò)濾bin目錄中所有文件夾下的CC配置文件.copyarea.db,應(yīng)該填寫(xiě) *.copyarea.db)