Follow-up on previous rename-only commit. This time, the binaries are real PNGs. The asciidoc and other references to them have also been replaced. File figures_classes.png in the teaching materials also was rotated by 90° to display it correctly. Background: The Asciidoctor PDF back-end cannot handle GIFs directly without an additional Ruby Gem. It is easier to only use PNGs and JPEGs. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>tags/V1_9_21_1
@@ -59,7 +59,7 @@ | |||
location="${aspectj.modules.dir}/ajde/src/main/resources/org/aspectj/ajde/resources/actions" | |||
/> | |||
<property name="include.devguide.icons" | |||
value="build.gif,openConfig.gif,browseroptions.gif" | |||
value="build.png,openConfig.png,browseroptions.png" | |||
/> | |||
<!-- callers of xml-html use these by default --> | |||
@@ -289,7 +289,7 @@ | |||
<param name="guide.dir" value="progguide" /> | |||
<param name="guide.name" value="progguide" /> | |||
<param name="xml-html-copy" | |||
value="dd_arrow.gif,aspects.gif,figureUML.gif,overview.gif,telecom.gif,aspectj-docs.css"/> | |||
value="dd_arrow.png,aspects.png,figureUML.png,overview.png,telecom.png,aspectj-docs.css"/> | |||
</antcall> | |||
</target> | |||
@@ -298,7 +298,7 @@ | |||
<param name="guide.dir" value="adk15notebook" /> | |||
<param name="guide.name" value="adk15notebook" /> | |||
<param name="xml-html-copy" | |||
value="dd_arrow.gif,aspectj-docs.css"/> | |||
value="dd_arrow.png,aspectj-docs.css"/> | |||
</antcall> | |||
</target> | |||
@@ -313,7 +313,7 @@ | |||
<antcall target="build-guide"> | |||
<param name="xml-html-copy" | |||
value="dd_arrow.gif,aspectj-docs.css,ajbrowser-building.gif,ajbrowser-options.gif,${include.devguide.icons}" | |||
value="dd_arrow.png,aspectj-docs.css,ajbrowser-building.png,ajbrowser-options.png,${include.devguide.icons}" | |||
/> | |||
<param name="guide.dir" value="devguide" /> | |||
<param name="guide.name" value="devguide" /> | |||
@@ -335,7 +335,7 @@ | |||
<antcall target="build-guide"> | |||
<param name="xml-html-copy" | |||
value="dd_arrow.gif,aspectj-docs.css,ajbrowser-building.gif,ajbrowser-options.gif,${include.pdguide.icons}" | |||
value="dd_arrow.png,aspectj-docs.css,ajbrowser-building.png,ajbrowser-options.png,${include.pdguide.icons}" | |||
/> | |||
<param name="guide.dir" value="pdguide" /> | |||
<param name="guide.name" value="pdguide" /> | |||
@@ -415,7 +415,7 @@ | |||
<antcall target="build-pdf"> | |||
<param name="xml-html-copy" | |||
value="ajbrowser-building.gif,ajbrowser-options.gif,${include.devguide.icons}" | |||
value="ajbrowser-building.png,ajbrowser-options.png,${include.devguide.icons}" | |||
/> | |||
<param name="guide.dir" value="devguide" /> | |||
<param name="guide.name" value="devguide" /> |
@@ -21,7 +21,7 @@ for AspectJ-1.2. | |||
runtime and must be redistributed with any system built using AspectJ. | |||
This module has no external dependencies and produces a tiny ~30KB jar. | |||
image:images/overview.gif[image] | |||
image:images/overview.png[image] | |||
The AspectJ compiler accepts both AspectJ bytecode and source code and | |||
produces pure Java bytecode as a result. Internally it has two stages. | |||
@@ -94,7 +94,7 @@ aspect A { | |||
When parsed, this program will produce the following tree. | |||
image:images/top-tree.gif[image] | |||
image:images/top-tree.png[image] | |||
==== PointcutDeclaration processing | |||
@@ -105,7 +105,7 @@ Let's look more closely at the pointcut declaration: | |||
pointcut entries(Main o): execution(void doit()) && this(o); | |||
.... | |||
image:images/pointcut-dec.gif[image] | |||
image:images/pointcut-dec.png[image] | |||
The pointcut declaration is implemented as a subtype of a method | |||
declaration. The actual pointcut is parsed by the weaver module. This | |||
@@ -131,7 +131,7 @@ postParse, the selector is filled in and several additional arguments | |||
are added for the special thisJoinPoint forms that could be used in the | |||
body. | |||
image:images/advice-dec.gif[image] | |||
image:images/advice-dec.png[image] | |||
At this point the statements field which will hold the body of the | |||
advice is still null. This field is not filled in until the second stage | |||
@@ -142,7 +142,7 @@ prelude to generating the classfile. | |||
The main classes in this module are shown in the following diagram: | |||
image:images/ajdt-uml.gif[image] | |||
image:images/ajdt-uml.png[image] | |||
=== Weaving back-end (weaver) | |||
@@ -287,7 +287,7 @@ aspects, though simple, are not totally trivial. | |||
The diagram below gives an overview of the aspects and their interaction | |||
with the class `Point`. | |||
image:images/aspects.gif[image] | |||
image:images/aspects.png[image] | |||
===== The `CloneablePoint` aspect | |||
@@ -1314,7 +1314,7 @@ is used to connect them. Conference calls between more than two | |||
customers will involve more than one connection. A customer may be | |||
involved in many calls at one time. | |||
image:images/telecom.gif[image] | |||
image:images/telecom.png[image] | |||
===== The `Customer` class | |||
@@ -60,7 +60,7 @@ The features are presented using a simple figure editor system. A | |||
is also a `Display`. Most example programs later in this chapter are | |||
based on this system as well. | |||
image:images/figureUML.gif[ UML for the `FigureEditor` example ] | |||
image:images/figureUML.png[ UML for the `FigureEditor` example ] | |||
The motivation for AspectJ (and likewise for aspect-oriented | |||
programming) is the realization that there are issues or concerns that |
@@ -1,4 +1,4 @@ | |||
<!-- | |||
<!-- | |||
This build script will create a directory called burn that is | |||
_almost_ suitable for burning onto a CD. However, there | |||
@@ -49,7 +49,7 @@ and a clean AspectJ installer. | |||
<delete dir="${printdir}/exercises.pdf.contents" /> | |||
<mkdir dir="${printdir}/exercises.pdf.contents" /> | |||
<copy toDir="${printdir}/exercises.pdf.contents" file="index.html" /> | |||
<copy toDir="${printdir}/exercises.pdf.contents" file="figures_classes.gif" /> | |||
<copy toDir="${printdir}/exercises.pdf.contents" file="figures_classes.pdf" /> | |||
<copy toDir="${printdir}/exercises.pdf.contents" file="${aj.home}/doc/quick.pdf" /> | |||
<delete dir="${printdir}/install.pdf.contents" /> | |||
@@ -68,7 +68,7 @@ and a clean AspectJ installer. | |||
</target> | |||
<target name="event" depends="tools,exercises"> | |||
<filter token="aj.event" value="${aj.event}" /> | |||
<filter token="aj.event" value="${aj.event}" /> | |||
<copy file="install.txt" toDir="${eventdir}" filtering="yes" /> | |||
</target> | |||
@@ -82,7 +82,7 @@ and a clean AspectJ installer. | |||
<target name="tools" depends="skeleton"> | |||
<mkdir dir="${eventdir}/aspectj" /> | |||
<filter token="aj.event" value="${aj.event}" /> | |||
<filter token="aj.event" value="${aj.event}" /> | |||
<copy toDir="${eventdir}/aspectj"> | |||
<fileset dir="${aj.home}" excludes="bin/**" /> | |||
@@ -118,4 +118,3 @@ and a clean AspectJ installer. | |||
</target> | |||
</project> | |||
@@ -684,6 +684,6 @@ an active user community for AspectJ at</p> | |||
</div> | |||
<img style="newpage" src="figures_classes.gif" height="900" alt="" /> | |||
<img style="newpage" src="figures_classes.png" height="900" alt="" /> | |||
</body> </html> |