<?xml version="1.0" encoding="euc-kr"?>
<flex-config xmlns="http://www.macromedia.com/2003/flex-config">
<!--
==============================================
== flex-config 파일에서 설정할 수 있는 내용 ==
==============================================
1. 디버깅 정보 생성 여부(프로파일링 포함)
2. 컴포넌트 관련 경로 설정
3. 웹 서비스, HTTP 서비스, 리모트 오브젝트 관련 설정
- unnamed/named
- proxy
- whitelist 등등
4. 캐슁 관련 설정
5. 컴파일러 관련 설정
6. 플래쉬 플레이어 자동 감지 관련 설정
7. 로깅 관련 설정
8. 글꼴 관련 설정
-->
<!-- 이 값이 true 일 경우 디버깅 관련 옵션은 항상 false가 되며
cache file watcher는 시작시 한번만 수행됨 -->
<production-mode>false</production-mode>
<!-- production-mode가 true일 경우 아래 디버깅 관련 옵션은 항상 false가 되며 설정해도 적용되지 않음 -->
<debugging>
<!-- 각각의 요청마다 쿼리 파라미터를 이용하여 현재 디버깅 옵션 항목에 있는 값을
오버라이드 함 -->
<process-debug-query-params>true</process-debug-query-params>
<!-- 디버깅시 사용하는 swf swd 파일을 자동생성하는 옵션 -->
<!-- 쿼리 파라미터 - ?debug=true/?debug=false -->
<generate-debug-swfs>true</generate-debug-swfs>
<!-- 프로파일링시 사용하는 swf를 자동생성하는 옵션 -->
<!-- 쿼리 파라미터 - ?asprofile=true/?asprofile=false -->
<generate-profile-swfs>true</generate-profile-swfs>
<!-- xxx-generated.as 파일을 디스크에 기록 -->
<!-- 이 파일은 컴파일러가 mxml 파일을 변환할 때 생성하는 파일 -->
<keep-generated-as>false</keep-generated-as>
<!-- 생성된 swf와 swd 파일을 디스크에 기록 -->
<keep-generated-swfs>false</keep-generated-swfs>
<!-- 모든 컴파일러 경고 메시지를 보여줌 -->
<!-- 쿼리 파라미터 - ?showAllWarnings=true/?showAllWarnings=false -->
<show-all-warnings>true</show-all-warnings>
<!-- show-all-warnings가 true일 경우 이 옵션의 값은 show-all-warnings의 값에 의해 제어됨
show-all-warnings가 false일 경우 이 값은 영향받지 않음 -->
<!-- 쿼리 파라미터 - ?showBindingWarnings=true/?showBindingWarnings=false -->
<show-binding-warnings>false</show-binding-warnings>
<!-- show-all-warnings 옵션이 true일 경우 이 옵션의 값은 show-all-warnings의 값에 의해 제어됨
show-all-warnings 옵션이 flase일 경우 이 값은 영향받지 않음 -->
<show-override-warnings>false</show-override-warnings>
<!-- 웹 브라우저에 표시하는 에러 메시지에 stack trace 정보를 표시함 -->
<show-stacktraces-in-browser>true</show-stacktraces-in-browser>
<!-- true로 설정할 경우 클라이언트 및 서버측 모두 요청 및 응답에 대해서 디버그 정보를 On -->
<web-service-proxy-debug>false</web-service-proxy-debug>
<!-- 서버측에 요청 및 응답을 볼 수 있도록 디버그 기능을 On -->
<http-service-proxy-debug>false</http-service-proxy-debug>
<!-- true로 설정할 경우 클라이언트 및 서버측 모두 요청 및 응답에 대해서 디버그 정보를 On -->
<remote-objects-debug>false</remote-objects-debug>
<!-- 이 값이 true일 경우 에러 페이지에 소스코드의 컨텍스트 라인을 표시함 -->
<show-source-in-compiler-errors>true</show-source-in-compiler-errors>
<!-- 이 값이 true일 경우 컴파일러 에러를 에러로그에 남김 -->
<log-compiler-errors>true</log-compiler-errors>
<create-compile-report>false</create-compile-report>
</debugging>
<compiler>
<!-- 컨텍스트 루트에 상대적인 URL, 완전한 경로의 URL 그리고 절대 파일 위치를 location에 지징가능 -->
<!-- 글로벌 스타일 시트 파일 -->
<global-css-url>/WEB-INF/flex/global.css</global-css-url>
<!-- 접근가능한 swf 생성 -->
<!-- 쿼리 파라미터 - ?accessible=true/?accessible=flase; 이 값은 항상 오버라이드 가능함 -->
<accessible>false</accessible>
<!-- 디버깅가능한 swf 파일에 포함할 패스워드 -->
<!-- 기본값은 비어있음 -->
<debug-swf-password></debug-swf-password>
<!-- 최적화된 swf를 생성. 이 옵션은 debug 또는 profile swf가 생성되었을 경우 무시됨 -->
<optimize>false</optimize>
<!-- 컴포넌트를 정의한 파일로서 이름공간 정의 -->
<namespaces>
<namespace uri="http://www.macromedia.com/2003/mxml">
<manifest>/WEB-INF/flex/mxml-manifest.xml</manifest>
</namespace>
</namespaces>
<!-- 액션 스크립트 클래스 파일의 위치 -->
<actionscript-classpath>
<path-element>/WEB-INF/flex/user_classes</path-element>
<path-element>/WEB-INF/flex/Brady_classes</path-element>
</actionscript-classpath>
<!-- 표준 Flex 클래스의 위치 -->
<!-- 이 옵션 값은 표준 Flex 클래스의 위치가 변경되지 전까지는 변경해서는 안됨 -->
<system-classes>/WEB-INF/flex/system_classes</system-classes>
<!-- swc, mxml 및 액션 스크립트 컴포넌트를 포함한 컴포넌트 라이브러리의 위치 -->
<!--
참고: lib-path에 있는 모든 SWC는 우선순위와 버전에 따라 함께 혼용됨.
순서는 무시됨.
-->
<!-- 표준 Flex 프레이워크 라이브러리를 삭제해서는 안됨 -->
<lib-path>
<path-element>/WEB-INF/flex/frameworks</path-element>
<path-element>/WEB-INF/flex/user_classes</path-element>
</lib-path>
<!-- 컴포넌트 라이브러리, SWC, MXML 및 액션 스크립트 클래스의 디버그 버전의 위치 -->
<!--
참고: 디버그 SWC는 컴파일 과정중에 debug flag가 설정되지 않으면 무시됨
debug flash가 설정되었으면 이 라이브러리는 일반 라이브러리와 혼용사용하여 우선순위가 더 높음.
새로운 표준 라이브러리와 구버전 디버그 라이브러리를 혼용하여 사용하는 것은 좋지못함
-->
<!-- 표준 Flex 프레이워크 라이브러리를 삭제해서는 안됨 -->
<debug-lib-path>
<path-element>/WEB-INF/flex/frameworks_debug</path-element>
</debug-lib-path>
<!--
참고: 만약이 이 값이 true일 경우 시스템 속성에 java.awt.headless값을 true로 설정, will be set to true.
이 값은 JDK 1.4+이상 버전이 설치된 그래픽 카드 또는 모니터가 없는 시스템에서 적용가능하며
그외의 경우 이 속성값을 설정하지 않음.
번역주 : Linux와 같이 Unix 환경에서 Flex를 사용할 경우 이 값을 java 커맨드 뒤에 -Djava.awt.headless=true
로 설정하도록 하여 정상적으로 Flex가 동작하도록 해야함.
-->
<!-- <headless-server>true</headless-server> -->
</compiler>
<cache>
<!-- 모든 .mxml 요청을 캐슁함 -->
<!-- 이 값이 false일 경우 .mxml 요청이 들어올때 강제로 컴파일을 수행함 -->
<!-- cache-mxml=false는 .mxml.swf 요청시 다시 컴파일 하지 않음 -->
<cache-mxml>true</cache-mxml>
<!-- 컴파일된 커스텀 컴포넌트(swo 파일)을 캐슁함 -->
<cache-swos>true</cache-swos>
<!-- 동적으로 생성한 SWF, SWD 및 HTML을 캐슁함 -->
<content-size>500</content-size>
<!-- JSP에서 생성한 MXML의 소스를 캐슁함 -->
<mxml-size>500</mxml-size>
<!-- 지정한 초마다 페이지 변경의 유효성 검사를 강제로 함 -->
<http-maximum-age>1</http-maximum-age>
<!-- 지정한 초마다 디스크에 있는 의존 파일의 변경여부를 검사함 -->
<!-- production-mode에서 이 값이 true일 경우 최초 시작히 1최만 file watcher가 동작함 -->
<file-watcher-interval>1</file-watcher-interval>
</cache>
<flash-player>
<!-- 플래쉬 플레이어 감지 -->
<enable>true</enable>
<!-- 7.0.14 필요-->
<!-- 플래쉬 플레이어 버전 -->
<required-version>7</required-version>
<!-- 플래쉬 플레이어 버전에서 .은 빼도록 함 -->
<required-major-revision>0</required-major-revision>
<!-- 플래쉬 플에이어의 마이너 개정 번호 -->
<required-minor-revision>14</required-minor-revision>
<!-- 플래쉬 플레이어 자동 설치(윈도에서 IE만 적용) -->
<!-- 이 옵션값이 true일 경우 IE는 사용자의 별도 처리 없이 ActiveX Player의 다운로드를 시도함.
만약에 이 값이 false일 경우 사용자는 직접 다운로드 URL을 통해 갱신 -->
<windows-auto-install>true</windows-auto-install>
<!-- 플레이어 업그레이드 페이지 - 필요한 버전의 플래쉬 플레이어가 없을 경우 아래 위치로 이동 -->
<download-url>{context.root}/flex-internal/detection-kit/upgrade_flash/upgrade_flash.html</download-url>
<download-https-url>{context.root}/flex-internal/secure/detection-kit/upgrade_flash/upgrade_flash.html</download-https-url>
<!-- ActiveX 업그레이드 페이지 - ActiveX 플레이어 다운로드 위치-->
<activex-download-url>http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</activex-download-url>
<activex-download-https-url>https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</activex-download-https-url>
<!-- 플러그인 업그레이드 페이지 - 플레이어 플러그인 버전 다운로드 위치 -->
<plugin-download-url>http://www.macromedia.com/go/getflashplayer</plugin-download-url>
<plugin-download-https-url>https://www.macromedia.com/go/getflashplayer</plugin-download-https-url>
</flash-player>
<web-service-proxy>
<!-- 모든 위치(경로)는 웹 서버 문서의 루트에 상대 URL 또는 완전한 HTTP URL을 사용할 수 있음
컨텍스트 루트의 상대 URL을 넣고자 할 경우 {context.root}를 포함할 것 -->
<!-- 프록시를 사용할지 프록시를 통과할지를 결정
client - HTTPService의 useProxy 속성을 통해 결정. 지정하지 않으면 프록시 사용
always - 항상 프록시 사용. HTTPService의 useProxy='use' 속성을 사용할 경우 경고 발생
never - 프록시를 사용하지 않음. HTTPService의 useProxy='use' 속성을 사용할 경우 경고 발생
-->
<proxy-use-policy>client</proxy-use-policy>
<!-- 프로토콜을 HTTP를 사용했을 때 또는 HTTP를 이용하여 페이지를
호출할 때 사용하는 웹 서비스 옵션 -->
<url>{context.root}/flashproxy</url>
<!-- 프로토콜을 HTTPS를 사용했을 때 또는 HTTPS를 이용하여 페이지를
호출할 때 사용하는 웹 서비스 옵션 -->
<https-url>{context.root}/flashproxy</https-url>
<!-- flashvars 또는 쿼리 파라미터 ?proxyURL=XXX을 통해 지정한 프록시를 사용 -->
<allow-url-override>false</allow-url-override>
<!-- 인증 수락 여부. production 모드에서는 true로 할 경우 위험 -->
<allow-lax-ssl>false</allow-lax-ssl>
<!-- 웹 서비스 프록시를 통해 접근할 수 있는 URL 목록 -->
<!-- 상대 URL로 생성한 서비스를 사용할 수 있도록
{localserver} 토큰에 실제 호스트와 포트번호가 추가될 수 있음. -->
<whitelist>
<!-- 이름을 지정하지 않은 웹 서비스 설정 정보 -->
<unnamed>
<url>http://{localserver}/*</url>
<url>https://{localserver}/*</url>
<url>http://www.xmethods.net/sd/2001/TemperatureService.wsdl</url>
<url>http://services.xmethods.net:80/soap/*</url>
<!--
보안때문에 기본적으로 아래 항목이 잠겨있음
모든 URL에 대해 접근을 허용하고자 할 경우 또는 접근을 허용할 개별 URL을 추가하고자 할 경우
아래 주석처리 된 것을 삭제하도록 함
<url>http://*</url>
<url>https://*</url>
-->
</unnamed>
<!-- 이름을 지정한 웹 서비스 설정 정보 -->
<named>
<service name="FlexStoreCatalogWS">
<wsdl>{context.root}/services/CatalogWS?wsdl</wsdl>
<endpoints>
<endpoint>{context.root}/services/CatalogWS</endpoint>
</endpoints>
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>false</allow-unnamed-access>
</service>
<service name="SampleEmployeeWS">
<wsdl>{context.root}/services/EmployeeWS?wsdl</wsdl>
<endpoints>
<endpoint>{context.root}/services/EmployeeWS</endpoint>
</endpoints>
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>false</allow-unnamed-access>
</service>
<service name="SampleSalaryWS">
<wsdl>{context.root}/services/SalaryWS?wsdl</wsdl>
<endpoints>
<endpoint>{context.root}/services/SalaryWS</endpoint>
</endpoints>
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>false</allow-unnamed-access>
</service>
</named>
</whitelist>
</web-service-proxy>
<http-service-proxy>
<!-- 모든 위치(경로)는 웹 서버 문서의 루트에 상대 URL 또는 완전한 HTTP URL을 사용할 수 있음
컨텍스트 루트의 상대 URL을 넣고자 할 경우 {context.root}를 포함할 것 -->
<!-- 프록시를 사용할지 프록시를 통과할지를 결정
client - HTTPService의 useProxy 속성을 통해 결정. 지정하지 않으면 프록시 사용
always - 항상 프록시 사용. HTTPService의 useProxy='use' 속성을 사용할 경우 경고 발생
never - 프록시를 사용하지 않음. HTTPService의 useProxy='use' 속성을 사용할 경우 경고 발생 -->
<proxy-use-policy>client</proxy-use-policy>
<!-- 모든 위치(경로)는 웹 서버 문서의 루트에 상대 URL 또는 완전한 HTTP URL을 사용할 수 있음
컨텍스트 루트의 상대 URL을 넣고자 할 경우 {context.root}를 포함할 것 -->
<!-- 프로토콜을 HTTP를 사용했을 때 또는 HTTP를 이용하여 페이지를
호출할 때 사용하는 HTTP 서비스 옵션 -->
<url>{context.root}/flashproxy</url>
<!-- 프로토콜을 HTTPS를 사용했을 때 또는 HTTPS를 이용하여 페이지를
호출할 때 사용하는 HTTP 서비스 옵션 -->
<https-url>{context.root}/flashproxy</https-url>
<!-- flashvars 또는 쿼리 파라미터 ?proxyURL=XXX을 이용하여 지정한 프록시 사용 -->
<allow-url-override>false</allow-url-override>
<!-- 인증 수락 여부. production 모드에서는 true로 할 경우 위험 -->
<allow-lax-ssl>false</allow-lax-ssl>
<!-- HTTP 서비스 프록시틀 통해 접근하는 URL 목록 -->
<!-- 상대 URL로 생성한 서비스를 사용할 수 있도록
{localserver} 토큰에 실제 호스트와 포트번호가 추가될 수 있음. -->
<whitelist>
<!-- 이름이 명시되지 않은 서비스에 대한 whitelist 설정 -->
<unnamed>
<url>http://{localserver}/*</url>
<url>https://{localserver}/*</url>
<url>http://www.markme.com/*</url>
<url>http://theserverside.com/rss/*</url>
<url>http://www.klynch.com/*</url>
<url>http://www.infoworld.com/rss/*</url>
<url>http://news.bbc.co.uk/rss/*</url>
<!--
보안때문에 기본적으로 아래 항목이 잠겨있음
모든 URL에 대해 접근을 허용하고자 할 경우 또는 접근을 허용할 개별 URL을 추가하고자 할 경우
아래 주석처리 된 것을 삭제하도록 함
<url>http://*</url>
<url>https://*</url>
-->
</unnamed>
<!-- 이름이 명시된 서비스에 대한 whitelist -->
<named>
<!-- MXML에서 이름으로 참조하는 HTTP 서비스를 정의 -->
<service name="employeeService">
<!-- named HTTP 서비스에 접근할 때 사용하는 실제 URL -->
<url>/samples/employeeService</url>
<!-- 인증 처리 실패시 클라이언트에서 처리할 fault code의 사용여부 -->
<use-custom-authentication>true</use-custom-authentication>
<!-- unnamed whitelist에 서비스 URL을 추가할 것. 만약에 false라면 unnamed를 사용못함 -->
<allow-unnamed-access>false</allow-unnamed-access>
</service>
<service name="SampleEmployeeSrv">
<url>{context.root}/explorer/data/employees.jsp</url>
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>false</allow-unnamed-access>
</service>
</named>
</whitelist>
</http-service-proxy>
<remote-objects>
<!-- 모든 위치(경로)는 웹 서버 문서의 루트에 상대 URL 또는 완전한 HTTP URL을 사용할 수 있음
컨텍스트 루트의 상대 URL을 넣고자 할 경우 {context.root}를 포함할 것 -->
<!-- AMF 인코딩을 사용할 떄 사용할 플래쉬 리모팅 게이트 웨이 -->
<!-- 이 인코딩 방법은 기본으로 설정된 인코딩 -->
<!-- 프로토콜을 HTTP를 사용했을 때 또는 HTTP를 이용하여 페이지를 호출할 때 사용 -->
<amf-gateway>{context.root}/amfgateway</amf-gateway>
<!-- 프로토콜을 HTTP를 사용했을 때 또는 HTTP를 이용하여 페이지를 호출할 때 사용할 플래쉬 리모팅 게이트 웨이 -->
<amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>
<!-- SOAP 인코딩을 사용할 때 사용할 RemoteObject의 종단점 -->
<!-- 아래 값은 프로토콜을 HTTP를 사용했을 때 또는 HTTP를 이용하여 페이지를 호출할 때 사용하는 옵션 -->
<url>{context.root}/flex-ws/FlexRemoteObjectService</url>
<!-- 아래 값은 프로토콜을 HTTPS를 사용했을 때 또는 HTTPS를 이용하여 페이지를 호출할 때 사용하는 옵션 -->
<https-url>{context.root}/flex-ws/FlexRemoteObjectService</https-url>
<!-- flashvars 또는 쿼리 파라미터 ?remoteURL=XXX을 통해 지정한 프록시를 사용 -->
<allow-url-override>false</allow-url-override>
<!-- 리모트 객체 프록시를 통해 접근가능한 URL 목록 -->
<whitelist>
<!-- 이름을 지정하지 않는 객체에 대한 whitelist 설정정보 -->
<unnamed>
<source>samples.*</source>
<source>samples</source>
<source>*</source>
</unnamed>
<!-- 이름이 지정된 객체에 대한 whitelist 설정정보 -->
<named>
<object name="SampleEmployeeRO">
<source>samples.explorer.EmployeeManager</source>
<type>stateful-class</type>
<use-custom-authentication>false</use-custom-authentication>
<allow-unnamed-access>true</allow-unnamed-access>
</object>
<object name="SampleSalaryRO">
<source>samples.explorer.SalaryManager</source>
<type>stateful-class</type>
<use-custom-authentication>true</use-custom-authentication>
<allow-unnamed-access>false</allow-unnamed-access>
</object>
</named>
</whitelist>
</remote-objects>
<logging>
<!-- 콘솔 메시지를 System.out에 로그 정보를 남김 -->
<console>
<!-- 콘솔 메시지 로깅 사용여부 -->
<enable>true</enable>
<!-- 로깅 레벨 - error, warn, info, debug -->
<level>info</level>
</console>
<!-- 파일 메지시를 지정한 파일명에 로그 정보를 남김 -->
<file>
<!-- 파일 로깅 사용여부 -->
<enable>true</enable>
<!-- 로딩 레벨 - error, warn, info, debug -->
<level>info</level>
<!-- 로그파일의 위치 -->
<!-- 컨텍스트 루트에 대한 상대 URL, 완전한 URL 및 절대 URL을 사용할 수 있음 -->
<file-name>/WEB-INF/flex/logs/flex.log</file-name>
<!-- 최대 로그파일의 크기 -->
<maximum-size>200KB</maximum-size>
<!-- 유지할 백업파일의 개수 -->
<maximum-backups>3</maximum-backups>
</file>
</logging>
<!-- 서버가 동작하는 동안 SWF에 포함되는 글꼴 생성 시간을 향상시킬 수 있는 글꼴 캐슁 옵션 -->
<fonts>
<!-- 캐쉬에 유지할 최대 글꼴의 개수 -->
<max-cached-fonts>20</max-cached-fonts>
<!-- 각각의 글꼴별로 캐슁할 상형문자의 최대 개수 -->
<max-glyphs-per-face>1000</max-glyphs-per-face>
<languages>
<!-- 언어에 따른 유니코드 설정 범위를 정의 -
이 옵션은 SWF에 포함되는 글꼴의 문자를 결정할 때 사용하는 옵션 -->
<!-- flash-unicode-table.xml 파일은 Flash MX 2004 UnicodeTable.xml에 있는 문자범위를 참조할 때 사용
- 필요에 따라 원하는 글꼴 매핑을 이 파일에 추가할 수도 있으며 CSS @font-face에서 사용할 수 있음 -->
<language-range>
<lang>en</lang>
<range>U+0020-U+007E</range>
</language-range>
</languages>
</fonts>
</flex-config>