Hi, I have a recurring problem with my libraries that I need to understand...
In principle, I understand the concept of the COMPILE::SWF and COMPILE::JS 
directives but I don't quite understand when to apply them "compulsorily" and 
when not to.
So far I follow the clues and act with "trial and error". For example, when I 
see this warning:

Warning: Definition org.apache.royale.core.IBead could not be found.
import org.apache.royale.core.IBead;
                            ^
… I know that I have to specify them ☹

All the example and working projects I have implemented I compile with "SDK 
only JS" and my first thought was that "I don't need to differentiate the code 
for COMPILE::JS" BUT the reality is that I always have to create a "class for 
COMPILE::JS" and another "class for COMPILE:SWF" or separate the 
functions/blocks of code why?

For example, in the pom's I only add dependencies <classifier>js</classifier>, 
I add the mxml embeddable components in the xxxx-manifest.xml file, in the 
internal LIBRERYClasses linking class I have a block with the COMPILE::JS 
directive for all classes that should only be added if the compilation is JS 
(for example the @externs classes).

What do I have to take into account?

Thx.
Hiedra.







Reply via email to