Transform is a desktop JavaFX application that allows to anonymize a large number of PDF files. For example, it can recursively import all PDFs in a file directory. Afterwards the text lines which are not relevant for the import can be removed in a mass processing. If your securities transactions are more or less completely available as PDF files, you can process them with Transform and then import them into Grafioschtrader.
GT-PDF-Transform comes with an installation program. Depending on the platform the installation is easier or a bit more complicated. The application is not signed, which more or less causes difficulties.
Download the latest Ubunutu Build of GT-PDF-Transform. In the download directory execute the following command:
# Replace XX.XX... with your downloaded build
sudo dpkg -i gt-pdf-transform_XX.XX.XXX-X_amd64.deb
For execution use the Desktop or this command /opt/gt-pdf-transform/bin/GT-PDF-Transform
may work.
sudo dpkg -r gt-pdf-transform
Download the latest Windows Build of GT-PDF-Transform. Execute the msi installer. Ignore "Windows Protected Your PC" as this application is not signed. Instead, click "more info" and run the installation anyway.
Download the latest macOS Build of GT-PDF-Transform. After that, install the downloaded dmg file like the rest of the applications. GT-PDF-Transform requires root privileges to run. Therefore the execution in the terminal is the easiest. Start a terminal and execute the following command:
sudo "/Applications/GT-PDF-Transform.app/Contents/MacOS/GT-PDF-Transform"
For the build we use maven-jpackage-template. The following text was taken from there
- Install OpenJDK Java 16 or
Oracle Java 16.
- Verify by opening a fresh Terminal/Command Prompt and typing
java --version
.
- Verify by opening a fresh Terminal/Command Prompt and typing
- Install Apache Maven 3.8.1 or later and make sure it's on your path.
- Verify this by opening a fresh Terminal/Command Prompt and typing
mvn --version
.
- Verify this by opening a fresh Terminal/Command Prompt and typing
- macOS: verify XCode is installed and needed agreements accepted.
- Launch XCode and accept the license, or verify in Terminal with the command
sudo xcodebuild -license
.
- Launch XCode and accept the license, or verify in Terminal with the command
- Windows: install Wix 3 binaries.
- Installing Wix via the installer should be sufficient for jpackage to find it.
- Clone/download this project.
- Final step: run
mvn clean install
from the root of the project to generate thetarget\TestApp.dmg
ortarget\TestApp.msi
(installer).- Note that the actual generated installer will include a version number in the file name
- For reference, here is a complete run log for a successful run.
Because these builds use stripped down JVM images, the generated installers are in the 30-40mb range.