Skip to content

Commit 3e8e33b

Browse files
committed
Added an icon to the XAR
1 parent 634b051 commit 3e8e33b

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ This is a Java library that provides XQuery functions for eXist-db.
9494

9595
## Usage
9696

97-
Install the module into eXist.
97+
Do `maven install`. This will create a .xar file in the `target` directory.
98+
Install the .xar file into eXist, using the package manager.
9899

99100
## Functions to generate QR codes in SVG
100101

101-
102102
```
103103
xquery version "3.1";
104104
import module namespace rxf = "http://rakensi.com/exist-db/xquery/functions";
@@ -131,8 +131,3 @@ month = '0', d | '1', ['0'|'1'|'2'] .
131131
let $ixml-parse := rxf:invisible-xml($grammar, map{})
132132
return $ixml-parse('2023-10-31')
133133
```
134-
135-
## To do
136-
137-
* There is an icon in the xar-resources, but I don't know how to put it into the xar-file.
138-

icon.pdn

47.2 KB
Binary file not shown.

src/main/xar-resources/icon.png

-137 Bytes
Loading

xar-assembly.xml

+3
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
<include>LICENSE</include>
3232
</includes>
3333
</fileSet>
34+
<fileSet>
35+
<directory>${basedir}/src/main/xar-resources</directory>
36+
</fileSet>
3437
</fileSets>
3538

3639
<!-- include the XQuery Library Module written in Java (JAR output) from this project -->

0 commit comments

Comments
 (0)