(I’ve moved this discussion to
aspectj-dev because its too easy to get confused about status with private
emails being sent, and I think that we should err on the side of public
discussion).
Thanks for helping ajdoc along George, that’s great!
I was hoping to dodge the task of AJDT
integration (56775). However, I think that this is the best path to ensuring
that it works on a larger system (i.e. the AspectJ modules), and that we
support Eclipse users.
This involves making it understand the
options used by Eclipse, parse Eclipse’s generated argument files (just
did that), and fixing any errors unearthed. Without ensuring that it
works on something big I’m sure that people will see it crash as soon as
it runs on real projects. So I plan on doing this tomorrow and will
report my progress later in the day.
Mik
From: George Harley1
[mailto:GHARLEY@xxxxxxxxxx]
Sent: Monday, April 05, 2004 9:37 AM
To: beatmik@xxxxxxxxx
Cc: 'Russell Miles'
Subject: RE: [aspectj-dev] ajdoc
is dead, long live ajdoc
Hi,
It
looks like ajdoc is building OK now. The classes are in aspectjtools.jar ; the
launcher scripts are being generated (they put JAVA_HOME/lib/tools.jar on the
classpath) and the HTML documentation is present (and correct ?).
When
I ran through the ajdoc example that pointed it at the spacewar and
coordination packages I found what looked like a nasty bug. In the generated
HTML files, links from advice to types and methods in other packages were
broken. For example, for aspect coordination.Coordinator, the "before() :
synchronizationPoint.." advice advises plenty of stuff in the spacewar
package (e.g. spacewar.Robot.run, spacewar.SpaceObject etc). The visible HTML
for these advises was correct but the HREF string in the link was not taking
package names into account. Through Andy
I checked in a fix for this. The affected file is
org/aspectj/tools/ajdoc/HtmlDecorator.java. My fix was done in haste in order
to help get 1.2 out the door....