Search This Blog

Showing posts with label open xds. Show all posts
Showing posts with label open xds. Show all posts

Wednesday, September 11, 2013

Open XDS make WAR steps



Use Internet Explorer for better solution.

1)     Extract the openxds-web.war file and create a folder [if u want to change] like openxds-web.war

2)    Go to D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes folder.


3)   Change your [database] settings in omar.properties, openxds.properties, repository.jdbc.cfg.xml

4)    Find the openxds.properties under the classes folder. Make sure the ihe.actors.dir property uses /conf/axis2repository instead of ./conf/axis2repository . You need to modify the same for the other two properties (axis2 .repo.dir and xds.schema.dir) as well.


5)    Run the server->

Load your actor config files
Give the full path in the file text field instead of selecting browse button.

Ex: D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes\conf\actors\IheActors.xml
           
5.1 See below the page [scroll down].
Select all the check box and click start
Takes few min to start…

6)    Open application-context.xml change if u want
update
true

7)    http://localhost:8010/axis2/services/ after you can see the services

8)    Copy the *.jar ‘s file from your openxds-web\web-inf\lib folder to axis\lib [D:\jboss-4.2.3.GA\server\default\deploy\axis2.war\WEB-INF\lib].

Note: Go to the code download and make jar file for common-ws, common-util packages from eclipse and copied into lib folder.


9)   Copy your *.aar file from D:\jboss-4.2.3.GA\server\default\deploy\openxds-web.war\WEB-INF\classes\conf\axis2repository\services
to
D:\jboss-4.2.3.GA\server\default\deploy\axis2.war\WEB-INF\services

10)  



Open XDS - Compile Steps

1) Goto D:\trunk\openxds\openxds-web

type
 mvn install -DskipTests



2)type mvn package
    NOTE: if you found any artifacts missing, copy the command from the console and change the file path. check those jar is in D:\repo or in internet.

3) type the below lines one by one


    mvn install:install-file -DgroupId=org.openhealthexchange.openpixpdq -DartifactId=openpixpdq -Dversion=1.0 -Dpackaging=jar -Dfile=D:\repo\org\openhealthexchange\openpixpdq\openpixpdq\1.0\openpixpdq-1.0.jar
    mvn install:install-file -DgroupId=com.misys.braid -DartifactId=braid-base -Dversion=1.2.2 -Dpackaging=jar -Dfile=D:\repo\com\misys\braid\braid-base\1.2.2\braid-base-1.2.2.jar
    mvn install:install-file -DgroupId=org.openhealthtools.openxds -DartifactId=openxds-core -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\repo\org\openhealthtools\openxds\openxds-core\1.0.1-SNAPSHOT\openxds-core-1.0.1-SNAPSHOT.jar
    mvn install:install-file -DgroupId=org.openhealthtools.openxds -DartifactId=iheos -Dversion=1.0.1 -Dpackaging=jar -Dfile=D:\repo\org\openhealthtools\openxds\iheos\1.0.1-SNAPSHOT\iheos-1.0.1-SNAPSHOT.jar
        mvn install:install-file -DgroupId=org.openhealthtools.openexchange -DartifactId=openexchange-audit -Dversion=1.0 -Dpackaging=jar -Dfile=D:\repo\org\openhealthtools\openexchange\openexchange-audit\1.0-SNAPSHOT\openexchange-audit-1.0-SNAPSHOT.jar
    mvn install:install-file -DgroupId=org.openhealthtools.openexchange -DartifactId=openexchange-actorconfig -Dversion=1.0 -Dpackaging=jar -Dfile=D:\repo\org\openhealthtools\openexchange\openexchange-actorconfig\1.0-SNAPSHOT\openexchange-actorconfig-1.0-SNAPSHOT.jar

mvn install:install-file -DgroupId=org.openhealthtools.openexchange -DartifactId=openexchange-config -Dversion=1.0 -Dpackaging=jar -Dfile=D:\repo\org\openhealthtools\openexchange\openexchange-config\1.0-SNAPSHOT\openexchange-config-1.0-SNAPSHOT.jar

4) type mvn package


5) Copied the jars from D:\repo into c:\users\\.m2\repository [ if u needed ] or you can point as local repository



Hit Counter


View My Stats