Changeset 436

Show
Ignore:
Timestamp:
05/09/07 14:54:33 (2 years ago)
Author:
laurentj
Message:

apply trunk improvements to the jforms branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/experimental/jforms/build/buildapp.php

    r348 r436  
    1010$BUILD_OPTIONS = array( 
    1111'MAIN_TARGET_PATH'=> array( 
    12     "main directory where sources will be copied",  // signification (false = option cach 
    13     '_dist',                                        // valeur par dut (boolean = option booleene) 
     12    "main directory where sources will be copied",  // signification (false = option cachée) 
     13    '_dist',                                        // valeur par défaut (boolean = option booleene) 
    1414    '',                                             // regexp pour la valeur ou vide=tout (seulement pour option non booleene) 
    1515    ),  
    16 'VERSION'=> array( 
    17     "Version number you want to set for this package", 
    18     '', 
    19     '', 
    20     ), 
    2116'APPNAME'=> array( 
    2217    "The name of the app you want to generate (demoxul, myapp, testapp)", 
     
    3227    false, 
    3328    ), 
    34 'NIGHTLY_NAME'=>array( 
    35     "", 
    36     true, 
     29'VERSION'=> array( 
     30    false, 
     31    '', 
     32    '', 
     33    ), 
     34'IS_NIGHTLY'=> array( 
     35    false, 
     36    false, 
    3737    ), 
    3838'SVN_REVISION'=> array( 
     
    5050$MAIN_TARGET_PATH = jBuildUtils::normalizeDir($MAIN_TARGET_PATH); 
    5151 
    52 Env::setFromFile('VERSION',$APPDIR.'/VERSION', true); 
     52Env::setFromFile('VERSION',$APPDIR.'/VERSION',true); 
    5353$SVN_REVISION = Subversion::revision($APPDIR); 
    5454 
    55 if($VERSION == 'SVN') 
     55if($VERSION == 'SVN'){ 
    5656    $VERSION = 'SVN-'.$SVN_REVISION; 
     57    $IS_NIGHTLY = true; 
     58}else{ 
     59    $IS_NIGHTLY = false; 
     60} 
     61 
    5762 
    5863if($PACKAGE_TAR_GZ || $PACKAGE_ZIP ){ 
    59     if($NIGHTLY_NAME
     64    if($IS_NIGHTLY
    6065        $PACKAGE_NAME=$APPNAME.'-nightly'; 
    6166    else 
     
    6469} 
    6570 
    66 //----------------- Gration des sources 
     71//----------------- Génération des sources 
    6772 
    6873//... creation des repertoires 
  • branches/experimental/jforms/build/buildjbt.php

    r348 r436  
    1010$BUILD_OPTIONS = array( 
    1111'MAIN_TARGET_PATH'=> array( 
    12     "main directory where sources will be copied",  // signification (false = option cach 
    13     '_dist',                                        // valeur par dut (boolean = option booleene) 
     12    "main directory where sources will be copied",  // signification (false = option cachée) 
     13    '_dist',                                        // valeur par défaut (boolean = option booleene) 
    1414    '',                                             // regexp pour la valeur ou vide=tout (seulement pour option non booleene) 
    1515    ),  
    16 'VERSION'=> array( 
    17     "Version number you want to set for this package", 
    18     '', 
    19     '', 
    20     ), 
    2116'PACKAGE_TAR_GZ'=>array( 
    2217    "create a tar.gz package", 
     
    2722    false,