Is there a way to nest system properties in a Java command line? For instance, specifying something like:
java -DworkingDir=/tmp -DconfigFile=${workingDir}/someFile.config
.
I aim to use something like that for the Tomcat launch configuration in Eclipse (Tomcat patched to log with SLF4J/Logback) :
-Dcatalina.base="C:\data\workspaces\EclipseWorkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0"
-Dlogback.configurationFile="${catalina.base}\conf\logback.groovy"`.