Hey James, So to be honest, I don't use the script. And once it has failed, it isn't built to be self-repairing as far as I can tell. Let's just get the demo-server build working on your machine, and then maybe you can go back and figure out why the script isn't working in your environment and maybe make a PR.
Have you tried the following? > cd <the_directory_you're_keeping_your_fineract_repos_in> > git clone https://github.com/jdailey/fineract-cn-payroll # this is where I believe you've reached successfully > cd fineract-cn-payroll > ./gradlew publishToMavenLocal # this is what appears to have failed at some point here. That last command should publish the two artifacts in payroll (api and service) to your local artifactory. Presumably this is what has failed at some point on your machine. What error message do you get when you try to execute that? (Please keep in mind, I haven't used a Mac computer since high school, so you may have to "re-interpret" some of those commands for your environment.) Best Regards, Myrle On Wed, Oct 31, 2018 at 7:51 PM James Dailey <[email protected]> wrote: > Myrle - > > I think something else is going on... with the script. > > When I watch it doing the Build, it is skipping over certain repos, and so > I'm trying to figure out where it is failing. > > So, I commented out one of the repos in the script which seems to be a > problem for gradle and also split these repo builds into different calls of > get_modules() > > ... script: initial-setup.sh > > get_modules fineract-cn-anubis fineract-cn-identity > fineract-cn-permitted-feign-client fineract-cn-provisioner > fineract-cn-rhythm > > #get modules fineract-cn-template > > get modules fineract-cn-office fineract-cn-customer fineract-cn-group > fineract-cn-accounting fineract-cn-portfolio > > get modules fineract-cn-deposit-account-management fineract-cn-cheques > > get modules fineract-cn-payroll fineract-cn-teller fineract-cn-reporting > fineract-cn-notifications > > .... > > get_modules() { > > for module in $@ > > do > > git clone https://github.com/$githubAccount/$module.git > > cd $module > > git remote add upstream https://github.com/apache/$module.git > > # For some reason permission gets denied > > chmod +x gradlew > > ./gradlew publishToMavenLocal > > cd .. > > done > > } > > Anyway, this solves some of the issues but /and, I still have a build > FAILURE , about missing payroll api > > Payroll is available in my git hub: > https://github.com/jdailey/fineract-cn-payroll > > > FAILURE: Build failed with an exception. > > * What went wrong: > > Could not resolve all dependencies for configuration > ':detachedConfiguration5'. > > > Could not find org.apache.fineract.cn.payroll:api:0.1.0-BUILD-SNAPSHOT. > > Searched in the following locations: > > > > https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml > > Looking at the created local clones, which the script does, the cn-payroll > directory does not get created, and neither do any of the following ones > for teller, reporting, notifications. > > Thanks, > - James >
