1.1 --- a/rt/launcher/pom.xml Thu Feb 28 20:51:53 2013 +0100
1.2 +++ b/rt/launcher/pom.xml Thu Feb 28 21:00:39 2013 +0100
1.3 @@ -26,7 +26,6 @@
1.4 <plugin>
1.5 <groupId>org.apache.maven.plugins</groupId>
1.6 <artifactId>maven-javadoc-plugin</artifactId>
1.7 - <version>2.8.1</version>
1.8 <configuration>
1.9 <excludePackageNames>org.apidesign.bck2brwsr.launcher.impl</excludePackageNames>
1.10 </configuration>
2.1 --- a/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java Thu Feb 28 20:51:53 2013 +0100
2.2 +++ b/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java Thu Feb 28 21:00:39 2013 +0100
2.3 @@ -26,6 +26,9 @@
2.4 /** An abstraction for executing tests in a Bck2Brwsr virtual machine.
2.5 * Either in {@linkm Launcher#createJavaScript JavaScript engine},
2.6 * or in {@linkm Launcher#createBrowser external browser}.
2.7 + * <p>
2.8 + * There also are methods to {@link #showDir(java.io.File, java.lang.String) display pages}
2.9 + * in an external browser served by internal HTTP server.
2.10 *
2.11 * @author Jaroslav Tulach <jtulach@netbeans.org>
2.12 */
2.13 @@ -98,11 +101,10 @@
2.14 }
2.15 /** Starts an HTTP server which provides access to certain directory.
2.16 * The <code>startpage</code> should be relative location inside the root
2.17 - * driecotry
2.18 - * Opens a browser with URL showing the start page.
2.19 + * directory. Opens a browser with URL showing the start page.
2.20 *
2.21 * @param directory the root directory on disk
2.22 - * @praam startpage relative path from the root to the page
2.23 + * @param startpage relative path from the root to the page
2.24 * @exception IOException if something goes wrong.
2.25 */
2.26 public static Closeable showDir(File directory, String startpage) throws IOException {