forked from replay-framework/replay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replay-test: fix multi-module-app test
- move "play.plugins" back to "app" where it was in Play1 - modify BaseSpec to actually run "HelloWorldApp" instead of the Starter helper class replay-tests/multi-module-app/core/src/main/resources/conf/play.plugins
- Loading branch information
Showing
5 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
replay-tests/multi-module-app/app/app/hello/HelloWorldApp.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package hello; | ||
|
||
import play.server.Starter; | ||
|
||
public class HelloWorldApp { | ||
public int start(String playId) { | ||
return Starter.start(playId); | ||
} | ||
public static void main(String[] args) { | ||
new HelloWorldApp().start(System.getProperty("play.id", "prod")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.