flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imtiaz Islam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33442) mxmlc ant compile issue when passing services argument
Date Fri, 22 Mar 2013 08:09:16 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Imtiaz Islam updated FLEX-33442:
--------------------------------

    Attachment: build.xml
    
> 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: build.xml, 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

Mime
View raw message