1. shemnon
  2. javafx-gradle

Commits

shemnon  committed 955cc9b

Missed some fiels

  • Participants
  • Parent commits 4f1f197
  • Branches master

Comments (0)

Files changed (15)

File Ensemble2/build.gradle

View file
  • Ignore whitespace
+apply plugin: 'javafx'
+
+buildscript {
+    repositories {
+        mavenLocal()
+    }
+    dependencies {
+        classpath 'com.bitbucket.shemnon.javafxplugin:plugin:0.0.0-SNAPSHOT'
+    }
+}
+
+repositories {
+    mavenLocal()
+    mavenCentral()
+}
+
+dependencies {
+    compile 'org.apache.lucene:lucene-core:3.2.0'
+    compile 'org.apache.lucene:lucene-grouping:3.2.0'
+}
+
+task copySamples (type:Copy) {
+    from('src/main/java') {
+        include '**/samples/**/*.java'
+    }
+    into sourceSets.main.output.resourcesDir
+}
+
+task buildSearchIndex(type:JavaExec) {
+    dependsOn copySamples
+    main = 'ensemble.search.BuildEnsembleSearchIndex'
+    classpath {
+        sourceSets.main.runtimeClasspath
+    }
+    workingDir = sourceSets.main.output.resourcesDir
+}
+
+
+jfxJar.dependsOn(buildSearchIndex)
+
+javafx {
+    javafxMainClass = 'ensemble.Ensemble2'
+}

File Ensemble2/src/main/resources/ensemble/samples/media/StreamingMediaPlayer.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/CursorSample.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/KeyStrokeMotion.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/MultiTouchSample.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/animal1.jpg

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/animal2.jpg

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/animal3.jpg

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/cursor.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/oracle.gif

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/events/warning.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/stage/AdvancedStageSample.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/scenegraph/stage/StageSample.png

  • Ignore whitespace
Added
New image

File Ensemble2/src/main/resources/ensemble/samples/web/WebViewSample.png

  • Ignore whitespace
Added
New image

File Ensemble2/web/index_template.html

View file
  • Ignore whitespace
+<html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+        <title>JavaFX 2.0 - Ensemble</title>
+<!--        #DT.SCRIPT.CODE#-->
+<!--        #DT.EMBED.CODE.ONLOAD#-->
+        <style>
+            html, body {  
+                margin: 0;  
+                overflow: hidden;  
+                padding: 0; 
+            }
+        </style>
+        <script>
+            function hashchanged(event) {
+                var applet = document.getElementById('ensemble');
+                if (applet != null) {
+                    try {
+                        applet.hashChanged(location.hash);
+                    } catch (err) {
+                        console.log("JS Exception when trying to pass hash to Ensmeble Applet: " + err);
+                    }
+                }
+            }
+        </script> 
+</head>
+<body onhashchange="hashchanged(event)"><div id='javafx-app-placeholder'></div></body>
+</html>