diff -r d382dacfd73f -r bd80952bfd11 rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/BrswrMojo.java
--- a/rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/BrswrMojo.java Tue Feb 26 16:54:16 2013 +0100
+++ b/rt/mojo/src/main/java/org/apidesign/bck2brwsr/mojo/BrswrMojo.java Sun Apr 28 21:17:04 2013 +0200
@@ -41,6 +41,15 @@
public class BrswrMojo extends AbstractMojo {
public BrswrMojo() {
}
+
+ /** The identification of a launcher to use. Known values fxbrwsr
,
+ * bck2brwsr
, or
+ * name of an external process to execute.
+ */
+ @Parameter
+ private String launcher;
+
+
/** Resource to show as initial page */
@Parameter
private String startpage;
@@ -69,7 +78,7 @@
} else {
URLClassLoader url = buildClassLoader(classes, prj.getDependencyArtifacts());
try {
- httpServer = Launcher.showURL(url, startpage());
+ httpServer = Launcher.showURL(launcher, url, startpage());
} catch (Exception ex) {
throw new MojoExecutionException("Can't open " + startpage(), ex);
}