# How to set DS Annotations descriptor directory

**URL:** <https://bnd.discourse.group/t/how-to-set-ds-annotations-descriptor-directory/376>\
**Category:** GENERAL\
**Created:** [October 31, 2023, 10:34am UTC](https://bnd.discourse.group/t/how-to-set-ds-annotations-descriptor-directory/376 "2023-10-31T10:34:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkoerkel](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/jkoerkel/32/222_2.png) [@jkoerkel](https://bnd.discourse.group/u/jkoerkel)\
**Post date:** [October 31, 2023, 10:34am UTC](https://bnd.discourse.group/t/how-to-set-ds-annotations-descriptor-directory/376/1 "2023-10-31T10:34:21Z")

</div>

Hello everyone,

I’m currently trying to convert a large set of PDE build projects to BND Workspace projects.  
Is there any way to configure a subfolder for Component Descriptors in OSGI-INF? For our projects, There is an upstream requirement to put them in OSGI-INF/components. Under the Plug-in Development category of the eclipse preferences, there exists an option to set this directory, is there an equivalent in bndtools? I couldn’t find such a configuration option in 7.0.0, but I’m also fairly new to bndtools.

Cheers  
Julian

Edit: I have found out about `-includeresource: OSGI-INF/components/=-OSGI-INF/` but that doesn’t change the descriptor file locations, also I thought maybe the folder must exist before the build, but also that doesn’t change it.

---

<div class="post-metadata">

**Author:** ![pkriens](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/pkriens/32/3_2.png) [@pkriens](https://bnd.discourse.group/u/pkriens)\
**Post date:** [October 31, 2023, 1:39pm UTC](https://bnd.discourse.group/t/how-to-set-ds-annotations-descriptor-directory/376/2 "2023-10-31T13:39:17Z")

</div>

Nope, we always place the component in the OSGI-INF. Nobody ever felt the need for this so far. Why would you want to do this?
