From: <jen...@us...> - 2008-02-17 17:31:00
|
Revision: 592 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=592&view=rev Author: jenslehmann Date: 2008-02-17 09:30:58 -0800 (Sun, 17 Feb 2008) Log Message: ----------- fixed @.todo tag problem in build script Modified Paths: -------------- trunk/build.xml trunk/src/dl-learner/org/dllearner/utilities/ToDoTaglet.java Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2008-02-17 15:55:11 UTC (rev 591) +++ trunk/build.xml 2008-02-17 17:30:58 UTC (rev 592) @@ -13,17 +13,11 @@ <property name="release_tmp_dir" value="release/${version_dir}" /> <property name="release_php_client_tmp_dir" value="release/php-client-${today}" /> - <!-- KAON2 must not be distributed with the official release --> - <property name="kaon2" value="${lib_dir}/kaon2.jar"/> - <!-- set up classpath --> <path id="classpath"> <pathelement location="."/> <fileset dir="${lib_dir}"> <include name="**/*.jar"/> - <include name="**/modules/*.jar"/> - <include name="**/jena/*.jar"/> - <include name="**/owlapi/*.jar"/> </fileset> </path> @@ -55,8 +49,7 @@ <!-- copy all other libraries --> <copy toDir="${release_tmp_dir}/lib"> - <!-- KAON2 has to be excluded, because it cannot be freely distributed --> - <fileset dir="${lib_dir}" excludes="${kaon2}" /> + <fileset dir="${lib_dir}" /> </copy> <!-- copy binary files and examples --> @@ -197,7 +190,7 @@ <pathconvert refid="classpath" property="jdocclasspath"/> <javadoc access="public" author="true" - classpath="${jdocclasspath}" + classpath="${jdocclasspath};${java.home}/../lib/tools.jar" destdir="doc/javadoc" doctitle="DL-Learner Javadoc" nodeprecated="false" Modified: trunk/src/dl-learner/org/dllearner/utilities/ToDoTaglet.java =================================================================== --- trunk/src/dl-learner/org/dllearner/utilities/ToDoTaglet.java 2008-02-17 15:55:11 UTC (rev 591) +++ trunk/src/dl-learner/org/dllearner/utilities/ToDoTaglet.java 2008-02-17 17:30:58 UTC (rev 592) @@ -6,16 +6,20 @@ import com.sun.tools.doclets.Taglet; /** - * Small taglet for showing todo-markers in Javadoc-runs. + * Small taglet for showing todo-markers in Javadoc-runs. You can insert + * the following in comments: * - * Parts of the code are taken from the JDK Javadoc. + * @.todo task + * + * (Note the dot, which avoids conflicts with a possible future @todo + * standard tag.) Parts of the code are taken from the JDK Javadoc. * * @author Jens Lehmann * */ public class ToDoTaglet implements Taglet { - private static final String NAME = "todo"; + private static final String NAME = ".todo"; private static final String HEADER = "To Do:"; /** @@ -26,9 +30,9 @@ } /** - * Will return true since <code>@todo</code> + * Will return true since <code>@.todo</code> * can be used in field documentation. - * @return true since <code>@todo</code> + * @return true since <code>@.todo</code> * can be used in field documentation and false * otherwise. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |