Skip to content

Commit

Permalink
Added a javadocs target as requested by forum user
Browse files Browse the repository at this point in the history
  • Loading branch information
lgriffiths committed May 15, 2011
1 parent 82b6b8e commit 89fc66c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions org.lejos.example/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ nxj.home=${env.NXJ_HOME}
main.class=HelloWorld
package=org.lejos.example

docs=doc



24 changes: 24 additions & 0 deletions org.lejos.example/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,30 @@
<arg value="${pc}" />
</java>
</target>

<!-- generate javadocs -->
<target name="docs" description="generate javadocs">
<delete dir="${docs}" />

<mkdir dir="${docs}" />
<javadoc
destdir="${docs}"
charset="utf-8"
locale="en_US"
author="true"
access="protected"
windowtitle="Project documentation"
verbose="false"
>
<classpath refid="lejos.nxt" />
<arg value="-extdirs"/>
<arg value="-quiet"/>

<packageset
dir="${src}"
/>
</javadoc>
</target>

<!-- used only for modifying the Netbeans NXJPlugin -->
<target name="Zip for Netbeans" description="Zip the application to the sample project">
Expand Down

0 comments on commit 89fc66c

Please sign in to comment.