You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by le...@apache.org on 2004/06/14 16:28:28 UTC

svn commit: rev 21210 - excalibur/trunk/buildsystem/jbs

Author: leosimons
Date: Mon Jun 14 07:28:27 2004
New Revision: 21210

Modified:
   excalibur/trunk/buildsystem/jbs/build-project.xml
Log:
It's a bug! It's a bug! XMLutil should build now...

Modified: excalibur/trunk/buildsystem/jbs/build-project.xml
==============================================================================
--- excalibur/trunk/buildsystem/jbs/build-project.xml	(original)
+++ excalibur/trunk/buildsystem/jbs/build-project.xml	Mon Jun 14 07:28:27 2004
@@ -513,7 +513,7 @@
         {
             skipAllDownloads = project.getProperty("do.not.download");
             quiet = project.getProperty("be.real.quiet");
-            
+
             if(skipAllDownloads == null && quiet == null)
             {
               msg =  "=======================================================================\n";
@@ -562,18 +562,18 @@
 
               artifact = dependency[0];
               version = "SNAPSHOT";
-              if( dependency.length > 1 && dependency[1] != "-" )
-                  version = dependency[1];
-
               group = artifact;
               repository = defaultRepository;
+
+              if( dependency.length > 1 && dependency[1] != "-" )
+                  version = dependency[1];
               if(dependency.length > 2 && dependency[2] != "-" )
               {
                 group = dependency[2];
-                if( dependency.length > 3 && dependency[3] != "-" )
-                {
-                  repository = dependency[3];
-                }
+              }
+              if( dependency.length > 3 && dependency[3] != "-" )
+              {
+                repository = dependency[3];
               }
 
               localDir = localRepository + sep + group + sep + "jars" + sep;
@@ -594,7 +594,7 @@
                 if( !file.exists() )
                   doDownload = true;
               }
-              
+
               if(skipAllDownloads != null) doDownload = false;
 
               if(doDownload)

---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org