<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Schema definition override doesn't work. in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/schema-definition-override-doesn-t-work/m-p/313498#M499</link>
    <description>&lt;P&gt;I want to override the group schema definition with my own attribute with the Nuxeo default one.&lt;/P&gt;
&lt;P&gt;I create with &lt;A href="http://doc.nuxeo.com/x/aoKE"&gt;Nuxeo IDE a "Nuxeo plugin Project"&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I add this component xml file into my eclipse project into the src/main/resources/OSGI-INF/myproject-schema-contrib.xml file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component name="fr.mycompanyname.myproject.schema.contribution"&amp;gt;
  &amp;lt;!-- to be sure to deployed after the Nuxeo default contributions&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.directory.types&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema"&amp;gt;
    &amp;lt;schema name="group" src="directoryschema/group.xsd"/&amp;gt;
  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I add my specific group.xsd definition into src/main/resources/directoryschema/ directory into my eclipse project.
I add this following line into the src/main/resources/META-INF/MANIFEST.MF file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Nuxeo-Component: OSGI-INF/myproject-schema-contrib.xml
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The schema group deployed is always the default one.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2012 10:08:08 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-01-17T10:08:08Z</dc:date>
    <item>
      <title>Schema definition override doesn't work.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/schema-definition-override-doesn-t-work/m-p/313498#M499</link>
      <description>&lt;P&gt;I want to override the group schema definition with my own attribute with the Nuxeo default one.&lt;/P&gt;
&lt;P&gt;I create with &lt;A href="http://doc.nuxeo.com/x/aoKE"&gt;Nuxeo IDE a "Nuxeo plugin Project"&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I add this component xml file into my eclipse project into the src/main/resources/OSGI-INF/myproject-schema-contrib.xml file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;component name="fr.mycompanyname.myproject.schema.contribution"&amp;gt;
  &amp;lt;!-- to be sure to deployed after the Nuxeo default contributions&amp;gt;
  &amp;lt;require&amp;gt;org.nuxeo.ecm.directory.types&amp;lt;/require&amp;gt;

  &amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema"&amp;gt;
    &amp;lt;schema name="group" src="directoryschema/group.xsd"/&amp;gt;
  &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I add my specific group.xsd definition into src/main/resources/directoryschema/ directory into my eclipse project.
I add this following line into the src/main/resources/META-INF/MANIFEST.MF file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Nuxeo-Component: OSGI-INF/myproject-schema-contrib.xml
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The schema group deployed is always the default one.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2012 10:08:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/schema-definition-override-doesn-t-work/m-p/313498#M499</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-17T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Schema definition override doesn't work.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/schema-definition-override-doesn-t-work/m-p/313499#M500</link>
      <description>&lt;P&gt;Dear Me,&lt;/P&gt;
&lt;P&gt;As explained &lt;A href="http://doc.nuxeo.com/x/D4AO"&gt;here&lt;/A&gt;, you must add the override="true" parameter into your schema description.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;schema override="true" name="group" src="directoryschema/group.xsd"/&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You must have a message in your log that says your contribution is skipped as you didn't put this attribute  I'm not sure but I think...&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2012 10:08:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/schema-definition-override-doesn-t-work/m-p/313499#M500</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-01-17T10:08:35Z</dc:date>
    </item>
  </channel>
</rss>

