You must always point --services to the top level services file, which
is flex-enterprise-services.xml. The flex-remoting-service.xml is merely
an include to this top level file (see the service-include tag pointing
to this and the other services in the top level
flex-enterprise-services.xml file). It's ok to make changes to the
flex-remoting-service.xml file as it's included each time by the top
level file.

That said, if you're changing destination settings in any of the
configuration and are using the --services option to codegen the correct
information for you at runtime then you need to recompile the SWFs
everytime you make a change.

Pete

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aejaz_98
Sent: Tuesday, April 25, 2006 10:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: (Flex20 Beta2): RemoteObject Destination
configuration problem

Thanks for your reply. I am precompiling the SWFs using flex builder.
The value present in the "Additional compiler arguments" field is,

-services
"C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml"

when I change it to,

-services
"C:\tomcat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml"

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,

"C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml;C:\tom
\
cat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml"

it gave me "Unable to open
C:\tomcat\webapps\flex\WEB-INF\flex\flex-enterprise-services.xml;C:\tomc
\
at\webapps\flex\WEB-INF\flex\flex-remoting-service.xml

Please let me know what does setting,

-services
  C:\tomcat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml"

do & can't it be done manually.

Thanks,
Aejaz

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Are you precompiling the SWFs? If so, are you specifying --services
and
> pointing to the configuration file at compile time with either Flex
> Builder compiler command line arguments or mxmlc command line
arguments?
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to