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

Bug 462872

Summary: create new deployJDTCompiler job to deploy apt along with jdt.core
Product: [Eclipse Project] Platform Reporter: David Williams <david_williams>
Component: RelengAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.5   
Target Milestone: 4.5 M7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 434596, 462774    
Attachments:
Description Flags
config.xml file to deploy both apt, and jdt.core none

Description David Williams CLA 2015-03-23 12:35:22 EDT
This is required due to bug 462783 comment 12. To quote from Tycho expert (Jan): 

we use both o.e.j.compiler.apt and o.e.j.core as plain jars in a maven classloader environment.
A Tycho version "ships with" a certain version of both of these jars, so if you override one of these using pom.xml configuration, make sure to override the other one as well to match the first one.

This is important when "signing certificate" changes, but is probably a good idea to do all the time. 


Our deployJDTCompiler job is on the Platform HIPP instance. See 

https://hudson.eclipse.org/platform/job/deployJDTCompiler/
Comment 1 David Williams CLA 2015-03-23 12:39:20 EDT
Created attachment 251835 [details]
config.xml file to deploy both apt, and jdt.core

I changed the job so there is now 2 deploy:deploy-file steps, where jdt.core comes from one location and jdt.compiler.apt comes from slightly different location.
Comment 2 David Williams CLA 2015-03-23 12:44:47 EDT
The staging repo, at 
https://repo.eclipse.org/content/repositories/eclipse-staging/ 
now has the M6 version of JDT core, and jdt.compiler.apt. (note, in some cases we *might* have to add some older versions, for example, if we ever wanted to rebuild 4.2.2 under certain combinations .. but, unlikely. 

I will admit, due to an initial error, the "jdt.core" part of the repo, at 

https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/

Now says it has a 1.1.100.v20150316-1618 of jdt.core, but that is bogus. It either "doesn't exist" or will be the compiler.apt bundle.