Community
Participate
Working Groups
Open the org.eclipse.swt.examples.source_<version>.jar plugin in winzip, sort alphabetically by name, and note that each .java file appears twice, once in a tree starting with "src", and again in a tree starting with "swtexamplessrc". I think the two trees are identical, except that only one of them contains the accompanying non-java files (.gif's, etc.). SWT's other examples source plugins do not have this problem, only this one. Also note that this isn't a new problem, this plugin looks the same in 3.5.2.
I'm not sure if this is still an issue ... but if it is, I think belongs in SWT component ... I seem to recall some on-going work to produce your source bundles for new Tycho/Maven build? Though, by all means, if I can help, or if does belong in 'releng' feel free to explain and move back. Thanks.
Created attachment 233757 [details] sources-bundle.log Happened to have a build open so thought I'd verify this real quick. I can confirm that the issue appears to still be existent. The attached log shows the contents of the source bundle.
I think this has to do with the fact that build.properties seems to be a little redundant. src.includes declares that "src/" needs to be included and there's an additional line that says "src/" should be included again as source.swtexamples.jar. ---- snippet ---- src.includes = about.html,\ doc-html/,\ src/ source.swtexamples.jar = src/ ---- snippet ---- Would it make sense to remove "src/" from src.includes? (this seems like the simplest solution to me)
(In reply to comment #3) > Would it make sense to remove "src/" from src.includes? > > (this seems like the simplest solution to me) From what I can tell this is what org.eclipse.swt.examples.browser does.
This seems to be already fixed in latest: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=7e8302674ef0e052e0f01c62a01ebb7440f57fc1