Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354558

Summary: eclipse MAT no longer compiles with tycho 0.13.0-SNAPSHOT
Product: z_Archived Reporter: Jan Sievers <jan.sievers>
Component: TychoAssignee: Jan Sievers <jan.sievers>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: krum.tsvetkov
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
maven debug log
none
debug log Missing requirement none

Description Jan Sievers CLA 2011-08-11 17:26:47 EDT

    
Comment 1 Jan Sievers CLA 2011-08-11 18:01:57 EDT
Created attachment 201362 [details]
maven debug log
Comment 2 Jan Sievers CLA 2011-08-11 18:05:35 EDT
steps to reproduce:

sync MAT trunk from

http://dev.eclipse.org/svnroot/tools/org.eclipse.mat


run build.bat

- build succeeds with tycho 0.11.0
- I verified that build also suceeds with tycho 0.12.0
- build fails with compilation error with tycho 0.13.0-SNAPSHOT

It seems the com.ibm.dtfj.* libraries from the locally created p2 repo are missing on the compile classpath.
Comment 3 Jan Sievers CLA 2011-08-15 03:43:18 EDT
I suspect this is a duplicate of bug 351842 .

@Krum can you check if adding a build.properties entry

jars.extra.classpath=platform:plugins/<ID_OF_IBM_DTFJ_BUNDLE>


works around the compilation failure?
Comment 4 Krum Tsvetkov CLA 2011-08-15 07:18:13 EDT
Jan, thanks for trying out and reproducing the problem.
I wanted to try today the suggested workaround, however, now I am getting a different error (much earlier in the process, already before starting to build the different modules).

I don't think it is related to the proposed workaround, as I get the error both with and without it. Not sure what is the reason for the changed behavior.

The build still works with Tycho 0.12.0. BTW, I checked in some changes and now 0.12.0 is used for MAT (no 0.11.0 any longer). 

For the new problem - I tried deleting the repository - no success.
I'll attach the a debug log here. If you prefer that we track it in a separate bug, let me know.

Once more - thanks for the help!
Comment 5 Krum Tsvetkov CLA 2011-08-15 07:21:35 EDT
Created attachment 201483 [details]
debug log Missing requirement
Comment 6 Jan Sievers CLA 2011-08-18 05:39:02 EDT
(In reply to comment #3)

sorry, wrong platform URI format. It should read

jars.extra.classpath=platform:/plugin/<ID_OF_IBM_DTFJ_BUNDLE>
Comment 7 Krum Tsvetkov CLA 2011-08-18 06:19:47 EDT
This solved the problem.
Thanks!