mirror of https://github.com/dspinellis/UMLGraph
Integrate web facelift into directory tree and new build process.
This commit is contained in:
parent
a54a65cad8
commit
5c21f3a786
6
Makefile
6
Makefile
|
|
@ -77,10 +77,12 @@ testupdate:
|
|||
sh tools/testupdate.sh
|
||||
|
||||
web: $(BALL_TAR_GZ) CHECKSUM.MD5
|
||||
cp $(BALL_TAR_GZ) $(ZIPBALL) CHECKSUM.MD5 oldversion.html umlgraph-banner.png $(WEBDIR)
|
||||
cp $(BALL_TAR_GZ) $(ZIPBALL) CHECKSUM.MD5 $(WEBDIR)
|
||||
(cd web && sh build.sh)
|
||||
cp web/build/*.* $(WEBDIR)
|
||||
sed "s/VERSION/$(VERSION)/g" web/build/download.html >$(WEBDIR)/download.html
|
||||
cp $(JARFILE) $(WEBDIR)/jars/UmlGraph-$(VERSION).jar
|
||||
tar cf - javadoc | tar -C $(WEBDIR) -xvf -
|
||||
sed "s/VERSION/$(VERSION)/g" index.html >$(WEBDIR)/index.html
|
||||
|
||||
CHECKSUM.MD5: $(BALL_TAR_GZ) $(JARFILE)
|
||||
md5 UMLGraph-2.10.* UMLGraph-4.8.* UMLGraph-$(VERSION).* >CHECKSUM.MD5
|
||||
|
|
|
|||
160
index.html
160
index.html
|
|
@ -1,160 +0,0 @@
|
|||
<?xml version="1.0" encoding="us-ascii"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<!-- No not edit this page in the web directory. -->
|
||||
<!-- $Id$ -->
|
||||
<head>
|
||||
<title>UMLGraph - Declarative Drawing of UML Diagrams</title>
|
||||
<meta name="AUTHOR" content="Diomidis Spinellis" />
|
||||
</head>
|
||||
<body>
|
||||
<h2>UMLGraph - Declarative Drawing of UML Diagrams</h2>
|
||||
<img align="left" alt="UMLGraph banner" hspace="12" border='0' src="umlgraph-banner.png">
|
||||
<!-- Introduction {{{1 -->
|
||||
UMLGraph allows the declarative specification and drawing of
|
||||
UML class and sequence diagrams.
|
||||
The current features
|
||||
are part of an ongoing effort aiming to provide support for
|
||||
all types UML diagrams.
|
||||
An <em>IEEE Software</em> article titled
|
||||
<a href="http://www.spinellis.gr/pubs/jrnl/2003-IEEESW-umlgraph/html/article.html">On the declarative specification of models</a>
|
||||
explains the rationale behind this approach.
|
||||
The tehnology behind UMLGraph was used to draw many of the diagrams
|
||||
appearing in the award-winning books
|
||||
<a href="http://www.spinellis.gr/codequality">Code Quality: The Open Source Perspective</a> (Addison Wesley, 2006) and
|
||||
<a href="http://www.spinellis.gr/codereading">Code Reading: The Open Source Perspective</a> (Addison Wesley, 2003).
|
||||
In addition,
|
||||
the <em>UMLGraphDoc</em> doclet included in this distribution automatically
|
||||
adds UML diagrams to javadoc documentation;
|
||||
you can find a short and clear
|
||||
<a href="http://java.dzone.com/articles/reverse-engineer-source-code-u">tutorial on how to automatically document your project with UML diagrams</a>
|
||||
on DZone's Javalobby.
|
||||
|
||||
<p />
|
||||
Many programs build on UMLGraph; follow <a href="doc/deriv.html">this link</a>
|
||||
for more details.
|
||||
In addition,
|
||||
<a href="http://martinfowler.com">Martin Fowler</a>, the author of
|
||||
<a href="http://www.amazon.com/exec/obidos/ASIN/020165783X/dds-20">UML Distilled</a>, writes:
|
||||
<blockquote>
|
||||
I thought I'd send you a note saying how much I enjoyed discovering UML Graph. I've long fancied a text based way of describing UML diagrams, but never felt sufficiently time-rich to develop anything.
|
||||
</blockquote>
|
||||
Martin has created a
|
||||
<a href="http://martinfowler.com/bliki/UmlSketchingTools.html">bliki entry</a>
|
||||
describing his ideas of what an ideal textual language might look like.
|
||||
|
||||
<h3>Class Diagrams</h3> <!-- {{{1 -->
|
||||
One specifies a class diagram using the Java syntax complemented by
|
||||
<a href="http://java.sun.com/j2se/javadoc/"><em>javadoc</em></a>
|
||||
tags.
|
||||
Running the UmlGraph doclet on the specification will generate
|
||||
a
|
||||
<a href="http://www.research.att.com/sw/tools/graphviz/">Graphviz</a>
|
||||
diagram specification that can be automatically processed to
|
||||
create Postscript, GIF, SVG, JPEG, fig, or Framemaker drawings.
|
||||
<p />
|
||||
The following is an example of a class diagram specification and the resulting UML
|
||||
diagram:
|
||||
<table>
|
||||
<tr><td>
|
||||
<pre>
|
||||
class Person {
|
||||
String Name;
|
||||
}
|
||||
|
||||
class Employee extends Person {}
|
||||
|
||||
class Client extends Person {}
|
||||
</pre>
|
||||
</td><td>
|
||||
<img src="doc/class-eg.gif" alt="Simple UML class diagram" />
|
||||
</td></tr></table>
|
||||
|
||||
<h3>Sequence Diagrams</h3> <!-- {{{1 -->
|
||||
One specifies a sequence diagram using <em>pic</em> macros to define
|
||||
objects and method invocations.
|
||||
The <a href="http://www.gnu.org/software/plotutils/plotutils.html">GNU plotutils</a>
|
||||
<em>pic2plot</em> program can then process the sequence diagram to create a
|
||||
PNG, PNM, (pseudo)GIF, SVG, AI, Postscript, CGM, FIG, PCL, HPGL, Regis, or TEK
|
||||
drawing.
|
||||
<p />
|
||||
The following is an example of a sequence diagram specification and the
|
||||
resulting UML diagram:
|
||||
<table>
|
||||
<tr><td>
|
||||
<pre>
|
||||
# Define the objects
|
||||
object(O,"o:Toolkit");
|
||||
placeholder_object(P);
|
||||
step();
|
||||
|
||||
# Activation and messages
|
||||
active(O);
|
||||
message(O,O,"callbackLoop()");
|
||||
create_message(O,P,"p:Peer");
|
||||
message(O,P,"handleExpose()");
|
||||
active(P);
|
||||
return_message(P,O,"");
|
||||
inactive(P);
|
||||
destroy_message(O,P);
|
||||
inactive(O);
|
||||
|
||||
# Complete the lifeline of O
|
||||
step();
|
||||
complete(O);
|
||||
</pre>
|
||||
</td><td>
|
||||
<img src="doc/seq-eg.gif" alt="Simple UML sequence diagram" />
|
||||
</td></tr></table>
|
||||
|
||||
<h3>Download and Links</h3> <!-- {{{1 -->
|
||||
UMLGraph is hereby made freely available as Open Source Software.
|
||||
The current version of UMLGraph is VERSION.
|
||||
You can download UMLGraph and its documentation from the following links:
|
||||
<ul>
|
||||
<li> <a href="UMLGraph-VERSION.tar.gz">UmlGraph package version VERSION - .tar.gz</a>
|
||||
(compressed tar file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="UMLGraph-VERSION.zip">UmlGraph package version VERSION - .zip</a>
|
||||
(zip file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="doc/index.html">User documentation</a>
|
||||
(table of contents - suitable for web browsing).
|
||||
</li>
|
||||
<li> <a href="doc/indexw.html">Printable user documentation</a>
|
||||
(the above as a single printable page).
|
||||
</li>
|
||||
<li> <a href="javadoc/index.html">Doclet technical documentation</a>
|
||||
(javadoc table of contents).
|
||||
</li>
|
||||
<li> <a href="doc/ver.html">Version history</a> </li>
|
||||
<li> <a href="http://freshmeat.net/projects/umlgraph/">freshmeat.net page</a> (use it to subscribe and post comments).</li>
|
||||
<li> <a href="jars/UmlGraph-VERSION.jar">UmlGraph binary - UmlGraph-VERSION.jar</a>
|
||||
(jar file containing only the UmlGraph classes;
|
||||
please use this only for pulling UmlGraph into other projects).
|
||||
</li>
|
||||
<li> <a href="CHECKSUM.MD5">MD5 checksums</a> for each of the above .zip, .tar.gz, and jar archives.
|
||||
<li> <a href="oldversion.html">Older UMLGraph versions</a> (useful if you run
|
||||
an older JRE).
|
||||
</li>
|
||||
<li> <a href="doc/faq.html">Frequently asked questions</a> </li>
|
||||
</ul>
|
||||
|
||||
<!-- End matter {{{1 -->
|
||||
<p />
|
||||
<a href="http://www.spinellis.gr">Diomidis Spinellis home page</a>
|
||||
<hr />
|
||||
<font size="-2">
|
||||
<a href="http://validator.w3.org/check/referer"><img hspace="4" align="left" src="valid-xhtml10.png" border="0" alt="Valid XHTML 1.0!" height="31" width="88" /></a>
|
||||
<a href="http://www.w3.org/WAI/WCAG1AAA-Conformance" title="Explanation of Level Triple-A Conformance"><img hspace="4" align="left" border="0" height="32" width="88" src="wcag1AAA.gif" alt="Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0" /></a>
|
||||
<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/gr/deed.en"><img hspace="4" align="left" alt="Creative Commons License" style="border-width: 0" src="http://creativecommons.org/images/public/somerights20.png"/></a>
|
||||
Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/gr/deed.en">Creative Commons Attribution-Share Alike 3.0 Greece License</a>.
|
||||
<br />
|
||||
Last modified: $Date$
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0" encoding="us-ascii"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<!-- No not edit this page in the web directory. -->
|
||||
<!-- $Id$ -->
|
||||
<head>
|
||||
<title>UMLGraph - Old Versions</title>
|
||||
<meta name="AUTHOR" content="Diomidis Spinellis" />
|
||||
</head>
|
||||
<body>
|
||||
<h1 align="right"><tt><font color="#ff0000">UMLGraph dds</font></tt></h1>
|
||||
<h2>UMLGraph - Old Versions</h2>
|
||||
|
||||
These are links to old versions of UMLGraph, that may be useful to
|
||||
people running older versions of the Java runtime environment.
|
||||
Note that the web documentation applies to the current version.
|
||||
<ul>
|
||||
<li> <a href="UMLGraph-4.8.tar.gz">UmlGraph package version 4.8 - .tar.gz</a>
|
||||
(The last version compatible with Java 1.5; compressed tar file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="UMLGraph-4.8.zip">UmlGraph package version 4.8 - .zip</a>
|
||||
(The last version compatible with Java 1.5; zip file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="UMLGraph-2.10.tar.gz">UmlGraph package version 2.10 - .tar.gz</a>
|
||||
(The last version compatible with Java 1.4; compressed tar file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="UMLGraph-2.10.zip">UmlGraph package version 2.10 - .zip</a>
|
||||
(The last version compatible with Java 1.4; zip file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="CHECKSUM.MD5">MD5 checksums</a> for each of the above .zip, .tar.gz, and jar archives.
|
||||
</ul>
|
||||
<!-- End matter {{{1 -->
|
||||
<p />
|
||||
<a href="http://www.umlgraph.org">UMLGraph home page</a>
|
||||
<hr />
|
||||
<font size="-2">
|
||||
<a href="http://validator.w3.org/check/referer"><img hspace="4" align="left" src="valid-xhtml10.png" border="0" alt="Valid XHTML 1.0!" height="31" width="88" /></a>
|
||||
<a href="http://www.w3.org/WAI/WCAG1AAA-Conformance" title="Explanation of Level Triple-A Conformance"><img hspace="4" align="left" border="0" height="32" width="88" src="wcag1AAA.gif" alt="Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0" /></a>
|
||||
<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/"><img hspace="4" align="left" alt="Creative Commons License" style="border-width: 0" src="http://creativecommons.org/images/public/somerights20.png"/></a>
|
||||
Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/">Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 License</a>.
|
||||
<!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
<Work rdf:about="">
|
||||
<license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.5/" />
|
||||
<dc:date>2006</dc:date>
|
||||
<dc:rights><Agent><dc:title>Diomidis Spinellis</dc:title></Agent></dc:rights>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
|
||||
</Work>
|
||||
<License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><prohibits rdf:resource="http://web.resource.org/cc/CommercialUse"/></License></rdf:RDF> -->
|
||||
<br />
|
||||
Last modified: $Date$
|
||||
</font>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
|
|
@ -1,4 +1,8 @@
|
|||
<!-- $Id$ -->
|
||||
New releases of UMLGraph are always announced on the corresponding
|
||||
<a href="http://freshmeat.net/projects/umlgraph/">freshmeat.net page</a>.
|
||||
You can use it to subscribe and post comments.
|
||||
|
||||
<h2>Current Production Version</h2>
|
||||
The current version of UMLGraph is VERSION.
|
||||
You can download UMLGraph from the following links:
|
||||
|
|
@ -11,7 +15,6 @@ and the complete documentation in HTML format).
|
|||
(zip file containing the source code, the compiled doclet,
|
||||
and the complete documentation in HTML format).
|
||||
</li>
|
||||
<li> <a href="http://freshmeat.net/projects/umlgraph/">freshmeat.net page</a> (use it to subscribe and post comments).</li>
|
||||
<li> <a href="jars/UmlGraph-VERSION.jar">UmlGraph binary - UmlGraph-VERSION.jar</a>
|
||||
(jar file containing only the UmlGraph classes;
|
||||
please use this only for pulling UmlGraph into other projects).
|
||||
|
|
|
|||
21
web/top.html
21
web/top.html
|
|
@ -9,27 +9,38 @@
|
|||
<title>UMLGraph - Declarative Drawing of UML Diagrams</title>
|
||||
<meta name="AUTHOR" content="Diomidis Spinellis" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: verdana;
|
||||
font-size: 12px;
|
||||
line-height:140%;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding:4px;
|
||||
background-color: #eeeeee;
|
||||
border: 1px solid #000080;
|
||||
}
|
||||
p.footer {
|
||||
font-size: 70%;
|
||||
font-size: 85%;
|
||||
color: #505050;
|
||||
margin-top: 0px;
|
||||
line-height:100%;
|
||||
}
|
||||
h1 {
|
||||
font-family: tahoma;
|
||||
font-size: 30px;
|
||||
background-color: #EEEEFF;
|
||||
border-left: #003399 10px solid;
|
||||
padding: 0px 4px 0px 20px;
|
||||
height: 70px;
|
||||
padding: 20px 4px 20px 20px;
|
||||
height: 30px;
|
||||
margin-top: 0;
|
||||
}
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
font-family: tahoma;
|
||||
background-color: #EEEEFF;
|
||||
border-left: #003399 10px solid;
|
||||
padding: 0px 4px 0px 20px;
|
||||
padding: 5px 4px 5px 20px;
|
||||
}
|
||||
a.menu:link, a.menu:visited {
|
||||
color: blue;
|
||||
|
|
@ -70,4 +81,4 @@ hr { height: 1px; margin-top:1em; }
|
|||
<p class="menu"><br /></p>
|
||||
</td><td>
|
||||
</td><td>
|
||||
<h1>UMLGraph - Declarative Drawing of UML Diagrams</h1>
|
||||
<h1>Automated Drawing of UML Diagrams</h1>
|
||||
|
|
|
|||
Loading…
Reference in New Issue