Custom Namespace (manifest file)
How can I add a custom namespace?
I have not found any buildin feature so I've tried to
additionalCompilerOptions += [ '-namespace ${ns_uri}
${ns_location} -include-namespaces ${ns_uri}' ]
But doesn't see spark and mx after this. Trying to add spark and mx
additionalCompilerOptions += [ '-namespace ${ns_uri}
${ns_location} -namespace library://ns.adobe.com/flex/spark
${flexHome}/frameworks/spark-manifest.xml -namespace
library://ns.adobe.com/flex/mx
${flexHome}/frameworks/mx-manifest.xml -include-namespaces
${ns_uri}' ]
But flexHome is not defined or defined wrong..
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by shamruk on 18 Mar, 2014 01:38 PM
Finally got working solution:
additionalCompilerOptions += [
'-namespace+=http://artman.fi/flow,'+new File('../Flow/src/manifest.xml').absolutePath,
'-include-namespaces+=http://artman.fi/flow'
]
Support Staff 2 Posted by Maxime Cowez on 18 Mar, 2014 08:48 PM
That's it indeed, or better yet: put the namespace in a project-level variable, so you can do this:
3 Posted by shamruk on 19 Mar, 2014 01:59 PM
That look better, thx. This should go to documentation.
shamruk closed this discussion on 19 Mar, 2014 01:59 PM.