still no macros in Working Directory of Run Configuration?

Answered

In this post, I asked about using macros to set the working directory of Run Configurations
https://intellij-support.jetbrains.com/hc/en-us/community/posts/14651974051602-use-macros-in-Working-Directory-of-Run-Configuration

This issue is said to be resolved in 2023.3, however using this version, I still can't find this feature. 

Example of what I am looking for: 
Given a project with multiple (hierarchical) maven modules 

parent - module_a - module_a_api
parent - module_a - module_a_impl

Depending on which module is selected/active, a RunConfiguration should only be performed for this module (and subjacent ones).
 

I have attached a Screenshot of one of our Eclipse Run Configs showcasing the desired feature (${project_loc})
Upload id: 2023_12_22_VodeFCfhEhPUiN4yVCvssD (file: EclipseRunConfig.png)

Thank you and kind regards, 
Patrick Nitsche 

 

 

0
3 comments

Hello, Patrick!

Thank you for providing the details about the use-case!

Unfortunately, this specific functionality was not included in the fix, mentioned in your original post.

I have created a dedicated YouTrack Issue IDEA-341899 for your request, so the R&D Team can consider implementing this functionality.

Please make sure to upvote it!

0

Hello Roman Vatagin
Thank you for the clarification and for opening a dedicated Issue on this. 

Do you have any recommendations how to circumvent the issue in the meantime, even if it is only a temporary fix. 

Kind regards, 
Patrick 

0

Patrick,

I'm afraid, there might not be an effective workaround for this, as of right now Maven Run Configurations are directly tied to specific Working Directories.

We will have to wait for the developers to implement the changes needed to support this functionality.

0

Please sign in to leave a comment.