Permalink
Browse files

added link to http://kool.io the new home of the code

  • Loading branch information...
1 parent dc4533b commit 9d0f3d8a53b9119045c6dff47fd136780cd69308 @jstrachan jstrachan committed Jun 28, 2012
Showing with 1 addition and 30,308 deletions.
  1. +1 −11 ReadMe.md
  2. +0 −108 apidoc/pom.xml
  3. +0 −50 javafx/koolapp-javafx-sample/ReadMe.md
  4. +0 −109 javafx/koolapp-javafx-sample/pom.xml
  5. +0 −25 javafx/koolapp-javafx-sample/sample.html
  6. +0 −8,981 javafx/koolapp-javafx-sample/src/main/js/jquery.js
  7. +0 −28 javafx/koolapp-javafx-sample/src/main/kotlin/test/koolapp/myapp/MyApp.kt
  8. +0 −21 javafx/koolapp-javafx-sample/src/main/resources/sample.html
  9. +0 −56 javafx/koolapp-javafx/pom.xml
  10. +0 −12 javafx/koolapp-javafx/src/main/kotlin/org/koolapp/javafx/Main.kt
  11. +0 −198 javafx/koolapp-javafx/src/main/kotlin/org/koolapp/javafx/WebApplication.kt
  12. +0 −22 javafx/pom.xml
  13. +0 −37 koolapp-camel/ReadMe.md
  14. +0 −53 koolapp-camel/pom.xml
  15. +0 −115 koolapp-camel/src/main/kotlin/org/koolapp/camel/CamelContexts.kt
  16. +0 −57 koolapp-camel/src/main/kotlin/org/koolapp/camel/Endpoints.kt
  17. +0 −192 koolapp-camel/src/main/kotlin/org/koolapp/camel/Exchanges.kt
  18. +0 −29 koolapp-camel/src/main/kotlin/org/koolapp/camel/Messages.kt
  19. +0 −459 koolapp-camel/src/main/kotlin/org/koolapp/camel/RoutesDefinitions.kt
  20. +0 −82 koolapp-camel/src/main/kotlin/org/koolapp/camel/support/EndpointStream.kt
  21. +0 −25 koolapp-camel/src/main/kotlin/org/koolapp/camel/support/FunctionExpression.kt
  22. +0 −22 koolapp-camel/src/main/kotlin/org/koolapp/camel/support/FunctionProcessor.kt
  23. +0 −21 koolapp-camel/src/main/kotlin/org/koolapp/camel/support/PredicateFunction.kt
  24. +0 −15 koolapp-camel/src/main/kotlin/org/koolapp/camel/support/ThenDefinition.kt
  25. +0 −49 koolapp-camel/src/test/kotlin/test/koolapp/camel/ChoiceTest.kt
  26. +0 −78 koolapp-camel/src/test/kotlin/test/koolapp/camel/EndpointConsumeTest.kt
  27. +0 −45 koolapp-camel/src/test/kotlin/test/koolapp/camel/EndpointProduceTest.kt
  28. +0 −33 koolapp-camel/src/test/kotlin/test/koolapp/camel/FilterTest.kt
  29. +0 −34 koolapp-camel/src/test/kotlin/test/koolapp/camel/FilterThenTest.kt
  30. +0 −29 koolapp-camel/src/test/kotlin/test/koolapp/camel/ProcessTest.kt
  31. +0 −37 koolapp-camel/src/test/kotlin/test/koolapp/camel/RecipientListTest.kt
  32. +0 −34 koolapp-camel/src/test/kotlin/test/koolapp/camel/RouteBuilderTest.kt
  33. +0 −34 koolapp-camel/src/test/kotlin/test/koolapp/camel/TransformAndSetHeaderTest.kt
  34. +0 −29 koolapp-camel/src/test/kotlin/test/koolapp/camel/TransformTest.kt
  35. +0 −64 koolapp-html-modelgen/pom.xml
  36. +0 −187 koolapp-html-modelgen/src/main/kotlin/org/koolapp/tools/htmlgen/GenerateHtmlModel.kt
  37. +0 −1,291 koolapp-html-modelgen/src/main/resources/global-attributes.html
  38. +0 −3,413 koolapp-html-modelgen/src/main/resources/html5-spec.html
  39. +0 −8 koolapp-html-modelgen/src/test/kotlin/test/koolapp/htmlgen/Dummy.kt
  40. +0 −45 koolapp-html/pom.xml
  41. +0 −112 koolapp-html/src/main/kotlin/org/koolapp/html/Functions.kt
  42. +0 −8 koolapp-html/src/test/kotlin/test/koolapp/html/Dummy.kt
  43. +0 −64 koolapp-js-library/pom.xml
  44. +0 −72 koolapp-math/pom.xml
  45. +0 −156 koolapp-math/src/main/kotlin/org/koolapp/math/Functions.kt
  46. +0 −27 koolapp-math/src/test/kotlin/test/koolapp/math/CalculationsOnBeansTest.kt
  47. +0 −34 koolapp-math/src/test/kotlin/test/koolapp/math/CalculationsTest.kt
  48. +0 −42 koolapp-math/src/test/kotlin/test/koolapp/math/GroupByTest.kt
  49. +0 −90 koolapp-math/src/test/kotlin/test/koolapp/math/MarketDataMonitorTest.kt
  50. +0 −26 koolapp-math/src/test/kotlin/test/koolapp/math/WindowTest.kt
  51. +0 −54 koolapp-stream/ReadMe.md
  52. +0 −105 koolapp-stream/pom.xml
  53. +0 −9 koolapp-stream/src/main/kotlin/org/koolapp/stream/Collections.kt
  54. +0 −23 koolapp-stream/src/main/kotlin/org/koolapp/stream/Cursor.kt
  55. +0 −35 koolapp-stream/src/main/kotlin/org/koolapp/stream/Handler.kt
  56. +0 −14 koolapp-stream/src/main/kotlin/org/koolapp/stream/NonBlockingCursor.kt
  57. +0 −40 koolapp-stream/src/main/kotlin/org/koolapp/stream/NonBlockingHandler.kt
  58. +0 −40 koolapp-stream/src/main/kotlin/org/koolapp/stream/ScheduledExecutorServices.kt
  59. +0 −37 koolapp-stream/src/main/kotlin/org/koolapp/stream/SimpleStream.kt
  60. +0 −195 koolapp-stream/src/main/kotlin/org/koolapp/stream/Stream.kt
  61. +0 −59 koolapp-stream/src/main/kotlin/org/koolapp/stream/Timers.kt
  62. +0 −30 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/AbstractCursor.kt
  63. +0 −44 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/Collections.kt
  64. +0 −43 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/Cursors.kt
  65. +0 −40 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/DelegateStream.kt
  66. +0 −50 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/FutureStreams.kt
  67. +0 −93 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/Handlers.kt
  68. +0 −182 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/JoinStreams.kt
  69. +0 −33 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/MapStream.kt
  70. +0 −115 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/NonBlockingHandlers.kt
  71. +0 −33 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/Streams.kt
  72. +0 −15 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/SynchronousExecutor.kt
  73. +0 −44 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/TakeWhileStream.kt
  74. +0 −50 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/TimeWindowStream.kt
  75. +0 −36 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/TimerStream.kt
  76. +0 −47 koolapp-stream/src/main/kotlin/org/koolapp/stream/support/WindowStream.kt
  77. +0 −22 koolapp-stream/src/test/kotlin/test/koolapp/stream/CollectionTest.kt
  78. +0 −29 koolapp-stream/src/test/kotlin/test/koolapp/stream/DistinctTest.kt
  79. +0 −9 koolapp-stream/src/test/kotlin/test/koolapp/stream/Extensions.kt
  80. +0 −54 koolapp-stream/src/test/kotlin/test/koolapp/stream/JoinWindowsTest.kt
  81. +0 −27 koolapp-stream/src/test/kotlin/test/koolapp/stream/ScheduledExecutorServiceTest.kt
  82. +0 −34 koolapp-stream/src/test/kotlin/test/koolapp/stream/SimpleStreamTest.kt
  83. +0 −44 koolapp-stream/src/test/kotlin/test/koolapp/stream/TakeTest.kt
  84. +0 −348 koolapp-stream/src/test/kotlin/test/koolapp/stream/TcpEchoTest.kt
  85. +0 −33 koolapp-stream/src/test/kotlin/test/koolapp/stream/TimeWindowTest.kt
  86. +0 −25 koolapp-stream/src/test/kotlin/test/koolapp/stream/TimerTest.kt
  87. +0 −27 koolapp-stream/src/test/kotlin/test/koolapp/stream/WindowTest.kt
  88. +0 −29 koolapp-stream/src/test/kotlin/test/koolapp/stream/swing/SwingDemo.kt
  89. +0 −19 koolapp-template/ReadMe.md
  90. +0 −45 koolapp-template/pom.xml
  91. +0 −12 koolapp-template/src/main/kotlin/org/koolapp/template/FilterContext.kt
  92. +0 −25 koolapp-template/src/main/kotlin/org/koolapp/template/Filters.kt
  93. +0 −101 koolapp-template/src/main/kotlin/org/koolapp/template/Inputs.kt
  94. +0 −46 koolapp-template/src/main/kotlin/org/koolapp/template/Outputs.kt
  95. +0 −8 koolapp-template/src/main/kotlin/org/koolapp/template/RequestContext.kt
  96. +0 −21 koolapp-template/src/main/kotlin/org/koolapp/template/Template.kt
  97. +0 −12 koolapp-template/src/main/kotlin/org/koolapp/template/TextFilter.kt
  98. +0 −2,724 koolapp-template/src/main/kotlin/org/koolapp/template/html/GeneratedElements.kt
  99. +0 −69 koolapp-template/src/main/kotlin/org/koolapp/template/html/HtmlTemplates.kt
  100. +0 −16 koolapp-template/src/main/kotlin/org/koolapp/template/html/NodesJVM.kt
  101. +0 −30 koolapp-template/src/main/kotlin/org/koolapp/template/markdown/MarkdownFilter.kt
  102. +0 −1 koolapp-template/src/main/resources/META-INF/services/org.koolapp.template.TextFilter
  103. +0 −32 koolapp-template/src/test/kotlin/test/koolapp/template/html/HtmlTemplateTest.kt
  104. +0 −26 koolapp-template/src/test/kotlin/test/koolapp/template/html/HtmlTextTemplateTest.kt
  105. +0 −15 koolapp-template/src/test/kotlin/test/koolapp/template/markdown/MarkdownTest.kt
  106. +0 −39 koolapp-ui/pom.xml
  107. +0 −11 koolapp-ui/src/main/kotlin/org/koolapp/ui/DomBinder.kt
  108. +0 −11 koolapp-ui/src/test/kotlin/test/koolapp/BinderTest.kt
  109. +0 −46 koolapp-web/pom.xml
  110. +0 −59 koolapp-web/src/main/kotlin/org/koolapp/web/ContextListener.kt
  111. +0 −14 koolapp-web/src/main/kotlin/org/koolapp/web/Contexts.kt
  112. +0 −12 koolapp-web/src/main/kotlin/org/koolapp/web/HttpRequestContext.kt
  113. +0 −75 koolapp-web/src/main/kotlin/org/koolapp/web/LayoutServletFilter.kt
  114. +0 −35 koolapp-web/src/main/kotlin/org/koolapp/web/TextFilterServlet.kt
  115. +0 −69 koolapp-web/src/main/kotlin/org/koolapp/web/support/Wrappers.kt
  116. +0 −11 koolapp-web/src/test/kotlin/test/koolapp/BinderTest.kt
  117. +0 −142 pom.xml
  118. +0 −8 website/module.kt
  119. +0 −134 website/pom.xml
  120. +0 −339 website/src/main/apidocs/jquery-ui.css
  121. +0 −41 website/src/main/apidocs/js/apidoc.js
  122. +0 −38 website/src/main/apidocs/js/jquery-ui.js
  123. +0 −4 website/src/main/apidocs/js/jquery.js
  124. +0 −96 website/src/main/apidocs/kotlin.css
  125. BIN website/src/main/apidocs/resources/bkg_blkheader.png
  126. BIN website/src/main/apidocs/resources/bkg_gradient.gif
  127. BIN website/src/main/apidocs/resources/bkgheader.png
  128. BIN website/src/main/apidocs/resources/inherit.gif
  129. BIN website/src/main/apidocs/resources/underline.gif
  130. +0 −127 website/src/main/apidocs/stylesheet.css
  131. +0 −96 website/src/main/kotlin/org/koolapp/website/DefaultLayoutTemplate.kt
  132. +0 −14 website/src/main/kotlin/org/koolapp/website/MyContextListener.kt
  133. +0 −21 website/src/main/kotlin/org/koolapp/website/MyLayoutFilter.kt
  134. +0 −84 website/src/main/kotlin/org/koolapp/website/SiteGenerator.kt
  135. +0 −7 website/src/main/webapp/WEB-INF/web.xml
  136. +0 −1 website/src/main/webapp/camel.md
  137. +0 −581 website/src/main/webapp/css/bootstrap-responsive.css
  138. +0 −4 website/src/main/webapp/css/bootstrap-responsive.min.css
  139. +0 −3,496 website/src/main/webapp/css/bootstrap.css
  140. +0 −632 website/src/main/webapp/css/bootstrap.min.css
  141. BIN website/src/main/webapp/img/glyphicons-halflings-white.png
  142. BIN website/src/main/webapp/img/glyphicons-halflings.png
  143. +0 −28 website/src/main/webapp/index.html
  144. +0 −1,720 website/src/main/webapp/js/bootstrap.js
  145. +0 −1 website/src/main/webapp/js/bootstrap.min.js
  146. +0 −1 website/src/main/webapp/streams.md
  147. +0 −1 website/src/main/webapp/templates.md
  148. +0 −59 website/src/test/kotlin/org/koolapp/kotlin/website/GenerateSiteTest.kt
  149. +0 −133 website/src/test/kotlin/org/koolapp/kotlin/website/Main.kt
