← Back to team overview

dhis2-users team mailing list archive

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

 

Hi

The VN modules have not been updated for a long time, and should not be in
use anymore.

--
Morten

On Wed, Jun 10, 2015 at 2:55 PM, Muhammad Tahir <mtagb09@xxxxxxxxx> wrote:

> Hi Morten,
>
> Import "Existing Maven Project" worked for me.
>
> However, I am getting a few errors, one of them is
>
> In* dhis-service-vn*, the pom file shows the following error.
>
>      <parent>
>         <groupId>org.hisp.dhis</groupId>
>         <artifactId>dhis-local-vn</artifactId>
>         <version>2.12-SNAPSHOT</version>
>     </parent>
>
>     <artifactId>dhis-service-vn</artifactId>
>     <name>DHIS VN Service</name>
>     <packaging>jar</packaging>
>
>     <dependencies>
>         <dependency>
> <----------------------------------------------Missing artifact*
> org.hisp.dhis:dhis-api:jar:2.12-SNAPSHOT*
>             <groupId>org.hisp.dhis</groupId>
>             <artifactId>dhis-api</artifactId>
>         <version>${project.version}</version>
>         </dependency>
>         <dependency>
> <----------------------------------------------Missing artifact
> *org.hisp.dhis:dhis-service-core:jar:2.12-SNAPSHOT*
>             <groupId>org.hisp.dhis</groupId>
>             <artifactId>dhis-service-core</artifactId>
>         <version>${project.version}</version>
>         </dependency>
>     </dependencies>
>
>      <properties>
>         <rootDir>../</rootDir>
>     </properties>
>
>
> Console:
> The container 'Maven Dependencies' references non existing library
>
>
> *'C:\Users\muhammadtahir\.m2\repository\org\hisp\dhis\dhis-api\2.12-SNAPSHOT\dhis-api-2.12-SNAPSHOT.jar'
> dhis-service-spreadsheet-reporting        Build path    Build Path Problem*
>
>
>
> There is not file with this name in maven repo at above mentioned path.
> Also I tried to edit maven dependencies (BuildPath->Libraries) but when
> selecting the *dhis-api-2.12-SNAPSHOT.jar*, its neither editable nor can
> be removed.
>
>
> I have download source code for 2.19.
>
>
> On Mon, Jun 8, 2015 at 12:22 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
> wrote:
>
>> 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
>>>
>>>
>>
>
>
> --
> *Regards,*
> *Muhammad Tahir*
>

References