ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1468199 - /ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java
Date Mon, 15 Apr 2013 19:28:28 GMT
Author: jlboudart
Date: Mon Apr 15 19:28:28 2013
New Revision: 1468199

URL: http://svn.apache.org/r1468199
Log:
set forcedeliver on submodules when publication on build scoped repository is activated

Modified:
    ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java

Modified: ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java
URL: http://svn.apache.org/viewvc/ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java?rev=1468199&r1=1468198&r2=1468199&view=diff
==============================================================================
--- ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java (original)
+++ ant/easyant/core/trunk/src/main/java/org/apache/easyant/tasks/SubModule.java Mon Apr 15
19:28:28 2013
@@ -31,9 +31,9 @@ import java.util.Vector;
 import org.apache.easyant.core.EasyAntConstants;
 import org.apache.easyant.core.EasyAntMagicNames;
 import org.apache.easyant.core.ant.ProjectUtils;
-import org.apache.easyant.core.ant.listerners.BuildExecutionTimer.ExecutionResult;
 import org.apache.easyant.core.ant.listerners.MultiModuleLogger;
 import org.apache.easyant.core.ant.listerners.SubBuildExecutionTimer;
+import org.apache.easyant.core.ant.listerners.BuildExecutionTimer.ExecutionResult;
 import org.apache.easyant.core.ivy.IvyInstanceHelper;
 import org.apache.ivy.ant.IvyPublish;
 import org.apache.ivy.ant.IvyResolve;
@@ -236,6 +236,7 @@ public class SubModule extends AbstractE
                         ivyPublish.setOwningTarget(getOwningTarget());
                         ivyPublish.setLocation(getLocation());
                         ivyPublish.setOverwrite(overwrite);
+                        ivyPublish.setForcedeliver(true);
                         ivyPublish.setTaskName("publish-buildscoped-repository");
                         ivyPublish.execute();
                     } else {
@@ -295,8 +296,8 @@ public class SubModule extends AbstractE
         addReferences(subModule);
 
         getEasyAntEngine().configureEasyAntIvyInstance(subModule);
-        subModule.addReference(EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE,
-                getProject().getReference(EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE));
+        subModule.addReference(EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE, getProject().getReference(
+                EasyAntMagicNames.PLUGIN_SERVICE_INSTANCE));
 
         subModule.setName(file.getName());
         subModule.setBaseDir(directory);



Mime
View raw message