Skip to content

Commit f26f3f9

Browse files
committed
fix: resource excluding change ** to **/*.java
1 parent e2d17cd commit f26f3f9

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
@@ -547,7 +547,7 @@ private void addResourceFolder(IClasspathDescriptor classpath, IPath resourceFol
547547
boolean addTestFlag) {
548548
log.info("Adding resource folder " + resourceFolder);
549549
IClasspathEntryDescriptor descriptor = classpath.addSourceEntry(resourceFolder, outputPath, DEFAULT_INCLUSIONS,
550-
new IPath[] {IPath.fromOSString("**")}, false /*optional*/);
550+
new IPath[] {IPath.fromOSString("**/*.java")}, false /*optional*/);
551551
descriptor.setClasspathAttribute(IClasspathManager.TEST_ATTRIBUTE, addTestFlag ? "true" : null);
552552
descriptor.setClasspathAttribute(IClasspathAttribute.OPTIONAL, "true"); //$NON-NLS-1$
553553
}

0 commit comments

Comments
 (0)