thsa/datawarrior

Need some help to build Data Warrior and the plug-in examples on a Windows laptop.

Opened this issue · 2 comments

Dear Dr. Sanders:

A co-worker of mine and I like to build DW on a Windows laptop to create the "datawarrior.jar" file, and then use it to support the building of "examplePlugin.jar" based on the "buildAll" script you have deposited in the "plugin_interface_2.1" folder.

After downloading and importing the DW master into an Eclipse IDE, we noticed the following error messages:
Error Message 1:
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for javafx.scene.control.ContextMenu. Fix the build path then try building this project datawarrior-Th Unknown Java Problem

The project was not built since its build path is incomplete. Cannot find the class file for javafx.scene.control.ContextMenu. Fix the build path then try building this project

Error Message 2:
Description Resource Path Location Type
The type javafx.scene.control.ContextMenu cannot be resolved. It is indirectly referenced from required type org.openmolecules.fx.viewer3d.V3DPopupMenuController DEDetailPane.java /datawarrior-Th/src/com/actelion/research/datawarrior line 1 Java Problem

The type javafx.scene.control.ContextMenu cannot be resolved. It is indirectly referenced from required type org.openmolecules.fx.viewer3d.V3DPopupMenuController

Thanks so much for your help.

Best,
Zhengwei Peng
(zhengwei.peng@bhtherapeutics.com)

thsa commented

Dear Dr. Sander:

Thanks so much for your nice tips.

After installing JRE 1.8 (JAVA_VERSION="1.8.0_371" which comes with "jfxrt.jar") on my Windows laptop, I was able to
a) compile and run DW within the Eclipse IDE;
2) export the Eclipse project out into a "datawarrior.jar" file;
3) import this "datawarrior.jar" back into the Eclipse project under the "datawarrior\lib" tab to help create the "examplePlugin.jar" file;
4) and verify that the "examplePlugin.jar" works as expected after I placed it inside the "C:\Program Files\DataWarrior\plugin" folder of the standalone Data Warrior application. on my laptop.

Best,
Zhengwei