View
@@ -1,12 +1,2 @@
-## Welcome to KoolApp!
+## This repo has moved to [http://kool.io](http://kool.io) and at [github/koolio/kool](https://github.com/koolio/kool)
-**KoolApp** is a framework for developing applications built in [Kotlin](http://jetbrains.github.com/kotlin/) so that it can be used on the client
-side in a browser via JavaScript or on the server side in some JVM process, Servlet or JAXRS system.
-
-The main components of KoolApp today are
-
-* [Kool Camel](http://koolapp.org/camel.html) provides a [kotlin](http://jetbrains.github.com/kotlin/) based DSL for [Apache Camel](http://camel.apache.org/) together with integration with [Kool Streams](http://koolapp.org/streams.html) to provide a typesafe Camel Integration and Event Processing DSL.
-* [Kool Streams](http://koolapp.org/streams.html) for working with event streams and Complex Event Processing
-* [Kool Templates](http://koolapp.org/templates.html) for creating HTML5 templates for use on the client or server side
-
-If you've not tried Kotlin yet, try the [Getting Started Guide](http://confluence.jetbrains.net/display/Kotlin/Getting+Started) to install the IDE plugin.
View
@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <modelVersion>4.0.0</modelVersion>
- <properties>
- <jetty.version>8.1.2.v20120308</jetty.version>
- </properties>
-
- <parent>
- <groupId>org.koolapp</groupId>
- <artifactId>koolapp-project</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>apidoc</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-stdlib</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math</artifactId>
- <version>${common-math-version}</version>
- </dependency>
- <dependency>
- <groupId>org.pegdown</groupId>
- <artifactId>pegdown</artifactId>
- <version>${pegdown.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
- <version>${camel.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kdoc-maven-plugin</artifactId>
- <version>${kotlin.version}</version>
- <configuration>
- <sources>
- <source>${basedir}/../koolapp-camel/src/main/kotlin</source>
- <source>${basedir}/../koolapp-math/src/main/kotlin</source>
- <source>${basedir}/../koolapp-stream/src/main/kotlin</source>
- <source>${basedir}/../koolapp-template/src/main/kotlin</source>
-<!--
- <source>${basedir}/../koolapp-ui/src/main/kotlin</source>
--->
- </sources>
- <title>KoolApp API</title>
- <ignorePackages>
- <ignorePackage>com</ignorePackage>
- <ignorePackage>sun</ignorePackage>
- <ignorePackage>java</ignorePackage>
- <ignorePackage>jet</ignorePackage>
- <ignorePackage>org.p</ignorePackage>
- <ignorePackage>org.w</ignorePackage>
- <ignorePackage>org.slf4j</ignorePackage>
- <ignorePackage>org.xml</ignorePackage>
- <ignorePackage>org.apache</ignorePackage>
- <ignorePackage>org.koolapp.camel.support</ignorePackage>
- <ignorePackage>org.koolapp.stream.beans</ignorePackage>
- <ignorePackage>org.koolapp.stream.support</ignorePackage>
- <ignorePackage>org.koolapp.template.markdown</ignorePackage>
- </ignorePackages>
- <sourceRootHref>https://github.com/koolapp/koolapp/tree/master</sourceRootHref>
- <projectRootDir>${project.basedir}/..</projectRootDir>
- <packageDescriptionFiles>
- <org.koolapp.stream>${project.basedir}/../koolapp-stream/ReadMe.md</org.koolapp.stream>
- <org.koolapp.template.html>${project.basedir}/../koolapp-template/ReadMe.md</org.koolapp.template.html>
- </packageDescriptionFiles>
- <packageSummaryText>
- <org.koolapp.camel>[Kool Camel DSL](http://koolapp.org/camel.html), extensions and integration with [Kool Streams](http://koolapp.org/streams.html)</org.koolapp.camel>
- <org.koolapp.math>Extension functions using [Apache Commons Math](http://commons.apache.org/math/) to easily perform calculations and statistics on collections</org.koolapp.math>
- <org.koolapp.stream>[Kool Streams](http://koolapp.org/streams.html) for working with events and asynchronous collections</org.koolapp.stream> ah lemme check :)
-
- <org.koolapp.template>Text processing helper classes</org.koolapp.template>
- <org.koolapp.template.html>[Kool Templates](http://koolapp.org/templates.html) a HTML5 [template engine](http://koolapp.org/versions/snapshot/apidocs/org/koolapp/template/html/org/w3c/dom/Node-extensions.html)</org.koolapp.template.html>
- </packageSummaryText>
- <packagePrefixToUrls>
- <kotlin>http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/</kotlin>
- <org.apache.camel>http://camel.apache.org/maven/current/camel-core/apidocs/</org.apache.camel>
- <org.apache.commons.math>http://commons.apache.org/math/api-2.2/</org.apache.commons.math>
- </packagePrefixToUrls>
- </configuration>
-
- <executions>
- <execution>
- <id>apidoc</id>
- <phase>install</phase>
- <goals>
- <goal>apidoc</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
@@ -1,50 +0,0 @@
-## Kool JavaFX
-
-**NOTE** this module requires [Java 7 update 4](http://www.oracle.com/technetwork/java/javase/overview/index.html) or later which ships with JavaFX. If you install Java 7 and use a Mac you might want to run this first...
-
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
- export PATH=$JAVA_HOME/bin:$PATH
-
-You can check you have JavaFX in your JDK install via
-
- ls -l $JAVA_HOME/lib/javafx-mx.jar
-
-which should find the javafx jar.
-
-### Running the sample
-
-To run the sample try...
-
- mvn -Pui
-
-Assuming you've Java 7 enabled and JAVA_HOME points to the JRE/JDK for Java 7 or later.
-
-### Demo code walkthrough
-
-The demo should create a really simple Java application that boots up a browser, loads a local file then dynamically updates the DOM using [Kool Templates](http://koolapp.org/templates.html).
-
-Here's a breakdown of the source code used to implement this:
-
-* [test.koolapp.myapp.MyApp.kt](https://github.com/koolapp/koolapp/blob/master/koolapp-javafx/src/test/kotlin/test/koolapp/myapp/MyApp.kt) the actual application which interacts with the DOM using the standard [kotlin.browser](http://jetbrains.github.com/kotlin/versions/snapshot/apidocs/kotlin/browser/package-summary.html) package.
-* [org.koolapp.javafx.WebApplication](https://github.com/koolapp/koolapp/tree/master/koolapp-javafx/src/main/kotlin/org/koolapp/javafx/WebApplication.kt) : standard KoolApp browser Application
-* [org.koolapp.javafx.namespace](https://github.com/koolapp/koolapp/tree/master/koolapp-javafx/src/main/kotlin/org/koolapp/javafx/Main.kt) : Java main() function launcher for the JavaFX web app
-
-The application code - the [myapp() function](https://github.com/koolapp/koolapp/blob/master/koolapp-javafx/src/test/kotlin/test/koolapp/myapp/MyApp.kt) should be usable when compiled to JavaScript directly. The code in the org.koolapp.javafx package is only required if you want to run the application on a JVM with JavaFX.
-
-### How a KoolApp JavaFX application works
-
-When using your web application in the KoolApp JavaFX browser, you need to bind your Kotlin application code to the web page. This is done by adding a [text/kotlin script tag](https://github.com/koolapp/koolapp/blob/master/koolapp-javafx/src/test/resources/sample.html#L6) or using the WebApplication.ready() function to pass a block when the document is ready.
-
-For example if you add this to a HTML file:
-
- <script type="text/kotlin">
- test.koolapp.myapp.namespace.myApp()
- </script>
-
-when opening in the HTML in the KoolApp JavaFX browser (running the org.koolapp.javafx.namespace class as a Java main() function)
-
- java org.koolapp.javafx.namespace file://foo.html
-
-The browser will startup, load the HTML and then when it sees the text/kotlin script it will invoke your function; once the document has loaded (and the kotlin.browser.document property is updated).
-
-The same Kotlin code should then work if the code is compiled to JavaScript. The only change is required is that the script tag with text/kotlin needs to be replaced with the actual JavaScript file; this could be done dynamically on the server or as part of your build process.
@@ -1,109 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.koolapp</groupId>
- <artifactId>javafx</artifactId>
- <version>1.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>koolapp-javafx-sample</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>org.koolapp</groupId>
- <artifactId>koolapp-javafx</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.koolapp</groupId>
- <artifactId>koolapp-template</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit-version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
-
- <plugins>
- <plugin>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-maven-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.jetbrains.kotlin</groupId>
- <artifactId>kotlin-js-library</artifactId>
- <version>${kotlin.version}</version>
- </dependency>
- <dependency>
- <groupId>org.koolapp</groupId>
- <artifactId>koolapp-js-library</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- <execution>
- <id>js</id>
- <goals>
- <goal>js</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <!-- runs the JavaFX UI -->
- <profile>
- <id>ui</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.7</version>
- <executions>
- <execution>
- <id>run</id>
- <phase>test</phase>
- <configuration>
- <target>
- <java fork="true" classpathref="maven.test.classpath"
- classname="org.koolapp.javafx.namespace">
- <arg value="file://src/main/resources/sample.html"/>
- </java>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Sample</title>
-
- <!-- this is the bootstrap mechanism to initialise our Kotlin application -->
- <script type="text/javascript" src="src/main/js/jquery.js"></script>
- <script type="text/javascript" src="target/js/kotlin-lib.js"></script>
- <script type="text/javascript" src="target/js/koolapp-javafx-sample.js"></script>
-</head>
-<body>
-<h1>Sample</h1>
-
-<p>This example HTML was loaded from a local file!</p>
-
-<div id="view"/>
-
-<p>Should have generated stuff above...</p>
-
-<script type="text/javascript">
- $(document).ready(test.koolapp.myapp.myApp)
-</script>
-
-</body>
-</html>
Oops, something went wrong.

0 comments on commit 9d0f3d8

Please sign in to comment.