This content has been marked as final. Show 7 replies
Did you add the compiler argument?
under Project -> Properties -> Flex Compiler
Thanks for your reply. The value present in the "Additional compiler arguments" field is,
when I change it to,
I start getting,
exception 'java.lang.RuntimeException' while setting variable 'compiler.services'. It seems that the only value allowed is
"C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml". I tried putting,
it gave me "Unable to open C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml;C:\tomcat\webapps\flex\W EB-INF\flex\flex-remoting-service.xml
Please let me know what does setting,
do & can't it be done manually.
You'll get that exception if the services xml file is not formatted properly. The current parser is not very stable I guess. I think you should modify the original flex-enterprise-services.xml file to include your new destination and use that for the compiler.
The -services option should always point to the top level configuration file which is flex-enterprise-services.xml.
If you open up flex-enterprise-services.xml, you'll see that you can point to additional configuration files using the 'service-include' xml tag. In the case of the default application, this already includes flex-remoting-service.xml. flex-remoting-service.xml is only a subset of the configuration information required by the compiler and cannot be used separately.
has this issue been resolved? ...... I am having a similar problem, but am getting the following error:
Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404
Because the uri for the RO destination channel (my-amf) is parsing without the context.root:
perhaps you are having a similar problem. Please let me know, thanks.
> Because the uri for the RO destination channel (my-amf) is parsing without the context.root:
If you're compiling from the command-line, be sure that you specify the context root using -context.root /samples.
This may also be configured in flex-config.xml, if using.
I meet the same problem. But if i publish my project undex samples webapps it works.
So i compared both webapp (/flex and /samples) the major difference is in flex-enterprise-service.xml.
I set <security-constraint> in comment and...it works
Wish it can help you