Skip to content

Commit

Permalink
ApplicationRunnerServlet to correctly get last modified application (#…
Browse files Browse the repository at this point in the history
…8852)

Also, change README.txt to the correct test port 8888
  • Loading branch information
asashour authored and tsuoanttila committed Mar 16, 2017
1 parent d436e3f commit 637afe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following preferences need to be set to keep the project consistent. You nee
1. In a Project Explorer right-click *vaadin-uitest*
1. Open *Run As* -> *Maven build...*
1. Type in <code>jetty:run-exploded</code> into *Goals* and click *Run*
1. Open URL *http://localhost:8080/run/&lt;testUI&gt;*
1. Open URL *http://localhost:8888/run/&lt;testUI&gt;*

## Setting up IntelliJ IDEA to Develop Vaadin 7

Expand All @@ -75,7 +75,7 @@ The following preferences need to be set to keep the project consistent. You nee

1. Open *Maven Projects*
1. Open *vaadin-uitest* -> *Plugins* -> *jetty* -> *jetty:run-exploded*
1. Open URL *http://localhost:8080/run/&lt;testUI&gt;*
1. Open URL *http://localhost:8888/run/&lt;testUI&gt;*

## Running a Development Server

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private static URIS getApplicationRunnerURIs(HttpServletRequest request) {
private static String findLastModifiedApplication() {
String lastModifiedClassName = null;

File uitestDir = new File("uitest/src");
File uitestDir = new File("src/main/java");
if (uitestDir.isDirectory()) {
LinkedList<File> stack = new LinkedList<>();
stack.add(uitestDir);
Expand All @@ -358,7 +358,6 @@ private static String findLastModifiedApplication() {
lastModifiedTimestamp = file.lastModified();
lastModifiedClassName = className;
}

}
}
}
Expand Down

0 comments on commit 637afe2

Please sign in to comment.