dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00302
Problem buildling dhis-web
This is an annoying problem, the directory path is simply too long. Please
check out the source code to a shorter path (eg E:\source\dhis2\trunk etc)
Lars
On Fri, Mar 20, 2009 at 12:27 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
> Does anyone understand what the following build problem might be?
>
> ---------- Forwarded message ----------
> From: Mahesh, M IN BLR SISL <M.Mahesh@xxxxxxxxxxx>
> Date: Fri, Mar 20, 2009 at 12:13 PM
>
> I get this error when I try to build
>
>
>
> go to dhis2\dhis-2\dhis-web and execute the same command (This is the step
> I forgot, pls do it now).
>
>
>
> [INFO] Building DHIS Data Set Management
>
> [INFO] task-segment: [clean, install]
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] [clean:clean]
>
> [INFO] Deleting directory
> E:\tde_data\DHIS_GIS\DHIS2_source\trunk\dhis-2\dhis-we
>
> b\dhis-web-maintenance\dhis-web-maintenance-dataset\target
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Failed to delete directory:
> E:\tde_data\DHIS_GIS\DHIS2_source\trunk\dhis-
>
> 2\dhis-web\dhis-web-maintenance\dhis-web-maintenance-dataset\target.
> Reason: Una
>
> ble to delete directory
> E:\tde_data\DHIS_GIS\DHIS2_source\trunk\dhis-2\dhis-web\
>
>
> dhis-web-maintenance\dhis-web-maintenance-dataset\target\dhis-web-maintenance-da
>
>
> taset\dhis-web-maintenance-dataset\javascript\FCK\editor\dialog\fck_spellerpages
>
> \spellerpages\server-scripts
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 33 seconds
>
> [INFO] Finished at: Fri Mar 20 16:41:21 GMT+05:30 2009
>
> [INFO] Final Memory: 23M/52M
>
>
>
> ----------------------------------------------------------------
>
> With best regards,
>
> Mahesh M
>
>
>
>
>
> *From:* Knut Staring [mailto:knutst@xxxxxxxxx]
> *Sent:* Friday, March 20, 2009 3:46 PM
>
> *To:* Mahesh, M IN BLR SISL
> *Cc:* Jan Henrik Øverland
> *Subject:* Re: GIS for DHIS2
>
>
>
> Hi Mahesh,
>
> You absolutely need to either send to the list (preferred) or at least copy
> Jan, if you want to have answers quickly. I will be travelling from the US
> to Norway today, and will not be very available.
>
> But quickly, two things:
>
> A) The GIS will not be an option inside DHIS, but something you have to go
> to explicitly with a different URL, as described by Jan in an earlier
> message.
>
> B) I made an omission when telling you to build. In fact the procudure is
> as follows:
>
> 1)Go to dhis2\dhis-2 and type
> mvn clean install -Dmaven.test.skip=true (You already did this, don'nt have
> to repeat now)
>
> 2) Then go to dhis2\dhis-2\dhis-web and execute the same command (This is
> the step I forgot, pls do it now).
>
> 3) Only after step two should you go to
> dhis2\webservice\dhis-webservice-expoze and again run the same command.
>
> That should give you a file called dhis-webservice-expoze.war in the folder
> dhis2\webservice\dhis-webservice-expoze\target
>
> Knut
>
> On Fri, Mar 20, 2009 at 5:40 AM, Mahesh, M IN BLR SISL <
> M.Mahesh@xxxxxxxxxxx> wrote:
>
> Hi Knut
>
>
>
> I had been to IIMB yesterday and Prof. Krishna is really interested in
> integrating GIS to DHIS.
>
> I downloaded geoserver.war and put it under webapps. It is running when I
> specify localhost:8080\geoserver.
>
> But still I don’t see the GIS option when I execute DHIS2 software.
>
>
>
> Another piece of information is I was successfully able to download
> sourcecode of DHIS 2.
>
> Using maven I downloaded jars for folder dhis, but when I try to download
> the same for webservice\dhis-webservice-expoze
>
> I get error. The error message is attached in the text file.
>
>
>
> What are the next steps to be done to enable GIS and to complete souce code
> download and compile it.
>
>
>
> ----------------------------------------------------------------
>
> With best regards,
>
> Mahesh M
>
>
>
>
>
> *From:* Knut Staring [mailto:knutst@xxxxxxxxx]
> *Sent:* Wednesday, March 18, 2009 4:22 PM
> *To:* Jan Henrik Øverland
> *Cc:* Mahesh, M IN BLR SISL
>
>
> *Subject:* Re: GIS for DHIS2
>
>
>
> Come to think of it, it may be better for you to just get geoserver.war
> from here (much smaller download):
>
> http://sourceforge.net/project/downloading.php?groupname=geoserver&filename=geoserver-1.7.3a-war.zip&use_mirror=voxel.
> After download, rename it to just geoserver.war and place it in
> tomcat\webapps.
>
> Knut
>
>
> So now you have the dhis-webservice.war in tomcat\webapps. Then we have to
> proceed with Jan's instructions below - unfortunately, there is still a long
> way to go.
>
> I guess the next hurdle is that you don't have geoserver.war (right?) so I
> will try to make that available for you.
>
> Knut
>
>
>
> On Tue, Mar 17, 2009 at 7:00 AM, Jan Henrik Øverland <
> janhenrik.overland@xxxxxxxxx> wrote:
>
> Hi Mahesh.
>
>
>
> The client is a stand-alone application and the webservice is part of DHIS.
> Update DHIS and copy the dhis-gis-geostat folder to your tomcat webapps
> folder.
>
>
>
> Build dhis, dhis-web, dhis-webservice and put the webservice war-file in
> the webapps folder.
>
>
>
> Put Geoserver in the webapps folder. Obviously, you need appropriate
> shapefiles / a matching database as well.
>
>
>
>
>
> When the application is running, you need to configure the
> demos/geostat/config.js file. It is not documentet very well, but I guess
> you will figure it out.
>
>
>
> Assign the organisation units by selecting one from the gridpanel and then
> click the corresponding organisation unit in the map. When you're done you
> can select indicator, period etc to display colors.
>
>
>
>
>
> 2009/3/17 Mahesh, M IN BLR SISL <M.Mahesh@xxxxxxxxxxx>
>
>
>
> Hi,
> Thanks Knut. I will wait for Jan's reply.
>
>
> ----------------------------------------------------------------
> With best regards,
> Mahesh M
>
> -----Original Message-----
> From: Knut Staring [mailto:knutst@xxxxxxxxx]
>
> Sent: Tuesday, March 17, 2009 10:45 AM
> To: Mahesh, M IN BLR SISL; Jan Henrik Øverland
> Subject: Re: GIS for DHIS2
>
> Hi,
>
> Actually, the GIS is currently "outside" of the core application. It
> consists of two parts, a web service and a client application. I copy
> Jan Henrik who can probably assist you with getting it up and running
> with Karnataka data.
>
> Knut
>
> On Tue, Mar 17, 2009 at 6:09 AM, Mahesh, M IN BLR SISL
> <M.Mahesh@xxxxxxxxxxx> wrote:
> > Hi Knut
> > Thanks Knut. It would be nice if we could do it tomorrow. I will be going
> to
> > meet the prof at IIMB day after tomorrow to discuss on GIS requirements .
> It would be
> > nice if I have some basic idea of what DHIS already provides. If you
> > can send me the link to the new version of DHIS I shall start downloading
> it.
> >
> > ----------------------------------------------------------------
> > With best regards,
> > Mahesh M
> >
> >
> > -----Original Message-----
> > From: Knut Staring [mailto:knutst@xxxxxxxxx]
> > Sent: Tuesday, March 17, 2009 10:17 AM
> > To: Mahesh, M IN BLR SISL
> > Subject: Re: GIS for DHIS2
> >
> > Hi Mahesh,
> >
> > The workshop is now over, and I'm back in Oslo, but in half an hour I
> > will board a plane to New York. Therefore, I cannot help you today,
> > but hopefully tomorrow or the day after. I'll provide you full
> > instructions then - you will need to donwload a new version of DHIS2.
> >
> > Knut
> >
> > On Tue, Mar 17, 2009 at 4:47 AM, Mahesh, M IN BLR SISL
> > <M.Mahesh@xxxxxxxxxxx> wrote:
> >> Hi Knut
> >>
> >> Hope your workshop went fine. If you have some free time can you help me
> on GIS for DHIS2.
> >> IIMB is looking to integrate GIS on DHIS. What are the softwares
> required for GIS to work.
> >> Right now the installed version on my system does not have GIS option.
> >>
> >> ----------------------------------------------------------------
> >> With best regards,
> >> Mahesh M
> >>
> >>
> >> -----Original Message-----
> >> From: Knut Staring [mailto:knutst@xxxxxxxxx]
> >> Sent: Monday, March 09, 2009 3:23 PM
> >> To: Mahesh, M IN BLR SISL
> >> Subject: Re: GIS for DHIS2
> >>
> >> Hi Mahesh,
> >>
> >> The workshop is still going on until the end of this week, and we are
> >> currently fixing the GIS. I'm afraid you'll have to wait until the end
> >> of the week.
> >>
> >> In the meantime, you can have a look at the new user manual:
> >> http://folk.uio.no/knutst/pub/usermanual/
> >>
> >> Knut
> >>
> >> On Mon, Mar 9, 2009 at 3:11 PM, Mahesh, M IN BLR SISL
> >> <M.Mahesh@xxxxxxxxxxx> wrote:
> >>> Hi Knut
> >>> Hope you workshop went fine. Can you help me on GIS for DHIS2.
> >>>
> >>> ----------------------------------------------------------------
> >>> With best regards,
> >>> Mahesh M
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: Knut Staring [mailto:knutst@xxxxxxxxx]
> >>> Sent: Wednesday, March 04, 2009 10:25 AM
> >>> To: Mahesh, M IN BLR SISL
> >>> Subject: Re: GIS for DHIS2
> >>>
> >>> Hello Mahesh,
> >>> I am currently in a workshop in New Delhi discussing GIS in DHIS2.
> >>> This means I am very busy right now but should be able to help you
> >>> with GIS next week.
> >>>
> >>> Knut
> >>>
> >>> On Wed, Mar 4, 2009 at 9:49 AM, Mahesh, M IN BLR SISL
> >>> <M.Mahesh@xxxxxxxxxxx> wrote:
> >>>> Dear Knut,
> >>>>
> >>>> How are you doing. I have been designing forms for IIMB all these
> time.
> >>>> Their next step is to integrate GIS into
> >>>> this sytem. What are the steps to be followed. The current DHIS 2
> software
> >>>> which I have installed on my system
> >>>> does not have the GIS feature. What are the softwares I should install
> to
> >>>> enable GIS feature or is there an installer
> >>>> which has GIS capability with DHIS2.
> >>>>
> >>>> ----------------------------------------------------------------
> >>>> With best regards,
> >>>> Mahesh M
> >>>>
> >>>> Siemens Information Systems Ltd.
> >>>> Corporate Technology - India
> >>>> No. 84, Keonics Electronics City, Hosur Road,
> >>>> Bangalore - 560 100 , Karnataka, (INDIA)
> >>>> Tel.: +91 80 2511 3605
> >>>> Fax.: +91 80 2511 3666
> >>>> mailto.: m.mahesh@xxxxxxxxxxx
> >>>> www.siemens.co.in
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Cheers,
> >>> Knut Staring
> >>>
> >>
> >>
> >>
> >> --
> >> Cheers,
> >> Knut Staring
> >>
> >
> >
> >
> > --
> > Cheers,
> > Knut Staring
> >
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
>
> --
> Cheers,
> Knut Staring
>
>
>
> --
> Cheers,
> Knut Staring
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
> More help : https://help.launchpad.net/ListHelp
>
>
References