Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2012-01-11 01:59:39 +0000
committerIgor Fedorenko2012-01-11 12:24:34 +0000
commit9a29b43091d60947277b2fa3f61ae17ecac06fcc (patch)
tree57a797a2d745031f590bb39d477c439fd0258a10
parentd3e1297520427f139d1f054dbe27c6effdfe05fc (diff)
downloadm2e-core-9a29b43091d60947277b2fa3f61ae17ecac06fcc.tar.gz
m2e-core-9a29b43091d60947277b2fa3f61ae17ecac06fcc.tar.xz
m2e-core-9a29b43091d60947277b2fa3f61ae17ecac06fcc.zip
368333 fixed missing generated sources folders in some cases
Removed now unnecessary logic to de-duplicate IClasspathDescriptor entries. Deduplication did not consider 'stale' entry flag and resulted in existing entries being removed from the classpath. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/AbstractJavaProjectConfigurator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/AbstractJavaProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/AbstractJavaProjectConfigurator.java
index fcfc9704..19ff406b 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/AbstractJavaProjectConfigurator.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/AbstractJavaProjectConfigurator.java
@@ -56,7 +56,7 @@ public abstract class AbstractJavaProjectConfigurator
{
IPath sourcePath = getFullPath( facade, source );
- if ( sourcePath != null && !classpath.containsPath( sourcePath ) )
+ if ( sourcePath != null )
{
classpath.addSourceEntry( sourcePath, facade.getOutputLocation(), true );
}

Back to the top