1.1 --- a/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java Sun Apr 17 06:52:19 2016 +0200
1.2 +++ b/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/Bck2BrwsrLauncher.java Sun Apr 17 07:15:28 2016 +0200
1.3 @@ -43,7 +43,7 @@
1.4
1.5 @Override
1.6 String harnessResource() {
1.7 - return "org/apidesign/bck2brwsr/launcher/harness.xhtml";
1.8 + return "org/apidesign/bck2brwsr/launcher/harness.html";
1.9 }
1.10
1.11 @Override
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/launcher/http/src/main/resources/org/apidesign/bck2brwsr/launcher/harness.html Sun Apr 17 07:15:28 2016 +0200
2.3 @@ -0,0 +1,43 @@
2.4 +<?xml version="1.0" encoding="UTF-8"?>
2.5 +<!--
2.6 +
2.7 + Back 2 Browser Bytecode Translator
2.8 + Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
2.9 +
2.10 + This program is free software: you can redistribute it and/or modify
2.11 + it under the terms of the GNU General Public License as published by
2.12 + the Free Software Foundation, version 2 of the License.
2.13 +
2.14 + This program is distributed in the hope that it will be useful,
2.15 + but WITHOUT ANY WARRANTY; without even the implied warranty of
2.16 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2.17 + GNU General Public License for more details.
2.18 +
2.19 + You should have received a copy of the GNU General Public License
2.20 + along with this program. Look for COPYING file in the top folder.
2.21 + If not, see http://opensource.org/licenses/GPL-2.0.
2.22 +
2.23 +-->
2.24 +<html>
2.25 + <head>
2.26 + <title>Bck2Brwsr Harness</title>
2.27 + </head>
2.28 + <body>
2.29 + <script src="/bck2brwsr.js"></script>
2.30 + <script>
2.31 + var vm = bck2brwsr();
2.32 + </script>
2.33 +
2.34 + <h1>Bck2Brwsr Execution Harness</h1>
2.35 +
2.36 + <ul id="bck2brwsr.result" style="width: 100%;" >
2.37 + </ul>
2.38 +
2.39 + <div id="bck2brwsr.fragment"/>
2.40 +
2.41 + <script type="text/javascript">
2.42 + var cnsl = vm.loadClass('org.apidesign.bck2brwsr.launcher.impl.Console');
2.43 + var res = cnsl.invoke('harness', '$U/../data');
2.44 + </script>
2.45 + </body>
2.46 +</html>
3.1 --- a/launcher/http/src/main/resources/org/apidesign/bck2brwsr/launcher/harness.xhtml Sun Apr 17 06:52:19 2016 +0200
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,44 +0,0 @@
3.4 -<?xml version="1.0" encoding="UTF-8"?>
3.5 -<!--
3.6 -
3.7 - Back 2 Browser Bytecode Translator
3.8 - Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
3.9 -
3.10 - This program is free software: you can redistribute it and/or modify
3.11 - it under the terms of the GNU General Public License as published by
3.12 - the Free Software Foundation, version 2 of the License.
3.13 -
3.14 - This program is distributed in the hope that it will be useful,
3.15 - but WITHOUT ANY WARRANTY; without even the implied warranty of
3.16 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3.17 - GNU General Public License for more details.
3.18 -
3.19 - You should have received a copy of the GNU General Public License
3.20 - along with this program. Look for COPYING file in the top folder.
3.21 - If not, see http://opensource.org/licenses/GPL-2.0.
3.22 -
3.23 --->
3.24 -<!DOCTYPE html>
3.25 -<html xmlns="http://www.w3.org/1999/xhtml">
3.26 - <head>
3.27 - <title>Bck2Brwsr Harness</title>
3.28 - </head>
3.29 - <body>
3.30 - <script src="/bck2brwsr.js"></script>
3.31 - <script>
3.32 - var vm = bck2brwsr();
3.33 - </script>
3.34 -
3.35 - <h1>Bck2Brwsr Execution Harness</h1>
3.36 -
3.37 - <ul id="bck2brwsr.result" style="width: 100%;" >
3.38 - </ul>
3.39 -
3.40 - <div id="bck2brwsr.fragment"/>
3.41 -
3.42 - <script type="text/javascript">
3.43 - var cnsl = vm.loadClass('org.apidesign.bck2brwsr.launcher.impl.Console');
3.44 - var res = cnsl.invoke('harness', '$U/../data');
3.45 - </script>
3.46 - </body>
3.47 -</html>