From: Egon W. <eg...@us...> - 2004-03-31 09:28:00
|
Update of /cvsroot/cdk/cdk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21199 Modified Files: build.xml CHANGELOG Log Message: Added better output about missing src/*.javafiles Index: build.xml =================================================================== RCS file: /cvsroot/cdk/cdk/build.xml,v retrieving revision 1.201 retrieving revision 1.202 diff -u -r1.201 -r1.202 --- build.xml 31 Mar 2004 08:44:19 -0000 1.201 +++ build.xml 31 Mar 2004 09:16:14 -0000 1.202 @@ -166,8 +166,28 @@ </javac> </target> - <target name="runDoclet" id="runDoclet" depends="compileDoclet" - unless="dotjavafiles.uptodate"> + <target name="runDoclet" id="runDoclet" depends="reallyRunDoclet, failIfNoDocletResults"/> + + <target name="checkDocletResults"> + <condition property="dotjavafiles.uptodate"> + <and> + <available file="${src}/core.javafiles" /> + <available file="${src}/standard.javafiles" /> + <available file="${src}/extra.javafiles" /> + <available file="${src}/io.javafiles" /> + </and> + </condition> + </target> + + <target name="failIfNoDocletResults" depends="checkDocletResults" unless="dotjavafiles.uptodate"> + <fail> + There seems to be a problem with building the cdk/src/*.javafiles. + Please report this to cdk...@li... and send the output of + this command: ant -v info runDoclet. + </fail> + </target> + + <target name="reallyRunDoclet" depends="compileDoclet" unless="dotjavafiles.uptodate"> <javadoc private="false" public="true"> <classpath refid="project.class.path" /> <doclet name="MakeJavaFilesFilesDoclet" path="${doc}/javadoc"/> Index: CHANGELOG =================================================================== RCS file: /cvsroot/cdk/cdk/CHANGELOG,v retrieving revision 1.274 retrieving revision 1.275 diff -u -r1.274 -r1.275 --- CHANGELOG 29 Mar 2004 21:37:38 -0000 1.274 +++ CHANGELOG 31 Mar 2004 09:16:14 -0000 1.275 @@ -24,6 +24,7 @@ ReaderListener before trying to cast it * Fixed constructor of MACiEReader which resulted in a NPE * MACiEReader now actually throws an frameRead event when a frame is read +* Added better output about missing src/*.javafiles API changes: * Moved *Manipulator from cdk.tools into cdk.tools.manipulator |