The build.xml file in the root directory of each component created by the Component SDK contains properties that control whether to include the build enhancements.
By default, these properties are:
<property name="shared.libs" value="endeca-common-resources,endeca-discovery-taglib" /> <property name="endeca-common-resources.includes" value="**/*" /> <property name="endeca-common-resources.excludes" value="" />
Property | Description |
---|---|
shared.libs | Controls which projects in the
shared/ directory to include in your
component.
These shared projects are compiled and included as .jar files where appropriate. |
endeca-common-resources.includes | Controls which files in the
shared/endeca-common-resources project are
copied into your component.
The default value is "**/*", indicating that all of the files are included, These files provide:
|
endeca-common-resources.excludes | Controls which files from the
shared/endeca-common-resources project are
excluded from your component.
By default, the value is "", indicating that no files are excluded. If your component needs to override any of these files, you must use this build property to exclude them. If you do not exclude them, your code will be overwritten. |
The includes and excludes properties can be specified for any shared library, for example:
<property name="endeca-discovery-taglib.includes" value="**/*" /> <property name="endeca-discovery-taglib.excludes" value="" />