From 93b5e8f95bf93ed1de300923ca2e9608785f25f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4dlich?= Date: Thu, 28 May 2015 14:17:16 +0200 Subject: [PATCH] Fix maven properties in exception message The right adl command property is flex.adl.command and the right flashplayer command property is flex.flashPlayer.command. --- .../main/java/net/flexmojos/oss/plugin/test/TestRunMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flexmojos-maven-plugin/src/main/java/net/flexmojos/oss/plugin/test/TestRunMojo.java b/flexmojos-maven-plugin/src/main/java/net/flexmojos/oss/plugin/test/TestRunMojo.java index 69ebb2b54..610729c00 100644 --- a/flexmojos-maven-plugin/src/main/java/net/flexmojos/oss/plugin/test/TestRunMojo.java +++ b/flexmojos-maven-plugin/src/main/java/net/flexmojos/oss/plugin/test/TestRunMojo.java @@ -414,13 +414,13 @@ public void runTest( String swfName, Integer testPort, Integer testControlPort, throw new MojoExecutionException( "Failed to launch Air Debug Launcher. Probably java was not able to find adl." + "\n\t\tMake sure adl is available on PATH" - + "\n\t\tor use -Dadl.command=${adl executable}", + + "\n\t\tor use -Dflex.adl.command=${adl executable}", e ); } else { throw new MojoExecutionException( "Failed to launch Flash Player. Probably java was not able to find flashplayer." + "\n\t\tMake sure flashplayer is available on PATH" - + "\n\t\tor use -DflashPlayer.command=${flashplayer executable}", + + "\n\t\tor use -Dflex.flashPlayer.command=${flashplayer executable}", e ); } }