mercredi 6 mai 2015

JavaFX build.fxbuild error beim Erstellen einer exe

Hallo zusammen,

ich möchte eigentlich nur mein Projekt exportieren, scheint aber unter FX ein schwieriges Unterfangen zu sein, zumin bei mir.

Bei FX Build Configuration habe ich folgende Werte eingetragen.

Build Directory: ${project}/build (vorher schon so eingetragen)
Vendor name: buildsolution.ch (Wobei ich absolut nicht verstehe was ein Vendor ist mit diesem Zusammenhang).
App-Title: MatchMaker
App-Version: 3.0
App-class: einfach die Main ausgewählt.

danach bin ich auf Generate "ant built.xml and run"

alles wie im Efxclipse Tut:Efxclipse/Tutorials/Tutorial1 - Eclipsepedia

danach wirft er mir diesen Error

Java Code:

  1. Buildfile: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build.xml
  2. setup-staging-area:
  3. [delete] Deleting directory C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\externalLibs
  4. [delete] Deleting directory C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\project
  5. [delete] Deleting directory C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\projectRefs
  6. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\externalLibs
  7. [copy] Copying 1 file to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\externalLibs
  8. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\project
  9. [copy] Copying 66 files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\project
  10. [copy] Copying 28 files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\project
  11. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\projectRefs
  12. do-compile:
  13. [delete] Deleting directory C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build
  14. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\src
  15. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\libs
  16. [mkdir] Created dir: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\classes
  17. [copy] Copying 1 file to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\libs
  18. [copy] Copying 28 files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\src
  19. [copy] Copying 66 files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\src
  20. [javac] Compiling 24 source files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\classes
  21. [javac] Note: C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\src\mainController\TreeView_Controller.java uses unchecked or unsafe operations.
  22. [javac] Note: Recompile with -Xlint:unchecked for details.
  23. [copy] Copying 70 files to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build\classes
  24. init-fx-tasks:
  25. [taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
  26. do-deploy:
  27. [copy] Copying 1 file to C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\dist\libs
  28.  
  29. BUILD FAILED
  30. C:\Users\Hades-User\Desktop\Projekte\MatchMaker 3.0\build\build.xml:103: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:resources
  31. Cause: The name is undefined.
  32. Action: Check the spelling.
  33. Action: Check that any custom tasks/types have been declared.
  34. Action: Check that any <presetdef>/<macrodef> declarations have taken place.
  35. No types or tasks have been defined in this namespace yet


JavaFX build.fxbuild error beim Erstellen einer exe

0 commentaires:

Enregistrer un commentaire