]> git.llucax.com Git - mecon/ai.git/commitdiff
Se comienza con el diagrama UML.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 23 Jun 2003 22:20:49 +0000 (22:20 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 23 Jun 2003 22:20:49 +0000 (22:20 +0000)
Makefile
doc/Doxyfile
doc/uml.xmi
doc/xmi2code.config
doc/xmi2code.tpl.php
init.sh [deleted file]

index 8f8096ace1f8ed6b4dcb420e5114da41e4f9e444..129f678c8e7429fc51979cb5f10bb404079a1a52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,8 @@
 # $Id$
 #
 
-help:
-       @echo Ejecute \'make init\' para inicializar el repositorio.
-       @echo Ejecute \'make clean-readme\' para borrar los archivos README.
+code:
+       @cd doc && xmi2code
 
 clean-readme:
        find -name README | xargs svn rm
-
-init:
-       @./init.sh
-       @svn rm init.sh
index fad6ed7625341cd7ea150399478ecc1b7023f522..ef8cd3c79b99b566c0bae68f51af4415c6d25308 100644 (file)
@@ -1,16 +1,16 @@
 # vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
 # +--------------------------------------------------------------------+
 # |                      Ministerio de Economía                        |
-# |                             <SISTEMA>                              |
+# |                  AI (Administrador de Intranet)                    |
 # +--------------------------------------------------------------------+
-# | This file is part of <SISTEMA>.                                    |
+# | This file is part of AI.                                           |
 # |                                                                    |
-# | <SISTEMA> is free software; you can redistribute it and/or modify  |
+# | AI 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.                             |
 # |                                                                    |
-# | <SISTEMA> is distributed in the hope that it will be useful, but   |
+# | AI 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.                           |
@@ -19,8 +19,8 @@
 # | along with Hooks; if not, write to the Free Software Foundation,   |
 # | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
 # +--------------------------------------------------------------------+
-# | Creado: <FECHA>                                    |
-# | Autor:  <AUTOR>                                    |
+# | Creado: lun jun 23 15:21:18 ART 2003                               |
+# | Autor:  Leandro Lucarella <llucar@mecon.gov.ar>                    |
 # +--------------------------------------------------------------------+
 #
 # $Id$
@@ -29,7 +29,7 @@
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
-PROJECT_NAME           = <SISTEMA>
+PROJECT_NAME           = AI (Administrador de Intranet)
 PROJECT_NUMBER         = $Rev$
 OUTPUT_DIRECTORY       = api
 OUTPUT_LANGUAGE        = Spanish
index bb56a1ac3228723a312740581d0408dda405ce8d..1ff98e184b383186e1b0f8952aa48932bb4fcd97 100644 (file)
@@ -9,11 +9,62 @@
   <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
  </XMI.header>
  <XMI.content>
-  <docsettings viewid="412" documentation="" uniqueid="412" />
-  <umlobjects/>
+  <docsettings viewid="412" documentation="" uniqueid="449" />
+  <umlobjects>
+   <UML:Class stereotype="" package="" xmi.id="413" abstract="0" documentation="" name="Servicio" static="0" scope="200" >
+    <UML:Operation stereotype="" package="" xmi.id="448" type="void" abstract="0" documentation="" name="Servicio" static="0" scope="200" />
+    <UML:Attribute stereotype="" package="" xmi.id="428" value="0" type="int" abstract="0" documentation="ID del servicio.
+x2c:get" name="id" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="429" value="''" type="string" abstract="0" documentation="Nombre del servicio.
+x2c:get" name="nombre" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="433" value="''" type="string" abstract="0" documentation="Descripción del servicio.
+x2c:get" name="descripcion" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="430" value="null" type="HTML_Imagen" abstract="0" documentation="Ícono del servicio.
+x2c:get" name="icono" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="431" value="''" type="string" abstract="0" documentation="Enlace a donde el este servicio.
+x2c:get" name="link" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="432" value="''" type="string" abstract="0" documentation="Enlace a donde se encuentra la ayuda del servicio.
+x2c:get" name="linkAyuda" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="434" value="false" type="bool" abstract="0" documentation="True si es necesario que el usuario se loguee para usar el servicio.
+x2c:get" name="necesitaLogueo" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="444" value="true" type="bool" abstract="0" documentation="" name="habilitado" static="0" scope="202" />
+   </UML:Class>
+   <UML:Class stereotype="" package="" xmi.id="414" abstract="0" documentation="" name="GrupoSecciones" static="0" scope="200" >
+    <UML:Operation stereotype="" package="" xmi.id="447" type="void" abstract="0" documentation="" name="GrupoSecciones" static="0" scope="200" />
+    <UML:Attribute stereotype="" package="" xmi.id="420" value="0" type="int" abstract="0" documentation="ID del grupo de secciones.
+x2c:get" name="id" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="425" value="''" type="string" abstract="0" documentation="Nombre.
+x2c:get" name="nombre" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="422" value="array()" type="array" abstract="0" documentation="Grupos de secciones que tiene este grupo.
+x2c:get" name="hijos" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="424" value="array()" type="array" abstract="0" documentation="Secciones que pertenecen a este grupo.
+x2c:get" name="secciones" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="426" value="0" type="int" abstract="0" documentation="Antigüedad (en días) de las noticias a mostrar.
+x2c:get" name="antiguedad" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="427" value="false" type="bool" abstract="0" documentation="True si hay que mostrar los grupos hijos (?? FIXME).
+x2c:get" name="mostrarHijos" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="443" value="true" type="bool" abstract="0" documentation="" name="habilitado" static="0" scope="202" />
+   </UML:Class>
+   <UML:Class stereotype="" package="" xmi.id="416" abstract="0" documentation="" name="Sistema" static="0" scope="200" >
+    <UML:Operation stereotype="" package="" xmi.id="449" type="void" abstract="0" documentation="" name="Sistema" static="0" scope="200" />
+    <UML:Attribute stereotype="" package="" xmi.id="437" value="0" type="int" abstract="0" documentation="ID del sistema (ID en SAMURAI).
+x2c:get" name="id" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="438" value="null" type="HTML_Imagen" abstract="0" documentation="Ícono del sistema.
+x2c:get" name="icono" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="439" value="''" type="string" abstract="0" documentation="Enlace a donde se encuentra el sistema.
+x2c:get" name="link" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="440" value="''" type="string" abstract="0" documentation="Enlace a la ayuda del sistema.
+x2c:get" name="linkAyuda" static="0" scope="202" />
+    <UML:Attribute stereotype="" package="" xmi.id="445" value="true" type="bool" abstract="0" documentation="" name="habilitado" static="0" scope="202" />
+   </UML:Class>
+  </umlobjects>
   <diagrams>
-   <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="412" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="30000" showstereotype="0" showscope="1" font="Helvetica,12,-1,5,50,0,0,0,0,0" linecolor="#ff0000" >
-    <widgets/>
+   <diagram snapgrid="1" showattsig="1" fillcolor="#ffffc0" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" snapy="10" showatts="1" xmi.id="412" documentation="" type="402" showops="1" showpackage="0" name="Clases" localid="30000" showstereotype="0" showscope="1" font="Helvetica,8,-1,5,50,0,0,0,0,0" linecolor="#ff0000" >
+    <widgets>
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="168" showattsigs="601" usesdiagramusefillcolour="0" x="200" linecolour="#ff0000" y="260" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="140" usefillcolor="1" showattributes="1" xmi.id="413" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="156" showattsigs="601" usesdiagramusefillcolour="0" x="20" linecolour="#ff0000" y="260" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="126" usefillcolor="1" showattributes="1" xmi.id="414" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+     <UML:ConceptWidget usesdiagramfillcolour="0" width="160" showattsigs="601" usesdiagramusefillcolour="0" x="390" linecolour="#ff0000" y="260" showopsigs="601" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="98" usefillcolor="1" showattributes="1" xmi.id="416" showoperations="1" showpackage="0" showscope="1" showstereotype="0" font="Helvetica,8,-1,5,50,0,0,0,0,0" />
+    </widgets>
     <messages/>
     <associations/>
    </diagram>
   <listview>
    <listitem open="1" type="800" id="-1" label="Views" >
     <listitem open="1" type="801" id="-1" label="Logical View" >
-     <listitem open="0" type="807" id="412" label="class diagram" />
+     <listitem open="0" type="807" id="412" label="Clases" />
+     <listitem open="1" type="813" id="414" label="GrupoSecciones" >
+      <listitem open="0" type="814" id="426" label="antiguedad" />
+      <listitem open="0" type="815" id="447" label="GrupoSecciones" />
+      <listitem open="0" type="814" id="443" label="habilitado" />
+      <listitem open="0" type="814" id="422" label="hijos" />
+      <listitem open="0" type="814" id="420" label="id" />
+      <listitem open="0" type="814" id="427" label="mostrarHijos" />
+      <listitem open="0" type="814" id="425" label="nombre" />
+      <listitem open="0" type="814" id="424" label="secciones" />
+     </listitem>
+     <listitem open="1" type="813" id="413" label="Servicio" >
+      <listitem open="0" type="814" id="433" label="descripcion" />
+      <listitem open="0" type="814" id="444" label="habilitado" />
+      <listitem open="0" type="814" id="430" label="icono" />
+      <listitem open="0" type="814" id="428" label="id" />
+      <listitem open="0" type="814" id="431" label="link" />
+      <listitem open="0" type="814" id="432" label="linkAyuda" />
+      <listitem open="0" type="814" id="434" label="necesitaLogueo" />
+      <listitem open="0" type="814" id="429" label="nombre" />
+      <listitem open="0" type="815" id="448" label="Servicio" />
+     </listitem>
+     <listitem open="1" type="813" id="416" label="Sistema" >
+      <listitem open="0" type="814" id="445" label="habilitado" />
+      <listitem open="0" type="814" id="438" label="icono" />
+      <listitem open="0" type="814" id="437" label="id" />
+      <listitem open="0" type="814" id="439" label="link" />
+      <listitem open="0" type="814" id="440" label="linkAyuda" />
+      <listitem open="0" type="815" id="449" label="Sistema" />
+     </listitem>
     </listitem>
     <listitem open="1" type="802" id="-1" label="Use Case View" />
    </listitem>
index 65dc1fdb8cac8950ec8452252469a3b8a05971bd..048c33ff293366a7494696f3cabd0064b1a97426 100644 (file)
@@ -3,16 +3,16 @@
  ! vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
  ! **********************************************************************
  ! *                      Ministerio de Economía                        *
- ! *                             <SISTEMA>                              *
+ ! *                  AI (Administrador de Intranet)                    *
  ! **********************************************************************
- ! * This file is part of <SISTEMA>.                                    *
+ ! * This file is part of AI.                                           *
  ! *                                                                    *
- ! * <SISTEMA> is free software; you can redistribute it and/or modify  *
+ ! * AI 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.                             *
  ! *                                                                    *
- ! * <SISTEMA> is distributed in the hope that it will be useful, but   *
+ ! * AI 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.                           *
@@ -21,9 +21,9 @@
  ! * along with Hooks; if not, write to the Free Software Foundation,   *
  ! * Inc., 59 Temple Place, Suite 330, Boston, MA  02111*1307  USA      *
  ! **********************************************************************
- ! * Creado: <FECHA>                               *
- ! * Autor:  <AUTOR>                                                    *
- ! *********************************************************************+
+ ! * Creado: lun jun 23 15:21:18 ART 2003                               *
+ ! * Autor:  Leandro Lucarella <llucar@mecon.gov.ar>                    *
+ ! **********************************************************************
  ! 
  ! $Id$
  ! 
index 7f784a20ceea0fbf1c79542d5cd8f0c5f2dcb0ed..23d841bc81ae34f15128ed18564d556cc55968a8 100644 (file)
@@ -2,16 +2,16 @@
 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
 // +--------------------------------------------------------------------+
 // |                      Ministerio de Economía                        |
-// |                             <SISTEMA>                              |
+// |                  AI (Administrador de Intranet)                    |
 // +--------------------------------------------------------------------+
-// | This file is part of <SISTEMA>.                                    |
+// | This file is part of AI.                                           |
 // |                                                                    |
-// | <SISTEMA> is free software; you can redistribute it and/or modify  |
+// | AI 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.                             |
 // |                                                                    |
-// | <SISTEMA> is distributed in the hope that it will be useful, but   |
+// | AI 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.                           |
@@ -20,9 +20,9 @@
 // | along with Hooks; if not, write to the Free Software Foundation,   |
 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
 // +--------------------------------------------------------------------+
-// | Creado: @@date                                   |
-// | Autor:  <AUTOR>                                  |
+// | Creado: @@date                                                     |
+// | Autor:  Leandro Lucarella <llucar@mecon.gov.ar>                    |
 // +--------------------------------------------------------------------+
 //
 // $Id$
-//
+//
\ No newline at end of file
diff --git a/init.sh b/init.sh
deleted file mode 100755 (executable)
index 31bdb1b..0000000
--- a/init.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/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 <mcara@mecon.gov.ar>): ' AUTOR
-cat doc/xmi2code.config | awk "{ gsub(\"<FECHA>\", \"`date`\"); gsub(\"<SISTEMA>\", \"$SISTEMA\"); gsub(\"<AUTOR>\", \"$AUTOR\"); print }" > tmp
-cat tmp > doc/xmi2code.config
-cat doc/xmi2code.tpl.php | awk "{ gsub(\"<SISTEMA>\", \"$SISTEMA\"); gsub(\"<AUTOR>\", \"$AUTOR\"); print }" > tmp
-cat tmp > doc/xmi2code.tpl.php
-cat doc/Doxyfile | awk "{ gsub(\"<FECHA>\", \"`date`\"); gsub(\"<SISTEMA>\", \"$SISTEMA\"); gsub(\"<AUTOR>\", \"$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
-