| 
  
    
  | 
            
  | 
        
            
 
 
 
 
 
    [
        Permlink
              | « Hide
    ]
     
        
                        
    
            Robin Shen [26/Sep/09 01:15 AM]
 
    Thanks for the report. We will fix this by not creating any build directories if the original publish directory can not be found. The fix will be contained in 2.0.1 which will be released soon.   
> You may avoid migrating published artifacts of old builds by renaming the global publish directory in 1.x to a different directory temporarily.
 
That's almost exactly what I've done. Actually I copied the 1.x installation to another server and performed migration there for performance reasons and I completely skipped the 1.x publish directory when copying. However it still creates these directories in new storage path, just they are empty now. So the problem with filesystem limitation of n subdirectories per directory still persists even in this case. As a workaround I setup a simple check for the amount of subdirectories in the new storage path and if there were more than 5000 entries I just deleted them. This let the migration to finish at least. You may avoid migrating published artifacts of old builds by renaming the global publish directory in 1.x to a different directory temporarily. 
 
To put build artifacts under project names, please just specify the storage path property of the root configuration as /path/to/storage/${configuration.pathName}  | |||||||||||||||||||||||||||||||||||||||||||||||||||||