Skip to content

Commit

Permalink
Fix typos in file system collector documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
moedan authored and ctron committed Mar 5, 2024
1 parent 1e622f3 commit cec6d17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/site/markdown/entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ symbolic link points to. If this link to path is relative, then it is relative o

In order to walk through a directory tree and add all files use: `<collect>…</collect>`.

The collect elements requires one additional element: `<from>` which defines the base path. In addition
The collect elements requires one additional element: `<from>` which defines the base path. In addition,
there is the optional element `<directories>`, which can be set to `false` in order to not record
directories explicitly. **Note:** the `<from>` directory itself will never be added as explicit directory.
This can be done using an additional `<entry>` element.
Alternatively the general configuration for [generating intermediate directories](#generate-intermediate-directories)
can be used to create intermediate directories when the package structure is built.

**Note:** By default symbolic links in the file system will be ignored. Since not all platforms support
symbolic links in the same way. It is recommended to create the manually using a `<linkTo>` style
entry. This behavior can be changed by changed by adding `<symbolicLinks>true</symbolicLinks>` to the
symbolic links in the same way. It is recommended to create them manually using a `<linkTo>` style
entry. This behavior can be changed by adding `<symbolicLinks>true</symbolicLinks>` to the
collector configuration.

The target file names will be constructed out the entry name, as base prefix, and the relative
Expand Down Expand Up @@ -90,7 +90,7 @@ Will result in the following payload entries:
/usr/lib/foo/dir2/foo3.txt (file)
/usr/lib/foo/dir2/foo4.txt (file)

As of version 1.0.0 it is also possible to use the standard Maven `includes`/`excludes` elements
As of version `1.0.0` it is also possible to use the standard Maven `includes`/`excludes` elements
which follow the standard Maven include/exclude pattern. For example:

<entry>
Expand Down

0 comments on commit cec6d17

Please sign in to comment.