*Using:* Flex 4.1.0.16248 with Flexmojos 3.8.0
Can you please point me to the proper way to introduce a namespace for
components I create? Following the
documentation<https://repository.sonatype.org/content/sites/maven-sites/flexmojos/3.8/compile-swc-mojo.html#namespaces>
I
added the following to my flexmojos' plugin configuration
<namespaces>
<namespace>
<uri>http://mis.sas.com</uri>
<manifest>${basedir}/src/manifest.xml</manifest>
</namespace>
</namespaces>
The manifest itself looks like
<?xml version="1.0"?>
<componentPackage>
<component id="Application"
class="com.sas.mis.application.Application"/>
...
</componentPackage>
However the catalog.xml that is in the SWC generated by the compile-swc goal
is incorrect. It does not have any of my components defined. Which
explains why the subsequent compile-swf goal fails with the message
C:\Users\srsank\wjet\vipor-parent\swf\src\main\flex\Main.mxml(15): Error:
Could not resolve <mis:Application> to a component implementation.
Main.mxml has the following:
<mis:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
*... Several other namespaces...*
*xmlns:mis="http://mis.sas.com"*
>
Any suggestions?
Sri
--
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
http://flexmojos.sonatype.org/