RE: [flexcoders] Newby: How to use Manage Sites
Below is an explanation of sites from an MM authority. The upshot is you want to have one site that corresponds to your Flex server. I have no experience with remote server setups. *** If you have nested sites, then sometimes Flex Builder will have trouble figuring out which site a particular file corresponds to. We need this information to make sure we use the correct url prefix and testing server location when previewing or debugging the file. Each site should correspond to one context root on your server. The default installation of Flex has one context root which is just /. So even if you have separate applications under that context root (one in the flex folder, one in the samples folder, etc.) you should still only have one FB site set up that points to the root of the context root. You would have to just work on each sub-application by opening it from its subfolder in the one site you have set up. If you have multiple context roots defined, for example if you had flex/ as a context root and samples/ as a separate context root, then you should have one site for each of these because they will have separate URL prefixes. In this case, even if they both live in the same folder you do not need a site set up for their parent folder. I hope this clears things up a bit. To answer your questions about why it sometimes puts files in the wrong location because of how your sites are set up, it's probably because you have a different current site set in your Files panel than the site which your open document belongs to. Let me know if you have any more questions... -Heidi -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Chantel Sent: Wednesday, April 27, 2005 8:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Newby: How to use Manage Sites I'm new to Flex and keep having trouble with the Manage Sites thing in flexbuilder, so I was hoping someone could explain how MM intended for it to be used. I am doing flex tutorials and for each new tutorial, I am forced to create a new site. Then fb doesn't seem to remember it the next time I open the tutorial. I am running flex and java on my local pc as well as saving/running my flex files on a remote java server. I was expecting that I could create a site on each machine, then choose which one to use for each new mxml file I create. Or, switch back and forth between sites wile testing the same files. How is it really supposed to be used? Thanks, Libby __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 Yahoo! Groups Links Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Newby: How to use Manage Sites
I asked some of the folks from the Flex Builder team, and here's what I found out: * You should define a site for each "server", such as http://localhost:8700/flex/, or http://localhost:8700/samples/ * If you have multiple projects on each server, (i.e., multiple flex apps within /flex/ or /samples/), do NOT create new sites for each one. The reason is that Flex Builder needs to have access to WEB-INF, which must be at the top level of your site. Also, if you are flipping back and forth between a local server and a remote testing server, set up a testing server in your site definition. Hope this helps! -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 5:28 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Newby: How to use "Manage Sites" I'm new to Flex and keep having trouble with theManage Sites thing in flexbuilder, so I was hopingsomeone could explain how MM intended for it to beused. I am doing flex tutorials and for each newtutorial, I am forced to create a new site. Then fbdoesn't seem to remember it the next time I open thetutorial. I am running flex and java on my local pc aswell as saving/running my flex files on a remote javaserver.I was expecting that I could create a site on eachmachine, then choose which one to use for each newmxml file I create. Or, switch back and forth betweensites wile testing the same files. How is it reallysupposed to be used?Thanks,Libby __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.