continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1599916 - /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java
Date Wed, 04 Jun 2014 05:35:14 GMT
Author: brett
Date: Wed Jun  4 05:35:14 2014
New Revision: 1599916

URL: http://svn.apache.org/r1599916
Log:
[CONTINUUM-2486] fix backup format for build definitions

Modified:
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java?rev=1599916&r1=1599915&r2=1599916&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-backup/src/main/java/org/apache/maven/continuum/xmlrpc/backup/Backup.java
Wed Jun  4 05:35:14 2014
@@ -260,10 +260,16 @@ public class Backup
                 List<BuildDefinition> bds = bdt.getBuildDefinitions();
                 if ( bds != null && !bds.isEmpty() )
                 {
+
+                    startTag( "buildDefinitions", true );
+
                     for ( BuildDefinition bd : bds )
                     {
                         backupBuildDefinition( bd );
                     }
+
+                    endTag( "buildDefinitions", true );
+
                 }
                 endTag( "buildDefinitionTemplate", true );
             }



Mime
View raw message