[ 
https://issues.apache.org/jira/browse/DERBY-7028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747308#comment-16747308
 ] 

Rick Hillegas commented on DERBY-7028:
--------------------------------------

Attaching derby-7028-01-aa-jdkSpecificImageLocations.diff. This patch makes the 
javadoc targets copy the module diagrams to different locations, depending on 
the JDK being used.

The experts told me that there was no good way to write a module descriptor 
whose diagram would be found regardless of which JDK was used to build the 
javadoc. So I have done the following:

* Adjusted the module descriptors to locate their diagrams in the same 
directory as the module descriptor's javadoc.
* Added some conditional logic to the javadoc targets to make them copy the 
module diagrams to the correct directories, depending on which JDK is used to 
build the javadoc.

I will attach a follow-on version of this patch in order to fix another 
problem. The experts also said that the border attribute in the <img> tags is 
not supported by HTML 5 and that a future version of Java would require strict 
HTML 5. I need to figure out how to put borders around the module diagrams in 
an HTML5-compatible way.

Touches the following files:

{noformat}
-----------------------
M       build.xml

Conditional logic to copy module diagrams to the correct directories.

-----------------------

M       java/org.apache.derby.client/module-info.java
M       java/org.apache.derby.commons/module-info.java
M       java/org.apache.derby.engine/module-info.java
M       java/org.apache.derby.optionaltools/module-info.java
M       java/org.apache.derby.runner/module-info.java
M       java/org.apache.derby.server/module-info.java
M       java/org.apache.derby.tests/module-info.java
M       java/org.apache.derby.tools/module-info.java

Adjust where the module overviews expect to find their module diagrams.
{noformat}


> Module diagrams missing from javadoc for 15.1.0.0 release candidate
> -------------------------------------------------------------------
>
>                 Key: DERBY-7028
>                 URL: https://issues.apache.org/jira/browse/DERBY-7028
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.15.1.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>            Priority: Major
>         Attachments: derby-7028-01-aa-jdkSpecificImageLocations.diff
>
>
> This must be fixed for the release.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to