The Artima Developer Community
Sponsored Link

Java Buzz Forum
Hacking Doclava

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 105
Nickname: sharemefg
Registered: Nov, 2005

Fred Grott is an android developer producing prototype applications for Chicago start-ups
Hacking Doclava Posted: Jun 17, 2012 11:12 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Hacking Doclava
Feed Title: GrottWorkShop
Feed URL: http://shareme.github.io/atom.xml
Feed Description: Android development with a passion for Android, Java, and Agile.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From GrottWorkShop

Advertisement

Okay, I got doclava 1.0.5 to correctly allow to embedd docs while doing javadocs, see my ActiveWallpaper site for pretty javadocs combined with use docs:

ActiveWallpaper

First, this is a fork of doclava done haste so do not go bothering the Google team that commits to doclava. The ClearPage.java corrections are in my doclava fork:

LavaLamp

The rest where I change the templates to account for that damn reference subfolder and backslash are vewiable in the source of my ActiveWallpaper project under the buildSYS subfolders, the gws.assets one:

ActiveWallpaper

The ClearPage Hack

When changes were made between doclava 1.0.3 and doclava 1.0.5 somehow it got goofed up inthat you did not get a correct clearsilver toroot value. The syptoms were that you would get different results if you used toroot, toassets, or them combined.

It turns out its that pesky hard-wried subdir reference that is the problem. So I came up with a new way to compute toroot, it has been submitted to Google but it may not be the right approach. Here is what I came up with:

To Use

Okay, so you want to use it. Download LavaLamp and use the build script to build you a copy of doclava. Now, remember I did not change the default jds and stuff. I did change my references to use toroot and than the assets subpath rather than using toassets so you need to change that in some cs files.

The other changes you will be making is in your jd templates of packages, package, classes, and class. You need to add the reference subfolder and backslash in the path urls, it will be obvious where if you run a test javadoc generation on a sample project as yu will get 404 errors for certain links.

Once you do that you will be able to generate nice project site dosc just like mine.

Read: Hacking Doclava

Topic: Java Decompiler in JDeveloper Previous Topic   Next Topic Topic: Spring vs Guice: The one critical difference that matters

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use