Bug 578019 - Gradle run config shows error for string substitution
Summary: Gradle run config shows error for string substitution
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.23   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-02 15:24 EST by Andriy Rysin CLA
Modified: 2022-01-02 15:24 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Rysin CLA 2022-01-02 15:24:16 EST
When specifying ${JAVA_HOME} (defined in string substitution) the run config dialog shows an error (and Run button disabled)
But it allows to run from the run drop down and executes properly with string substitution

Steps:
1. Open preferences, string substitution
2. Add JAVA_HOME=...
3. Open run configuration, add gradle task
4. Specify ${JAVA_HOME} in Java Home field