Am Mittwoch, 11. April 2007 15:56 schrieb Oliver Lietz:
> > Yeah, but that complicates the installation of your module.  Assuming
> > again that you have a module, it is straightforward to add the required
> > code to your registerRepositories(ModuleDefinition) method.
>
> Maybe, but why not declare this stuff in you module definition and let
> Magnolia handle it?

But it can't handle it without your patch right?  And the patch should be part 
of 3.1?  Including it in the module definition is absolutely a better 
solution.

>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE module SYSTEM "module.dtd">
> <module>
>   <name>products</name>
>   <displayName>Products</displayName>
>   <description>Example Products Manager</description>
>   <class>com.example.magnolia.module.products.ProductsModule</class>
>   <version>0.1</version>
>   <dependencies>
>     <dependency>
>       <name>adminInterface</name>
>       <version>3.0</version>
>     </dependency>
>   </dependencies>
>   <repositories>
>     <repository>
>       <name>magnolia</name>
>       <workspaces>
>         <workspace>
>           <name>products</name>
>         </workspace>
>       </workspaces>
>       <namespaces>
>         <namespace>
>           <prefix>expro</prefix>
>           <uri>http://example.com/jcr/ns/products</uri>
>         </namespace>
>       </namespaces>
>       <nodeTypeFile>/mgnl-nodetypes/example-product.cnd</nodeTypeFile>
>     </repository>
>   </repositories>
> </module>
>
> O.
>
>
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/developer.html
> ----------------------------------------------------------------

-- 
Chris Miner * Developer * luxoom gmbh * 
Chausseestraße 8 E * 10115 Berlin * Germany * 
Fon  +49 30 2 85 27 90 * Fax +49 30 2 85 27 939 * [EMAIL PROTECTED] *
www.luxoom.com
 
Geschäftsführer: Trolly Trojahn; Ulrich Sauerwein
Sitz der Gesellschaft: AG Berlin-Charlottenburg HRB 82969 B
USt.-Nr.: DE 217893254

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to