# Modifying Endeca enhancements to the Component SDK

The build.xml file in the root directory of each component created by the Component SDK contains three lines that control Endeca's build enhancements.

By default, these three lines 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="" />

The properties control the behavior described below:

- The shared.libs property controls which of the projects in the shared/ directory are included in your component. These shared projects are compiled and included as .jar files where appropriate.
- The endeca-common-resources include and exclude properties control which files in the shared/endeca-common-resources project are copied into your component. By default, all endeca-common-resources files are included, giving your component the Endeca AJAX enhancements (preRender.jspf and postRender.jspf) and the ability to switch between data sources in your component's preferences (dataSourceSelector.jspf). If your component needs to override any of these files, you must exclude them via these build properties or your code will be overwritten.
  These include and exclude properties can be specified for any shared library, as shown in the following example:

      <property name="endeca-discovery-taglib.includes" value="**/*" />
      	<property name="endeca-discovery-taglib.excludes" value="" />

  When unspecified, includes default to "**/*" and excludes default to "".