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

On Wed, Oct 31, 2018 at 1:58 AM Myrle Krantz <[email protected]> wrote:

> Hey James,
>
> From your pastebin:
>
> "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
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
>   Required by:
>       project :"
>
> Have you cloned and locally published payroll?
>
> Best Regards,
> Myrle
>
> P.S.  For little things like this, pastebin is both unnecessary and
> problematic.  It means important information gets moved "offlist"
> where people with the same problem can't use our lists to search for a
> solution.
>
> On Tue, Oct 30, 2018 at 11:01 PM James Dailey <[email protected]>
> wrote:
> >
> > Awasum - yep. Missed that.  Thanks.
> >
> > Ok. with java 1.8 JDK installed I made good progress.  Build successful.
> > Then Failed on the demo server and fims.
> >
> > Then some Build failures... help please.
> > https://pastebin.com/cHE2kgjj
> >
> > James
> >
> > On Mon, Oct 29, 2018 at 10:49 PM Awasum Yannick <[email protected]>
> wrote:
> >
> > > Hello James,
> > >
> > > Use Java 1.8 (Java 8)
> > >
> > > On Tue, Oct 30, 2018 at 6:32 AM James Dailey <[email protected]>
> > > wrote:
> > >
> > > > FIRST...
> > > > I'm trying to follow the instructions to get to a build, per
> > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> > > > .
> > > > I will provide some feedback on this if I can get further, but at the
> > > > moment the Builds are failing.
> > > >
> > > > I wonder if anyone has had issues with this script
> > > > <
> > > >
> > >
> https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh
> > > > >
> > > >  and the builds of each of the microservices and how to troubleshoot?
> > > >
> > > > I keep getting an error during "* Configuring > 0/1 projects > root
> > > project
> > > > > Resolving dependencies ':classpath'"   *
> > > > for each of the builds (I think it would be the script line: >
> /gradlew
> > > > publishToMavenLocal )
> > > >
> > > > https://pastebin.com/XHz4JZQg  for output
> > > >
> > > > I think I skipped this step:  "Ensure that artifacts are in
> > > > $USER_HOME/.m2/repository"
> > > > ,
> > > >
> > > > $USER_HOME/.m2 exists but is empty
> > > >
> > > > When/how is the repository supposed to be created?
> > > >
> > > >
> > > > Macintosh-2:fineractCN jamesdailey$ mvn -version
> > > >
> > > > *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> > > > 2018-06-17T11:33:14-07:00)*
> > > >
> > > > Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> > > >
> > > > Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
> > > > /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
> > > >
> > > > Default locale: en_US, platform encoding: UTF-8
> > > >
> > > > OS name: "mac os x", version: "10.13.6", arch: "x86_64", family:
> "mac"
> > > > ---
> > > > SECOND...
> > > > At the end of the day, what I am really trying to get to is a
> deployment
> > > of
> > > > Fineract-CN with a server on AWS or Google or other hosted
> > > infrastructure.
> > > > This makes me think I should follow
> > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
> > > > to get to a run time version.
> > > >
> > > > The key think I would like to get is a set of basic APIs visible so
> that
> > > > other devs (I have a small group I would like to bring into the
> project)
> > > > can do some basic app work, and that might hopefully extend
> > > > https://github.com/apache/fineract-cn-fims-web-app  . Additional
> > > > microservices may be needed.
> > > >
> > > > Thanks
> > > >
> > >
>

Reply via email to