| Summary: | [releng][docs] add javadocs generation to automated build | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] ECF | Reporter: | Scott Lewis <slewis> | ||||||
| Component: | ecf.releng | Assignee: | Markus Kuppe <bugs.eclipse.org> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.4.0 | ||||||||
| Target Milestone: | 3.4.1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Scott Lewis
Setting target milestone to 3.4.1 Following an article about Javadoc generation with Bucky [0], this is the current WIP. <!-- buckminster.cspex --> <?xml version="1.0" encoding="UTF-8"?> <cspecExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns="http://www.eclipse.org/buckminster/CSpec-1.0"> <dependencies> </dependencies> <generators> <!-- Place your Generators here --> </generators> <artifacts> <!-- Place your Artifacts here --> </artifacts> <actions> <public name="create.javadoc" actor="ant"> <actorProperties> <property key="buildFile" value="javadoc.xml"/> <property key="targets" value="javadoc"/> </actorProperties> <properties> <property key="source" value="${source}"/> <property key="output" value="${output}"/> <property key="targetPlatformPath" value="${targetPlatformPath}"/> </properties> </public> </actions> <groups> <!-- Place your Groups here --> </groups> <alterDependencies> <!-- Place your Dependencies alterations here --> </alterDependencies> <alterArtifacts> <!-- Place your Artifact alterations here --> </alterArtifacts> <alterActions> <!-- Place your Action alterations here --> </alterActions> <alterGroups> <!-- Place your Group alterations here --> </alterGroups> </cspecExtension> <!-- javadoc.xml --> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <project default="javadoc"> <path id="files-classpath"> <fileset dir="${targetPlatformPath}/"> <include name="**/*.jar" /> </fileset> <fileset dir="${source}/"> <include name="**/bin/**/*.class" /> </fileset> </path> <target name="javadoc"> <echo message="javadoc source ${source}"> </echo> <echo message="javadoc destination ${output}"> </echo> <echo message="target platform ${targetPlatformPath}"> </echo> <javadoc destdir="${output}" additionalparam="-J-Xmx256m -tag model:a:Model -tag generated:a:Generated -tag noreference:tcmf:DoNotReference -tag ordered:a:Ordered -tag noimplement:a:NoImplement -tag noextend:a:NoExtend " classpath="files-classpath" splitindex="true" access="protected" source="1.5" use="true" author="false" version="true"> <link offline="false" href="http://www.osgi.org/javadoc/r4v42/"/> <link offline="false" href="http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/reference/api/"/> <fileset dir="${source}/" defaultexcludes="true"> <include name="framework/**/*.java"/> <exclude name="**/ui/**"/> <exclude name="**/incubation/**"/> <exclude name="**/internal/**"/> <exclude name="**/ch/**"/> <exclude name="**/jmdns/**"/> <exclude name="**/tests/**"/> </fileset> </javadoc> </target> </project> [0] http://swissdev.blogspot.com/2010/03/running-javadocjunitemma-on-hudson.html Created attachment 181358 [details]
mylyn/context/zip
Javadoc can now be generated by performing the Buckminster target org.eclipse.ecf#create.javadoc. What is left missing is uploading the javadoc/ to eclipse.org. The question is however, if we need to check javadoc into the org.eclipse ecf/ project in CVS or just upload to download.eclipse.org instead and link it from the ECF website. Created attachment 181463 [details]
mylyn/context/zip
Marking as fixed, if javadoc should end up somewhere official (e.g. ECF website...) please file a new bug. |