I have created a launch group configuration for launching a project in my current workspace.
Can i some how save the configuration along with the project so that it can be imported into another workspace ?
If no how can i create a launch-group configuration using a custom eclipse plugin ?
Export
File -> Export... -> Run/Debug -> "Launch Configurations"
Then select the configurations you need to export.
Import
File -> Import... -> Run/Debug -> "Launch Configurations"
Then select the configurations into "From Directory".
Example images are available here along with a sample .launch file.
I simply export all my "run/debug configurations"
from the original project by:
copying the content of folder:
$My-Workspace\.metadata\.plugins\org.eclipse.debug.core\.launches
into a folder in the destination project (folder location or name doesn't matter, just as long as it is in the imported project)
and when I open eclipse to my workspace and the project - it will show up automatically in "run/debug configurations"
dialog (eclipse scan the projects for .launch files)
also after copying a .launch file into my project, i right click the root folder and choose refresh, wait for a minute and the configurations appear in the "run/debug configurations"
© 2022 - 2024 — McMap. All rights reserved.