Skip to content

Commit edfc716

Browse files
qxoHannesWell
authored andcommitted
fix: resource excluding change ** to **/*.java
1 parent 3aa12f5 commit edfc716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ private void addResourceFolder(IClasspathDescriptor classpath, IPath resourceFol
582582
boolean addTestFlag) {
583583
log.info("Adding resource folder " + resourceFolder);
584584
IClasspathEntryDescriptor descriptor = classpath.addSourceEntry(resourceFolder, outputPath, DEFAULT_INCLUSIONS,
585-
new IPath[] {IPath.fromOSString("**")}, false /*optional*/);
585+
new IPath[] {IPath.fromOSString("**/*.java")}, false /*optional*/);
586586
descriptor.setClasspathAttribute(IClasspathManager.TEST_ATTRIBUTE, addTestFlag ? "true" : null);
587587
descriptor.setClasspathAttribute(IClasspathAttribute.OPTIONAL, "true"); //$NON-NLS-1$
588588
}

0 commit comments

Comments
 (0)