Community
Participate
Working Groups
Build Identifier: tycho 0.11.1 If a project has multiple jar files configured in the build.properties, the property jars.compile.order specifies the compile order, implicating that sources can reference classes in jar files already compiled. For example: source.A.jar = srcA/ output.A.jar = binA/ source.B.jar = srcB/ output.B.jar = binB/ jars.compile.order = A.jar,\ B.jar A.jar must be added to the classpath when building B.jar. Building such a plug-in with Eclipse (plug-in export) works, but fails in tycho because of unresolved type. Reproducible: Always
Please provide standalone sample application that demonstrates the problem.
integration test https://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/tycho98/bundle should already cover this.
It seems that tycho uses only jars listed in the Bundle-ClassPath of the MANIFEST file. In your test 'tycho98', e.g. remove src3.jar from the Bundle-ClassPath in the MANIFEST, and the build will fail. But certain situations (e.g. if a special class loader is required) the jar file should not be in the Bundle-ClassPath but still available in the classpath at build time.
(In reply to comment #3) > It seems that tycho uses only jars listed in the Bundle-ClassPath of the > MANIFEST file. @Igor: Didn't bug 341570 fix this? Apparently not because Stephan was using 0.11.1...
@Stephan please provide complete standalone test project and steps to reproduce the problem.
After re-reading this bugreport, I believe this is the same problem solved by bug 354118. Feel free to reopen if this is a different issue, but make sure to provide complete standalone project to demonstrate the problem. *** This bug has been marked as a duplicate of bug 354118 ***