This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release22.01 by this push:
     new 50a7044d23 Fixed: We have build problems in branches with plugins 
(OFBIZ-11284)
50a7044d23 is described below

commit 50a7044d230f44404418d8b77a5aa9f813531926
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Mon Feb 13 19:35:46 2023 +0100

    Fixed: We have build problems in branches with plugins (OFBIZ-11284)
    
    OK must be https://github.com/apache/ofbiz-plugins/branches/...
    But does not work for trunk (410):
    https://github.com/apache/ofbiz-plugins/branches/trunk
    So we really need to amend
    
https://cwiki.apache.org/confluence/display/OFBIZ/Release+Management+Guide+for+OFBiz
---
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 7a1db6944a..4d24c9c6a5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -959,7 +959,7 @@ task pullPluginSource(group: ofbizPlugin, description: 
'Download and install a p
         // GitHub SVN feature 
https://docs.github.com/en/github/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients
         task pullPluginFromSvn(type: SvnCheckout) {
             def currentBranch = getCurrentGitBranch()
-            svnUrl = "https://github.com/apache/ofbiz-plugins/"; + 
currentBranch + "/${pluginId}"
+            svnUrl = "https://github.com/apache/ofbiz-plugins/branches/"; + 
currentBranch + "/${pluginId}"
             workspaceDir = "${pluginsDir}/${pluginId}"
         }
         dependsOn pullPluginFromSvn
@@ -978,7 +978,7 @@ task pullAllPluginsSource(group: ofbizPlugin,
     task pullPluginsFromSvn(type: SvnCheckout, dependsOn: deleteBeforePulling) 
{
         // GitHub SVN feature 
https://docs.github.com/en/github/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients
         def currentBranch = getCurrentGitBranch()
-        svnUrl = "https://github.com/apache/ofbiz-plugins/"; + currentBranch
+        svnUrl = "https://github.com/apache/ofbiz-plugins/branches/"; + 
currentBranch
         workspaceDir = "${pluginsDir}"
     }
     dependsOn pullPluginsFromSvn

Reply via email to