Change default directory for snapshots
-
- Posts: 7
- Joined: Wed Aug 11, 2004 11:46 am
Change default directory for snapshots
Is there a way to change the default directory, where snapshots are saved? I normally don't use my Homefolder on windows.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Change default directory for snapshots
Yes, it's possible. To set directory where captured snapshots are saved use e.g. -Xrunyjpagent:dir=C:\MyDirmasalm wrote:Is there a way to change the default directory, where snapshots are saved? I normally don't use my Homefolder on windows.
-
- Posts: 7
- Joined: Wed Aug 11, 2004 11:46 am
Re: Change default directory for snapshots
Yes, it's possible. To set directory where captured snapshots are saved use e.g. -Xrunyjpagent:dir=C:\MyDir[/quote]
How can this be achieved out of IDEA 4.5 through the plugin?
Wouldn't it be easier with an option for this in the options dialog? This was the first place, I looked for it.
How can this be achieved out of IDEA 4.5 through the plugin?
Wouldn't it be easier with an option for this in the options dialog? This was the first place, I looked for it.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Change default directory for snapshots
How can this be achieved out of IDEA 4.5 through the plugin?masalm wrote:Yes, it's possible. To set directory where captured snapshots are saved use e.g. -Xrunyjpagent:dir=C:\MyDir
Wouldn't it be easier with an option for this in the options dialog? This was the first place, I looked for it.[/quote]
It cannot be achieved from UI in the version 2.5 plugin and in the currently available EAP build 405. We'll make UI for such an option in the version 3.0. As a workaround you can specify -Xrunyjagent VM option (see detailed description of options in the Help) in run configuration manually, and start application via Run action (not Profile).
-
- Posts: 6
- Joined: Fri Aug 13, 2004 7:15 am
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Great idea, we will try support some IDEA macros inside "dir" option (I'm affraid that IDEA does not expand macros by default).Chris wrote:One thing that I'd love to see here is a way to specify the current project directory as a base for the snapshot dir. Eg something like:
-Xrunyjpagent:dir=%PROJECT_DIR%/snapshots