Author: timotei
Date: Tue Jul 26 17:30:11 2011
New Revision: 50421
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50421&view=rev
Log:
eclipse plugin: Remove an obsolete method
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/builder/WesnothProjectBuilder.java
Modified:
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/builder/WesnothProjectBuilder.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/builder/WesnothProjectBuilder.java?rev=50421&r1=50420&r2=50421&view=diff
==============================================================================
---
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/builder/WesnothProjectBuilder.java
(original)
+++
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/builder/WesnothProjectBuilder.java
Tue Jul 26 17:30:11 2011
@@ -285,8 +285,7 @@
return false;
// config files
- if ( ResourceUtils.isConfigFile( resource ) &&
- !isResourceIgnored( resource ) )
+ if ( ResourceUtils.isConfigFile( resource ) )
{
IFile file = (IFile) resource;
String filePath = file.getProjectRelativePath( ).toString( );
@@ -370,30 +369,4 @@
WMLTools.parseAndAddMarkers( line, Constants.MARKER_WMLSCOPE );
monitor.worked(20);
}
-
- /**
- * Returns true if the specified resource should be skipped by the
builder
- * @param res
- * @return
- */
- private boolean isResourceIgnored(IResource res)
- {
- if (ProjectUtils.getPropertiesForProject(project_) == null)
- return false;
-
- String[] ignored =
ProjectUtils.getPropertiesForProject(project_).getArray("ignored");
//$NON-NLS-1$
- if (ignored == null)
- return false;
-
- for (String path : ignored)
- {
- if (path.isEmpty())
- continue;
-
- if
(StringUtils.normalizePath(WorkspaceUtils.getPathRelativeToUserDir(res))
-
.contains(StringUtils.normalizePath(path)))
- return true;
- }
- return false;
- }
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits