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

Bug 362295

Summary: Pass Eclipse Incremental build arguments to build participants
Product: z_Archived Reporter: Ricardo Gladwell <ricardo>
Component: m2eAssignee: Igor Fedorenko <igor>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: anthony.dahanne, igor, mn, tijl
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Ricardo Gladwell CLA 2011-10-28 08:09:46 EDT
Build Identifier: 

It would be useful to pass the string-to-string arguments map from the incremental build (IncrementalBuilder.build(int kind, Map<String,String> args, IProgressMonitor monitor) to the BuildParticipant.

For example, the ADT 14 now only builds when a launcher is run. It specifies a run only build when a specific argument is passed to the build method. Downstream build participants would need to access this argument to determine whether they should run or not.

Reproducible: Always

Steps to Reproduce:
N/A
Comment 1 Igor Fedorenko CLA 2011-11-07 15:23:19 EST
Introduced AbstractBuildParticipant2.getArgs. Please reopen if this does not address your usecase.

http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=67d8ae652fc82525773ea44425538e1db34ea830
Comment 2 Denis Roy CLA 2021-04-19 13:24:28 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/