Table of Contents
Server Properties File 🔗
You can use .deder/server.properties to specify server properties when the client starts it. Example:
localPath=myprojects/deder/.deder/out/server/assembly/out.jar
testRunnerLocalPath=myprojects/deder/.deder/out/test-runner/assembly/out.jar
logLevel=debug
logRolloverPattern=%d{yyyy-MM-dd-HH}
logMaxHistory=14
logTotalSizeCap=500MB
JAVA_OPTS=-javaagent:otel.jar -Dotel.service.name=my-project -Dotel.exporter.otlp.protocol=grpc -Dotel.exporter.otlp.endpoint=http://localhost:4317
If you make changes to it, make sure you restart the server manually:
deder shutdown
deder version
Available properties:
logLevel- log level used for server log at.deder/logs/server.log, one ofERROR,WARNING,INFO,DEBUG,TRACEmaxInactiveSeconds- max number of seconds server is inactive before it shuts down automaticallyJAVA_OPTS- java options passed to server java processmaxConnectSeconds- max number of seconds the client waits for the server to start before giving up. Defaults to30. Increase this on slow machines or CI environments.localPath- fixed local path to server JAR, useful for developing Deder and debugging. Note: When using localPath, the global cache is bypassed - the artifact is copied directly without caching. This ensures you're always testing your latest local build.testRunnerLocalPath- fixed local path to test-runner JAR, useful for developing Deder and debugging. Note: When using testRunnerLocalPath, the global cache is bypassed - the artifact is copied directly without caching.forkTestFlushIntervalMs- interval in milliseconds for flushing partial test output from forked test JVMs. Setting to0disables periodic flushing (output only appears when each test suite completes). Defaults to1000(1 second).taskLockTimeoutSeconds- maximum number of seconds to wait when acquiring a task lock before giving up. If another request is holding the lock (e.g., a long-running compilation), the waiting request will fail with a timeout error instead of blocking indefinitely. Set to0to disable (unlimited wait). Defaults to600(10 minutes).cancelGracePeriodMs- milliseconds to wait after setting the cancellation token before forcefully interrupting task threads. Cooperative tasks (like Zinc compilation) have this window to stop themselves cleanly. Set to0to disable forceful interruption (cooperative cancellation only). Defaults to1500(1.5 seconds).logRolloverPattern- Logback date pattern for rolled log file naming (see Logback docs). Controls rollover frequency:%d{yyyy-MM-dd-HH}= hourly (default),%d{yyyy-MM-dd}= daily,%d{yyyy-MM-dd_HH-mm}= per-minute, etc. Defaults to%d{yyyy-MM-dd-HH}. The pattern is always placed under.deder/logs/.logMaxHistory- maximum number of days to retain rolled log files. Defaults to7.logTotalSizeCap- maximum total size of all archived log files. SupportsKB,MB,GBsuffixes. Defaults to1GB.