fbpx

Shared mode

  • Otto Christiaanse
  • Otto Christiaanse's Avatar Topic Author
  • Offline
More
2 years 3 months ago - 2 years 3 months ago #1 by Otto Christiaanse
Shared mode was created by Otto Christiaanse
Where is shared mode settings value stored? I thought it would be in the rsp file.
Edit: I see that it is in the .xsproj file, but I don't see a relation to the rsp file.
How does the cmd compiler link the .xsproj file?
Last edit: 2 years 3 months ago by Otto Christiaanse.

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #2 by Robert van der Hulst
Replied by Robert van der Hulst on topic Shared mode
Otto,

The /shared command line option is NOT stored inside the response file.
It must always be passed on the command line.
The xcs tool "knows" about the /shared compiler option and calls the resident program XSCompiler.exe with the complete commandline except the option /shared (
The resident program does not understand the /shared command line option)

Btw there is another command line options that can be used together with /shared and which is also not sent to XSCompiler.exe

/keepalive:=<TimeInSeconds>

This tells the XsCompiler.exe how long to stay in memory after the last compilation has finished.
The default for the keepalive valus is 600 seconds (10 minutes).
And you can also set this default in a config file if you want.
We will include a config file with the next build.

Robert

XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.
Last edit: 2 years 3 months ago by Robert van der Hulst.

Please Log in or Create an account to join the conversation.