On Wed, Dec 23, 2009 at 1:35 PM, Christophe Herreman <[email protected]> wrote: > I'm building a library that has a manifest with a custom namespace for > some of its components. I'm specifying the namespace and the manifest > using the includeNamespaces element like so: > > <includeNamespaces> > <namespace>http://www.springactionscript.org/mxml/config</namespace> > </includeNamespaces> > > When building this with FlexBuilder, I can see that a "components" > element is generated in the catalog.xml file of the library. > > Example: > > <components> > <component className="com.domain.lib:AClass" name="AClass" > uri="http://www.domain.com" /> > </components> > > However, when I compile the library with FlexMojos, no "components" > section is created and the namespace is not usable in a project using > the library.
I've never used custom namespaces, but from this page: http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_22.html it implies that you should use includeClasses instead if you want components. You can always use -dump-config in your Flex Builder settings to see exactly which parameter FB is setting. Logan -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/
