> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: 27 August 2004 01:15
> To: Avalon Developers List
> Subject: [patch] GumpTask.java
> 
> 
> 
> The following patch updates Magic's GumpTask to generate dependency
> declarations for all types of projects (not just jar files).  This
> change correct the problem with the examples project which was
> attempting to reference the blck generated by a project that Gump has
> not build (because the dependency was not declared).

Woops - slight update:

Index: src/main/org/apache/avalon/tools/tasks/GumpTask.java
===================================================================
--- src/main/org/apache/avalon/tools/tasks/GumpTask.java
(revision 37083)
+++ src/main/org/apache/avalon/tools/tasks/GumpTask.java        (working
copy)
@@ -625,13 +625,13 @@
         else
         {
             String type = resource.getInfo().getType();
-            if( "jar".equals( type ) )
+            if( "null".equals( type ) )
             {
-                return false;
+                return true;
             }
             else
             {
-                return true;
+                return false;
             }
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to