チェンジセット 3357

差分発生行の前後
無視リスト:
コミット日時:
2010/01/27 17:09:19 (2 年前)
コミッタ:
seagirl
ログメッセージ:

add release command

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/GeniusFramework/branches/2.0/app-template/script/build.properties

    r2585 r3357  
    22 
    33APP_ROOT=${basedir}/.. 
    4 MAIN_APP=${APP_ROOT}/src/[% name %].mxml 
    5 OUTPUT_BIN=${basedir}/../bin-debug/[% name %].swf 
     4APP_NAME=[% name %] 
     5MAIN_APP=${APP_ROOT}/src/${APP_NAME}.mxml 
    66 
    77package=[% package %] 
  • as3/GeniusFramework/branches/2.0/app-template/script/build.xml

    r2585 r3357  
    4141         
    4242        <target name="build"> 
     43                <mxmlc 
     44                        actionscript-file-encoding="UTF-8" 
     45                        file="${MAIN_APP}" 
     46                        output="${APP_ROOT}/bin-debug/${APP_NAME}.swf" 
     47                        debug="true" 
     48                        incremental="true" 
     49                        keep-generated-actionscript="false" 
     50                        > 
     51                                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" /> 
     52                </mxmlc> 
     53                <copy todir="${basedir}/../bin-debug/assets"> 
     54                        <fileset dir="${basedir}/../src/assets"/> 
     55                </copy> 
     56        </target> 
     57         
     58        <target name="release"> 
    4359                 <mxmlc 
    4460                        actionscript-file-encoding="UTF-8" 
    4561                        file="${MAIN_APP}" 
    46                         output="${OUTPUT_BIN}" 
     62                        output="${APP_ROOT}/bin-release/${APP_NAME}.swf" 
     63                        debug="false" 
    4764                        incremental="true" 
    48                         keep-generated-actionscript="false"> 
     65                        keep-generated-actionscript="false" 
     66                        > 
    4967                                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" /> 
    5068                </mxmlc> 
    51                 <copy todir="${basedir}/../bin-debug/assets"> 
     69                <copy todir="${basedir}/../bin-release/assets"> 
    5270                        <fileset dir="${basedir}/../src/assets"/> 
    5371                </copy> 
  • as3/GeniusFramework/branches/2.0/bin/build.xml

    r3179 r3357  
    4646                        <include name="script/*.properties"/> 
    4747                        <include name="bin-debug/*.html"/> 
     48                        <include name="bin-release/*.html"/> 
    4849                        <include name="src/**/*.as"/> 
    4950                        <include name="src/**/*.mxml"/> 
     
    6061                <chmod file="${app_root}/script/generate" perm="755"/> 
    6162                <chmod file="${app_root}/script/debug" perm="755"/> 
     63                <chmod file="${app_root}/script/release" perm="755"/> 
    6264        </target>        
    6365         
  • as3/GeniusFramework/branches/2.0/src/jp/seagirl/genius/threads/URLLoaderServiceThread.as

    r3176 r3357  
    9797                override protected function run():void 
    9898                { 
    99                         error(IOError, handleError); 
    100                         error(SecurityError, handleError); 
    101                          
    102                         initialize(); 
    103                 } 
    104                  
    105                 protected function initialize():void 
    106                 { 
    107                          
     99 
    108100                } 
    109101                 
  • as3/GeniusFramework/branches/2.0/src/jp/seagirl/validators/ValidatorManager.as

    r318 r3357  
    160160                } 
    161161                 
     162                public function removeValidator(validator:Validator):void 
     163                { 
     164                        repository.filter( 
     165                                function (element:Validator, index:int, array:Array):Boolean 
     166                                { 
     167                                        return element != validator; 
     168                                } 
     169                        ); 
     170                         
     171                        return; 
     172                } 
     173                 
     174                public function removeAllValidators():void 
     175                { 
     176                        repository = []; 
     177                         
     178                        return; 
     179                } 
     180                 
    162181                /** 
    163182                 * リポジトリに登録された全てのValidatorを使って妥当性を判断します。