← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] DHIS2 Code Build and Deploy

 

Hi

Seems like windows don't like the long filenames. Are you doing branching
in Eclipse? can you try from the command line instead, just do something
like "bzr branch lp:dhis2" from the root of d:\\

Then you can import the pom.xml file into eclipse

--
Morten

On Mon, Jun 8, 2015 at 1:34 PM, Muhammad Tahir <mtagb09@xxxxxxxxx> wrote:

> Hi developers,
>
> I have downloaded the latest branch using bazar,
> From: *https://launchpad.net/dhis2 <https://launchpad.net/dhis2>*
> To:* D:\dhis2*
>
> and then get branch to `*D:\dhis2\sc1*` to get a working copy.
>
> I have followed the instructions mentioend at *https://www.dhis2.org/development
> <https://www.dhis2.org/development>*
> Step1: Navigate into dhis-2
> Step2: mvn install
> Step3: Then navigate into  dhis-2\dhis-web
> Step4: mvn install
> Step5: Navigate into dhis-2\dhis-web\dhis-web-portal
> Step6: mvn jetty:run-wa
>
> But at each step, I am getting the error, log file attached.
>
>
>
> Also, when trying to import the working copy into eclipse, I am getting
> the follow errors.
> I have also tried to check-out the orginal branch that was downloaded via
> bazar, but same error appears.
>
>
>
>
>
>
>
>
>
>
> *XmlRpcClient Executing: checkout D:\DHIS2\sc1
> D:\workspace\.metadata\.plugins\org.vcs.bazaar.eclipse.core\bzreclipse8893338010344024209.tmp
>     Error while executing checkout    [Error 206] The filename or extension
> is too long:
> u'D:/workspace/.metadata/.plugins/org.vcs.bazaar.eclipse.core/bzreclipse8893338010344024209.tmp/.bzr/checkout/limbo/new-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/ext/resources/themes/images/gray/form-invalid-tip'------XmlRpcClient
> Executing: checkout D:\DHIS2\sc1
> D:\workspace\.metadata\.plugins\org.vcs.bazaar.eclipse.core\bzreclipse465035511929930345.tmp
>     Error while executing checkout    [Error 206] The filename or extension
> is too long:
> u'D:/workspace/.metadata/.plugins/org.vcs.bazaar.eclipse.core/bzreclipse465035511929930345.tmp/.bzr/checkout/limbo/new-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/ext/resources/themes/images/gray/form-invalid-tip'------XmlRpcClient
> Executing: checkout D:\DHIS2\sc1
> D:\workspace\.metadata\.plugins\org.vcs.bazaar.eclipse.core\bzreclipse6067091753725537421.tmp
> *
>
>
> And every time a finish button appears, and on clicking on it it keep
> going on.
>
>
> OS: *Windows7 (32 bit)*
> Eclipse: *Eclipse EE Luna Version 4.4.2*
>
>
>
>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References