[ https://issues.apache.org/jira/browse/FLEX-33442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610008#comment-13610008 ]
Justin Mclean commented on FLEX-33442: -------------------------------------- Looks like no issues with flex-config.xml. Does the path to services contain spaces? I've run into a few issues where spaces in paths can cause issues. > mxmlc ant compile issue when passing services argument > ------------------------------------------------------ > > Key: FLEX-33442 > URL: https://issues.apache.org/jira/browse/FLEX-33442 > Project: Apache Flex > Issue Type: Bug > Affects Versions: Apache Flex 4.9.0 > Reporter: Imtiaz Islam > Attachments: flex-config.xml > > > Our project is done in Adobe Flex 4.6, but when we try to migrate it to > Apache Flex 4.9.1, an issue occurs regarding code compilation using ANT, in > the build.xml under mxmlc, we have an argument > <compiler.services>${path-to-services}</compiler.services>, if we remove this > line it compiles fine but when we add this, this error is thrown: > [mxmlc] Loading configuration file C:\Program Files\Apache > Flex\4.9.1\frameworks\flex-config.xml > [mxmlc] Error: null > BUILD FAILED > D:\projectpath\build.xml:98: mxmlc task failed. > our services-config.xml looks like this: > <?xml version="1.0" encoding="UTF-8"?> > <services-config> > <services> > <service id="granite-service" > class="flex.messaging.services.RemotingService" > messageTypes="flex.messaging.messages.RemotingMessage"> > <destination id="remoteService"> > <channels><channel > ref="my-graniteamf"/></channels> > <properties> > <factory>springServiceFactory</factory> > > <source>name-of-executing-service</source> > </properties> > </destination> > </service> > </services> > <factories> <factory id="springServiceFactory" > class="org.granite.spring.SpringServiceFactory"/> </factories> > > <channels> > <channel-definition id="my-graniteamf" > class="mx.messaging.channels.AMFChannel"> > <endpoint > uri="http://{server.name}:{server.port}/{context.root}/graniteamf/amf" > class="flex.messaging.endpoints.AMFEndpoint"/> > </channel-definition> > </channels> > </services-config> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira