<span class="since">since 2.3</span> From a bunch of jar artifacts, generate an OBR (OSGi Bundle Repository) descriptor. It could be then used by the <a href="../resolver/obr.html">obr resolver</a>. <table class="ant"> <thead> <tr><th class="ant-att">Attribute</th><th class="ant-desc">Description</th><th class="ant-req">Required</th></tr> </thead> <tbody> <tr><td>out</td><td>the location of the descriptor file to generate</td><td>Yes</td></tr> <tr><td>resolverName</td><td>the name of the resolver from which the jars should be to gathered</td><td>No</td></tr> <tr><td>cacheName</td><td>the name of the cache from which the jars should be to gathered</td><td>No</td></tr> <tr><td>baseDir</td><td>the folder into whicch the jars should be gather recursively</td><td>No</td></tr> <tr><td>encoding</td><td>The encoding of the resulting xml file</td><td>No. Defaults to <tt>UTF-8</tt></td></tr> <tr><td>indent</td><td>Specify if the xml result file should be indented</td><td>No. Defaults to <tt>true</tt></td></tr> <tr><td>quiet</td><td>Log as debug rather than warning the rejected jars as they are illformed</td><td>No. Defaults to <tt>false</tt></td></tr> </tbody> </table> <h1>Examples</h1> <code type="xml"> <ivy:buildobr baseDir="${eclipse.home}" out="${basedir}/target/repo-eclipse.xml" indent="true" /> </code> Builds an indented OBR descriptor from an Eclipse install, with their path relative to the Eclipse install. <hr/> <code type="xml"> <ivy:configure file="ivysettings.xml" /> <ivy:buildobr resolverName="my-file-resolver" out="${basedir}/target/repo-eclipse.xml" /> </code> Configure an Ivy settings and builds an OBR descriptor from jars resolved by the defined resolver. <hr/> <code type="xml"> <ivy:configure file="ivysettings.xml" /> <ivy:buildobr cacheName="my-cache" out="${basedir}/target/repo-eclipse.xml" /> </code> Configure an Ivy settings and builds an OBR descriptor from jars contained in the defined cache.