Revision: 16870
          http://sourceforge.net/p/gate/code/16870
Author:   markagreenwood
Date:     2013-09-10 05:22:29 +0000 (Tue, 10 Sep 2013)
Log Message:
-----------
add the javadoc stuff to the build file

Modified Paths:
--------------
    gate/trunk/plugins/Lang_Russian/build.xml

Modified: gate/trunk/plugins/Lang_Russian/build.xml
===================================================================
--- gate/trunk/plugins/Lang_Russian/build.xml   2013-09-10 01:20:29 UTC (rev 
16869)
+++ gate/trunk/plugins/Lang_Russian/build.xml   2013-09-10 05:22:29 UTC (rev 
16870)
@@ -8,6 +8,8 @@
        <property name="src.dir" location="src" />
        <property name="classes.dir" location="classes" />
        <property name="jar.location" location="russie.jar" />
+       <property name="doc.dir" location="doc" />
+       <property name="javadoc.dir" location="${doc.dir}/javadoc" />
 
        <!-- Path to compile - includes gate.jar and GATE/lib/*.jar -->
        <path id="compile.classpath">
@@ -47,6 +49,21 @@
                <delete file="${jar.location}" />
        </target>
 
+       <!-- Build JavaDoc documentation -->
+       <target name="doc.prepare">
+               <mkdir dir="${javadoc.dir}" />
+       </target>
+
+       <target name="javadoc" depends="doc.prepare">
+               <javadoc destdir="${javadoc.dir}" packagenames="*" 
classpathref="compile.classpath" encoding="UTF-8" windowtitle="${plugin.name} 
JavaDoc" source="1.6">
+                       <sourcepath>
+                               <pathelement location="${src.dir}" />
+                       </sourcepath>
+                       <link href="http://docs.oracle.com/javase/6/docs/api/"; 
/>
+                       <link href="http://gate.ac.uk/gate/doc/javadoc/"; />
+               </javadoc>
+       </target>
+
        <!-- Targets used by the main GATE build file:
          build: build the plugin - just calls "jar" target
          test : run the unit tests - there aren't any

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to