Bug 1200413 - Projects with inter-dependencies cause Business Central build exceptions after cloning repo
Summary: Projects with inter-dependencies cause Business Central build exceptions afte...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
: 1248303 (view as bug list)
Depends On:
Blocks: 1198932
TreeView+ depends on / blocked
 
Reported: 2015-03-10 14:05 UTC by Petr Široký
Modified: 2020-03-27 19:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:04:11 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)

Description Petr Široký 2015-03-10 14:05:35 UTC
Description of problem:
In case there are inter-dependencies between projects in single git repo, the internal BC build fails after cloning that repo, throwing undesired exceptions in the log. This seems to happen, because BC builds the projects (in the cloned repo) based on alphabetical order. So in some cases the build fails, because the one of the projects depends on not yet built project.

I think we could extend the BC to scan the projects in the newly cloned repo, create correct build order based on the inter dependencies between the projects and then build the modules in that order. This way, everything would work out of the box for the users.

This is not really a major issue as users can always build the projects manually in correct order. But throwing the exceptions after the repo clone may certainly scare the users to think that something is very wrong.


Version-Release number of selected component (if applicable):
6.1.0.ER6


Steps to Reproduce:
0. Make sure you don't have any artifacts with prefix org/jboss/quickstars/brms in your local maven repo
(if you do, you most probably won't see the build error)
1. Clone new repo from https://github.com/jboss-developer/jboss-brms-repository
2. See the server log. 


Actual results:
Exceptions in server log, saying that one of the projects can not be built.


Expected results:
All projects are built successfully.


Additional info:

Comment 1 Ryan Zhang 2016-04-19 11:24:03 UTC
*** Bug 1248303 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.