The application plugin provides solution for set java options by applicationDefaultJvmArgs. But in ouer case we need to use APP_HOME variable value to prepare absolute path for javaagent.
Unfortunately linux and windwos have a different syntax for access to variables. Is there a solution for set different applicationDefaultJvmArgs depends of platform? Maybe extending application plugin api of windowsApplicationDefaultJvmArgs, unitxApplicationDefaultJvmArgs will be acceptable?
@kamilchm - How do you want use APP_HOME in DEFAULT_JVM_OPTS? Windows and Linux have different syntax for access varible.
@bmuschko - Yes. Of course we can provide own script template. But that will be a huge interference to application plugin. And can break plugins compatibility in the future. We are looking for more soft solution.
Not sure what you mean by “huge interference to application plugin”. Providing a custom template is part of the official public API and will not change “just like that”.