Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 138260 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/pde/internal/core/builders/BuildErrorReporter.java (-1 / +18 lines)
Lines 166-172 Link Here
166
		
166
		
167
		validateSourceEntries(sourceEntries);
167
		validateSourceEntries(sourceEntries);
168
		validateMissingSourceInBinIncludes(binIncludes, sourceEntryKeys, build);
168
		validateMissingSourceInBinIncludes(binIncludes, sourceEntryKeys, build);
169
		
169
		validateBinIncludes(binIncludes);
170
	}
171
	
172
	private void validateBinIncludes(IBuildEntry binIncludes) {
173
		String[] tokens = binIncludes.getTokens();
174
		boolean exists = false;
175
		String key = "META-INF/"; //$NON-NLS-1$
176
		for(int i = 0; i < tokens.length; i++) {
177
			if(tokens[i].startsWith(key))
178
				exists = true;
179
		}
180
		if(!exists) {
181
			prepareError(PROPERTY_BIN_INCLUDES, 
182
					key,
183
					NLS.bind(PDECoreMessages.BuildErrorReporter_binIncludesMissing, key),
184
					PDEMarkerFactory.B_ADDDITION);
185
		}
170
	}
186
	}
171
	
187
	
172
	private void validateJarsExtraClasspath(IBuildEntry javaExtra) {
188
	private void validateJarsExtraClasspath(IBuildEntry javaExtra) {
Lines 550-553 Link Here
550
		} catch (CoreException e) {
566
		} catch (CoreException e) {
551
		}
567
		}
552
	}
568
	}
569
	
553
 }
570
 }

Return to bug 138260