In fact the new project wizard is just to make ppl life easier but yes, 
they assume to often that developers use default, local configurations.
Also, when it asks for the root folder, in fact is the CF root which is 
a cfusion.war or cfusion-war folder. It will be looking for WEB-INF/flex 
folder to locate the services-config.xml.

resuming in the project properties I have this:
Flex Build Path
main source = ' src '
output folder =" X:\somefolderInMyRemoteServer\ "
output folder url = ' http://myremoteserverurl/ '

Flex Compiler
additional compiler arguments = -services ' 
Y:\jrun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\services-config.xml
 
'

Flex Server
root folder = ' Y:\jrun4\servers\cfusion\cfusion-ear\cfusion-war\ '
root url = ' http://myremoteserverurl/ '
context root = ' / '

João Fernandes

Rick Root wrote:
> On 4/20/07, João_Fernandes <[EMAIL PROTECTED]> wrote:
>   
>> Sorry Rick
>>
>> "The important part is that Flex needs the services-config.xml file
>> from the directory structure of the colfdusion server.  It cannot
>> compile apps with flex remoting without it."
>>
>> this is not true, even if requires more code, you're able to compile CF
>> apps without services-config.xml by setting destination channels at runtime.
>>     
>
> My statement above is true when you consider we're talking about
> setting up a Flex project that uses Coldfusion remoting in Flex
> Builder.
>
> What you are saying may be true, but in every flex preso I've attended
> (CFUNITED06 and MAX06) they've said you have to have the
> services-config.xml file... they said if you don't have access to the
> server, you need to get a copy of the file at least for compilation
> purposes.
>
> And certainly, if what you say is true, there's nothing in the
> documentation for setting up a flex project that says that.
>
> Rick
>   


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3922
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to