Bug 198456 - Launch a build with parameters
Summary: Launch a build with parameters
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 17:48 EDT by Antoine Toulmé CLA
Modified: 2019-09-06 16:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Toulmé CLA 2007-07-31 17:48:13 EDT
In Eclipse,
you can launch a build, or launch a build for a special builder with one parameter. I would like to be able to launch a build with a map of parameters.

As a workaround, I am able to define parameters for one or more commands of the project builders. Then I face a new issue, I need to remove those parameters after the build occured, which forces me to listen to the resources, etc.
Comment 1 John Arthorne CLA 2007-08-01 09:37:38 EDT
Where do you see API to launch a build with a single parameter? The API method IProject.build(int, String, Map, IProgressMonitor) takes a Map of builder arguments as a parameter.
Comment 2 Antoine Toulmé CLA 2007-08-01 13:16:33 EDT
Sorry for not being clear:

here is the current API:

public void build(int kind, String builderName, Map args, IProgressMonitor monitor)

public void build(int kind, IProgressMonitor monitor)

I would like to add this method:

public void build(int kind, Map args, IProgressMonitor monitor)

which would take the args map and use it as parameters for all our builders, not just one.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:10:15 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.