From: <sf...@us...> - 2007-11-05 12:17:38
|
Revision: 5443 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=5443&view=rev Author: sfrits Date: 2007-11-05 04:17:36 -0800 (Mon, 05 Nov 2007) Log Message: ----------- SFOS-521: sfinstaller.vm updated for xmppservername internally from web.xml. No manual intervention required. Modified Paths: -------------- trunk/core/extras/avalanche/AvalancheCore/src/org/smartfrog/avalanche/server/engines/sf/BootStrap.java Modified: trunk/core/extras/avalanche/AvalancheCore/src/org/smartfrog/avalanche/server/engines/sf/BootStrap.java =================================================================== --- trunk/core/extras/avalanche/AvalancheCore/src/org/smartfrog/avalanche/server/engines/sf/BootStrap.java 2007-11-05 12:14:24 UTC (rev 5442) +++ trunk/core/extras/avalanche/AvalancheCore/src/org/smartfrog/avalanche/server/engines/sf/BootStrap.java 2007-11-05 12:17:36 UTC (rev 5443) @@ -88,6 +88,8 @@ public void ignite(String[] hosts) throws HostIgnitionException { try { HostManager hostManager = factory.getHostManager(); + String xmppServer = factory.getAttribute(AvalancheFactory.XMPP_SERVER_NAME); + String templateFile = sfBootDirectory + File.separator + this.strOptSeparator + sfTemplate; String outDir = sfBootDirectory + File.separator + this.strOptSeparator + sfWorkDir; String outputFile = outDir + File.separator + this.strOptSeparator + "hostIgnition" + getDateTime() + ".sf"; @@ -199,7 +201,7 @@ // to read from listDaemons and write to data. all and then create a description log.info("TemplateGen Map : " + listDaemons); - TemplateGen.createTemplate(listDaemons, templateFile, outputFile, false, false, null, logFileDir); + TemplateGen.createHostIgnitionTemplate(listDaemons, templateFile, outputFile, false, false, null, logFileDir, xmppServer); File of = new File(outputFile); if (!of.exists()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |