Bug 540530 - [releng] no compiler tool in staging repo.
Summary: [releng] no compiler tool in staging repo.
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.10   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-27 06:04 EDT by Christian Dietrich CLA
Modified: 2018-10-30 11:46 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dietrich CLA 2018-10-27 06:04:39 EDT
https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/

does contains core, compiler.apt and ecj but not compiler.tool.

we use jdt for two purposes:
- work with class and source file (ecj would be sufficient)
- generate code with emf. emf needs `org.eclipse.jdt.core.formatter.CodeFormatter`

thus we currently consume the 3 artifacts core, compiler.tool and compiler.apt.

is there any reason the staging repo above does not contain compiler.tool?
Comment 1 Andrey Loskutov CLA 2018-10-27 06:11:30 EDT
Ist this a regression, or was this always like this?
Comment 2 Christian Dietrich CLA 2018-10-27 06:30:30 EDT
i cannot tell this. we look for a way to consume preview versions/snapshots with maven
Comment 3 Stephan Herrmann CLA 2018-10-30 10:24:00 EDT
@Jay, @Sravan, s.t. you can settle between the two of you?
Comment 4 Sravan Kumar Lakkimsetti CLA 2018-10-30 11:07:33 EDT
We never published compiler.tool till now. We started publishing ecj from last week as tycho moved to ecj for compilation. Our plan is to stop publishing jdt.core and compiler.apt once tycho 1.3.0 is out.

Could you please let us know how you are consuming compiler.apt earlier?
Comment 5 Christian Dietrich CLA 2018-10-30 11:11:51 EDT
see https://search.maven.org/artifact/org.eclipse.jdt/org.eclipse.jdt.compiler.tool/1.2.300/jar and https://search.maven.org/artifact/org.eclipse.jdt/org.eclipse.jdt.compiler.apt/1.3.300/jar

artifacts are published to maven central for a while now.
but only after releases. so there is nothing we can start using early for testing
Comment 6 Sravan Kumar Lakkimsetti CLA 2018-10-30 11:26:44 EDT
This request is very similar to bug 534315. I would need some one from community to create necessary scripts to do this. The current process will not scale up with more libraries.

I would like some one from community to take up this effort.
Comment 7 Christian Dietrich CLA 2018-10-30 11:42:20 EDT
as far as i understood stephan already has the scripts.
since eclipse/p2 does not distingush between snapshots and releases you could put pseudo releases to the staging repo on a regular basis.
Comment 8 Stephan Herrmann CLA 2018-10-30 11:46:04 EDT
(In reply to Christian Dietrich from comment #7)
> as far as i understood stephan already has the scripts.
> since eclipse/p2 does not distingush between snapshots and releases you
> could put pseudo releases to the staging repo on a regular basis.

See bug 534315 comment 2