<stage keygen_seq="36"><pageObj drawingHeight="845" drawingWidth="1140" istt="true" stg="1" pb="0" gr="1" fill="16777215" height="5000" width="5000"><objects><object order="4" path="0,0;0,57.5;25,57.5;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="61.5" width="29" y="651" x="129" ln_id="6" class="TheOrthoLine"><text/></object><object order="10" path="0,0;0,53;31,53;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="57" width="35" y="115" x="150" ln_id="12" class="TheOrthoLine"><text/></object><object order="11" path="0,0;0,28;54,28;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="32" width="58" y="183" x="231" ln_id="13" class="TheOrthoLine"><text/></object><object order="12" path="0,0;0,15;0,15;0,67;54,67;" numSegs="4" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="71" width="58" y="183" x="231" ln_id="14" class="TheOrthoLine"><text/></object><object order="13" path="0,0;0,112;54,112;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="116" width="58" y="183" x="231" ln_id="15" class="TheOrthoLine"><text/></object><object order="15" path="0,0;0,83;33,83;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="87" width="37" y="310" x="335" ln_id="18" class="TheOrthoLine"><text/></object><object order="16" path="0,0;-452,-192;" numSegs="1" linep="3" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="190.85" width="443.95" y="585" x="980" ln_id="19" class="TheStraightLine"><text tw="138"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">Defined in project files</FONT></P>]]></text></object><object order="17" path="0,0;617,-180;" numSegs="1" linep="3" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="181.55" width="612.6" y="765" x="363" ln_id="20" class="TheStraightLine"><text tw="276"><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">Defined as output location for Flex Builder Project</FONT></P>]]></text></object><object order="18" path="0,0;0,15;0,15;0,44.5;34,44.5;" numSegs="4" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="48.5" width="38" y="721" x="229" ln_id="21" class="TheOrthoLine"><text/></object><object order="25" path="0,0;0,15;5,15;5,25;20,25;" numSegs="4" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="29" width="24" y="515" x="340" ln_id="28" class="TheOrthoLine"><text/></object><object order="26" path="0,0;0,15;-5,15;-5,25;10,25;" numSegs="4" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="29" width="19" y="555" x="410" ln_id="29" class="TheOrthoLine"><text/></object><object order="27" path="0,0;0,27;15,27;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="31" width="19" y="595" x="470" ln_id="30" class="TheOrthoLine"><text/></object><object order="28" path="0,0;0,15;10,15;10,28;25,28;" numSegs="4" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="32" width="29" y="637" x="535" ln_id="31" class="TheOrthoLine"><text/></object><object order="29" path="0,0;0,50;30,50;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="54" width="34" y="680" x="610" ln_id="32" class="TheOrthoLine"><text/></object><object order="30" path="0,0;0,317;59,317;" numSegs="2" linep="0" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="321" width="63" y="183" x="231" ln_id="33" class="TheOrthoLine"><text/></object><object order="32" path="0,0;460,5;" numSegs="1" linep="3" linec="0" linew="1" endStyle="0" beginStyle="0" buff="11" height="8.9" width="455.95" y="580" x="520" ln_id="35" class="TheStraightLine"><text/></object><object order="0" dsy="18" dsx="18" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="40" width="100" y="585" x="1030" shp_id="2" class="round_rect"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">Flex Builder</FONT></P>]]></text><connlines><connline type="start" ln_id="19" cpnum="1"/><connline type="end" ln_id="20" cpnum="1"/><connline type="end" ln_id="35" cpnum="1"/></connlines></object><object order="1" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="100" x="150" shp_id="3" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">ssds (svn)</FONT></P>]]></text><connlines><connline type="start" ln_id="12" cpnum="0"/></connlines></object><object order="2" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="25" width="150" y="708" x="229" shp_id="4" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">server/default/deploy</FONT></P>]]></text><connlines><connline type="start" ln_id="21" cpnum="0"/><connline type="end" ln_id="6" cpnum="1"/></connlines></object><object order="3" dsy="18" dsx="18" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="35" width="100" y="633" x="129" shp_id="5" class="round_rect"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">JBoss</FONT></P>]]></text><connlines><connline type="start" ln_id="6" cpnum="0"/></connlines></object><object order="5" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="40" width="100" y="765" x="313" shp_id="7" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">ssds.war</FONT></P><P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">(exploded)</FONT></P>]]></text><connlines><connline type="end" ln_id="21" cpnum="1"/></connlines></object><object order="6" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="168" x="231" shp_id="8" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">src</FONT></P>]]></text><connlines><connline type="start" ln_id="13" cpnum="0"/><connline type="start" ln_id="14" cpnum="0"/><connline type="start" ln_id="15" cpnum="0"/><connline type="start" ln_id="33" cpnum="0"/><connline type="end" ln_id="12" cpnum="1"/></connlines></object><object order="7" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="250" x="335" shp_id="9" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">java</FONT></P>]]></text><connlines><connline type="end" ln_id="14" cpnum="1"/></connlines></object><object order="8" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="211" x="335" shp_id="10" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">flex</FONT></P>]]></text><connlines><connline type="end" ln_id="13" cpnum="1"/></connlines></object><object order="9" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="295" x="335" shp_id="11" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">ssds.war</FONT></P>]]></text><connlines><connline type="start" ln_id="18" cpnum="0"/><connline type="end" ln_id="15" cpnum="1"/></connlines></object><object order="14" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="125" width="160" y="393" x="448" shp_id="17" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">Flex Project (Source):</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.actionScriptProperites</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.flexProperties</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.project</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.settings</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">html-template</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">libs</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">src</FONT></P>]]></text><connlines><connline type="end" ln_id="18" cpnum="1"/><connline type="end" ln_id="19" cpnum="3"/></connlines></object><object order="19" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="500" x="340" shp_id="22" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">resources</FONT></P>]]></text><connlines><connline type="start" ln_id="28" cpnum="0"/><connline type="end" ln_id="33" cpnum="1"/></connlines></object><object order="20" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="540" x="410" shp_id="23" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">build</FONT></P>]]></text><connlines><connline type="start" ln_id="29" cpnum="0"/><connline type="end" ln_id="28" cpnum="1"/></connlines></object><object order="21" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="580" x="470" shp_id="24" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">flex</FONT></P>]]></text><connlines><connline type="start" ln_id="30" cpnum="0"/><connline type="end" ln_id="29" cpnum="1"/><connline type="start" ln_id="35" cpnum="3"/></connlines></object><object order="22" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="622" x="535" shp_id="25" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">WEB-INF</FONT></P>]]></text><connlines><connline type="start" ln_id="31" cpnum="0"/><connline type="end" ln_id="30" cpnum="1"/></connlines></object><object order="23" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="30" width="100" y="665" x="610" shp_id="26" class="rectangle"><text><![CDATA[<P ALIGN="CENTER"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">flex</FONT></P>]]></text><connlines><connline type="start" ln_id="32" cpnum="0"/><connline type="end" ln_id="31" cpnum="1"/></connlines></object><object order="24" dsy="8" dsx="8" dshad="true" gradon="true" linew="2" linec="16225309" fill="16631436" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="70" width="160" y="730" x="720" shp_id="27" class="rectangle"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">services-config.xml</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">remoting-config.xml</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">messaging-config.xml</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">proxy-config.xml</FONT></P>]]></text><connlines><connline type="end" ln_id="32" cpnum="1"/></connlines></object><object order="31" text-horizontal-pos="center" text-vertical-pos="middle" lock="false" fixed-aspect="false" rot="0" height="260" width="365" y="212" x="843" shp_id="34" class="text_shape"><text><![CDATA[<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">Right now, when using Flex Builder, the project is configured to read the services-config.xml file from the source code tree.  I think it is even compiled into the SWF.  It is defined by a pointer in the project that currently points to an absolute reference to the file in the file system.  This does not do well for simplifying builds.  Also, the deployment location is specific to the development environment, but is known based on the custom.properites:</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.flexProperties defines the location of the .xml config files (serverRoot), the context of the URL (serverContextRoot) and the URL for the service (serverRootURL).</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.actionScriptProperties has the compile flag that points to the services-config.xml file (compiler additional arguments) and the output folder location (outputFolderLocation)</FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0"></FONT></P><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#790000" LETTERSPACING="0" KERNING="0">.project also has a linkedResource that points to the deployment location in JBoss</FONT></P>]]></text></object></objects></pageObj></stage>