diff --git a/Makefile b/Makefile index 2304869..666c832 100644 --- a/Makefile +++ b/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 diff --git a/index.html b/index.html deleted file mode 100644 index 359e6f5..0000000 --- a/index.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -UMLGraph - Declarative Drawing of UML Diagrams - - - -

UMLGraph - Declarative Drawing of UML Diagrams

-UMLGraph banner - -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 IEEE Software article titled -On the declarative specification of models -explains the rationale behind this approach. -The tehnology behind UMLGraph was used to draw many of the diagrams -appearing in the award-winning books -Code Quality: The Open Source Perspective (Addison Wesley, 2006) and -Code Reading: The Open Source Perspective (Addison Wesley, 2003). -In addition, -the UMLGraphDoc doclet included in this distribution automatically -adds UML diagrams to javadoc documentation; -you can find a short and clear -tutorial on how to automatically document your project with UML diagrams -on DZone's Javalobby. - -

-Many programs build on UMLGraph; follow this link -for more details. -In addition, -Martin Fowler, the author of -UML Distilled, writes: -

-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. -
-Martin has created a -bliki entry -describing his ideas of what an ideal textual language might look like. - -

Class Diagrams

-One specifies a class diagram using the Java syntax complemented by -javadoc -tags. -Running the UmlGraph doclet on the specification will generate -a -Graphviz -diagram specification that can be automatically processed to -create Postscript, GIF, SVG, JPEG, fig, or Framemaker drawings. -

-The following is an example of a class diagram specification and the resulting UML -diagram: - -
-
-class Person {
-	String Name;
-}
-
-class Employee extends Person {}
-
-class Client extends Person {}
-
-
-Simple UML class diagram -
- -

Sequence Diagrams

-One specifies a sequence diagram using pic macros to define -objects and method invocations. -The GNU plotutils -pic2plot 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. -

-The following is an example of a sequence diagram specification and the -resulting UML diagram: - -
-
-# 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);
-
-
-Simple UML sequence diagram -
- -

Download and Links

-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: - - - -

-Diomidis Spinellis home page -


- -Valid XHTML 1.0! -Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 -Creative Commons License -Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License. -
-Last modified: $Date$ -
- - diff --git a/oldversion.html b/oldversion.html deleted file mode 100644 index 54fad22..0000000 --- a/oldversion.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - -UMLGraph - Old Versions - - - -

UMLGraph dds

-

UMLGraph - Old Versions

- -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. - - -

-UMLGraph home page -


- -Valid XHTML 1.0! -Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 -Creative Commons License -Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 License. - -
-Last modified: $Date$ -
- - diff --git a/umlgraph-banner.png b/umlgraph-banner.png deleted file mode 100644 index cc04442..0000000 Binary files a/umlgraph-banner.png and /dev/null differ diff --git a/web/download.html b/web/download.html index fe941e5..304ca6f 100644 --- a/web/download.html +++ b/web/download.html @@ -1,4 +1,8 @@ +New releases of UMLGraph are always announced on the corresponding +freshmeat.net page. +You can use it to subscribe and post comments. +

Current Production Version

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). -
  • freshmeat.net page (use it to subscribe and post comments).
  • UmlGraph binary - UmlGraph-VERSION.jar (jar file containing only the UmlGraph classes; please use this only for pulling UmlGraph into other projects). diff --git a/web/top.html b/web/top.html index 07691ab..1366967 100644 --- a/web/top.html +++ b/web/top.html @@ -9,27 +9,38 @@ UMLGraph - Declarative Drawing of UML Diagrams