holgerbrandl / opencards

A free flashcard learning application for PowerPoint and MarkDown files
http://opencards.info
BSD 2-Clause "Simplified" License
96 stars 27 forks source link

while compiling: #60

Open jringoot opened 11 months ago

jringoot commented 11 months ago

ant -Dkotlin_lib_dir="${kotlin_lib_dir}" create-jar Buildfile: /home/joost/Downloads/opencards-2.5.1/build.xml

compile: [mkdir] Created dir: /home/joost/Downloads/opencards-2.5.1/classes [javac] /home/joost/Downloads/opencards-2.5.1/build.xml:39: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 129 source files to /home/joost/Downloads/opencards-2.5.1/classes [javac] Compiling [/home/joost/Downloads/opencards-2.5.1/src] => [/home/joost/Downloads/opencards-2.5.1/classes] [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MarkdownParser.kt:18:10: warning: parameter 'args' is never used [javac] fun main(args: Array) { [javac] ^ [javac] Running javac... [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:3: error: package com.sun.javafx.application does not exist [javac] import com.sun.javafx.application.PlatformImpl; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:7: error: package javafx.application does not exist [javac] import javafx.application.Platform; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:8: error: package javafx.embed.swing does not exist [javac] import javafx.embed.swing.JFXPanel; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:9: error: package javafx.scene does not exist [javac] import javafx.scene.Group; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:10: error: package javafx.scene does not exist [javac] import javafx.scene.Scene; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:11: error: package javafx.scene.web does not exist [javac] import javafx.scene.web.WebEngine; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:12: error: package javafx.scene.web does not exist [javac] import javafx.scene.web.WebView; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:13: error: package javafx.stage does not exist [javac] import javafx.stage.Stage; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:36: error: cannot find symbol [javac] private WebEngine webEngine; [javac] ^ [javac] symbol: class WebEngine [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:37: error: cannot find symbol [javac] private JFXPanel jfxPanel; [javac] ^ [javac] symbol: class JFXPanel [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:94: error: cannot find symbol [javac] private static void redirectLinksToBrowser(WebEngine webEngine) { [javac] ^ [javac] symbol: class WebEngine [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:3: error: package com.sun.javafx.application does not exist [javac] import com.sun.javafx.application.PlatformImpl; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:4: error: package javafx.application does not exist [javac] import javafx.application.Platform; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:5: error: package javafx.collections does not exist [javac] import javafx.collections.ObservableList; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:6: error: package javafx.embed.swing does not exist [javac] import javafx.embed.swing.JFXPanel; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:7: error: package javafx.scene does not exist [javac] import javafx.scene.Group; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:8: error: package javafx.scene does not exist [javac] import javafx.scene.Node; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:9: error: package javafx.scene does not exist [javac] import javafx.scene.Scene; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:10: error: package javafx.scene.web does not exist [javac] import javafx.scene.web.WebEngine; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:11: error: package javafx.scene.web does not exist [javac] import javafx.scene.web.WebView; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:12: error: package javafx.stage does not exist [javac] import javafx.stage.Stage; [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:26: error: cannot find symbol [javac] private JFXPanel jfxPanel; [javac] ^ [javac] symbol: class JFXPanel [javac] location: class SwingFXWebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:28: error: cannot find symbol [javac] private WebEngine webEngine; [javac] ^ [javac] symbol: class WebEngine [javac] location: class SwingFXWebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:14: error: cannot find symbol [javac] public class MacAppHandler implements AboutHandler, PreferencesHandler, QuitHandler, AppReOpenedListener { [javac] ^ [javac] symbol: class AboutHandler [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:14: error: cannot find symbol [javac] public class MacAppHandler implements AboutHandler, PreferencesHandler, QuitHandler, AppReOpenedListener { [javac] ^ [javac] symbol: class PreferencesHandler [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:14: error: cannot find symbol [javac] public class MacAppHandler implements AboutHandler, PreferencesHandler, QuitHandler, AppReOpenedListener { [javac] ^ [javac] symbol: class QuitHandler [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:14: error: cannot find symbol [javac] public class MacAppHandler implements AboutHandler, PreferencesHandler, QuitHandler, AppReOpenedListener { [javac] ^ [javac] symbol: class AppReOpenedListener [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:25: error: package AppEvent does not exist [javac] public void handleAbout(AppEvent.AboutEvent aboutEvent) { [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:31: error: package AppEvent does not exist [javac] public void handlePreferences(AppEvent.PreferencesEvent preferencesEvent) { [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:37: error: package AppEvent does not exist [javac] public void handleQuitRequestWith(AppEvent.QuitEvent quitEvent, QuitResponse quitResponse) { [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:37: error: cannot find symbol [javac] public void handleQuitRequestWith(AppEvent.QuitEvent quitEvent, QuitResponse quitResponse) { [javac] ^ [javac] symbol: class QuitResponse [javac] location: class MacAppHandler [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:44: error: package AppEvent does not exist [javac] public void appReOpened(AppEvent.AppReOpenedEvent appReOpenedEvent) { [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:3: error: package com.apple.eawt does not exist [javac] import com.apple.eawt.*; [javac] ^ [javac] warning: unknown enum constant AnnotationTarget.TYPEALIAS [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:84: error: cannot find symbol [javac] Platform.runLater(() -> { [javac] ^ [javac] symbol: variable Platform [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:146: error: cannot find symbol [javac] jfxPanel = new JFXPanel(); [javac] ^ [javac] symbol: class JFXPanel [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:183: error: cannot find symbol [javac] PlatformImpl.startup(() -> { [javac] ^ [javac] symbol: variable PlatformImpl [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:184: error: cannot find symbol [javac] Stage stage; [javac] ^ [javac] symbol: class Stage [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:185: error: cannot find symbol [javac] WebView browser; [javac] ^ [javac] symbol: class WebView [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:186: error: cannot find symbol [javac] stage = new Stage(); [javac] ^ [javac] symbol: class Stage [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:191: error: cannot find symbol [javac] Group root = new Group(); [javac] ^ [javac] symbol: class Group [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:191: error: cannot find symbol [javac] Group root = new Group(); [javac] ^ [javac] symbol: class Group [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:192: error: cannot find symbol [javac] Scene scene = new Scene(root, 80, 20); [javac] ^ [javac] symbol: class Scene [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:192: error: cannot find symbol [javac] Scene scene = new Scene(root, 80, 20); [javac] ^ [javac] symbol: class Scene [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/MdSlideManager.java:196: error: cannot find symbol [javac] browser = new WebView(); [javac] ^ [javac] symbol: class WebView [javac] location: class MdSlideManager [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:55: error: cannot find symbol [javac] jfxPanel = new JFXPanel(); [javac] ^ [javac] symbol: class JFXPanel [javac] location: class SwingFXWebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:66: error: cannot find symbol [javac] Platform.runLater(new Runnable() { [javac] ^ [javac] symbol: variable Platform [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:90: error: cannot find symbol [javac] Stage stage; [javac] ^ [javac] symbol: class Stage [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:91: error: cannot find symbol [javac] WebView browser; [javac] ^ [javac] symbol: class WebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:92: error: cannot find symbol [javac] stage = new Stage(); [javac] ^ [javac] symbol: class Stage [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:97: error: cannot find symbol [javac] Group root = new Group(); [javac] ^ [javac] symbol: class Group [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:97: error: cannot find symbol [javac] Group root = new Group(); [javac] ^ [javac] symbol: class Group [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:98: error: cannot find symbol [javac] Scene scene = new Scene(root, 80, 20); [javac] ^ [javac] symbol: class Scene [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:98: error: cannot find symbol [javac] Scene scene = new Scene(root, 80, 20); [javac] ^ [javac] symbol: class Scene [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:102: error: cannot find symbol [javac] browser = new WebView(); [javac] ^ [javac] symbol: class WebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:116: error: cannot find symbol [javac] ObservableList children = root.getChildren(); [javac] ^ [javac] symbol: class ObservableList [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:116: error: cannot find symbol [javac] ObservableList children = root.getChildren(); [javac] ^ [javac] symbol: class Node [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/md/SwingFXWebView.java:87: error: cannot find symbol [javac] PlatformImpl.startup(new Runnable() { [javac] ^ [javac] symbol: variable PlatformImpl [javac] location: class SwingFXWebView [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:24: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:30: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:36: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /home/joost/Downloads/opencards-2.5.1/src/info/opencards/util/macos/MacAppHandler.java:43: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 61 errors [javac] 1 warning

BUILD FAILED /home/joost/Downloads/opencards-2.5.1/build.xml:39: Compile failed; see the compiler error output for details.

Total time: 5 seconds