Hi Alex
Currently this is hardcoded I'm afraid, though I expect it would be straightforward to change it to look for a parameter in the ini file and if not present to (defaulting to the usual home directory). Is it a change you need?
Andy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking at it I think they want a portable version of xProcess. Put it
on a USB stick and set the parameter to write to the USB stick as well.
As long the computer you attached it to has Java it should run.
Tim.
On 01/08/13 12:35, Andy Carmichael wrote:
Hi Alex
Currently this is hardcoded I'm afraid, though I expect it would be
straightforward to change it to look for a parameter in the ini file
and if not present to (defaulting to the usual home directory). Is it
a change you need?
Andy
With the parameter -Duser.home you can set the folder in which xProcess creates .xprocess. For example -Duser.home=/path/to/parent/of/dot-xprocess (on the command-line). The parameter has to come after the -vmargs parameter to signify that it is a parameter to the java virtual machine.
Hi,
is it possible to run xProcess without creating .xprocess folder in the users home directory?
Which parameters in ini file should be changed?
Hi Alex
Currently this is hardcoded I'm afraid, though I expect it would be straightforward to change it to look for a parameter in the ini file and if not present to (defaulting to the usual home directory). Is it a change you need?
Andy
Hi Andy,
Looking at it I think they want a portable version of xProcess. Put it
on a USB stick and set the parameter to write to the USB stick as well.
As long the computer you attached it to has Java it should run.
Tim.
On 01/08/13 12:35, Andy Carmichael wrote:
Hi,
As I wrote xprocess create a folder .xprocess in users home. And this is a problem of portability.
But it can run from any place.
Hi Alex,
With the parameter -Duser.home you can set the folder in which xProcess creates .xprocess. For example -Duser.home=/path/to/parent/of/dot-xprocess (on the command-line). The parameter has to come after the -vmargs parameter to signify that it is a parameter to the java virtual machine.
Example xprocess.ini contents:
I hope this helps,
Flemming
Last edit: Flemming 2013-12-11