Author: upayavira
Date: Mon Oct 11 03:35:06 2004
New Revision: 54552

Modified:
   
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/AntDelegate.java
Log:
Fixing bug #29360, ant precompile prob.

Modified: 
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/AntDelegate.java
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/AntDelegate.java
       (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/bean/helpers/AntDelegate.java
       Mon Oct 11 03:35:06 2004
@@ -27,7 +27,7 @@
  * introspection (due to classpath issues).
  *  
  * @author <a href="mailto:[EMAIL PROTECTED]">Upayavira</a>
- * @version CVS $Id: AntDelegate.java,v 1.3 2004/04/30 12:55:55 upayavira Exp $
+ * @version CVS $Id$
  */
 public class AntDelegate {
 
@@ -39,7 +39,7 @@
 
         System.out.println(CocoonBean.getProlog());
 
-        if (cocoon.getTargetCount() ==0 && cocoon.isPrecompileOnly()) {
+        if (!cocoon.isPrecompileOnly() && cocoon.getTargetCount() ==0) {
             listener.messageGenerated("Please, specify at least one starting 
URI.");
             System.exit(1);
         }

Reply via email to