Does the command ./gradlew run? As Sander said.. ensure it has the execute
permission.

Regards
Gurpreet



On 28 January 2014 20:52, Binny Gopinath Sreevas
<[email protected]>wrote:

> Yes. I did.
>
>
>
> Thanks
> Binny
>
>
>
>
>
> *From:* Sander van der Heyden [mailto:[email protected]]
> *Sent:* 28 January 2014 18:35
> *To:* A good place to start for users or folks new to Mifos.
> *Cc:* Mifos software development
> *Subject:* Re: [Mifos-users] Building Mifos X on RedHat Linux
>
>
>
> Hi Binny,
>
>
>
> Did you make the gradlew file executable? chmod +x gradlew ?
>
> --
>
>
>
> Sander van der Heyden
>
>
>
>
>
>
>
>
> Mobile (NL): +31 (0)6 14239505
>
> Mobile (Kenya): +254 (0)707211284
>
> Skype: s.vdheyden
>
> Website: musonisystem.com
> Follow us on Twitter <http://twitter.com/MusoniMFI>!
> Postal address: Hillegomstraat 12-14, office 1.11, 1058 LS, Amsterdam, The
> Netherlands
>
>
>
>
> On 28 Jan 2014, at 12:29, Binny Gopinath Sreevas <[email protected]>
> wrote:
>
>
>
> Hello,
>
>
>
> I am trying to build Mifos X on a box running Red Hat Enterprise Linux 6.4
>
>
>
> I need to build Mifos X on this machine afresh as I intend to do some
> performance tests on it and hence, it was recommended to me to use a
> compiler on this machine (rather than use a pre-compiled deployable of
> Mifos X)
>
>
>
> Steps I followed:
>
> a)      Copied the source code (after zipping) from my windows box to
> this Linux box and unzipped it
>
> /home/u0013755/bgs/mifosx/mifosng-provider
>
> b)      Copied gradle 1.9 zip file to the Linux box and unzipped it
>
> /home/u0013755/bgs/gradle-1.9
>
> c)       Set environment variables:
>
> GRADLE_HOME=/home/u0013755/bgs/gradle-1.9
>
> JAVA_HOME=/usr/lib/jvm/jdk1.7.0
>
> d)      From this folder:
>
> /home/u0013755/bgs/mifosx/mifosng-provider
>
>                 Ran:
>
> ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants02
>
>                 Gives error:
>
>                                 : No such file or directory
>
>
>
> Any pointers on what to do next to debug the issue?
>
>
>
> My guess is that it is something to do with my environment.
>
>
>
> a)      I added an - 'echo "test" ' as the first executable line in the
> gradlew file. "test" is not echo'ed on running step d) above
>
>
>
> b)      The first line of gradlew is "#!/usr/bin/env bash". Could this be
> an issue?
>
>
>
> ls -l /usr/bin/env
>
> lrwxrwxrwx. 1 root root 13 Apr  3  2013 /usr/bin/env -> ../../bin/env
>
>
>
> c)       "lsb_release -a" - gives the following as the "distribution" of
> Linux installed
>
> LSB Version:
> :base-4.0-noarch:base-4.0-ppc64:core-4.0-noarch:core-4.0-ppc64:graphics-4.0-noarch:graphics-4.0-ppc64:printing-4.0-noarch:printing-4.0-ppc64
>
> Distributor ID: RedHatEnterpriseServer
>
> Description:    Red Hat Enterprise Linux Server release 6.4 (Santiago)
>
> Release:        6.4
>
> Codename:       Santiago
>
>
>
> d)      echo $SHELL
>
> /bin/bash
>
>
>
> Note: Application machine and the database machine are two different
> machines. But my guess is that, at this stage, that is not relevant as
> gradlew has not invoked the database initialization steps yet.  There are a
> bunch of "jdbc:mysql://localhost:3306/" which I may have to change to the
> relevant IP address once I overcome this initial hurdle.
>
>
>
> Thanks and Regards
> Binny Gopinath Sreevas
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
> Mifos-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mifos-users
>
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> Mifos-developer mailing list
> [email protected]
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>

<<image001.png>>

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to