I am using the ant build with full source.
the mxml files are in src/main/webapp/mxml/
you need a filter for that directory.
src/main/webapp/WEB-INF/web.xml
<filter>
<filter-name>staticFilter</filter-name>
<filter-class>com.davita.acreporting.webapp.filter.StaticFilter</filter-class>
<init-param>
<param-name>includes</param-name>
<param-value>/scripts/dojo/*,/dwr/*,/mxml/*</param-value>
</init-param>
</filter>
build.xml
<!-- Flex properies -->
<property name="FLEX_HOME" value="/home/flex2"/>
<property name="FLEX_APP" value="${web.dir}/mxml"/>
<target name="flex" description="Build flex files">
<taskdef resource="flexTasks.tasks"
classpath="${env.ANT_HOME}/lib/flexTasks.jar" />
<mxmlc file="${FLEX_APP}/DQISummary.mxml"
keep-generated-actionscript="false" warnings="false">
<load-config
filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${FLEX_APP}"/>
<source-path path-element="${FLEX_APP}/dashboardtri"/>
</mxmlc>
</target>
mxml service pointer
<mx:WebService id="ws"
wsdl="http://10.10.1.101:8080/acreporting/services/DQISummaryService?wsdl"
showBusyCursor="true">
<mx:operation name="getDQISummary"
result="resultHandler(event)" fault="Alert.show(event.fault.message)"/>
<mx:operation name="getDQISummaryYears"
result="resultHandlerYears(event)" fault="Alert.show(event.fault.message)">
</mx:operation>
</mx:WebService>
Hope this gets you started.
Fred
[EMAIL PROTECTED] wrote:
Thanks Fred,
Could you send me your pom.xml ?
Where do you put mxml files, as3 files ?
Thanks.
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]