Update of /cvsroot/modeling/ProjectModeling/Modeling/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv32227
Modified Files:
Tag: brch-0_9pre6-1-ModelMasons_base_generation_scheme
mdl_generate_python_code.py
Log Message:
Updated usage()
Index: mdl_generate_python_code.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/mdl_generate_python_code.py,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -C2 -d -r1.4 -r1.4.2.1
*** mdl_generate_python_code.py 20 Apr 2003 16:10:41 -0000 1.4
--- mdl_generate_python_code.py 16 May 2003 11:33:24 -0000 1.4.2.1
***************
*** 110,113 ****
--- 110,115 ----
Generation options:
-------------------
+ For an explanation on generation schemes, see below
+
-B --base-generation-scheme use the 'base' scheme
-C --compact-generation-scheme use the 'compact' scheme (default)
***************
*** 116,120 ****
--generation_scheme=<scheme> use <scheme> as the generation scheme
(either 'base' or 'compact')
!
""" % prgName
sys.stderr.write(_usage)
--- 118,135 ----
--generation_scheme=<scheme> use <scheme> as the generation scheme
(either 'base' or 'compact')
!
! 'compact' scheme: puts all generated file in the same directory (the package
! for the model). When re-generating the files, a file that
! already exists is NEVER overwritten
!
! 'base' scheme: adds a sub-module 'MDL' within the generated package. All files
! within MDL/ are ALWAYS overwritten when the python code is regenerated,
! while others (in the root package) are never overwritten if they exist.
! This is probably the one you want to use if your model changes often.
!
! Note: this can be used if and only if there is no entity sharing the same
! module with one of its (direct or indirect) subentities. If this is
! not the case, the generation will raise and indicate the problem.
!
""" % prgName
sys.stderr.write(_usage)
|