Details
Description
Starting Cargo on Windows results in an error loading log4j2.xml [2]
Testing it looks like file:${project.basedir} [1] might be the problem, this must be file://${project.basedir} [3].
Looks like log4j2 handles the url a bit differently
[1]
<log4j.configurationFile>file:$\{project.basedir}/conf/log4j2.xml</log4j.configurationFile>
[2]
[INFO] [talledLocalContainer] INFO: Command line argument: -Dlog4j.configurationFile=[file:C:\dev\projects\hippo-testsuite/conf/log4j2.xml|file:///C:/devprojectshippo-testsuite/conf/log4j2.xml] [INFO] [talledLocalContainer] Apr 23, 2017 6:30:50 PM org.apache.catalina.startup.VersionLoggerListener log [INFO] [talledLocalContainer] INFO: Command line argument: -DLog4jContextSelector=org.apache.logging.log4j.core.selector.BasicContextSelector [WARNING] [talledLocalContainer] ERROR StatusLogger Unable to access [file:/C:/dev/projects/hippo-testsuite/target/tomcat8x/file:C:/dev/projects/hippo-testsuite/conf/log4j2.xml|file:///C:/dev/projects/hippo-testsuite/target/tomcat8x/file:C:/dev/projects/hippo-testsuite/conf/log4j2.xml] [INFO] [talledLocalContainer] java.io.FileNotFoundException: C:\dev\projects\hippo-testsuite\target\tomcat8x[file:C:\dev\projects\hippo-testsuite\conf\log4j2.xml|file:///C:/devprojectshippo-testsuiteconflog4j2.xml] (The filename, directory name, or volume label syntax is incorrect) [INFO] [talledLocalContainer] at java.io.FileInputStream.open0(Native Method)