JemmyFx jar location - javafx

I would like to test my JavaFX applications and i heard that JemmyFX is the right tool to do this. However, i couldn't find the Jar to download.
I tried searching online for it but i was only able to find this page which shows that the last commit on this project was over a year ago.
I have two questions:
1- is JemmyFX released and official or not yet?
2- Where can i download the Jar of JemmyFX?
Can anyone help?

JemmyFX is open-sourced, to get latest version you need to download repository and build it:
hg clone http://hg.openjdk.java.net/openjfx/8/master/tests/
cd tests/tools/Jemmy/JemmyFX
ant
To use JemmyFx you need to add next jars (they all will be in Jemmy subfolders after build):
JemmyFX.jar
JemmyAWTInput.jar
JemmyCore.jar
GlassRobot.jar
GlassImage.jar

Related

Cannot Build JemmyFX

I'm trying to create a Maven project that includes all the Jemmy modules (Jemmy Core, Glass Image, Glass Robot, JemmyFx and JemmyFX browser) because when I tried to build following these instructions here it fails telling me that the JAR files are not available.
I have obtained the sources for Jemmy Core from here and then a zip file of JemmyFx source here (as detailed on this page).
I created a Maven project with 5 modules as described above using the sources but it appears I still have some source files missing.
For example in the class GlassIamge.java there is the following import:
import org.jemmy.Dimension;
This isn't in any of the sources I have downloaded so far. Looking into the build.xml files it looks as though there could be further dependencies on other Jemmy JARs which I wasn't first aware of. For example the build.xml file contains:
<get src="${dist.url}/JemmyCore.jar" dest="${jemmy.lib.dir}"/>
<get> src="${dist.url}/JemmyAWTInput.jar" dest="${jemmy.lib.dir}"/>
<get src="${dist.url}/JemmyBrowser.jar" dest="${jemmy.lib.dir}"/>
<get> src="${dist.url}/JemmySupport.jar" dest="${jemmy.lib.dir}"/>
Which indicates a dependency on JemmyAWTInput.jar, JemmyBrowser.jar and JemmySupport.jar.
So my question is do I need these JARS or preferably the source code so I can fulfil the dependencies in the other modules and if so where can I get it?
I am in progress of putting the Jemmy v3 code onto code-tools OpenJDK project: http://hg.openjdk.java.net/code-tools/jemmy/v3/
Whoever interested, you can help me by reviewing the code I am pushing out.
http://mail.openjdk.java.net/pipermail/jemmy-dev/2017-November/000037.html
I would also suggest to subscribe to the jemmy-dev#openjdk.java.net alias.

How to build owncloud in windows?

I've read the manual of building the client for windows and skipped the steps one by one to step 4.
but unfortunately i'm not familiar with qt and cmake and the manual doesn't explain it as well
can anyone tell me how i should skip the rest of steps?
i don't know how to skip this step :
set PATH=C:<OpenSSL Install Dir>\bin;%PATH%
set PATH=C:<qtkeychain Clone Dir>;%PATH%
https://doc.owncloud.org/desktop/2.3/building.html#windows-development-build
These commands are to add ahead of your PATH the location of OpenSSL binaries folder and QT Keychain clone folder.
It's suppose you have this two tools already installed on your system and here you are just telling where to find them.

Cannot find c:\Users\qt\work\install\lib\Qt5Widgetsd.lib when compiling QtWebEngine examples

I downloaded Qt5.6 VS2013 32bit and try to run the official example of QtWebEngine.
I just followed the instruction but
When linking it gives out an error of
LNK1104 file not found c:\Users\qt\work\install\lib\Qt5Widgetsd.lib.
However, I have no idea of where this path c:\Users\qt\work\install\lib\ comes from.
I did text search in all directories of example folder and no hits other than generated files(makefiles and pdbs).
I also checked system environment variables but no hits.
Furthermore, I checked Qt Creator'r Projects panel and its Build Environment and still no hits.
Did I miss something?
P.S. this error was given out by linking DemoBrowser example of QtWebEngineWidgets pro
The link is generated by qmake when it generates the build scrip from the qt project file (*.pro). It is based from the qmake application path that is generaly installed together with the libraries (check you qt kit setup to change it if needed: Jst browse to qmake.exe application).
Then try regenerate the build script. It should fix the issue.
You may also have issue with installation not being in debug mode; you are trying to use Qt5Widgetsd.lib library instead of the non-debug one Qt5Widgets.lib

Build and Install clRNG

For a project i need Random Numbers in an OpenCL Kernel. I found the clRNG library which is exactly what i need.
https://github.com/clMathLibraries/clRNG
But i have some trouble with installing it. I follows the Installation intructions on Github for the install with VisualStudio. I comiled the files with Cmake and got a clRNG.sln File. I can open this file with visual studio but i dont know whats the next step.
It would be great if someone could give me a detaild step-by-step guide for installing the library.
Thanks a lot.
Maybe you figured this out by yourself already, but here is the guide anyhow:
Build the ALL_BUILD project, either by going to Build -> Build Solution or right-clicking ALL_BUILD in the Solution Explorer and selecting Build.
Build the INSTALL project under CMakePredefinedTargets in the Solution Explorer by right-clicking on it and selecting Build.
Now all the needed files should be in the package folder inside the solution folder.
To use the library in a VS project, you need to the project properties and adding the clRNG include folder in the project Include Directories and the lib/import folder in the project Library Directories. You can find the settings by going to the project properties and selecting Configuration Properties -> VC++ Directories.

How to compile SpeechMe

I am trying to compile the SpeechMe project: http://projects.developer.nokia.com/speechme/wiki so that I can use the voice recognition in another project I want to make.
I have followed all the instructions and downloaded the full sources of Sphinxbase and Pocketsphinx and used them to add all the missing files to the Sphinxbase and Pocketsphinx directories included in SpeechMe. I have compiled them all in the order the wiki says and they all returned: "***Build Complete" but it seems that they did not produce any output files?
I then tried compiling SpeechMe in Qt Creator but it gives me these three errors:
Here is the build log for all configurations: http://sdrv.ms/PxlD6r
Please help, I really don't understand why this is not working!
I'm guessing Carbide should have created those 3 files when compiling but it didn't, any ideas why and what I can do to fix it?
Files must be created inside pocketsphinx tree but they shouldn't be placed in the required location. Most likely you need to find library files and put them into the required folder manually.
Another reason might be that you are compiled a debug version of pocketsphinx while the latest project is looking for a release version of the libraries.

Resources