Changeset 4392

Show
Ignore:
Timestamp:
10/22/06 10:39:17 (2 years ago)
Author:
bergie
Message:

Minor fixes to the component scaffold

@tarjei: I think we should consistently call components components instead of packages and modules

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build.xml

    r3808 r4392  
    33<!-- plan: 
    44    target scaffold is the one that will create a  
    5     new module directory 
     5    new component directory 
    66    It will: 
    7     a) create the module directory (and fail if it exists) 
    8     b) create the config,handler,midcom,style and doc subdirs. 
     7    a) create the component directory (and fail if it exists) 
     8    b) create the config, handler, midcom, style and documentation subdirs. 
    99    c) generate a simple manifest.inc file. 
    10     d) generate simple view.php and admin.php files 
     10    d) generate simple viewer.php and admin.php files 
    1111     
    1212--> 
     
    5252        <mkdir dir="${module_dir}"/> 
    5353        <mkdir dir="${module_dir}/config"/> 
    54         <mkdir dir="${module_dir}/docs"/> 
     54        <mkdir dir="${module_dir}/documentation"/> 
    5555        <mkdir dir="${module_dir}/midcom"/> 
    5656        <mkdir dir="${module_dir}/handler"/> 
     
    6060         
    6161        <input propertyname="module_description"  
    62             defaultValue="MidCOM module ${module}" 
     62            defaultValue="MidCOM component ${module}" 
    6363            > 
    64             Enter module description: 
     64            Enter component description: 
    6565        </input> 
    6666         
  • trunk/src/scaffold/admin.php

    r3726 r4392  
    1111 * @package ${module} 
    1212 */ 
    13  
    1413class ${module_class}_admin extends midcom_baseclasses_components_request_admin 
    1514{ 
  • trunk/src/scaffold/documentation/CHANGES

    r3726 r4392  
     1${module} ChangeLog 
     2------------------- 
     3 
    14Legend: 
    25- All items marked with "!" represent a major API-Change that is 
    3   not guranteed to be backwards compatible to previous versions 
     6  not guaranteed to be backwards compatible to previous versions 
    47  which might even break existing functionality. 
    5 - All items marked with "+" represent completly new features. 
     8- All items marked with "+" represent completely new features. 
    69 
    7 ${currentDate} Initial creation. 
     10${currentDate} tarjei 
     11  + initial version 
  • trunk/src/scaffold/handler/index.php

    r4306 r4392  
    2424    { 
    2525        parent::midcom_baseclasses_components_handler(); 
    26     }     
     26    } 
     27     
    2728    /** 
    2829     * _on_initialize is called by midcom on creation of the handler.  
  • trunk/src/scaffold/navigation.php

    r4306 r4392  
    1515 * @package ${module} 
    1616 */ 
    17  
    1817class ${module_class}_navigation extends midcom_baseclasses_components_navigation 
    1918{