Skip to content

Commit 4c8f82a

Browse files
committed
Update docs mentioning graalvm
DEVSIX-8795
1 parent 866bacd commit 4c8f82a

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

BUILDING.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,20 @@ $ mvn clean install \
1818
> >(tee mvn.log) 2> >(tee mvn-error.log >&2)
1919
```
2020

21-
You can use the supplied `Vagrantfile` to get a [Vagrant][4] VM ([Ubuntu][5] 14.04 LTS - Trusty Tahr, with [VirtualBox][6]) with all the required software installed.
21+
Starting from version 6.1.0 **pdfHtml** supports native image compilation using [GraalVM][4]. Follow the instructions at
22+
[Getting started](https://www.graalvm.org/latest/getting-started/) to build your first native application out of java sources.
23+
24+
To run tests in native mode [GraalVM][4] for JDK 22 or higher must be installed and native profile must be used as follows
25+
```bash
26+
$ mvn clean install -Pnative -DskipTests=false \
27+
-Dmaven.test.failure.ignore=false \
28+
-DgsExec=$(which gs) \
29+
-DcompareExec=$(which compare) \
30+
-Dmaven.javadoc.failOnError=false \
31+
> >(tee mvn.log) 2> >(tee mvn-error.log >&2)
32+
```
33+
34+
You can use the supplied `Vagrantfile` to get a [Vagrant][5] VM ([Ubuntu][6] 14.04 LTS - Trusty Tahr, with [VirtualBox][7]) with all the required software installed.
2235
```bash
2336
$ vagrant box add ubuntu/trusty64
2437
$ vagrant up
@@ -30,6 +43,7 @@ $ vagrant ssh -- \
3043
[1]: http://maven.apache.org/
3144
[2]: http://www.ghostscript.com/
3245
[3]: http://www.imagemagick.org/
33-
[4]: https://www.vagrantup.com/
34-
[5]: http://www.ubuntu.com/
35-
[6]: https://www.virtualbox.org/
46+
[4]: https://www.graalvm.org/
47+
[5]: https://www.vagrantup.com/
48+
[6]: http://www.ubuntu.com/
49+
[7]: https://www.virtualbox.org/

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The **pdfHtml Community** source code is hosted on [Github][github], where you c
66

77
You can also [build pdfHtml Community from source][building].
88

9+
Starting from version 6.1.0 **pdfHtml** supports native image compilation using GraalVM. See [building] for details.
910

1011
If you have an idea on how to improve **pdfHtml** and you want to submit code,
1112
please read our [Contribution Guidelines][contributing].
@@ -35,4 +36,4 @@ Contact [sales] for more info.
3536
[latest]: https://github.com/itext/i7j-pdfhtml/releases/latest
3637
[sales]: http://itextpdf.com/sales
3738
[gratis]: https://en.wikipedia.org/wiki/Gratis_versus_libre
38-
[pdfHtml]: https://itextpdf.com/products/convert-html-css-to-pdf-pdfhtml
39+
[pdfHtml]: https://itextpdf.com/products/convert-html-css-to-pdf-pdfhtml

0 commit comments

Comments
 (0)