From fa0aee6a8dee51c4b0dd9e391776ff6795e2aad5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Thu, 12 Feb 2004 18:56:58 +0000 Subject: [PATCH] Sistema base. --- Makefile | 19 ++++ README | 37 +++++++ doc/Doxyfile | 225 ++++++++++++++++++++++++++++++++++++++ doc/README | 7 ++ doc/uml.xmi | 30 +++++ doc/xmi2code.config | 47 ++++++++ doc/xmi2code.tpl.php | 25 +++++ init.sh | 19 ++++ lib/README | 8 ++ sistema/README | 23 ++++ sistema/conf/Marco.php | 43 ++++++++ sistema/conf/README | 7 ++ sistema/local_lib/README | 7 ++ sistema/www/README | 16 +++ sistema/www/css/README | 7 ++ sistema/www/images/README | 7 ++ sistema/www/js/README | 7 ++ test/README | 7 ++ 18 files changed, 541 insertions(+) create mode 100644 Makefile create mode 100644 README create mode 100644 doc/Doxyfile create mode 100644 doc/README create mode 100644 doc/uml.xmi create mode 100644 doc/xmi2code.config create mode 100644 doc/xmi2code.tpl.php create mode 100644 init.sh create mode 100644 lib/README create mode 100644 sistema/README create mode 100644 sistema/conf/Marco.php create mode 100644 sistema/conf/README create mode 100644 sistema/local_lib/README create mode 100644 sistema/www/README create mode 100644 sistema/www/css/README create mode 100644 sistema/www/images/README create mode 100644 sistema/www/js/README create mode 100644 test/README diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b5097d5 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# Makefile general. +# +# $Id$ +# + +help: + @echo Ejecute \'make init\' para inicializar el repositorio. + @echo Ejecute \'make clean-readme\' para borrar los archivos README. + @echo Ejecute \'make clean-makefile\' para borrar el archivo Makefile. + +clean-readme: + find -name README | xargs svn rm + +clean-makefile: + @svn rm Makefile + +init: + @./init.sh + @svn rm init.sh diff --git a/README b/README new file mode 100644 index 0000000..e99210b --- /dev/null +++ b/README @@ -0,0 +1,37 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Directorio raíz del sistema en desarrollo. +. +|-- doc: Documentación del sistema y sus librerías. +| +|-- lib: Librerías generales del sistema que sirven para que otros sistemas +| interactúen con éste. +| +|-- test: Directorio para archivos de prueba. +| +`-- sistema: Archivos del sistema en sí. Se compone de estos (posibles) + | subdirectorios. + | + |-- conf: Archivos de configuración del sistema. + | + |-- local_lib: Librerías locales del sistema (sólo para uso interno). + | + `-- www: Directorio público. Aquí se encuentra todo lo que deba ser + | visible desde el servidor web (incluyendo scripts PHP, imágenes, + | scripts JavaScript y hojas de estilo). + | + |-- css: Hojas de estilo específicas del sistema. + | + |-- images: Imágenes específicas del sistema. + | + `-- js: JavaScript específico del sistema. + +NOTAS: + * Para generar archivos de configuración de xmi2code y otras inicializaciones + puede ejecutar 'make init'. + * Para borrar este README y todos los de los demas directorios ejecute + 'make clean-readme'. + diff --git a/doc/Doxyfile b/doc/Doxyfile new file mode 100644 index 0000000..9291cf7 --- /dev/null +++ b/doc/Doxyfile @@ -0,0 +1,225 @@ +# vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80: +#------------------------------------------------------------------------------ +# Ministerio de Economía +# +#------------------------------------------------------------------------------ +# This file is part of . +# +# is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free +# Software Foundation; either version 2 of the License, or (at your option) +# any later version. +# +# is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License; if not, +# write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, +# Boston, MA 02111-1307 USA +#------------------------------------------------------------------------------ +# Creado: +# Autor: +#------------------------------------------------------------------------------ +# $Id$ +#------------------------------------------------------------------------------ + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = +PROJECT_NUMBER = $Rev$ +OUTPUT_DIRECTORY = api +OUTPUT_LANGUAGE = Spanish +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +INTERNAL_DOCS = YES +CASE_SENSE_NAMES = YES +SHORT_NAMES = NO +HIDE_SCOPE_NAMES = NO +VERBATIM_HEADERS = YES +SHOW_INCLUDE_FILES = YES +JAVADOC_AUTOBRIEF = YES +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = YES +INHERIT_DOCS = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 4 +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ALIASES = +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +OPTIMIZE_OUTPUT_FOR_C = NO +OPTIMIZE_OUTPUT_JAVA = NO +SHOW_USED_FILES = YES +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = doxygen.warnings +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = ../sistema/local_lib +FILE_PATTERNS = *.php +RECURSIVE = YES +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXAMPLE_PATH = +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = YES +TREEVIEW_WIDTH = 200 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = NO +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = NO +LATEX_BATCHMODE = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = YES +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = NO +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_SCHEMA = +XML_DTD = +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = NO +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +GRAPHICAL_HIERARCHY = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO +CGI_NAME = search.cgi +CGI_URL = +DOC_URL = +DOC_ABSPATH = +BIN_ABSPATH = /usr/local/bin/ +EXT_DOC_PATHS = diff --git a/doc/README b/doc/README new file mode 100644 index 0000000..8644e02 --- /dev/null +++ b/doc/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Documentación del sistema y sus librerías. + diff --git a/doc/uml.xmi b/doc/uml.xmi new file mode 100644 index 0000000..bb56a1a --- /dev/null +++ b/doc/uml.xmi @@ -0,0 +1,30 @@ + + + + + umbrello uml modeller http://uml.sf.net + 1.1 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xmi2code.config b/doc/xmi2code.config new file mode 100644 index 0000000..48a4cdb --- /dev/null +++ b/doc/xmi2code.config @@ -0,0 +1,47 @@ + + + + + diff --git a/doc/xmi2code.tpl.php b/doc/xmi2code.tpl.php new file mode 100644 index 0000000..1de0c57 --- /dev/null +++ b/doc/xmi2code.tpl.php @@ -0,0 +1,25 @@ + +------------------------------------------------------------------------------- +This file is part of . + + is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. + + is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License; if not, +write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, +Boston, MA 02111-1307 USA +------------------------------------------------------------------------------- +Creado: @@date +Autor: @@author +------------------------------------------------------------------------------- +$Id$ +-----------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..31bdb1b --- /dev/null +++ b/init.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# +# Inicialización del repositorio +# +# $Id$ +# + +read -p 'Nombre del sistema: ' SISTEMA +read -p 'Nombre y e-mail del autor (ej: Martín Caradagián ): ' AUTOR +cat doc/xmi2code.config | awk "{ gsub(\"\", \"`date`\"); gsub(\"\", \"$SISTEMA\"); gsub(\"\", \"$AUTOR\"); print }" > tmp +cat tmp > doc/xmi2code.config +cat doc/xmi2code.tpl.php | awk "{ gsub(\"\", \"$SISTEMA\"); gsub(\"\", \"$AUTOR\"); print }" > tmp +cat tmp > doc/xmi2code.tpl.php +cat doc/Doxyfile | awk "{ gsub(\"\", \"`date`\"); gsub(\"\", \"$SISTEMA\"); gsub(\"\", \"$AUTOR\"); print }" > tmp +cat tmp > doc/Doxyfile +rm -f tmp +echo "Por favor edite los archivos doc/xmi2code.config, doc/xmi2code.tpl.php y doc/Doxyfile para ver que este todo bien..." +vim -o doc/xmi2code.config doc/xmi2code.tpl.php doc/Doxyfile + diff --git a/lib/README b/lib/README new file mode 100644 index 0000000..de1189a --- /dev/null +++ b/lib/README @@ -0,0 +1,8 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Librerías generales del sistema que sirven para que otros sistemas +interactúen con éste. + diff --git a/sistema/README b/sistema/README new file mode 100644 index 0000000..72ac2a6 --- /dev/null +++ b/sistema/README @@ -0,0 +1,23 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Archivos del sistema en sí. Se compone de estos (posibles) +subdirectorios. + +. +|-- conf: Archivos de configuración del sistema. +| +|-- local_lib: Librerías locales del sistema (sólo para uso interno). +| +`-- www: Directorio público. Aquí se encuentra todo lo que deba ser + | visible desde el servidor web (incluyendo scripts PHP, imágenes, + | scripts JavaScript y hojas de estilo). + | + |-- css: Hojas de estilo específicas del sistema. + | + |-- images: Imágenes específicas del sistema. + | + `-- js: JavaScript específico del sistema. + diff --git a/sistema/conf/Marco.php b/sistema/conf/Marco.php new file mode 100644 index 0000000..5dbec24 --- /dev/null +++ b/sistema/conf/Marco.php @@ -0,0 +1,43 @@ + '', +//DIRECTORIOS {{{ + //Directorios web del sistema, salvo el root, todos son opcionales + //Si no se ponen, o estan vacias se asume lo que dice el comentario al lado de cada una + 'directorios' => array ( 'root' => '', // obligatorio + 'imagenes' => '', // /images --> Opcional + 'estilos' => '', // /css --> Opcional + 'js' => '', // /js --> Opcional + 'www' => '', // / --> Opcional + ), + //Directorios del file system. Si no se pone se asume lo que esta comentado. Son opcionales + 'directorios_fs' => array ('cache' => '', // Defecto = /tmp + ), +//}}} +//SECCIONES {{{ + 'secciones' => array ( + //SECCION 1 {{{ + array ( + 'nombre' => '', + 'imagenComun' => '', + 'imagenMouseOn' => '', // --> Opcional + 'imagenSelect' => '', // --> Opcional + 'link' => '', + 'permisos' => array ( ), + 'tipoMenu' => '', + 'hijos' => array ( + array ( 'nombre' => ' '', + 'imagenMouseOn' => '', // --> Opcional + 'imagenSelect' => '', // --> Opcional + 'link' => '', + 'permisos' => array ( ), + 'subhijos' => array ( ), + ), + ), + ),//}}} + ),//}}} + ); +?> diff --git a/sistema/conf/README b/sistema/conf/README new file mode 100644 index 0000000..f94f6e8 --- /dev/null +++ b/sistema/conf/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Archivos de configuración del sistema. + diff --git a/sistema/local_lib/README b/sistema/local_lib/README new file mode 100644 index 0000000..929b89c --- /dev/null +++ b/sistema/local_lib/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Librerías locales del sistema (sólo para uso interno). + diff --git a/sistema/www/README b/sistema/www/README new file mode 100644 index 0000000..676954f --- /dev/null +++ b/sistema/www/README @@ -0,0 +1,16 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Directorio público. Aquí se encuentra todo lo que deba ser visible desde +el servidor web (incluyendo scripts PHP, imágenes, scripts JavaScript y +hojas de estilo). + +. +|-- css: Hojas de estilo específicas del sistema. +| +|-- images: Imágenes específicas del sistema. +| +`-- js: JavaScript específico del sistema. + diff --git a/sistema/www/css/README b/sistema/www/css/README new file mode 100644 index 0000000..5a1d836 --- /dev/null +++ b/sistema/www/css/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Hojas de estilo específicas del sistema. + diff --git a/sistema/www/images/README b/sistema/www/images/README new file mode 100644 index 0000000..3ef72fd --- /dev/null +++ b/sistema/www/images/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Imágenes específicas del sistema. + diff --git a/sistema/www/js/README b/sistema/www/js/README new file mode 100644 index 0000000..c96a7d3 --- /dev/null +++ b/sistema/www/js/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +JavaScript específico del sistema. + diff --git a/test/README b/test/README new file mode 100644 index 0000000..204ea1e --- /dev/null +++ b/test/README @@ -0,0 +1,7 @@ +Descripción de los directorios: +=============================== + +$Id$ + +Directorio para archivos de prueba. + -- 2.43.0