Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 44

One content package of a custom application contains the following content paths.

The server also contains the content path /apps/myproj/configuration that must NOT be touched when installing the package.

Which two filter definitions should a developer use to always update only the contained paths upon installation in the server? (Choose two.)

A.

B.

C.

D.

E.

    Correct Answer:

    To ensure that the `/apps/myproj/configuration` path is not touched when installing the package while updating only the contained paths (`/apps/myproj/install`, `/apps/myproj/components`, `/apps/myproj/i18n`), the developer should use filter definitions that explicitly exclude the `configuration` path or include only the specified paths. The correct filter definitions should be:<p>C. <filter root="/apps/myproj"><exclude pattern="/apps/myproj/configuration.*"/></filter><p>This definition excludes anything under the `configuration` directory while allowing all other directories.</p><p>E. <filter root="/apps/myproj"><include pattern="/apps/myproj/(install|components|i18n).*/"/></filter><p>This definition explicitly includes only the `install`, `components`, and `i18n` directories.</p>Therefore, the correct filter definitions are options C and E.</p>

Discussion
heenamadan

Answer should be C, E

hung_tvb

https://jackrabbit.apache.org/filevault/filter.html