[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: working directory changes when profiling

Another way is to launch the application manually and attach to it. You can do this by specifying the "-XrunpiAgent" VM argument when launching the application (say, from the command prompt), and by attaching the profiler to the running application. To do this, create a new "Attach - Java Process" launch configuration and select the agent with the corresponding process ID.

Thanks,
Curt


Richard Duggan wrote:

I do not believe there is a way to set thye working directory in the UI
today.  The working directory is defined the serviceconfig.xml file of the
HCE.  Take a look for the java.exe application definition and change the
location to be the working directory you wish.  You will have to restart the
HCE to pick up the changes.

Hope this helps.


"Jose Antonio" <alfileres@xxxxxxxxx> wrote in message
news:ckdseo$4c4$1@xxxxxxxxxxxxxx
Hi All,

I have a problem in an application that reads configuration files whose
path is relative to the working directory. When I run the java application
with 'Run' or 'Debug' it works fine but when I do with 'Profile' the
working directory is changed to C:DOCUME~1alfileresLOCALS~1Temp

I'm using as working directory: ${workspace_loc:GENERIC_SRC} in 'Run',
'Debug' and 'Profile'.

Any hints?

Thank you in advance.