As you may or may not know, DQL Tester doesn’t work anymore with Documentum >= 16.4, as the support for dmcl.dll has been dropped. However, there’s a new project that tries to provide a similar tool that works with Documentum: DQL Tester FX
I’ve downloaded the code and done some modifications of my own (shortcuts, changed some button positions, etc.), and it’s quite easy (despite using JavaFX, which is not something that every Documentum developer is used to).
As the how-to to set up the project is done usgin IntelliJ, here you can find another how-to to configure the project on eclipse (without using maven, sorry):
- Download latest eclipse
- Download openJDK 11 (>=11.0.1+13)
- Download JavaFX SDK
- If you want to use the BPM/Workflow features, you’ll need to get a copy of the BPM libraries (bpm_infra/rt.jar)
- Get a copy of the following DFC libraries:
- aspectjrt.jar
- certj.jar
- commons-lang-2.4.jar
- cryptoj.jar
- dfc.jar
- log4j.jar
- Download the following jar files:
- guava-18.0.jar
- hamcrest-core-1.3.jar
- json-20180813.jar
- junit-4.13-beta-3.jar
- mockito-core-2.21.jar
- powermock-api-mockito-1.6.6.jar
- powermock-api-support-1.6.6.jar
- powermock-module-junit4-rule-1.6.6.jar
- powermock-reflect-1.6.6.jar
- richtextfx-fat-0.10.1.jar
- testfx-core-4.0.2-alpha.jar
- testfx-junit-4.0.1-alpha.jar
- Get a working dfc.properties
- Create a log4j.properties file as instructed in DQL Tester FX Github page
- Download DQL Texter FX code
- Launch eclipse, configure an additional JRE using openJDK 11
- Unzip DQL Tester FX code to the workspace, and create a new project using the name of the folder you just extracted (DQL-Tester-FX-master), this will detect the existing project and will import it.
- Change the default JRE with the OpenJDK created before, if it has been set to a different JRE/JDK.
- Add all the libraries to the project’s build path
- Create a new Run configuration:
- Main class: nl.bos.Main
- VM arguments: –module-path “<full_path_to_javafx-sdk>\javafx-sdk-11.0.2\lib” –add-modules=javafx.controls,javafx.fxml -Ddfc.properties.file=”<absolute_path_to_dfc.properties>” -Dlog4j.configuration=”<absolute_path_to_log4j.properties>”
- Make sure openJDK is selected as JRE
- Add the resources (src/main) folder in the dependencies tab as part of the classpath entries
- Run it!
This should get you going with the project in Eclipse.
Thanks, very useful Álvaro.
LikeLike