From: Leandro Lucarella Date: Mon, 30 Jun 2003 02:45:40 +0000 (+0000) Subject: More movements to the new structure. Modules now have their own directory on X-Git-Tag: svn_import~32 X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/commitdiff_plain/c6ec7da2a3e4d8839ca7873c9dcb196da613609c More movements to the new structure. Modules now have their own directory on the repository's root. --- diff --git a/core/BIFE/Container.php b/BIFE/Container.php similarity index 100% rename from core/BIFE/Container.php rename to BIFE/Container.php diff --git a/core/BIFE/Fallback.php b/BIFE/Fallback.php similarity index 100% rename from core/BIFE/Fallback.php rename to BIFE/Fallback.php diff --git a/core/BIFE/Parser.php b/BIFE/Parser.php similarity index 100% rename from core/BIFE/Parser.php rename to BIFE/Parser.php diff --git a/core/BIFE/Widget.php b/BIFE/Widget.php similarity index 100% rename from core/BIFE/Widget.php rename to BIFE/Widget.php diff --git a/Makefile b/Makefile deleted file mode 100644 index eab6a5f..0000000 --- a/Makefile +++ /dev/null @@ -1,83 +0,0 @@ -# vim: set noexpandtab tabstop=4 softtabstop=4 shiftwidth=4: -# +--------------------------------------------------------------------+ -# | BIFE - Buil It FastEr | -# +--------------------------------------------------------------------+ -# | This file is part of BIFE. | -# | | -# | BIFE 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. | -# | | -# | BIFE 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 | -# | along with Hooks; if not, write to the Free Software Foundation, | -# | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | -# +--------------------------------------------------------------------+ -# | Created: Mon May 19 00:16:56 ART 2003 | -# | Authors: Leandro Lucarella | -# +--------------------------------------------------------------------+ -# -# $Id$ -# - -VERSION=0.10 -PHP_FILES=src/BIFE/*.php -META_FILES=xmi2code.config xmi2code.tpl.php Makefile Doxyfile package.xml -APIDOC_FILES=doc/api/* doc/api/*/* -CORE_FILES=src/BIFE/Widget.php src/BIFE/Container.php src/BIFE/Root.php src/BIFE/Fallback.php src/BIFE/Parser.php -X2C_TEMPLATE=xmi2code.tpl.php - -code: core/bife.xmi core/xmi2code.config - cd core && xmi2code -a - -all: code doc pear-packages tarball - -doc: api - -api: Doxyfile $(PHP_FILES) - doxygen - -clean-bak: - find -name '*.bak' | xargs rm -vf - -clean-doc: - rm -fvR doc/api/html doc/api/rtf doc/api/latex - -clean: clean-doc clean-backup - -tarball: bife.tar.gz - -bife.tar.gz: $(PHP_FILES) $(META_FILES) - tar --exclude bife.tar.gz --exclude bife/doxygen.warn --exclude .svn --exclude '*.bak' --exclude '*.swp' --exclude 'bife/doc/api/*' -C .. -cvzf bife.tar.gz bife - -pear-packages: BIFE-$(VERSION).tgz - -BIFE-$(VERSION).tgz: $(PHP_FILES) package.xml - pear package - -build/BIFE.php: $(CORE_FILES) $(X2C_TEMPLATE) - @( \ - ( \ - cat $(X2C_TEMPLATE) | \ - grep -v '@@date' | \ - grep -v '$$Id' | \ - egrep -v '^//$$' \ - ); \ - echo '//'; \ - echo -n '// BIFE Core Version $(VERSION) - '; \ - date; \ - echo '//'; \ - ( \ - cat $(CORE_FILES) | \ - grep -v require_once | \ - grep -v '?>' | \ - grep -v '' \ - ) > build/BIFE.php diff --git a/doc/ROADMAP b/ROADMAP similarity index 100% rename from doc/ROADMAP rename to ROADMAP diff --git a/core/bife.xmi b/bife.xmi similarity index 100% rename from core/bife.xmi rename to bife.xmi diff --git a/modules/album/BIFE/Album/Pager.php b/modules/album/BIFE/Album/Pager.php deleted file mode 100644 index 7a37116..0000000 --- a/modules/album/BIFE/Album/Pager.php +++ /dev/null @@ -1,89 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Widget.php'; -// ~X2C - -// +X2C Class 151 :Pager -/** - * Album pager to an easier navigation when viewing photos. - * - * @access public - */ -class BIFE_Album_Pager extends BIFE_Widget { - // ~X2C - - // +X2C Operation 153 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function BIFE_Album_Pager($attrs) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - - // +X2C Operation 154 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function __construct($attrs) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - - // +X2C Operation 155 - /** - * Renders the widget using a template returning a string with the results. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - -} // -X2C Class :Pager - -?> \ No newline at end of file diff --git a/modules/album/BIFE/Album/Photo.php b/modules/album/BIFE/Album/Photo.php deleted file mode 100644 index c99ef29..0000000 --- a/modules/album/BIFE/Album/Photo.php +++ /dev/null @@ -1,62 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Widget.php'; -// ~X2C - -// +X2C Class 103 :Photo -/** - * Photo widget. - * - * @access public - */ -class BIFE_Album_Photo extends BIFE_Widget { - // ~X2C - - // +X2C Operation 108 - /** - * Renders the widget using a template returning a string with the results. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - $attrs['FILE'] = @$this->attrs['FILE'] ? $this->attrs['FILE'] : @$_REQUEST['BIFE_ALBUM_FILE']; - $attrs['DESC'] = @$this->attrs['DESC'] ? $this->attrs['DESC'] : basename($attrs['FILE']); - $out = $template->parse('photo', $attrs, '', 'album'); - return $out; - } - // -X2C - -} // -X2C Class :Photo - -?> \ No newline at end of file diff --git a/modules/album/BIFE/Album/Thumbs.php b/modules/album/BIFE/Album/Thumbs.php deleted file mode 100644 index 861f8ca..0000000 --- a/modules/album/BIFE/Album/Thumbs.php +++ /dev/null @@ -1,270 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Widget.php'; -// ~X2C - -require_once 'Image/Transform.php'; - -// +X2C Class 20 :Thumbs -/** - * Photo album widget. [TODO: Make a better explanation] - * - * @access public - */ -class BIFE_Album_Thumbs extends BIFE_Widget { - // ~X2C - - // +X2C Operation 22 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function BIFE_Album_Thumbs($attrs) // ~X2C - { - $this->__construct($attrs); - } - // -X2C - - // +X2C Operation 57 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function __construct($attrs) // ~X2C - { - // TODO - get defaults from an INI file. - $defaults = array( - 'DIR' => '.', - 'RECURSIVE' => true, - 'THUMBSFORMAT' => 'jpeg', - 'THUMBSDIR' => '.thumbs', - 'EXTENSIONS' => 'png,jpg,jpeg,PNG,JPG,JPEG', - 'MAXROWS' => 0, - 'COLUMNS' => 4, - 'LINK-BIFE' => 'photo.xbf', - 'LINK-URL' => '', - ); - $attrs = array_merge($defaults, $attrs); - $attrs['EXTENSIONS'] = explode(',', $attrs['EXTENSIONS']); - parent::__construct($attrs); - } - // -X2C - - // +X2C Operation 23 - /** - * Renders the widget. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - $template->pushGroup('album'); - $list = $this->getList(); - $tot = count($list); - $rows = ceil($tot / $this->attrs['COLUMNS']); - for ($row = 0; $row < $rows; $row++) { - for ($col = 0; $col < $this->attrs['COLUMNS']; $col++) { - $cur = $row * $this->attrs['COLUMNS'] + $col; - if ($photo = @$list[$cur]) { - if (is_null($photo['THUMB'])) { - $photo['THUMB'] = $this->makeThumb($photo['FILE']); - } - $photo['URL'] = BIFE_Link::getURL( - array( - 'BIFE' => $this->attrs['LINK-BIFE'], - 'URL' => $this->attrs['LINK-URL'], - 'DATA-BIFE_ALBUM_FILE' => $photo['FILE'], - ) - ); - $cell = $template->parse('item', $photo); - } else { - $cell = $template->parse('empty'); - } - $template->parseBuffered('cell', 'CONTENTS', $cell); - } - $template->parseBuffered('row', 'CONTENTS', - $template->popBuffer('cell')); - } - $out = $template->parse('body', array( - 'DESC' => $this->getDescription(), - 'CONTENTS' => $template->popBuffer('row'))); - $template->popGroup(); - return $out; - } - // -X2C - - // +X2C Operation 95 - /** - * Gets a list of photos with their descriptions and thumbnails. -Returns an array of associative arrays with this keys: - - * - * @return array - * @access protected - */ - function getList() // ~X2C - { - $root = $this->attrs['DIR']; - $exts = $this->attrs['EXTENSIONS']; - $format = $this->attrs['THUMBSFORMAT']; - $return = array(); - $d = dir($root); - if ($d) { - while (($file = $d->read()) !== false) { - list($path, $name, $ext) = $this->splitFilename("$root/$file"); - if (is_readable("$root/$file") and in_array($ext, $exts)) { - $thumb = $this->getThumbFilename("$root/$file"); - $return[] = array( - 'FILE' => "$root/$file", - 'DESC' => $name, - 'THUMB' => is_readable($thumb) ? $thumb : null, - ); - } - } - $d->close(); - } - return $return; - } - // -X2C - - // +X2C Operation 97 - /** - * Creates an image thumbnail, returning his filename. - * - * @param string $filename Filename of the image to create the thumb. - * @param int $size Maximum thumbnail size. - * - * @return string - * @access protected - */ - function makeThumb($filename, $size = 100) // ~X2C - { - $format = $this->attrs['THUMBSFORMAT']; - $thumb = $this->getThumbFilename($filename); - list($path, $name, $ext) = $this->splitFilename($thumb); - $img =& Image_Transform::factory('GD'); - $img->load($filename); - // If image is larger than the maximum size, we resize it. - if ($img->img_x > $size or $img->img_y > $size ) { - if (!@is_dir($path) and !@mkdir($path)) { - return null; - } - if (PEAR::isError($img)) { - return null; - } - if (!$img->scale($size)) { - return null; - } - } - $img->save("$path/$name.$format", $format); - $img->free(); - - return $thumb; - } - // -X2C - - // +X2C Operation 98 - /** - * Returns the filename of an image thumb. - * - * @param string $filename Filename of the image to get the thumb name. - * - * @return string - * @access protected - */ - function getThumbFilename($filename) // ~X2C - { - $root = $this->attrs['DIR']; - $format = $this->attrs['THUMBSFORMAT']; - $thumbsdir = $this->attrs['THUMBSDIR']; - - list($path, $name, $ext) = $this->splitFilename($filename); - - return "$root/$thumbsdir/$name.$format"; - } - // -X2C - - // +X2C Operation 102 - /** - * Returns the description of the album. - * - * @return string - * @access protected - */ - function getDescription() // ~X2C - { - $root = $this->attrs['DIR']; - return @join('', file($file)); - } - // -X2C - - // +X2C Operation 100 - /** - * Splits a filename returning an array with the path, name and extension. - * - * @param string $filename Filename to split. - * - * @return array - * @access public - * @static - */ - function splitFilename($filename) // ~X2C - { - $path = explode('/', $filename); - $file = array_pop($path); - $ext = ''; - if (strstr($file, '.')) { - preg_match('|([^/]+?)(\.([^\.]*))?$|', $file, $m); - $file = @$m[1] . ((@$m[2] == '.' ) ? '.' : ''); - $ext = @$m[3]; - } - $dir = count($path) ? join('/', $path) : ''; - return array($dir, $file, $ext); - } - // -X2C - -} // -X2C Class :Thumbs - -?> \ No newline at end of file diff --git a/modules/album/Makefile b/modules/album/Makefile deleted file mode 100644 index 63584a1..0000000 --- a/modules/album/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# vim: set noexpandtab tabstop=4 softtabstop=4 shiftwidth=4: -# +--------------------------------------------------------------------+ -# | BIFE - Buil It FastEr | -# +--------------------------------------------------------------------+ -# | This file is part of BIFE. | -# | | -# | BIFE 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. | -# | | -# | BIFE 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 | -# | along with Hooks; if not, write to the Free Software Foundation, | -# | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | -# +--------------------------------------------------------------------+ -# | Created: Mon May 19 00:16:56 ART 2003 | -# | Authors: Leandro Lucarella | -# +--------------------------------------------------------------------+ -# -# $Id$ -# - -MODULE=album - -code: $(MODULE).xmi xmi2code.config - @xmi2code - -code-clean: - @find -name '*.bak' | xargs rm -vf - diff --git a/modules/album/album.xmi b/modules/album/album.xmi deleted file mode 100644 index c23cb92..0000000 --- a/modules/album/album.xmi +++ /dev/null @@ -1,127 +0,0 @@ - - - - - umbrello uml modeller http://uml.sf.net - 1.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/album/xmi2code.config b/modules/album/xmi2code.config deleted file mode 100644 index 0decbdc..0000000 --- a/modules/album/xmi2code.config +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/modules/basic/BIFE/Link.php b/modules/basic/BIFE/Link.php deleted file mode 100644 index c8900d6..0000000 --- a/modules/basic/BIFE/Link.php +++ /dev/null @@ -1,125 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Container.php'; -// ~X2C - -// +X2C Class 110 :Link -/** - * Link to another page. - * - * @access public - */ -class BIFE_Link extends BIFE_Container { - // ~X2C - - // +X2C Operation 111 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function BIFE_Link($attrs) // ~X2C - { - $this->__construct($attrs); - } - // -X2C - - // +X2C Operation 112 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function __construct($attrs) // ~X2C - { - $link_attrs['URL'] = $this->getURL($attrs); - $link_attrs['DESC'] = @$attrs['DESC']; - $link_attrs['TARGET'] = @$attrs['TARGET']; - parent::__construct($link_attrs); - } - // -X2C - - // +X2C Operation 142 - /** - * Gets a URL string based on Link attributes. - * - * @param array $attrs Link attributes. - * - * @return string - * @access public - */ - function getURL($attrs) // ~X2C - { - $url = @$attrs['URL']; - unset($attrs['URL']); - if (isset($attrs['BIFE'])) { - $attrs['DATA-BIFE'] = $attrs['BIFE']; - unset($attrs['BIFE']); - } - $query = array(); - foreach($attrs as $name => $value) { - if (substr($name, 0, 5) === 'DATA-') { - if ($name = substr($name, 5)) { - $query[] = urlencode($name) . '=' . urlencode($value); - } - } - } - if ($query) { - $url .= '?' . join('&', $query); - } - return $url; - } - // -X2C - - // +X2C Operation 157 - /** - * Renders the widget. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - $this->attrs['CONTENTS'] = $this->renderContents($template); - return $template->parse('bife_link', $this->attrs, '', ''); - } - // -X2C - -} // -X2C Class :Link - -?> \ No newline at end of file diff --git a/modules/basic/BIFE/Translate.php b/modules/basic/BIFE/Translate.php deleted file mode 100644 index 6a16273..0000000 --- a/modules/basic/BIFE/Translate.php +++ /dev/null @@ -1,76 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Fallback.php'; -// ~X2C - -// +X2C Class 7 :Translate -/** - * This is a generic and simple (but very usefull) BIFE_Fallback implementation. Translate widgets using a template with it's name, prepended with 'bife_'. - * - * @access public - */ -class BIFE_Translate extends BIFE_Fallback { - // ~X2C - - // +X2C Operation 12 - /** - * Renders the widget. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - $this->attrs['CONTENTS'] = $this->renderContents($template); - $name = "bife_{$this->name}"; - if ($template->exists($name, '')) { - $out = $template->parse($name, $this->attrs, '', ''); - } else { - $name = $this->name; - $out = "<$name"; - foreach ($this->attrs as $attr => $val) { - $out .= sprintf(' %s="%s"', $attr, $val); - } - $contents = $this->renderContents($template); - if ($contents !== '') { - $out .= ">$contents"; - } else { - $out .= "/>"; - } - } - return $out; - } - // -X2C - -} // -X2C Class :Translate - -?> \ No newline at end of file diff --git a/modules/basic/Makefile b/modules/basic/Makefile deleted file mode 100644 index 1aa829a..0000000 --- a/modules/basic/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# vim: set noexpandtab tabstop=4 softtabstop=4 shiftwidth=4: -# +--------------------------------------------------------------------+ -# | BIFE - Buil It FastEr | -# +--------------------------------------------------------------------+ -# | This file is part of BIFE. | -# | | -# | BIFE 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. | -# | | -# | BIFE 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 | -# | along with Hooks; if not, write to the Free Software Foundation, | -# | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | -# +--------------------------------------------------------------------+ -# | Created: Mon May 19 00:16:56 ART 2003 | -# | Authors: Leandro Lucarella | -# +--------------------------------------------------------------------+ -# -# $Id$ -# - -MODULE=basic - -code: $(MODULE).xmi xmi2code.config - @xmi2code - -code-clean: - @find -name '*.bak' | xargs rm -vf - diff --git a/modules/basic/basic.xmi b/modules/basic/basic.xmi deleted file mode 100644 index 6a670be..0000000 --- a/modules/basic/basic.xmi +++ /dev/null @@ -1,87 +0,0 @@ - - - - - umbrello uml modeller http://uml.sf.net - 1.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/basic/xmi2code.config b/modules/basic/xmi2code.config deleted file mode 100644 index 7599573..0000000 --- a/modules/basic/xmi2code.config +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/modules/menu/BIFE/Menu/Menu.php b/modules/menu/BIFE/Menu/Menu.php deleted file mode 100644 index 09afd9b..0000000 --- a/modules/menu/BIFE/Menu/Menu.php +++ /dev/null @@ -1,89 +0,0 @@ - | -// +--------------------------------------------------------------------+ -// -// $Id$ -// - -// +X2C includes -require_once 'BIFE/Widget.php'; -// ~X2C - -// +X2C Class 115 :Menu -/** - * Dynamic Menu. - * - * @access public - */ -class BIFE_Menu_Menu extends BIFE_Widget { - // ~X2C - - // +X2C Operation 117 - /** - * Renders the widget using a template returning a string with the results. - * - * @param HTML_Template_HIT &$template Template to use to render the widget. - * - * @return string - * @access public - */ - function render(&$template) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - - // +X2C Operation 121 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function BIFE_Menu_Menu($attrs) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - - // +X2C Operation 122 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function __construct($attrs) // ~X2C - { - trigger_error('Not implemented!', E_USER_WARNING); - } - // -X2C - -} // -X2C Class :Menu - -?> \ No newline at end of file diff --git a/modules/menu/Makefile b/modules/menu/Makefile deleted file mode 100644 index 3aedb00..0000000 --- a/modules/menu/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# vim: set noexpandtab tabstop=4 softtabstop=4 shiftwidth=4: -# +--------------------------------------------------------------------+ -# | BIFE - Buil It FastEr | -# +--------------------------------------------------------------------+ -# | This file is part of BIFE. | -# | | -# | BIFE 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. | -# | | -# | BIFE 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 | -# | along with Hooks; if not, write to the Free Software Foundation, | -# | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | -# +--------------------------------------------------------------------+ -# | Created: Mon May 19 00:16:56 ART 2003 | -# | Authors: Leandro Lucarella | -# +--------------------------------------------------------------------+ -# -# $Id$ -# - -MODULE=menu - -code: $(MODULE).xmi xmi2code.config - @xmi2code - -code-clean: - @find -name '*.bak' | xargs rm -vf - diff --git a/modules/menu/menu.xmi b/modules/menu/menu.xmi deleted file mode 100644 index 1b77a22..0000000 --- a/modules/menu/menu.xmi +++ /dev/null @@ -1,64 +0,0 @@ - - - - - umbrello uml modeller http://uml.sf.net - 1.1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/menu/xmi2code.config b/modules/menu/xmi2code.config deleted file mode 100644 index a9a98f1..0000000 --- a/modules/menu/xmi2code.config +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/core/package.xml b/package.xml similarity index 100% rename from core/package.xml rename to package.xml diff --git a/core/xmi2code.config b/xmi2code.config similarity index 100% rename from core/xmi2code.config rename to xmi2code.config