Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354558 - eclipse MAT no longer compiles with tycho 0.13.0-SNAPSHOT
Summary: eclipse MAT no longer compiles with tycho 0.13.0-SNAPSHOT
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jan Sievers CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 17:26 EDT by Jan Sievers CLA
Modified: 2021-04-28 16:54 EDT (History)
1 user (show)

See Also:


Attachments
maven debug log (1.23 MB, text/plain)
2011-08-11 18:01 EDT, Jan Sievers CLA
no flags Details
debug log Missing requirement (306.69 KB, text/plain)
2011-08-15 07:21 EDT, Krum Tsvetkov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!