Hi Bob,

< I think that it would be really useful to be able to fix the poms with
< the existing dependencies rather than wait for the outcome of what
< might be a long and uncertain process.  If you can just send the poms
< I'd love to have a look.  I'm far from a maven expert, but I'm getting
< better.
<
< On unix like systems (including probably cygwin):

< find . -iname pom.xml |zip poms.zip -@


edit main pom and add dhis-web as module. edit dhis-web pom and add 
dhis-web-portal as module
dhis
  <modules>
    <module>dhis-api</module>
    <module>dhis-i18n</module>
    <module>dhis-options</module>
    <module>dhis-services</module>
    <module>dhis-support</module>
    <module>dhis-useradminandsecurity</module>
    <module>dhis-web</module>
  </modules>

dhis-web

  <modules>
    <module>dhis-web-commons</module>
    <module>dhis-web-commons-resources</module>
    <module>dhis-web-maintenance</module>
    <module>dhis-web-dataentry</module>
    <module>dhis-web-importexport</module>
    <module>dhis-web-datamart</module>
    <module>dhis-web-validationrule</module>
    <module>dhis-web-reporting</module>
    <module>dhis-web-gis</module>
    <module>dhis-web-openhealth-integration</module>
    <module>dhis-web-dashboard-integration</module>
    <module>dhis-web-jforum-integration</module>
    <module>dhis-web-portal</module>
    <module>dhis-web-commons-struts2</module>
    <module>dhis-web-commons-resources-struts2</module>
    <module>dhis-web-importexport-struts2</module>
  </modules>


don't run mvn eclipse:eclipse

open eclipse

install tomcat from menu window - preferences - server

install maven multiproject import plugin 
http://eclipse-tools.sourceforge.net/updates/

install m2eclipse plugin http://m2eclipse.codehaus.org/update/

import dhis2 code using maven multiproject plugin (this should be under import 
- general - maven projects). You should see list of all projects in a hierarchy 
view. 

to compile web modules
run… tick off resolve project artefacts checkbox (bug)
to debug use debug - on server. 
goal - install

to run single web module right click on it, select run on server.

currently war overlaying is not supported by m2eclipse, so copy missing files 
in tomcat work directory from target/module name/  manually.

I didn't configure any profiler, so no idea on that.

I might missed something, feel free to ask. be careful, commit your code before 
these tasks.

regards,
murod


      

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to