avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 21548 - avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks
Date Mon, 21 Jun 2004 17:14:05 GMT
Author: mcconnell
Date: Mon Jun 21 10:14:04 2004
New Revision: 21548

Modified:
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/JavadocTask.java
Log:
correct behaviour in the case of a project with no dependencies

Modified: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/JavadocTask.java
==============================================================================
--- avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/JavadocTask.java	(original)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/JavadocTask.java	Mon Jun
21 10:14:04 2004
@@ -195,7 +195,7 @@
     {
         ResourceRef[] refs = 
           def.getResourceRefs( Policy.RUNTIME, category, true );
-        if( refs.length > 0 )
+        if( flag || ( refs.length > 0 ))
         {
             String message = ResourceRef.getCategoryName( category );
             generate( def, classpath, refs, category, root, flag );

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message