[Uml-devel] CVS: kdesdk/umbrello/umbrello/headings heading.pm,NONE,1.1 heading.py,NONE,1.1 Makefile.am,1.3,1.4

kde at office.kde.org kde at office.kde.org
Tue Jan 28 11:19:02 UTC 2003


Update of /home/kde/kdesdk/umbrello/umbrello/headings
In directory office:/tmp/cvs-serv8726

Modified Files:
	Makefile.am 
Added Files:
	heading.pm heading.py 
Log Message:
Added headings for python and perl code generators


--- NEW FILE: heading.pm ---
#!/usr/bin/env perl
#   			%filename% - Copyright %author%
# 
# Here you can write a license for your code, some comments or any other
# information you want to have in your generated code. To to this simply
# configure the "headings" directory in uml to point to a directory
# where you have your heading files.
# 
# or you can just replace the contents of this file with your own.
# If you want to do this, this file is located at
# 
# %headingpath%
# 
# -->Code Generators searches for heading files based on the file extension
#    i.e. it will look for a file name ending in ".h" to include in C++ header
#    files, and for a file name ending in ".java" to include in all generated
#    java code.
#    If you name the file "heading.<extension>", Code Generator will always
#    choose this file even if there are other files with the same extension in the
#    directory. If you name the file something else, it must be the only one with that
#    extension in the directory to guarantee that Code Generator will choose it.
# 
# you can use variables in your heading files which are replaced at generation
# time. possible variables are : author, date, time, filename and filepath.
# just write %variable_name%
# 
# This file was generated on %date% at %time%
# The original location of this file is %filepath%


--- NEW FILE: heading.py ---
#!/usr/bin/env python
#   			%filename% - Copyright %author%
# 
# Here you can write a license for your code, some comments or any other
# information you want to have in your generated code. To to this simply
# configure the "headings" directory in uml to point to a directory
# where you have your heading files.
# 
# or you can just replace the contents of this file with your own.
# If you want to do this, this file is located at
# 
# %headingpath%
# 
# -->Code Generators searches for heading files based on the file extension
#    i.e. it will look for a file name ending in ".h" to include in C++ header
#    files, and for a file name ending in ".java" to include in all generated
#    java code.
#    If you name the file "heading.<extension>", Code Generator will always
#    choose this file even if there are other files with the same extension in the
#    directory. If you name the file something else, it must be the only one with that
#    extension in the directory to guarantee that Code Generator will choose it.
# 
# you can use variables in your heading files which are replaced at generation
# time. possible variables are : author, date, time, filename and filepath.
# just write %variable_name%
# 
# This file was generated on %date% at %time%
# The original location of this file is %filepath%


Index: Makefile.am
===================================================================
RCS file: /home/kde/kdesdk/umbrello/umbrello/headings/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	24 Jan 2003 00:41:17 -0000	1.3
+++ Makefile.am	28 Jan 2003 19:17:53 -0000	1.4
@@ -1,2 +1,2 @@
 mydir = $(kde_datadir)/umbrello/headings
-my_DATA = heading.java heading.h heading.php heading.cpp 
+my_DATA = heading.java heading.h heading.php heading.cpp heading.pm heading.py





More information about the umbrello-devel mailing list