DM Server first try (2013-02-07 17:41 by fionasisk #67285)
Thank you Toshiaki for this.
I downloaded the code and built it.
cd V3.7.stable/dm/dm-server/build
ant
Now the output is in
V3.7.stable/dm/dm-server/output/funambol-clientframework.jar
funambol-dm-server.ear
funambol-framework.jar
funambol-server.jar
funambol-server.war
funambol-sqllog.jar
WEB-INF/web.xml
WEB-INF/classes/....etc.
However I also try to run the install script to put the DM server into JBoss7 :
V3.7.stable/dm/dm-server/src/dist
sh bin/install.sh jboss7
It fails, saying that
BUILD FAILED
...V3.7.stable/dm/dm-server/src/dist/install/install.xml;172 ../V3.7.stable/dm/dm-server/src/dist/default/lib does not exist
The install scripts are expecting a different directory tree to the one I have got.
How do I make this directory tree?
Must I move the "dist" directory to someplace before I do the "install" ? Where do I move it ?
thanks
Fiona
RE: DM Server first try (2013-02-07 20:06 by okamoto3 #67287)
Hi Fiona.
Have you installed more than one time from binary?
If you want to change source codes, replace appropriate jar(war, ear) in the binary by your built one, and then install again.
RE: DM Server first try (2013-02-07 23:42 by fionasisk #67291)
Thanks Okamoto,
I read the ant scripts in V3.7.stable/dm/dm-server/src/dist/install and now I see what they do.
They take the values from install.properties and put them into
funambol.standalone.xml, and put this in JBOSS_HOME/standalone/configuration
They put dmdemo.war and funambol-dm-server.ear into $JBOSS_HOME/standalone/deployments
Also, they ensure that you have a directory, funambol.dm.home, where there is a directory called config
with Funambol.properties and also the xml configuration files that are in com/funambol/server/dm/processor etc.
They also make sure that your funambol-dm-server.ear also includes dmdemo-tools.jar, and the application.xml has
the correct {context-path} (/funambol)
Now, with these changes, I have funambol-dm-server and dmdemo deployed.
However when I send a POST with DM PKG #1 message that I copied from the developers guide, I now reach my next problem